1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/net/dsa/microchip,lan937x.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: LAN937x Ethernet Switch Series
10 - UNGLinuxDriver@microchip.com
13 - $ref: dsa.yaml#/$defs/ethernet-ports
31 description: Optional gpio specifier for a reset line
35 $ref: /schemas/net/mdio.yaml#
36 unevaluatedProperties: false
39 "^(ethernet-)?ports$":
40 additionalProperties: true
42 "^(ethernet-)?port@[0-7]$":
66 unevaluatedProperties: false
70 #include <dt-bindings/gpio/gpio.h>
87 compatible = "microchip,lan9374";
89 spi-max-frequency = <44000000>;
98 phy-mode = "internal";
99 phy-handle = <&t1phy0>;
105 phy-mode = "internal";
106 phy-handle = <&t1phy1>;
112 phy-mode = "internal";
113 phy-handle = <&t1phy2>;
119 phy-mode = "internal";
120 phy-handle = <&t1phy3>;
126 tx-internal-delay-ps = <2000>;
127 rx-internal-delay-ps = <2000>;
140 tx-internal-delay-ps = <2000>;
141 rx-internal-delay-ps = <2000>;
152 phy-mode = "internal";
153 phy-handle = <&t1phy6>;
159 phy-mode = "internal";
160 phy-handle = <&t1phy7>;
165 #address-cells = <1>;
168 t1phy0: ethernet-phy@0{
172 t1phy1: ethernet-phy@1{
176 t1phy2: ethernet-phy@2{
180 t1phy3: ethernet-phy@3{
184 t1phy6: ethernet-phy@6{
188 t1phy7: ethernet-phy@7{