]> err.no Git - linux-2.6/commitdiff
[POWERPC] 4xx: Some EMAC related changes in Canyonlands & Glacier dts files
authorStefan Roese <sr@denx.de>
Thu, 3 Apr 2008 13:35:06 +0000 (00:35 +1100)
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>
Sat, 5 Apr 2008 14:32:32 +0000 (09:32 -0500)
This patch fixes some problems in the Canyonlands 460EX and Glacier 460GT
dts files:

- Add "mdio-device = <&EMAC0>" to all all EMAC's except for EMAC0 itself
  (the 460EX/GT only can access the PHY via the EMAC0 instance)
- Add TAH support to Canyonlands dts

Signed-off-by: Stefan Roese <sr@denx.de>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
arch/powerpc/boot/dts/canyonlands.dts
arch/powerpc/boot/dts/glacier.dts

index 657f2b4d3b1bf8effbc8cbc4e0c618c930a39b35..6f3d38a1554f56c020f97721734882ea1233d943 100644 (file)
                                has-mdio;
                        };
 
+                       TAH0: emac-tah@ef601350 {
+                               compatible = "ibm,tah-460ex", "ibm,tah";
+                               reg = <ef601350 30>;
+                       };
+
+                       TAH1: emac-tah@ef601450 {
+                               compatible = "ibm,tah-460ex", "ibm,tah";
+                               reg = <ef601450 30>;
+                       };
+
                        EMAC0: ethernet@ef600e00 {
                                device_type = "network";
                                compatible = "ibm,emac-460ex", "ibm,emac4";
                                tx-fifo-size = <800>;
                                phy-mode = "rgmii";
                                phy-map = <00000000>;
-                               zmii-device = <&ZMII0>;
-                               zmii-channel = <0>;
                                rgmii-device = <&RGMII0>;
                                rgmii-channel = <0>;
+                               tah-device = <&TAH0>;
+                               tah-channel = <0>;
                                has-inverted-stacr-oc;
                                has-new-stacr-staopc;
                        };
                                tx-fifo-size = <800>;
                                phy-mode = "rgmii";
                                phy-map = <00000000>;
-                               zmii-device = <&ZMII0>;
-                               zmii-channel = <1>;
                                rgmii-device = <&RGMII0>;
                                rgmii-channel = <1>;
+                               tah-device = <&TAH1>;
+                               tah-channel = <1>;
                                has-inverted-stacr-oc;
                                has-new-stacr-staopc;
+                               mdio-device = <&EMAC0>;
                        };
                };
 
index 7a7c9bfa0211748c03170483d40f1a356911659e..958a5ca53d353833952c9dfe47d86c620dfe011c 100644 (file)
                                rgmii-device = <&RGMII0>;
                                rgmii-channel = <1>;
                                tah-device = <&TAH1>;
-                               tah-channel = <0>;
+                               tah-channel = <1>;
                                has-inverted-stacr-oc;
                                has-new-stacr-staopc;
+                               mdio-device = <&EMAC0>;
                        };
 
                        EMAC2: ethernet@ef601100 {
                                rgmii-channel = <0>;
                                has-inverted-stacr-oc;
                                has-new-stacr-staopc;
+                               mdio-device = <&EMAC0>;
                        };
 
                        EMAC3: ethernet@ef601200 {
                                rgmii-channel = <1>;
                                has-inverted-stacr-oc;
                                has-new-stacr-staopc;
+                               mdio-device = <&EMAC0>;
                        };
                };