Skip to content

Commit a1c0ed2

Browse files
triha2workdavem330
authored andcommitted
dt-bindings: net: dsa: document additional Microchip KSZ9477 family switches
Document additional Microchip KSZ9477 family switches. Show how KSZ8565 switch should be configured as the host port is port 7 instead of port 5. Signed-off-by: Tristram Ha <[email protected]> Reviewed-by: Florian Fainelli <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent d5fa9c5 commit a1c0ed2

File tree

1 file changed

+43
-0
lines changed
  • Documentation/devicetree/bindings/net/dsa

1 file changed

+43
-0
lines changed

Documentation/devicetree/bindings/net/dsa/ksz.txt

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ Required properties:
77
of the following:
88
- "microchip,ksz9477"
99
- "microchip,ksz9897"
10+
- "microchip,ksz9896"
11+
- "microchip,ksz9567"
12+
- "microchip,ksz8565"
13+
- "microchip,ksz9893"
14+
- "microchip,ksz9563"
1015

1116
Optional properties:
1217

@@ -73,4 +78,42 @@ Ethernet switch connected via SPI to the host, CPU port wired to eth0:
7378
};
7479
};
7580
};
81+
ksz8565: ksz8565@0 {
82+
compatible = "microchip,ksz8565";
83+
reg = <0>;
84+
85+
spi-max-frequency = <44000000>;
86+
spi-cpha;
87+
spi-cpol;
88+
89+
ports {
90+
#address-cells = <1>;
91+
#size-cells = <0>;
92+
port@0 {
93+
reg = <0>;
94+
label = "lan1";
95+
};
96+
port@1 {
97+
reg = <1>;
98+
label = "lan2";
99+
};
100+
port@2 {
101+
reg = <2>;
102+
label = "lan3";
103+
};
104+
port@3 {
105+
reg = <3>;
106+
label = "lan4";
107+
};
108+
port@6 {
109+
reg = <6>;
110+
label = "cpu";
111+
ethernet = <&eth0>;
112+
fixed-link {
113+
speed = <1000>;
114+
full-duplex;
115+
};
116+
};
117+
};
118+
};
76119
};

0 commit comments

Comments
 (0)