diff options
author | Valentine Barshak <vbarshak@ru.mvista.com> | 2007-10-01 10:12:09 -0400 |
---|---|---|
committer | Josh Boyer <jwboyer@linux.vnet.ibm.com> | 2007-10-19 17:17:08 -0400 |
commit | 1f69dcfdaef84614b3ac7ac113d1b9a286afb9a0 (patch) | |
tree | 12b4e1a3a8bbca1a220d12f58708eec699d080ac /arch | |
parent | 4fa4d23fa20de67df919030c1216295664866ad7 (diff) |
[POWERPC] 4xx: Add RGMII support for Sequoia 440EPx
This adds RGMII support to Sequoia DTS and sets correct phy-mode
for EMACs. According to Sequoia datasheet, both ethernet ports
are connected to RGMII interface, while ZMII is used only for MDIO.
Signed-off-by: Valentine Barshak <vbarshak@ru.mvista.com>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/boot/dts/sequoia.dts | 14 | ||||
-rw-r--r-- | arch/powerpc/platforms/44x/Kconfig | 1 |
2 files changed, 13 insertions, 2 deletions
diff --git a/arch/powerpc/boot/dts/sequoia.dts b/arch/powerpc/boot/dts/sequoia.dts index 36be75b04de1..8833dfe2e8b4 100644 --- a/arch/powerpc/boot/dts/sequoia.dts +++ b/arch/powerpc/boot/dts/sequoia.dts | |||
@@ -241,6 +241,12 @@ | |||
241 | reg = <ef600d00 c>; | 241 | reg = <ef600d00 c>; |
242 | }; | 242 | }; |
243 | 243 | ||
244 | RGMII0: emac-rgmii@ef601000 { | ||
245 | device_type = "rgmii-interface"; | ||
246 | compatible = "ibm,rgmii-440epx", "ibm,rgmii"; | ||
247 | reg = <ef601000 8>; | ||
248 | }; | ||
249 | |||
244 | EMAC0: ethernet@ef600e00 { | 250 | EMAC0: ethernet@ef600e00 { |
245 | linux,network-index = <0>; | 251 | linux,network-index = <0>; |
246 | device_type = "network"; | 252 | device_type = "network"; |
@@ -261,10 +267,12 @@ | |||
261 | max-frame-size = <5dc>; | 267 | max-frame-size = <5dc>; |
262 | rx-fifo-size = <1000>; | 268 | rx-fifo-size = <1000>; |
263 | tx-fifo-size = <800>; | 269 | tx-fifo-size = <800>; |
264 | phy-mode = "rmii"; | 270 | phy-mode = "rgmii"; |
265 | phy-map = <00000000>; | 271 | phy-map = <00000000>; |
266 | zmii-device = <&ZMII0>; | 272 | zmii-device = <&ZMII0>; |
267 | zmii-channel = <0>; | 273 | zmii-channel = <0>; |
274 | rgmii-device = <&RGMII0>; | ||
275 | rgmii-channel = <0>; | ||
268 | }; | 276 | }; |
269 | 277 | ||
270 | EMAC1: ethernet@ef600f00 { | 278 | EMAC1: ethernet@ef600f00 { |
@@ -287,10 +295,12 @@ | |||
287 | max-frame-size = <5dc>; | 295 | max-frame-size = <5dc>; |
288 | rx-fifo-size = <1000>; | 296 | rx-fifo-size = <1000>; |
289 | tx-fifo-size = <800>; | 297 | tx-fifo-size = <800>; |
290 | phy-mode = "rmii"; | 298 | phy-mode = "rgmii"; |
291 | phy-map = <00000000>; | 299 | phy-map = <00000000>; |
292 | zmii-device = <&ZMII0>; | 300 | zmii-device = <&ZMII0>; |
293 | zmii-channel = <1>; | 301 | zmii-channel = <1>; |
302 | rgmii-device = <&RGMII0>; | ||
303 | rgmii-channel = <1>; | ||
294 | }; | 304 | }; |
295 | }; | 305 | }; |
296 | }; | 306 | }; |
diff --git a/arch/powerpc/platforms/44x/Kconfig b/arch/powerpc/platforms/44x/Kconfig index 51f3ea40a285..49a4f0959298 100644 --- a/arch/powerpc/platforms/44x/Kconfig +++ b/arch/powerpc/platforms/44x/Kconfig | |||
@@ -50,6 +50,7 @@ config 440EPX | |||
50 | select PPC_FPU | 50 | select PPC_FPU |
51 | # Disabled until the new EMAC Driver is merged. | 51 | # Disabled until the new EMAC Driver is merged. |
52 | # select IBM_NEW_EMAC_EMAC4 | 52 | # select IBM_NEW_EMAC_EMAC4 |
53 | # select IBM_NEW_EMAC_RGMII | ||
53 | # select IBM_NEW_EMAC_ZMII | 54 | # select IBM_NEW_EMAC_ZMII |
54 | 55 | ||
55 | config 440GP | 56 | config 440GP |