aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot/dts/mpc8377_mds.dts
diff options
context:
space:
mode:
authorAnton Vorontsov <avorontsov@ru.mvista.com>2009-03-19 14:01:45 -0400
committerKumar Gala <galak@kernel.crashing.org>2009-03-24 09:35:04 -0400
commit70b3adbba056f5d9081f1ec9b4a629e3c7502072 (patch)
treeef7a299becef375b9d59f8d2d4a56e036e17b6d9 /arch/powerpc/boot/dts/mpc8377_mds.dts
parent125a00d74ea57a901fd4cc3d84baf2e825704b68 (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/mpc8377_mds.dts')
-rw-r--r--arch/powerpc/boot/dts/mpc8377_mds.dts80
1 files changed, 44 insertions, 36 deletions
diff --git a/arch/powerpc/boot/dts/mpc8377_mds.dts b/arch/powerpc/boot/dts/mpc8377_mds.dts
index cebfc50f4ce5..963708017e6c 100644
--- a/arch/powerpc/boot/dts/mpc8377_mds.dts
+++ b/arch/powerpc/boot/dts/mpc8377_mds.dts
@@ -196,48 +196,15 @@
196 sleep = <&pmc 0x00c00000>; 196 sleep = <&pmc 0x00c00000>;
197 }; 197 };
198 198
199 mdio@24520 {
200 #address-cells = <1>;
201 #size-cells = <0>;
202 compatible = "fsl,gianfar-mdio";
203 reg = <0x24520 0x20>;
204 phy2: ethernet-phy@2 {
205 interrupt-parent = <&ipic>;
206 interrupts = <17 0x8>;
207 reg = <0x2>;
208 device_type = "ethernet-phy";
209 };
210 phy3: ethernet-phy@3 {
211 interrupt-parent = <&ipic>;
212 interrupts = <18 0x8>;
213 reg = <0x3>;
214 device_type = "ethernet-phy";
215 };
216 tbi0: tbi-phy@11 {
217 reg = <0x11>;
218 device_type = "tbi-phy";
219 };
220 };
221
222 mdio@25520 {
223 #address-cells = <1>;
224 #size-cells = <0>;
225 compatible = "fsl,gianfar-tbi";
226 reg = <0x25520 0x20>;
227
228 tbi1: tbi-phy@11 {
229 reg = <0x11>;
230 device_type = "tbi-phy";
231 };
232 };
233
234
235 enet0: ethernet@24000 { 199 enet0: ethernet@24000 {
200 #address-cells = <1>;
201 #size-cells = <1>;
236 cell-index = <0>; 202 cell-index = <0>;
237 device_type = "network"; 203 device_type = "network";
238 model = "eTSEC"; 204 model = "eTSEC";
239 compatible = "gianfar"; 205 compatible = "gianfar";
240 reg = <0x24000 0x1000>; 206 reg = <0x24000 0x1000>;
207 ranges = <0x0 0x24000 0x1000>;
241 local-mac-address = [ 00 00 00 00 00 00 ]; 208 local-mac-address = [ 00 00 00 00 00 00 ];
242 interrupts = <32 0x8 33 0x8 34 0x8>; 209 interrupts = <32 0x8 33 0x8 34 0x8>;
243 phy-connection-type = "mii"; 210 phy-connection-type = "mii";
@@ -246,14 +213,43 @@
246 phy-handle = <&phy2>; 213 phy-handle = <&phy2>;
247 sleep = <&pmc 0xc0000000>; 214 sleep = <&pmc 0xc0000000>;
248 fsl,magic-packet; 215 fsl,magic-packet;
216
217 mdio@520 {
218 #address-cells = <1>;
219 #size-cells = <0>;
220 compatible = "fsl,gianfar-mdio";
221 reg = <0x520 0x20>;
222
223 phy2: ethernet-phy@2 {
224 interrupt-parent = <&ipic>;
225 interrupts = <17 0x8>;
226 reg = <0x2>;
227 device_type = "ethernet-phy";
228 };
229
230 phy3: ethernet-phy@3 {
231 interrupt-parent = <&ipic>;
232 interrupts = <18 0x8>;
233 reg = <0x3>;
234 device_type = "ethernet-phy";
235 };
236
237 tbi0: tbi-phy@11 {
238 reg = <0x11>;
239 device_type = "tbi-phy";
240 };
241 };
249 }; 242 };
250 243
251 enet1: ethernet@25000 { 244 enet1: ethernet@25000 {
245 #address-cells = <1>;
246 #size-cells = <1>;
252 cell-index = <1>; 247 cell-index = <1>;
253 device_type = "network"; 248 device_type = "network";
254 model = "eTSEC"; 249 model = "eTSEC";
255 compatible = "gianfar"; 250 compatible = "gianfar";
256 reg = <0x25000 0x1000>; 251 reg = <0x25000 0x1000>;
252 ranges = <0x0 0x25000 0x1000>;
257 local-mac-address = [ 00 00 00 00 00 00 ]; 253 local-mac-address = [ 00 00 00 00 00 00 ];
258 interrupts = <35 0x8 36 0x8 37 0x8>; 254 interrupts = <35 0x8 36 0x8 37 0x8>;
259 phy-connection-type = "mii"; 255 phy-connection-type = "mii";
@@ -262,6 +258,18 @@
262 phy-handle = <&phy3>; 258 phy-handle = <&phy3>;
263 sleep = <&pmc 0x30000000>; 259 sleep = <&pmc 0x30000000>;
264 fsl,magic-packet; 260 fsl,magic-packet;
261
262 mdio@520 {
263 #address-cells = <1>;
264 #size-cells = <0>;
265 compatible = "fsl,gianfar-tbi";
266 reg = <0x520 0x20>;
267
268 tbi1: tbi-phy@11 {
269 reg = <0x11>;
270 device_type = "tbi-phy";
271 };
272 };
265 }; 273 };
266 274
267 serial0: serial@4500 { 275 serial0: serial@4500 {