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 | |
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>
-rw-r--r-- | arch/powerpc/boot/dts/canyonlands.dts | 19 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/glacier.dts | 5 |
2 files changed, 19 insertions, 5 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 | ||
diff --git a/arch/powerpc/boot/dts/glacier.dts b/arch/powerpc/boot/dts/glacier.dts index 7a7c9bfa0211..958a5ca53d35 100644 --- a/arch/powerpc/boot/dts/glacier.dts +++ b/arch/powerpc/boot/dts/glacier.dts | |||
@@ -287,9 +287,10 @@ | |||
287 | rgmii-device = <&RGMII0>; | 287 | rgmii-device = <&RGMII0>; |
288 | rgmii-channel = <1>; | 288 | rgmii-channel = <1>; |
289 | tah-device = <&TAH1>; | 289 | tah-device = <&TAH1>; |
290 | tah-channel = <0>; | 290 | tah-channel = <1>; |
291 | has-inverted-stacr-oc; | 291 | has-inverted-stacr-oc; |
292 | has-new-stacr-staopc; | 292 | has-new-stacr-staopc; |
293 | mdio-device = <&EMAC0>; | ||
293 | }; | 294 | }; |
294 | 295 | ||
295 | EMAC2: ethernet@ef601100 { | 296 | EMAC2: ethernet@ef601100 { |
@@ -317,6 +318,7 @@ | |||
317 | rgmii-channel = <0>; | 318 | rgmii-channel = <0>; |
318 | has-inverted-stacr-oc; | 319 | has-inverted-stacr-oc; |
319 | has-new-stacr-staopc; | 320 | has-new-stacr-staopc; |
321 | mdio-device = <&EMAC0>; | ||
320 | }; | 322 | }; |
321 | 323 | ||
322 | EMAC3: ethernet@ef601200 { | 324 | EMAC3: ethernet@ef601200 { |
@@ -344,6 +346,7 @@ | |||
344 | rgmii-channel = <1>; | 346 | rgmii-channel = <1>; |
345 | has-inverted-stacr-oc; | 347 | has-inverted-stacr-oc; |
346 | has-new-stacr-staopc; | 348 | has-new-stacr-staopc; |
349 | mdio-device = <&EMAC0>; | ||
347 | }; | 350 | }; |
348 | }; | 351 | }; |
349 | 352 | ||