aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Vorontsov <avorontsov@ru.mvista.com>2007-10-05 13:46:53 -0400
committerKumar Gala <galak@kernel.crashing.org>2007-10-08 09:39:04 -0400
commitaf6521ea8af210fea094b183a9ad29ab73945ee1 (patch)
tree99bf729690cc43a0613ab4990a974534fa929595
parent321872dcc07f83f9b60af1be41c6bafbaddf9bf6 (diff)
[POWERPC] 85xx: mpc8568mds - update dts to be able to use UCCs
1. UCC1's RX_DV pin is 16, not 15; 2. UCC1's phy is at 0x7, not 0x1. Schematics says 0x7, and recent u-boot also using 0x7. 3. Use gianfar's (eTSEC) mdio bus. This is hardware default setup. 4. tx-clock should be CLK16 (GE125, PB31); 5. phy-connection-type is RGMII-ID; Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
-rw-r--r--arch/powerpc/boot/dts/mpc8568mds.dts22
1 files changed, 11 insertions, 11 deletions
diff --git a/arch/powerpc/boot/dts/mpc8568mds.dts b/arch/powerpc/boot/dts/mpc8568mds.dts
index b064a2ff2306..54394372b12a 100644
--- a/arch/powerpc/boot/dts/mpc8568mds.dts
+++ b/arch/powerpc/boot/dts/mpc8568mds.dts
@@ -104,10 +104,10 @@
104 device_type = "mdio"; 104 device_type = "mdio";
105 compatible = "gianfar"; 105 compatible = "gianfar";
106 reg = <24520 20>; 106 reg = <24520 20>;
107 phy0: ethernet-phy@0 { 107 phy0: ethernet-phy@7 {
108 interrupt-parent = <&mpic>; 108 interrupt-parent = <&mpic>;
109 interrupts = <1 1>; 109 interrupts = <1 1>;
110 reg = <0>; 110 reg = <7>;
111 device_type = "ethernet-phy"; 111 device_type = "ethernet-phy";
112 }; 112 };
113 phy1: ethernet-phy@1 { 113 phy1: ethernet-phy@1 {
@@ -242,7 +242,7 @@
242 4 1a 2 0 2 0 /* RxD7 */ 242 4 1a 2 0 2 0 /* RxD7 */
243 4 0b 1 0 2 0 /* TX_EN */ 243 4 0b 1 0 2 0 /* TX_EN */
244 4 18 1 0 2 0 /* TX_ER */ 244 4 18 1 0 2 0 /* TX_ER */
245 4 0f 2 0 2 0 /* RX_DV */ 245 4 10 2 0 2 0 /* RX_DV */
246 4 1e 2 0 2 0 /* RX_ER */ 246 4 1e 2 0 2 0 /* RX_ER */
247 4 11 2 0 2 0 /* RX_CLK */ 247 4 11 2 0 2 0 /* RX_CLK */
248 4 13 1 0 2 0 /* GTX_CLK */ 248 4 13 1 0 2 0 /* GTX_CLK */
@@ -334,10 +334,10 @@
334 mac-address = [ 00 00 00 00 00 00 ]; 334 mac-address = [ 00 00 00 00 00 00 ];
335 local-mac-address = [ 00 00 00 00 00 00 ]; 335 local-mac-address = [ 00 00 00 00 00 00 ];
336 rx-clock = <0>; 336 rx-clock = <0>;
337 tx-clock = <19>; 337 tx-clock = <20>;
338 phy-handle = <&qe_phy0>;
339 phy-connection-type = "gmii";
340 pio-handle = <&pio1>; 338 pio-handle = <&pio1>;
339 phy-handle = <&phy0>;
340 phy-connection-type = "rgmii-id";
341 }; 341 };
342 342
343 ucc@3000 { 343 ucc@3000 {
@@ -356,10 +356,10 @@
356 mac-address = [ 00 00 00 00 00 00 ]; 356 mac-address = [ 00 00 00 00 00 00 ];
357 local-mac-address = [ 00 00 00 00 00 00 ]; 357 local-mac-address = [ 00 00 00 00 00 00 ];
358 rx-clock = <0>; 358 rx-clock = <0>;
359 tx-clock = <14>; 359 tx-clock = <20>;
360 phy-handle = <&qe_phy1>;
361 phy-connection-type = "gmii";
362 pio-handle = <&pio2>; 360 pio-handle = <&pio2>;
361 phy-handle = <&phy1>;
362 phy-connection-type = "rgmii-id";
363 }; 363 };
364 364
365 mdio@2120 { 365 mdio@2120 {
@@ -371,10 +371,10 @@
371 371
372 /* These are the same PHYs as on 372 /* These are the same PHYs as on
373 * gianfar's MDIO bus */ 373 * gianfar's MDIO bus */
374 qe_phy0: ethernet-phy@00 { 374 qe_phy0: ethernet-phy@07 {
375 interrupt-parent = <&mpic>; 375 interrupt-parent = <&mpic>;
376 interrupts = <1 1>; 376 interrupts = <1 1>;
377 reg = <0>; 377 reg = <7>;
378 device_type = "ethernet-phy"; 378 device_type = "ethernet-phy";
379 }; 379 };
380 qe_phy1: ethernet-phy@01 { 380 qe_phy1: ethernet-phy@01 {