diff options
author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2009-03-19 14:01:45 -0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2009-03-24 09:35:04 -0400 |
commit | 70b3adbba056f5d9081f1ec9b4a629e3c7502072 (patch) | |
tree | ef7a299becef375b9d59f8d2d4a56e036e17b6d9 /arch/powerpc/boot/dts/mpc8349emitxgp.dts | |
parent | 125a00d74ea57a901fd4cc3d84baf2e825704b68 (diff) |
powerpc/83xx: 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/mpc8349emitxgp.dts')
-rw-r--r-- | arch/powerpc/boot/dts/mpc8349emitxgp.dts | 42 |
1 files changed, 23 insertions, 19 deletions
diff --git a/arch/powerpc/boot/dts/mpc8349emitxgp.dts b/arch/powerpc/boot/dts/mpc8349emitxgp.dts index c87a6015e16..662abe1fb80 100644 --- a/arch/powerpc/boot/dts/mpc8349emitxgp.dts +++ b/arch/powerpc/boot/dts/mpc8349emitxgp.dts | |||
@@ -149,37 +149,41 @@ | |||
149 | phy_type = "ulpi"; | 149 | phy_type = "ulpi"; |
150 | }; | 150 | }; |
151 | 151 | ||
152 | mdio@24520 { | ||
153 | #address-cells = <1>; | ||
154 | #size-cells = <0>; | ||
155 | compatible = "fsl,gianfar-mdio"; | ||
156 | reg = <0x24520 0x20>; | ||
157 | |||
158 | /* Vitesse 8201 */ | ||
159 | phy1c: ethernet-phy@1c { | ||
160 | interrupt-parent = <&ipic>; | ||
161 | interrupts = <18 0x8>; | ||
162 | reg = <0x1c>; | ||
163 | device_type = "ethernet-phy"; | ||
164 | }; | ||
165 | tbi0: tbi-phy@11 { | ||
166 | reg = <0x11>; | ||
167 | device_type = "tbi-phy"; | ||
168 | }; | ||
169 | }; | ||
170 | |||
171 | enet0: ethernet@24000 { | 152 | enet0: ethernet@24000 { |
153 | #address-cells = <1>; | ||
154 | #size-cells = <1>; | ||
172 | cell-index = <0>; | 155 | cell-index = <0>; |
173 | device_type = "network"; | 156 | device_type = "network"; |
174 | model = "TSEC"; | 157 | model = "TSEC"; |
175 | compatible = "gianfar"; | 158 | compatible = "gianfar"; |
176 | reg = <0x24000 0x1000>; | 159 | reg = <0x24000 0x1000>; |
160 | ranges = <0x0 0x24000 0x1000>; | ||
177 | local-mac-address = [ 00 00 00 00 00 00 ]; | 161 | local-mac-address = [ 00 00 00 00 00 00 ]; |
178 | interrupts = <32 0x8 33 0x8 34 0x8>; | 162 | interrupts = <32 0x8 33 0x8 34 0x8>; |
179 | interrupt-parent = <&ipic>; | 163 | interrupt-parent = <&ipic>; |
180 | tbi-handle = <&tbi0>; | 164 | tbi-handle = <&tbi0>; |
181 | phy-handle = <&phy1c>; | 165 | phy-handle = <&phy1c>; |
182 | linux,network-index = <0>; | 166 | linux,network-index = <0>; |
167 | |||
168 | mdio@520 { | ||
169 | #address-cells = <1>; | ||
170 | #size-cells = <0>; | ||
171 | compatible = "fsl,gianfar-mdio"; | ||
172 | reg = <0x520 0x20>; | ||
173 | |||
174 | /* Vitesse 8201 */ | ||
175 | phy1c: ethernet-phy@1c { | ||
176 | interrupt-parent = <&ipic>; | ||
177 | interrupts = <18 0x8>; | ||
178 | reg = <0x1c>; | ||
179 | device_type = "ethernet-phy"; | ||
180 | }; | ||
181 | |||
182 | tbi0: tbi-phy@11 { | ||
183 | reg = <0x11>; | ||
184 | device_type = "tbi-phy"; | ||
185 | }; | ||
186 | }; | ||
183 | }; | 187 | }; |
184 | 188 | ||
185 | serial0: serial@4500 { | 189 | serial0: serial@4500 { |