diff options
author | Stefan Roese <sr@denx.de> | 2008-04-03 09:35:06 -0400 |
---|---|---|
committer | Josh Boyer <jwboyer@linux.vnet.ibm.com> | 2008-04-05 10:32:32 -0400 |
commit | a6190a84ab1163f750fcd1511bd96f7803724cd3 (patch) | |
tree | d8f5092ae636932994faa6ecfa4aa1a3e8e4ba63 /arch/powerpc/boot/dts/canyonlands.dts | |
parent | 93173ce272e54f81460986ff5040d16ab79488a9 (diff) |
[POWERPC] 4xx: Some EMAC related changes in Canyonlands & Glacier dts files
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>
Diffstat (limited to 'arch/powerpc/boot/dts/canyonlands.dts')
-rw-r--r-- | arch/powerpc/boot/dts/canyonlands.dts | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/arch/powerpc/boot/dts/canyonlands.dts b/arch/powerpc/boot/dts/canyonlands.dts index 657f2b4d3b1b..6f3d38a1554f 100644 --- a/arch/powerpc/boot/dts/canyonlands.dts +++ b/arch/powerpc/boot/dts/canyonlands.dts | |||
@@ -215,6 +215,16 @@ | |||
215 | has-mdio; | 215 | has-mdio; |
216 | }; | 216 | }; |
217 | 217 | ||
218 | TAH0: emac-tah@ef601350 { | ||
219 | compatible = "ibm,tah-460ex", "ibm,tah"; | ||
220 | reg = <ef601350 30>; | ||
221 | }; | ||
222 | |||
223 | TAH1: emac-tah@ef601450 { | ||
224 | compatible = "ibm,tah-460ex", "ibm,tah"; | ||
225 | reg = <ef601450 30>; | ||
226 | }; | ||
227 | |||
218 | EMAC0: ethernet@ef600e00 { | 228 | EMAC0: ethernet@ef600e00 { |
219 | device_type = "network"; | 229 | device_type = "network"; |
220 | compatible = "ibm,emac-460ex", "ibm,emac4"; | 230 | compatible = "ibm,emac-460ex", "ibm,emac4"; |
@@ -236,10 +246,10 @@ | |||
236 | tx-fifo-size = <800>; | 246 | tx-fifo-size = <800>; |
237 | phy-mode = "rgmii"; | 247 | phy-mode = "rgmii"; |
238 | phy-map = <00000000>; | 248 | phy-map = <00000000>; |
239 | zmii-device = <&ZMII0>; | ||
240 | zmii-channel = <0>; | ||
241 | rgmii-device = <&RGMII0>; | 249 | rgmii-device = <&RGMII0>; |
242 | rgmii-channel = <0>; | 250 | rgmii-channel = <0>; |
251 | tah-device = <&TAH0>; | ||
252 | tah-channel = <0>; | ||
243 | has-inverted-stacr-oc; | 253 | has-inverted-stacr-oc; |
244 | has-new-stacr-staopc; | 254 | has-new-stacr-staopc; |
245 | }; | 255 | }; |
@@ -265,12 +275,13 @@ | |||
265 | tx-fifo-size = <800>; | 275 | tx-fifo-size = <800>; |
266 | phy-mode = "rgmii"; | 276 | phy-mode = "rgmii"; |
267 | phy-map = <00000000>; | 277 | phy-map = <00000000>; |
268 | zmii-device = <&ZMII0>; | ||
269 | zmii-channel = <1>; | ||
270 | rgmii-device = <&RGMII0>; | 278 | rgmii-device = <&RGMII0>; |
271 | rgmii-channel = <1>; | 279 | rgmii-channel = <1>; |
280 | tah-device = <&TAH1>; | ||
281 | tah-channel = <1>; | ||
272 | has-inverted-stacr-oc; | 282 | has-inverted-stacr-oc; |
273 | has-new-stacr-staopc; | 283 | has-new-stacr-staopc; |
284 | mdio-device = <&EMAC0>; | ||
274 | }; | 285 | }; |
275 | }; | 286 | }; |
276 | 287 | ||