.. | .. |
---|
46 | 46 | "brcm,bcm6328-switch" |
---|
47 | 47 | "brcm,bcm6368-switch" and the mandatory "brcm,bcm63xx-switch" |
---|
48 | 48 | |
---|
| 49 | +Required properties for BCM585xx/586xx/88312 SoCs: |
---|
| 50 | + |
---|
| 51 | + - reg: a total of 3 register base addresses, the first one must be the |
---|
| 52 | + Switch Register Access block base, the second is the port 5/4 mux |
---|
| 53 | + configuration register and the third one is the SGMII configuration |
---|
| 54 | + and status register base address. |
---|
| 55 | + |
---|
| 56 | + - interrupts: a total of 13 interrupts must be specified, in the following |
---|
| 57 | + order: port 0-5, 7-8 link status change, then the integrated PHY interrupt, |
---|
| 58 | + then the timestamping interrupt and the sleep timer interrupts for ports |
---|
| 59 | + 5,7,8. |
---|
| 60 | + |
---|
| 61 | +Optional properties for BCM585xx/586xx/88312 SoCs: |
---|
| 62 | + |
---|
| 63 | + - reg-names: a total of 3 names matching the 3 base register address, must |
---|
| 64 | + be in the following order: |
---|
| 65 | + "srab" |
---|
| 66 | + "mux_config" |
---|
| 67 | + "sgmii_config" |
---|
| 68 | + |
---|
| 69 | + - interrupt-names: a total of 13 names matching the 13 interrupts specified |
---|
| 70 | + must be in the following order: |
---|
| 71 | + "link_state_p0" |
---|
| 72 | + "link_state_p1" |
---|
| 73 | + "link_state_p2" |
---|
| 74 | + "link_state_p3" |
---|
| 75 | + "link_state_p4" |
---|
| 76 | + "link_state_p5" |
---|
| 77 | + "link_state_p7" |
---|
| 78 | + "link_state_p8" |
---|
| 79 | + "phy" |
---|
| 80 | + "ts" |
---|
| 81 | + "imp_sleep_timer_p5" |
---|
| 82 | + "imp_sleep_timer_p7" |
---|
| 83 | + "imp_sleep_timer_p8" |
---|
| 84 | + |
---|
49 | 85 | See Documentation/devicetree/bindings/net/dsa/dsa.txt for a list of additional |
---|
50 | 86 | required and optional properties. |
---|
51 | 87 | |
---|
.. | .. |
---|
59 | 95 | |
---|
60 | 96 | fixed-link { |
---|
61 | 97 | speed = <1000>; |
---|
62 | | - duplex-full; |
---|
| 98 | + full-duplex; |
---|
63 | 99 | }; |
---|
64 | 100 | }; |
---|
65 | 101 | |
---|
.. | .. |
---|
68 | 104 | #address-cells = <1>; |
---|
69 | 105 | #size-cells = <0>; |
---|
70 | 106 | |
---|
71 | | - switch0: ethernet-switch@30 { |
---|
| 107 | + switch0: ethernet-switch@1e { |
---|
72 | 108 | compatible = "brcm,bcm53125"; |
---|
| 109 | + reg = <30>; |
---|
73 | 110 | #address-cells = <1>; |
---|
74 | 111 | #size-cells = <0>; |
---|
75 | 112 | |
---|
76 | 113 | ports { |
---|
| 114 | + #address-cells = <1>; |
---|
| 115 | + #size-cells = <0>; |
---|
| 116 | + |
---|
77 | 117 | port0@0 { |
---|
78 | 118 | reg = <0>; |
---|
79 | 119 | label = "lan1"; |
---|
.. | .. |
---|
89 | 129 | label = "cable-modem"; |
---|
90 | 130 | fixed-link { |
---|
91 | 131 | speed = <1000>; |
---|
92 | | - duplex-full; |
---|
| 132 | + full-duplex; |
---|
93 | 133 | }; |
---|
94 | 134 | phy-mode = "rgmii-txid"; |
---|
95 | 135 | }; |
---|
.. | .. |
---|
99 | 139 | label = "cpu"; |
---|
100 | 140 | fixed-link { |
---|
101 | 141 | speed = <1000>; |
---|
102 | | - duplex-full; |
---|
| 142 | + full-duplex; |
---|
103 | 143 | }; |
---|
104 | 144 | phy-mode = "rgmii-txid"; |
---|
105 | 145 | ethernet = <ð0>; |
---|