diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2017-01-17 13:22:23 -0500 |
---|---|---|
committer | Gregory CLEMENT <gregory.clement@free-electrons.com> | 2017-01-19 17:47:07 -0500 |
commit | cd0cc11acba94299247926243c33df865a2949b3 (patch) | |
tree | 311568c5ebe9adf7b47ef2acc17c1b33db9caa63 | |
parent | 69e8e6aead712f919231b1bc57eb136b2db761a9 (diff) |
ARM: dts: kirkwood-mv88f6281gtw-ge: Utilize new DSA binding
Utilize the new DSA binding, introduced with commit 8c5ad1d6179d ("net: dsa:
Document new binding"). The legacy binding node is kept included, but is marked
disabled.
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
-rw-r--r-- | arch/arm/boot/dts/kirkwood-mv88f6281gtw-ge.dts | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/kirkwood-mv88f6281gtw-ge.dts b/arch/arm/boot/dts/kirkwood-mv88f6281gtw-ge.dts index 172a38c0b8a9..327023a477b8 100644 --- a/arch/arm/boot/dts/kirkwood-mv88f6281gtw-ge.dts +++ b/arch/arm/boot/dts/kirkwood-mv88f6281gtw-ge.dts | |||
@@ -112,6 +112,8 @@ | |||
112 | }; | 112 | }; |
113 | 113 | ||
114 | dsa { | 114 | dsa { |
115 | status = "disabled"; | ||
116 | |||
115 | compatible = "marvell,dsa"; | 117 | compatible = "marvell,dsa"; |
116 | #address-cells = <1>; | 118 | #address-cells = <1>; |
117 | #size-cells = <0>; | 119 | #size-cells = <0>; |
@@ -159,6 +161,53 @@ | |||
159 | 161 | ||
160 | &mdio { | 162 | &mdio { |
161 | status = "okay"; | 163 | status = "okay"; |
164 | |||
165 | switch@0 { | ||
166 | compatible = "marvell,mv88e6085"; | ||
167 | #address-cells = <1>; | ||
168 | #size-cells = <0>; | ||
169 | reg = <0>; | ||
170 | |||
171 | ports { | ||
172 | #address-cells = <1>; | ||
173 | #size-cells = <0>; | ||
174 | |||
175 | port@0 { | ||
176 | reg = <0>; | ||
177 | label = "lan1"; | ||
178 | }; | ||
179 | |||
180 | port@1 { | ||
181 | reg = <1>; | ||
182 | label = "lan2"; | ||
183 | }; | ||
184 | |||
185 | port@2 { | ||
186 | reg = <2>; | ||
187 | label = "lan3"; | ||
188 | }; | ||
189 | |||
190 | port@3 { | ||
191 | reg = <3>; | ||
192 | label = "lan4"; | ||
193 | }; | ||
194 | |||
195 | port@4 { | ||
196 | reg = <4>; | ||
197 | label = "wan"; | ||
198 | }; | ||
199 | |||
200 | port@5 { | ||
201 | reg = <5>; | ||
202 | label = "cpu"; | ||
203 | ethernet = <ð0port>; | ||
204 | fixed-link { | ||
205 | speed = <1000>; | ||
206 | full-duplex; | ||
207 | }; | ||
208 | }; | ||
209 | }; | ||
210 | }; | ||
162 | }; | 211 | }; |
163 | 212 | ||
164 | ð0 { | 213 | ð0 { |