diff options
author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2009-03-19 14:01:51 -0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2009-03-24 09:35:18 -0400 |
commit | d8bc55fb334e1124b72684e2d0a2e599aab21ae4 (patch) | |
tree | 5290a33768186b65e8f1bf37a39ff645b4e4af2b /arch/powerpc/boot/dts/gef_ppc9a.dts | |
parent | 84ba4a5899e613a396c5bea5feadba923534801b (diff) |
powerpc/86xx: Move gianfar mdio nodes under the ethernet nodes
Currently it doesn't matter where the mdio nodes are placed, but with
power management support (i.e. when sleep = <> properties will take
effect), mdio nodes placement will become important: mdio controller
is a part of the ethernet block, so the mdio nodes should be placed
correctly. Otherwise we may wrongly assume that MDIO controllers are
available during sleep.
Suggested-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/boot/dts/gef_ppc9a.dts')
-rw-r--r-- | arch/powerpc/boot/dts/gef_ppc9a.dts | 39 |
1 files changed, 21 insertions, 18 deletions
diff --git a/arch/powerpc/boot/dts/gef_ppc9a.dts b/arch/powerpc/boot/dts/gef_ppc9a.dts index 0ddfdfc7ab5f..d47ad0718759 100644 --- a/arch/powerpc/boot/dts/gef_ppc9a.dts +++ b/arch/powerpc/boot/dts/gef_ppc9a.dts | |||
@@ -247,34 +247,37 @@ | |||
247 | }; | 247 | }; |
248 | }; | 248 | }; |
249 | 249 | ||
250 | mdio@24520 { | ||
251 | #address-cells = <1>; | ||
252 | #size-cells = <0>; | ||
253 | compatible = "fsl,gianfar-mdio"; | ||
254 | reg = <0x24520 0x20>; | ||
255 | |||
256 | phy0: ethernet-phy@0 { | ||
257 | interrupt-parent = <&gef_pic>; | ||
258 | interrupts = <0x9 0x4>; | ||
259 | reg = <1>; | ||
260 | }; | ||
261 | phy2: ethernet-phy@2 { | ||
262 | interrupt-parent = <&gef_pic>; | ||
263 | interrupts = <0x8 0x4>; | ||
264 | reg = <3>; | ||
265 | }; | ||
266 | }; | ||
267 | |||
268 | enet0: ethernet@24000 { | 250 | enet0: ethernet@24000 { |
251 | #address-cells = <1>; | ||
252 | #size-cells = <1>; | ||
269 | device_type = "network"; | 253 | device_type = "network"; |
270 | model = "eTSEC"; | 254 | model = "eTSEC"; |
271 | compatible = "gianfar"; | 255 | compatible = "gianfar"; |
272 | reg = <0x24000 0x1000>; | 256 | reg = <0x24000 0x1000>; |
257 | ranges = <0x0 0x24000 0x1000>; | ||
273 | local-mac-address = [ 00 00 00 00 00 00 ]; | 258 | local-mac-address = [ 00 00 00 00 00 00 ]; |
274 | interrupts = <0x1d 0x2 0x1e 0x2 0x22 0x2>; | 259 | interrupts = <0x1d 0x2 0x1e 0x2 0x22 0x2>; |
275 | interrupt-parent = <&mpic>; | 260 | interrupt-parent = <&mpic>; |
276 | phy-handle = <&phy0>; | 261 | phy-handle = <&phy0>; |
277 | phy-connection-type = "gmii"; | 262 | phy-connection-type = "gmii"; |
263 | |||
264 | mdio@520 { | ||
265 | #address-cells = <1>; | ||
266 | #size-cells = <0>; | ||
267 | compatible = "fsl,gianfar-mdio"; | ||
268 | reg = <0x520 0x20>; | ||
269 | |||
270 | phy0: ethernet-phy@0 { | ||
271 | interrupt-parent = <&gef_pic>; | ||
272 | interrupts = <0x9 0x4>; | ||
273 | reg = <1>; | ||
274 | }; | ||
275 | phy2: ethernet-phy@2 { | ||
276 | interrupt-parent = <&gef_pic>; | ||
277 | interrupts = <0x8 0x4>; | ||
278 | reg = <3>; | ||
279 | }; | ||
280 | }; | ||
278 | }; | 281 | }; |
279 | 282 | ||
280 | enet1: ethernet@26000 { | 283 | enet1: ethernet@26000 { |