1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/net/micrel,ks8851.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Micrel KS8851 Ethernet MAC (SPI and Parallel bus options)
10 - Marek Vasut <marex@denx.de>
15 - micrel,ks8851 # SPI bus option
16 - micrel,ks8851-mll # Parallel bus option
24 - description: SPI or Parallel bus hardware address
25 - description: Parallel bus command mode address
34 Analog 3.3V supply for Ethernet MAC
38 Digital 1.8V IO supply for Ethernet MAC
46 - $ref: ethernet-controller.yaml#
60 const: micrel,ks8851-mll
66 unevaluatedProperties: false
75 compatible = "micrel,ks8851";
77 interrupt-parent = <&msmgpio>;
79 vdd-supply = <&ext_l2>;
80 vdd-io-supply = <&pm8921_lvs6>;
81 reset-gpios = <&msmgpio 89 0>;
85 #include <dt-bindings/interrupt-controller/irq.h>
86 /* Parallel bus option */
91 compatible = "micrel,ks8851-mll";
92 reg = <1 0x0 0x2>, <1 0x2 0x20000>;
93 interrupt-parent = <&gpioc>;
94 interrupts = <3 IRQ_TYPE_LEVEL_LOW>;