docs: Fix more broken references
[linux-2.6-block.git] / Documentation / devicetree / bindings / net / dsa / ksz.txt
CommitLineData
5033a7cb
WH
1Microchip KSZ Series Ethernet switches
2==================================
3
4Required properties:
5
6- compatible: For external switch chips, compatible string must be exactly one
7 of: "microchip,ksz9477"
8
34962fb8 9See Documentation/devicetree/bindings/net/dsa/dsa.txt for a list of additional
5033a7cb
WH
10required and optional properties.
11
12Examples:
13
14Ethernet switch connected via SPI to the host, CPU port wired to eth0:
15
16 eth0: ethernet@10001000 {
17 fixed-link {
18 speed = <1000>;
19 full-duplex;
20 };
21 };
22
23 spi1: spi@f8008000 {
24 pinctrl-0 = <&pinctrl_spi_ksz>;
25 cs-gpios = <&pioC 25 0>;
26 id = <1>;
5033a7cb
WH
27
28 ksz9477: ksz9477@0 {
29 compatible = "microchip,ksz9477";
30 reg = <0>;
31
32 spi-max-frequency = <44000000>;
33 spi-cpha;
34 spi-cpol;
35
5033a7cb
WH
36 ports {
37 #address-cells = <1>;
38 #size-cells = <0>;
39 port@0 {
40 reg = <0>;
41 label = "lan1";
42 };
43 port@1 {
44 reg = <1>;
45 label = "lan2";
46 };
47 port@2 {
48 reg = <2>;
49 label = "lan3";
50 };
51 port@3 {
52 reg = <3>;
53 label = "lan4";
54 };
55 port@4 {
56 reg = <4>;
57 label = "lan5";
58 };
59 port@5 {
60 reg = <5>;
61 label = "cpu";
62 ethernet = <&eth0>;
63 fixed-link {
64 speed = <1000>;
65 full-duplex;
66 };
67 };
68 };
69 };
70 };