diff options
author | Dale Farnsworth <dale@farnsworth.org> | 2008-04-07 18:11:27 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-04-15 07:21:24 -0400 |
commit | a0916bd64a0e6636f0161480e04057c89e90c5da (patch) | |
tree | e69f5a97dfe6de72a4d88b69508fb3048ff1107d /arch/powerpc/boot | |
parent | 1791f91bc794b7efc90719268146f582b9f29ead (diff) |
[POWERPC] mv643xx_eth: Prepare to support multiple silicon blocks
The mv643xx_eth driver is being modified to support multiple instances
of the ethernet silicon block on the same platform. Each block contains
a single register bank containing the registers for up to three ports
interleaved within that bank. This patch updates the PowerPC OF to
platform_device glue code to support multiple silicon blocks, each
with up to three ethernet ports. The main difference is that we now
allow multiple mv64x60_shared platform_devices to be registered and
we provide each port platform_device with a pointer to its associated
shared platform_device. The pointer will not be used until the
mv643xx_eth driver changes are committed.
Signed-off-by: Dale Farnsworth <dale@farnsworth.org>
Acked-by: Mark Greer <mgreer@mvista.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/boot')
-rw-r--r-- | arch/powerpc/boot/dts/prpmc2800.dts | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/arch/powerpc/boot/dts/prpmc2800.dts b/arch/powerpc/boot/dts/prpmc2800.dts index 88a1a895985f..1ee6ff43dd57 100644 --- a/arch/powerpc/boot/dts/prpmc2800.dts +++ b/arch/powerpc/boot/dts/prpmc2800.dts | |||
@@ -91,21 +91,24 @@ | |||
91 | }; | 91 | }; |
92 | }; | 92 | }; |
93 | 93 | ||
94 | ethernet@2000 { | 94 | ethernet-group@2000 { |
95 | #address-cells = <1>; | ||
96 | #size-cells = <0>; | ||
97 | compatible = "marvell,mv64360-eth-group"; | ||
95 | reg = <0x2000 0x2000>; | 98 | reg = <0x2000 0x2000>; |
96 | eth0 { | 99 | ethernet@0 { |
97 | device_type = "network"; | 100 | device_type = "network"; |
98 | compatible = "marvell,mv64360-eth"; | 101 | compatible = "marvell,mv64360-eth"; |
99 | block-index = <0>; | 102 | reg = <0>; |
100 | interrupts = <32>; | 103 | interrupts = <32>; |
101 | interrupt-parent = <&PIC>; | 104 | interrupt-parent = <&PIC>; |
102 | phy = <&PHY0>; | 105 | phy = <&PHY0>; |
103 | local-mac-address = [ 00 00 00 00 00 00 ]; | 106 | local-mac-address = [ 00 00 00 00 00 00 ]; |
104 | }; | 107 | }; |
105 | eth1 { | 108 | ethernet@1 { |
106 | device_type = "network"; | 109 | device_type = "network"; |
107 | compatible = "marvell,mv64360-eth"; | 110 | compatible = "marvell,mv64360-eth"; |
108 | block-index = <1>; | 111 | reg = <1>; |
109 | interrupts = <33>; | 112 | interrupts = <33>; |
110 | interrupt-parent = <&PIC>; | 113 | interrupt-parent = <&PIC>; |
111 | phy = <&PHY1>; | 114 | phy = <&PHY1>; |