diff options
author | Martyn Welch <martyn.welch@ge.com> | 2011-11-03 13:37:47 -0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2011-11-03 13:57:20 -0400 |
commit | 62f3de91e4cfb113bf114009c6660a7f04901288 (patch) | |
tree | d648fc7abc5b1c7e2f8b5dd7d1f69c437a33d449 /arch/powerpc/boot | |
parent | 1661e5bd550bf024b04dfa7abf2963d04ab119e3 (diff) |
powerpc/86xx: Correct Gianfar support for GE boards
The GE DTBs were not updated when the Gianfar driver was converted to an
of_platform_driver in commit b31a1d8b41513b96e9c7ec2f68c5734cef0b26a4. Update
the DTBs, adding the required TBI entries.
Signed-off-by: Martyn Welch <martyn.welch@ge.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/boot')
-rw-r--r-- | arch/powerpc/boot/dts/gef_ppc9a.dts | 33 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/gef_sbc310.dts | 33 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/gef_sbc610.dts | 33 |
3 files changed, 87 insertions, 12 deletions
diff --git a/arch/powerpc/boot/dts/gef_ppc9a.dts b/arch/powerpc/boot/dts/gef_ppc9a.dts index 83f4b79dff85..2266bbb303d0 100644 --- a/arch/powerpc/boot/dts/gef_ppc9a.dts +++ b/arch/powerpc/boot/dts/gef_ppc9a.dts | |||
@@ -269,14 +269,16 @@ | |||
269 | enet0: ethernet@24000 { | 269 | enet0: ethernet@24000 { |
270 | #address-cells = <1>; | 270 | #address-cells = <1>; |
271 | #size-cells = <1>; | 271 | #size-cells = <1>; |
272 | cell-index = <0>; | ||
272 | device_type = "network"; | 273 | device_type = "network"; |
273 | model = "eTSEC"; | 274 | model = "TSEC"; |
274 | compatible = "gianfar"; | 275 | compatible = "gianfar"; |
275 | reg = <0x24000 0x1000>; | 276 | reg = <0x24000 0x1000>; |
276 | ranges = <0x0 0x24000 0x1000>; | 277 | ranges = <0x0 0x24000 0x1000>; |
277 | local-mac-address = [ 00 00 00 00 00 00 ]; | 278 | local-mac-address = [ 00 00 00 00 00 00 ]; |
278 | interrupts = <0x1d 0x2 0x1e 0x2 0x22 0x2>; | 279 | interrupts = <29 2 30 2 34 2>; |
279 | interrupt-parent = <&mpic>; | 280 | interrupt-parent = <&mpic>; |
281 | tbi-handle = <&tbi0>; | ||
280 | phy-handle = <&phy0>; | 282 | phy-handle = <&phy0>; |
281 | phy-connection-type = "gmii"; | 283 | phy-connection-type = "gmii"; |
282 | 284 | ||
@@ -290,25 +292,48 @@ | |||
290 | interrupt-parent = <&gef_pic>; | 292 | interrupt-parent = <&gef_pic>; |
291 | interrupts = <0x9 0x4>; | 293 | interrupts = <0x9 0x4>; |
292 | reg = <1>; | 294 | reg = <1>; |
295 | device_type = "ethernet-phy"; | ||
293 | }; | 296 | }; |
294 | phy2: ethernet-phy@2 { | 297 | phy2: ethernet-phy@2 { |
295 | interrupt-parent = <&gef_pic>; | 298 | interrupt-parent = <&gef_pic>; |
296 | interrupts = <0x8 0x4>; | 299 | interrupts = <0x8 0x4>; |
297 | reg = <3>; | 300 | reg = <3>; |
301 | device_type = "ethernet-phy"; | ||
302 | }; | ||
303 | tbi0: tbi-phy@11 { | ||
304 | reg = <0x11>; | ||
305 | device_type = "tbi-phy"; | ||
298 | }; | 306 | }; |
299 | }; | 307 | }; |
300 | }; | 308 | }; |
301 | 309 | ||
302 | enet1: ethernet@26000 { | 310 | enet1: ethernet@26000 { |
311 | #address-cells = <1>; | ||
312 | #size-cells = <1>; | ||
313 | cell-index = <2>; | ||
303 | device_type = "network"; | 314 | device_type = "network"; |
304 | model = "eTSEC"; | 315 | model = "TSEC"; |
305 | compatible = "gianfar"; | 316 | compatible = "gianfar"; |
306 | reg = <0x26000 0x1000>; | 317 | reg = <0x26000 0x1000>; |
318 | ranges = <0x0 0x26000 0x1000>; | ||
307 | local-mac-address = [ 00 00 00 00 00 00 ]; | 319 | local-mac-address = [ 00 00 00 00 00 00 ]; |
308 | interrupts = <0x1f 0x2 0x20 0x2 0x21 0x2>; | 320 | interrupts = <31 2 32 2 33 2>; |
309 | interrupt-parent = <&mpic>; | 321 | interrupt-parent = <&mpic>; |
322 | tbi-handle = <&tbi2>; | ||
310 | phy-handle = <&phy2>; | 323 | phy-handle = <&phy2>; |
311 | phy-connection-type = "gmii"; | 324 | phy-connection-type = "gmii"; |
325 | |||
326 | mdio@520 { | ||
327 | #address-cells = <1>; | ||
328 | #size-cells = <0>; | ||
329 | compatible = "fsl,gianfar-tbi"; | ||
330 | reg = <0x520 0x20>; | ||
331 | |||
332 | tbi2: tbi-phy@11 { | ||
333 | reg = <0x11>; | ||
334 | device_type = "tbi-phy"; | ||
335 | }; | ||
336 | }; | ||
312 | }; | 337 | }; |
313 | 338 | ||
314 | serial0: serial@4500 { | 339 | serial0: serial@4500 { |
diff --git a/arch/powerpc/boot/dts/gef_sbc310.dts b/arch/powerpc/boot/dts/gef_sbc310.dts index fc3a331dd392..429e87d9acef 100644 --- a/arch/powerpc/boot/dts/gef_sbc310.dts +++ b/arch/powerpc/boot/dts/gef_sbc310.dts | |||
@@ -267,14 +267,16 @@ | |||
267 | enet0: ethernet@24000 { | 267 | enet0: ethernet@24000 { |
268 | #address-cells = <1>; | 268 | #address-cells = <1>; |
269 | #size-cells = <1>; | 269 | #size-cells = <1>; |
270 | cell-index = <0>; | ||
270 | device_type = "network"; | 271 | device_type = "network"; |
271 | model = "eTSEC"; | 272 | model = "TSEC"; |
272 | compatible = "gianfar"; | 273 | compatible = "gianfar"; |
273 | reg = <0x24000 0x1000>; | 274 | reg = <0x24000 0x1000>; |
274 | ranges = <0x0 0x24000 0x1000>; | 275 | ranges = <0x0 0x24000 0x1000>; |
275 | local-mac-address = [ 00 00 00 00 00 00 ]; | 276 | local-mac-address = [ 00 00 00 00 00 00 ]; |
276 | interrupts = <0x1d 0x2 0x1e 0x2 0x22 0x2>; | 277 | interrupts = <29 2 30 2 34 2>; |
277 | interrupt-parent = <&mpic>; | 278 | interrupt-parent = <&mpic>; |
279 | tbi-handle = <&tbi0>; | ||
278 | phy-handle = <&phy0>; | 280 | phy-handle = <&phy0>; |
279 | phy-connection-type = "gmii"; | 281 | phy-connection-type = "gmii"; |
280 | 282 | ||
@@ -288,25 +290,48 @@ | |||
288 | interrupt-parent = <&gef_pic>; | 290 | interrupt-parent = <&gef_pic>; |
289 | interrupts = <0x9 0x4>; | 291 | interrupts = <0x9 0x4>; |
290 | reg = <1>; | 292 | reg = <1>; |
293 | device_type = "ethernet-phy"; | ||
291 | }; | 294 | }; |
292 | phy2: ethernet-phy@2 { | 295 | phy2: ethernet-phy@2 { |
293 | interrupt-parent = <&gef_pic>; | 296 | interrupt-parent = <&gef_pic>; |
294 | interrupts = <0x8 0x4>; | 297 | interrupts = <0x8 0x4>; |
295 | reg = <3>; | 298 | reg = <3>; |
299 | device_type = "ethernet-phy"; | ||
300 | }; | ||
301 | tbi0: tbi-phy@11 { | ||
302 | reg = <0x11>; | ||
303 | device_type = "tbi-phy"; | ||
296 | }; | 304 | }; |
297 | }; | 305 | }; |
298 | }; | 306 | }; |
299 | 307 | ||
300 | enet1: ethernet@26000 { | 308 | enet1: ethernet@26000 { |
309 | #address-cells = <1>; | ||
310 | #size-cells = <1>; | ||
311 | cell-index = <2>; | ||
301 | device_type = "network"; | 312 | device_type = "network"; |
302 | model = "eTSEC"; | 313 | model = "TSEC"; |
303 | compatible = "gianfar"; | 314 | compatible = "gianfar"; |
304 | reg = <0x26000 0x1000>; | 315 | reg = <0x26000 0x1000>; |
316 | ranges = <0x0 0x26000 0x1000>; | ||
305 | local-mac-address = [ 00 00 00 00 00 00 ]; | 317 | local-mac-address = [ 00 00 00 00 00 00 ]; |
306 | interrupts = <0x1f 0x2 0x20 0x2 0x21 0x2>; | 318 | interrupts = <31 2 32 2 33 2>; |
307 | interrupt-parent = <&mpic>; | 319 | interrupt-parent = <&mpic>; |
320 | tbi-handle = <&tbi2>; | ||
308 | phy-handle = <&phy2>; | 321 | phy-handle = <&phy2>; |
309 | phy-connection-type = "gmii"; | 322 | phy-connection-type = "gmii"; |
323 | |||
324 | mdio@520 { | ||
325 | #address-cells = <1>; | ||
326 | #size-cells = <0>; | ||
327 | compatible = "fsl,gianfar-tbi"; | ||
328 | reg = <0x520 0x20>; | ||
329 | |||
330 | tbi2: tbi-phy@11 { | ||
331 | reg = <0x11>; | ||
332 | device_type = "tbi-phy"; | ||
333 | }; | ||
334 | }; | ||
310 | }; | 335 | }; |
311 | 336 | ||
312 | serial0: serial@4500 { | 337 | serial0: serial@4500 { |
diff --git a/arch/powerpc/boot/dts/gef_sbc610.dts b/arch/powerpc/boot/dts/gef_sbc610.dts index c0671cc98125..d81201ac2cad 100644 --- a/arch/powerpc/boot/dts/gef_sbc610.dts +++ b/arch/powerpc/boot/dts/gef_sbc610.dts | |||
@@ -267,14 +267,16 @@ | |||
267 | enet0: ethernet@24000 { | 267 | enet0: ethernet@24000 { |
268 | #address-cells = <1>; | 268 | #address-cells = <1>; |
269 | #size-cells = <1>; | 269 | #size-cells = <1>; |
270 | cell-index = <0>; | ||
270 | device_type = "network"; | 271 | device_type = "network"; |
271 | model = "eTSEC"; | 272 | model = "TSEC"; |
272 | compatible = "gianfar"; | 273 | compatible = "gianfar"; |
273 | reg = <0x24000 0x1000>; | 274 | reg = <0x24000 0x1000>; |
274 | ranges = <0x0 0x24000 0x1000>; | 275 | ranges = <0x0 0x24000 0x1000>; |
275 | local-mac-address = [ 00 00 00 00 00 00 ]; | 276 | local-mac-address = [ 00 00 00 00 00 00 ]; |
276 | interrupts = <0x1d 0x2 0x1e 0x2 0x22 0x2>; | 277 | interrupts = <29 2 30 2 34 2>; |
277 | interrupt-parent = <&mpic>; | 278 | interrupt-parent = <&mpic>; |
279 | tbi-handle = <&tbi0>; | ||
278 | phy-handle = <&phy0>; | 280 | phy-handle = <&phy0>; |
279 | phy-connection-type = "gmii"; | 281 | phy-connection-type = "gmii"; |
280 | 282 | ||
@@ -288,25 +290,48 @@ | |||
288 | interrupt-parent = <&gef_pic>; | 290 | interrupt-parent = <&gef_pic>; |
289 | interrupts = <0x9 0x4>; | 291 | interrupts = <0x9 0x4>; |
290 | reg = <1>; | 292 | reg = <1>; |
293 | device_type = "ethernet-phy"; | ||
291 | }; | 294 | }; |
292 | phy2: ethernet-phy@2 { | 295 | phy2: ethernet-phy@2 { |
293 | interrupt-parent = <&gef_pic>; | 296 | interrupt-parent = <&gef_pic>; |
294 | interrupts = <0x8 0x4>; | 297 | interrupts = <0x8 0x4>; |
295 | reg = <3>; | 298 | reg = <3>; |
299 | device_type = "ethernet-phy"; | ||
300 | }; | ||
301 | tbi0: tbi-phy@11 { | ||
302 | reg = <0x11>; | ||
303 | device_type = "tbi-phy"; | ||
296 | }; | 304 | }; |
297 | }; | 305 | }; |
298 | }; | 306 | }; |
299 | 307 | ||
300 | enet1: ethernet@26000 { | 308 | enet1: ethernet@26000 { |
309 | #address-cells = <1>; | ||
310 | #size-cells = <1>; | ||
311 | cell-index = <2>; | ||
301 | device_type = "network"; | 312 | device_type = "network"; |
302 | model = "eTSEC"; | 313 | model = "TSEC"; |
303 | compatible = "gianfar"; | 314 | compatible = "gianfar"; |
304 | reg = <0x26000 0x1000>; | 315 | reg = <0x26000 0x1000>; |
316 | ranges = <0x0 0x26000 0x1000>; | ||
305 | local-mac-address = [ 00 00 00 00 00 00 ]; | 317 | local-mac-address = [ 00 00 00 00 00 00 ]; |
306 | interrupts = <0x1f 0x2 0x20 0x2 0x21 0x2>; | 318 | interrupts = <31 2 32 2 33 2>; |
307 | interrupt-parent = <&mpic>; | 319 | interrupt-parent = <&mpic>; |
320 | tbi-handle = <&tbi2>; | ||
308 | phy-handle = <&phy2>; | 321 | phy-handle = <&phy2>; |
309 | phy-connection-type = "gmii"; | 322 | phy-connection-type = "gmii"; |
323 | |||
324 | mdio@520 { | ||
325 | #address-cells = <1>; | ||
326 | #size-cells = <0>; | ||
327 | compatible = "fsl,gianfar-tbi"; | ||
328 | reg = <0x520 0x20>; | ||
329 | |||
330 | tbi2: tbi-phy@11 { | ||
331 | reg = <0x11>; | ||
332 | device_type = "tbi-phy"; | ||
333 | }; | ||
334 | }; | ||
310 | }; | 335 | }; |
311 | 336 | ||
312 | serial0: serial@4500 { | 337 | serial0: serial@4500 { |