diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2007-12-12 01:28:35 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2007-12-12 02:50:45 -0500 |
commit | e77b28eb199a8d637a00128b86baf515d4eba5fd (patch) | |
tree | 4bd63c9312c3ff17da778de9db7bdf07fe9644e6 /arch/powerpc/boot/dts/mpc834x_mds.dts | |
parent | ec9686c4a57ea46c97126660936f66e8a5eb87eb (diff) |
[POWERPC] FSL: enet device tree cleanups
* Removed address fields in ethernet nodes
* Removed #address-cells, #size-cells from gianfar nodes
* Added cell-index to gianfar and ucc ethernet nodes
* Added enet[0..3] labels
* Renamed compatible node for gianfar mdio to "fsl,gianfar-mdio"
* Removed device_type = "mdio"
The matching for gianfar mdio still supports the old "mdio"/"gianfar" combo
but it is now considered deprecated.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/boot/dts/mpc834x_mds.dts')
-rw-r--r-- | arch/powerpc/boot/dts/mpc834x_mds.dts | 26 |
1 files changed, 7 insertions, 19 deletions
diff --git a/arch/powerpc/boot/dts/mpc834x_mds.dts b/arch/powerpc/boot/dts/mpc834x_mds.dts index 73311e82ab5d..c5239c9f2759 100644 --- a/arch/powerpc/boot/dts/mpc834x_mds.dts +++ b/arch/powerpc/boot/dts/mpc834x_mds.dts | |||
@@ -119,11 +119,11 @@ | |||
119 | }; | 119 | }; |
120 | 120 | ||
121 | mdio@24520 { | 121 | mdio@24520 { |
122 | device_type = "mdio"; | ||
123 | compatible = "gianfar"; | ||
124 | reg = <24520 20>; | ||
125 | #address-cells = <1>; | 122 | #address-cells = <1>; |
126 | #size-cells = <0>; | 123 | #size-cells = <0>; |
124 | compatible = "fsl,gianfar-mdio"; | ||
125 | reg = <24520 20>; | ||
126 | |||
127 | phy0: ethernet-phy@0 { | 127 | phy0: ethernet-phy@0 { |
128 | interrupt-parent = < &ipic >; | 128 | interrupt-parent = < &ipic >; |
129 | interrupts = <11 8>; | 129 | interrupts = <11 8>; |
@@ -138,17 +138,12 @@ | |||
138 | }; | 138 | }; |
139 | }; | 139 | }; |
140 | 140 | ||
141 | ethernet@24000 { | 141 | enet0: ethernet@24000 { |
142 | cell-index = <0>; | ||
142 | device_type = "network"; | 143 | device_type = "network"; |
143 | model = "TSEC"; | 144 | model = "TSEC"; |
144 | compatible = "gianfar"; | 145 | compatible = "gianfar"; |
145 | reg = <24000 1000>; | 146 | reg = <24000 1000>; |
146 | /* | ||
147 | * address is deprecated and will be removed | ||
148 | * in 2.6.25. Only recent versions of | ||
149 | * U-Boot support local-mac-address, however. | ||
150 | */ | ||
151 | address = [ 00 00 00 00 00 00 ]; | ||
152 | local-mac-address = [ 00 00 00 00 00 00 ]; | 147 | local-mac-address = [ 00 00 00 00 00 00 ]; |
153 | interrupts = <20 8 21 8 22 8>; | 148 | interrupts = <20 8 21 8 22 8>; |
154 | interrupt-parent = < &ipic >; | 149 | interrupt-parent = < &ipic >; |
@@ -156,19 +151,12 @@ | |||
156 | linux,network-index = <0>; | 151 | linux,network-index = <0>; |
157 | }; | 152 | }; |
158 | 153 | ||
159 | ethernet@25000 { | 154 | enet1: ethernet@25000 { |
160 | #address-cells = <1>; | 155 | cell-index = <1>; |
161 | #size-cells = <0>; | ||
162 | device_type = "network"; | 156 | device_type = "network"; |
163 | model = "TSEC"; | 157 | model = "TSEC"; |
164 | compatible = "gianfar"; | 158 | compatible = "gianfar"; |
165 | reg = <25000 1000>; | 159 | reg = <25000 1000>; |
166 | /* | ||
167 | * address is deprecated and will be removed | ||
168 | * in 2.6.25. Only recent versions of | ||
169 | * U-Boot support local-mac-address, however. | ||
170 | */ | ||
171 | address = [ 00 00 00 00 00 00 ]; | ||
172 | local-mac-address = [ 00 00 00 00 00 00 ]; | 160 | local-mac-address = [ 00 00 00 00 00 00 ]; |
173 | interrupts = <23 8 24 8 25 8>; | 161 | interrupts = <23 8 24 8 25 8>; |
174 | interrupt-parent = < &ipic >; | 162 | interrupt-parent = < &ipic >; |