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/mpc8349emitx.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/mpc8349emitx.dts')
-rw-r--r-- | arch/powerpc/boot/dts/mpc8349emitx.dts | 25 |
1 files changed, 6 insertions, 19 deletions
diff --git a/arch/powerpc/boot/dts/mpc8349emitx.dts b/arch/powerpc/boot/dts/mpc8349emitx.dts index c29e4f4a7ae5..d2184ada16d8 100644 --- a/arch/powerpc/boot/dts/mpc8349emitx.dts +++ b/arch/powerpc/boot/dts/mpc8349emitx.dts | |||
@@ -106,11 +106,10 @@ | |||
106 | }; | 106 | }; |
107 | 107 | ||
108 | mdio@24520 { | 108 | mdio@24520 { |
109 | device_type = "mdio"; | ||
110 | compatible = "gianfar"; | ||
111 | reg = <24520 20>; | ||
112 | #address-cells = <1>; | 109 | #address-cells = <1>; |
113 | #size-cells = <0>; | 110 | #size-cells = <0>; |
111 | compatible = "fsl,gianfar-mdio"; | ||
112 | reg = <24520 20>; | ||
114 | 113 | ||
115 | /* Vitesse 8201 */ | 114 | /* Vitesse 8201 */ |
116 | phy1c: ethernet-phy@1c { | 115 | phy1c: ethernet-phy@1c { |
@@ -129,17 +128,12 @@ | |||
129 | }; | 128 | }; |
130 | }; | 129 | }; |
131 | 130 | ||
132 | ethernet@24000 { | 131 | enet0: ethernet@24000 { |
132 | cell-index = <0>; | ||
133 | device_type = "network"; | 133 | device_type = "network"; |
134 | model = "TSEC"; | 134 | model = "TSEC"; |
135 | compatible = "gianfar"; | 135 | compatible = "gianfar"; |
136 | reg = <24000 1000>; | 136 | reg = <24000 1000>; |
137 | /* | ||
138 | * address is deprecated and will be removed | ||
139 | * in 2.6.25. Only recent versions of | ||
140 | * U-Boot support local-mac-address, however. | ||
141 | */ | ||
142 | address = [ 00 00 00 00 00 00 ]; | ||
143 | local-mac-address = [ 00 00 00 00 00 00 ]; | 137 | local-mac-address = [ 00 00 00 00 00 00 ]; |
144 | interrupts = <20 8 21 8 22 8>; | 138 | interrupts = <20 8 21 8 22 8>; |
145 | interrupt-parent = < &ipic >; | 139 | interrupt-parent = < &ipic >; |
@@ -147,19 +141,12 @@ | |||
147 | linux,network-index = <0>; | 141 | linux,network-index = <0>; |
148 | }; | 142 | }; |
149 | 143 | ||
150 | ethernet@25000 { | 144 | enet1: ethernet@25000 { |
151 | #address-cells = <1>; | 145 | cell-index = <1>; |
152 | #size-cells = <0>; | ||
153 | device_type = "network"; | 146 | device_type = "network"; |
154 | model = "TSEC"; | 147 | model = "TSEC"; |
155 | compatible = "gianfar"; | 148 | compatible = "gianfar"; |
156 | reg = <25000 1000>; | 149 | reg = <25000 1000>; |
157 | /* | ||
158 | * address is deprecated and will be removed | ||
159 | * in 2.6.25. Only recent versions of | ||
160 | * U-Boot support local-mac-address, however. | ||
161 | */ | ||
162 | address = [ 00 00 00 00 00 00 ]; | ||
163 | local-mac-address = [ 00 00 00 00 00 00 ]; | 150 | local-mac-address = [ 00 00 00 00 00 00 ]; |
164 | interrupts = <23 8 24 8 25 8>; | 151 | interrupts = <23 8 24 8 25 8>; |
165 | interrupt-parent = < &ipic >; | 152 | interrupt-parent = < &ipic >; |