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/mpc8641_hpcn.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/mpc8641_hpcn.dts')
-rw-r--r-- | arch/powerpc/boot/dts/mpc8641_hpcn.dts | 40 |
1 files changed, 6 insertions, 34 deletions
diff --git a/arch/powerpc/boot/dts/mpc8641_hpcn.dts b/arch/powerpc/boot/dts/mpc8641_hpcn.dts index dc0efafd584f..ddd8fbbb2171 100644 --- a/arch/powerpc/boot/dts/mpc8641_hpcn.dts +++ b/arch/powerpc/boot/dts/mpc8641_hpcn.dts | |||
@@ -93,9 +93,9 @@ | |||
93 | mdio@24520 { | 93 | mdio@24520 { |
94 | #address-cells = <1>; | 94 | #address-cells = <1>; |
95 | #size-cells = <0>; | 95 | #size-cells = <0>; |
96 | device_type = "mdio"; | 96 | compatible = "fsl,gianfar-mdio"; |
97 | compatible = "gianfar"; | ||
98 | reg = <24520 20>; | 97 | reg = <24520 20>; |
98 | |||
99 | phy0: ethernet-phy@0 { | 99 | phy0: ethernet-phy@0 { |
100 | interrupt-parent = <&mpic>; | 100 | interrupt-parent = <&mpic>; |
101 | interrupts = <a 1>; | 101 | interrupts = <a 1>; |
@@ -123,18 +123,11 @@ | |||
123 | }; | 123 | }; |
124 | 124 | ||
125 | enet0: ethernet@24000 { | 125 | enet0: ethernet@24000 { |
126 | #address-cells = <1>; | 126 | cell-index = <0>; |
127 | #size-cells = <0>; | ||
128 | device_type = "network"; | 127 | device_type = "network"; |
129 | model = "TSEC"; | 128 | model = "TSEC"; |
130 | compatible = "gianfar"; | 129 | compatible = "gianfar"; |
131 | reg = <24000 1000>; | 130 | reg = <24000 1000>; |
132 | /* | ||
133 | * mac-address is deprecated and will be removed | ||
134 | * in 2.6.25. Only recent versions of | ||
135 | * U-Boot support local-mac-address, however. | ||
136 | */ | ||
137 | mac-address = [ 00 00 00 00 00 00 ]; | ||
138 | local-mac-address = [ 00 00 00 00 00 00 ]; | 131 | local-mac-address = [ 00 00 00 00 00 00 ]; |
139 | interrupts = <1d 2 1e 2 22 2>; | 132 | interrupts = <1d 2 1e 2 22 2>; |
140 | interrupt-parent = <&mpic>; | 133 | interrupt-parent = <&mpic>; |
@@ -143,18 +136,11 @@ | |||
143 | }; | 136 | }; |
144 | 137 | ||
145 | enet1: ethernet@25000 { | 138 | enet1: ethernet@25000 { |
146 | #address-cells = <1>; | 139 | cell-index = <1>; |
147 | #size-cells = <0>; | ||
148 | device_type = "network"; | 140 | device_type = "network"; |
149 | model = "TSEC"; | 141 | model = "TSEC"; |
150 | compatible = "gianfar"; | 142 | compatible = "gianfar"; |
151 | reg = <25000 1000>; | 143 | reg = <25000 1000>; |
152 | /* | ||
153 | * mac-address is deprecated and will be removed | ||
154 | * in 2.6.25. Only recent versions of | ||
155 | * U-Boot support local-mac-address, however. | ||
156 | */ | ||
157 | mac-address = [ 00 00 00 00 00 00 ]; | ||
158 | local-mac-address = [ 00 00 00 00 00 00 ]; | 144 | local-mac-address = [ 00 00 00 00 00 00 ]; |
159 | interrupts = <23 2 24 2 28 2>; | 145 | interrupts = <23 2 24 2 28 2>; |
160 | interrupt-parent = <&mpic>; | 146 | interrupt-parent = <&mpic>; |
@@ -163,18 +149,11 @@ | |||
163 | }; | 149 | }; |
164 | 150 | ||
165 | enet2: ethernet@26000 { | 151 | enet2: ethernet@26000 { |
166 | #address-cells = <1>; | 152 | cell-index = <2>; |
167 | #size-cells = <0>; | ||
168 | device_type = "network"; | 153 | device_type = "network"; |
169 | model = "TSEC"; | 154 | model = "TSEC"; |
170 | compatible = "gianfar"; | 155 | compatible = "gianfar"; |
171 | reg = <26000 1000>; | 156 | reg = <26000 1000>; |
172 | /* | ||
173 | * mac-address is deprecated and will be removed | ||
174 | * in 2.6.25. Only recent versions of | ||
175 | * U-Boot support local-mac-address, however. | ||
176 | */ | ||
177 | mac-address = [ 00 00 00 00 00 00 ]; | ||
178 | local-mac-address = [ 00 00 00 00 00 00 ]; | 157 | local-mac-address = [ 00 00 00 00 00 00 ]; |
179 | interrupts = <1F 2 20 2 21 2>; | 158 | interrupts = <1F 2 20 2 21 2>; |
180 | interrupt-parent = <&mpic>; | 159 | interrupt-parent = <&mpic>; |
@@ -183,18 +162,11 @@ | |||
183 | }; | 162 | }; |
184 | 163 | ||
185 | enet3: ethernet@27000 { | 164 | enet3: ethernet@27000 { |
186 | #address-cells = <1>; | 165 | cell-index = <3>; |
187 | #size-cells = <0>; | ||
188 | device_type = "network"; | 166 | device_type = "network"; |
189 | model = "TSEC"; | 167 | model = "TSEC"; |
190 | compatible = "gianfar"; | 168 | compatible = "gianfar"; |
191 | reg = <27000 1000>; | 169 | reg = <27000 1000>; |
192 | /* | ||
193 | * mac-address is deprecated and will be removed | ||
194 | * in 2.6.25. Only recent versions of | ||
195 | * U-Boot support local-mac-address, however. | ||
196 | */ | ||
197 | mac-address = [ 00 00 00 00 00 00 ]; | ||
198 | local-mac-address = [ 00 00 00 00 00 00 ]; | 170 | local-mac-address = [ 00 00 00 00 00 00 ]; |
199 | interrupts = <25 2 26 2 27 2>; | 171 | interrupts = <25 2 26 2 27 2>; |
200 | interrupt-parent = <&mpic>; | 172 | interrupt-parent = <&mpic>; |