diff options
author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2009-03-19 14:01:48 -0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2009-03-24 09:35:13 -0400 |
commit | 84ba4a5899e613a396c5bea5feadba923534801b (patch) | |
tree | 8f5c39fc7dbde9451995ac5b771423707afe8bda /arch/powerpc/boot/dts/tqm8548-bigflash.dts | |
parent | 70b3adbba056f5d9081f1ec9b4a629e3c7502072 (diff) |
powerpc/85xx: Move gianfar mdio nodes under the ethernet nodes
Currently it doesn't matter where the mdio nodes are placed, but with
power management support (i.e. when sleep = <> properties will take
effect), mdio nodes placement will become important: mdio controller
is a part of the ethernet block, so the mdio nodes should be placed
correctly. Otherwise we may wrongly assume that MDIO controllers are
available during sleep.
Suggested-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/boot/dts/tqm8548-bigflash.dts')
-rw-r--r-- | arch/powerpc/boot/dts/tqm8548-bigflash.dts | 168 |
1 files changed, 90 insertions, 78 deletions
diff --git a/arch/powerpc/boot/dts/tqm8548-bigflash.dts b/arch/powerpc/boot/dts/tqm8548-bigflash.dts index bff380a25aa6..28b1a95257cd 100644 --- a/arch/powerpc/boot/dts/tqm8548-bigflash.dts +++ b/arch/powerpc/boot/dts/tqm8548-bigflash.dts | |||
@@ -148,134 +148,146 @@ | |||
148 | }; | 148 | }; |
149 | }; | 149 | }; |
150 | 150 | ||
151 | mdio@24520 { | ||
152 | #address-cells = <1>; | ||
153 | #size-cells = <0>; | ||
154 | compatible = "fsl,gianfar-mdio"; | ||
155 | reg = <0x24520 0x20>; | ||
156 | |||
157 | phy1: ethernet-phy@0 { | ||
158 | interrupt-parent = <&mpic>; | ||
159 | interrupts = <8 1>; | ||
160 | reg = <1>; | ||
161 | device_type = "ethernet-phy"; | ||
162 | }; | ||
163 | phy2: ethernet-phy@1 { | ||
164 | interrupt-parent = <&mpic>; | ||
165 | interrupts = <8 1>; | ||
166 | reg = <2>; | ||
167 | device_type = "ethernet-phy"; | ||
168 | }; | ||
169 | phy3: ethernet-phy@3 { | ||
170 | interrupt-parent = <&mpic>; | ||
171 | interrupts = <8 1>; | ||
172 | reg = <3>; | ||
173 | device_type = "ethernet-phy"; | ||
174 | }; | ||
175 | phy4: ethernet-phy@4 { | ||
176 | interrupt-parent = <&mpic>; | ||
177 | interrupts = <8 1>; | ||
178 | reg = <4>; | ||
179 | device_type = "ethernet-phy"; | ||
180 | }; | ||
181 | phy5: ethernet-phy@5 { | ||
182 | interrupt-parent = <&mpic>; | ||
183 | interrupts = <8 1>; | ||
184 | reg = <5>; | ||
185 | device_type = "ethernet-phy"; | ||
186 | }; | ||
187 | tbi0: tbi-phy@11 { | ||
188 | reg = <0x11>; | ||
189 | device_type = "tbi-phy"; | ||
190 | }; | ||
191 | }; | ||
192 | |||
193 | mdio@25520 { | ||
194 | #address-cells = <1>; | ||
195 | #size-cells = <0>; | ||
196 | compatible = "fsl,gianfar-tbi"; | ||
197 | reg = <0x25520 0x20>; | ||
198 | |||
199 | tbi1: tbi-phy@11 { | ||
200 | reg = <0x11>; | ||
201 | device_type = "tbi-phy"; | ||
202 | }; | ||
203 | }; | ||
204 | |||
205 | mdio@26520 { | ||
206 | #address-cells = <1>; | ||
207 | #size-cells = <0>; | ||
208 | compatible = "fsl,gianfar-tbi"; | ||
209 | reg = <0x26520 0x20>; | ||
210 | |||
211 | tbi2: tbi-phy@11 { | ||
212 | reg = <0x11>; | ||
213 | device_type = "tbi-phy"; | ||
214 | }; | ||
215 | }; | ||
216 | |||
217 | mdio@27520 { | ||
218 | #address-cells = <1>; | ||
219 | #size-cells = <0>; | ||
220 | compatible = "fsl,gianfar-tbi"; | ||
221 | reg = <0x27520 0x20>; | ||
222 | |||
223 | tbi3: tbi-phy@11 { | ||
224 | reg = <0x11>; | ||
225 | device_type = "tbi-phy"; | ||
226 | }; | ||
227 | }; | ||
228 | |||
229 | enet0: ethernet@24000 { | 151 | enet0: ethernet@24000 { |
152 | #address-cells = <1>; | ||
153 | #size-cells = <1>; | ||
230 | cell-index = <0>; | 154 | cell-index = <0>; |
231 | device_type = "network"; | 155 | device_type = "network"; |
232 | model = "eTSEC"; | 156 | model = "eTSEC"; |
233 | compatible = "gianfar"; | 157 | compatible = "gianfar"; |
234 | reg = <0x24000 0x1000>; | 158 | reg = <0x24000 0x1000>; |
159 | ranges = <0x0 0x24000 0x1000>; | ||
235 | local-mac-address = [ 00 00 00 00 00 00 ]; | 160 | local-mac-address = [ 00 00 00 00 00 00 ]; |
236 | interrupts = <29 2 30 2 34 2>; | 161 | interrupts = <29 2 30 2 34 2>; |
237 | interrupt-parent = <&mpic>; | 162 | interrupt-parent = <&mpic>; |
238 | tbi-handle = <&tbi0>; | 163 | tbi-handle = <&tbi0>; |
239 | phy-handle = <&phy2>; | 164 | phy-handle = <&phy2>; |
165 | |||
166 | mdio@520 { | ||
167 | #address-cells = <1>; | ||
168 | #size-cells = <0>; | ||
169 | compatible = "fsl,gianfar-mdio"; | ||
170 | reg = <0x520 0x20>; | ||
171 | |||
172 | phy1: ethernet-phy@0 { | ||
173 | interrupt-parent = <&mpic>; | ||
174 | interrupts = <8 1>; | ||
175 | reg = <1>; | ||
176 | device_type = "ethernet-phy"; | ||
177 | }; | ||
178 | phy2: ethernet-phy@1 { | ||
179 | interrupt-parent = <&mpic>; | ||
180 | interrupts = <8 1>; | ||
181 | reg = <2>; | ||
182 | device_type = "ethernet-phy"; | ||
183 | }; | ||
184 | phy3: ethernet-phy@3 { | ||
185 | interrupt-parent = <&mpic>; | ||
186 | interrupts = <8 1>; | ||
187 | reg = <3>; | ||
188 | device_type = "ethernet-phy"; | ||
189 | }; | ||
190 | phy4: ethernet-phy@4 { | ||
191 | interrupt-parent = <&mpic>; | ||
192 | interrupts = <8 1>; | ||
193 | reg = <4>; | ||
194 | device_type = "ethernet-phy"; | ||
195 | }; | ||
196 | phy5: ethernet-phy@5 { | ||
197 | interrupt-parent = <&mpic>; | ||
198 | interrupts = <8 1>; | ||
199 | reg = <5>; | ||
200 | device_type = "ethernet-phy"; | ||
201 | }; | ||
202 | tbi0: tbi-phy@11 { | ||
203 | reg = <0x11>; | ||
204 | device_type = "tbi-phy"; | ||
205 | }; | ||
206 | }; | ||
240 | }; | 207 | }; |
241 | 208 | ||
242 | enet1: ethernet@25000 { | 209 | enet1: ethernet@25000 { |
210 | #address-cells = <1>; | ||
211 | #size-cells = <1>; | ||
243 | cell-index = <1>; | 212 | cell-index = <1>; |
244 | device_type = "network"; | 213 | device_type = "network"; |
245 | model = "eTSEC"; | 214 | model = "eTSEC"; |
246 | compatible = "gianfar"; | 215 | compatible = "gianfar"; |
247 | reg = <0x25000 0x1000>; | 216 | reg = <0x25000 0x1000>; |
217 | ranges = <0x0 0x25000 0x1000>; | ||
248 | local-mac-address = [ 00 00 00 00 00 00 ]; | 218 | local-mac-address = [ 00 00 00 00 00 00 ]; |
249 | interrupts = <35 2 36 2 40 2>; | 219 | interrupts = <35 2 36 2 40 2>; |
250 | interrupt-parent = <&mpic>; | 220 | interrupt-parent = <&mpic>; |
251 | tbi-handle = <&tbi1>; | 221 | tbi-handle = <&tbi1>; |
252 | phy-handle = <&phy1>; | 222 | phy-handle = <&phy1>; |
223 | |||
224 | mdio@520 { | ||
225 | #address-cells = <1>; | ||
226 | #size-cells = <0>; | ||
227 | compatible = "fsl,gianfar-tbi"; | ||
228 | reg = <0x520 0x20>; | ||
229 | |||
230 | tbi1: tbi-phy@11 { | ||
231 | reg = <0x11>; | ||
232 | device_type = "tbi-phy"; | ||
233 | }; | ||
234 | }; | ||
253 | }; | 235 | }; |
254 | 236 | ||
255 | enet2: ethernet@26000 { | 237 | enet2: ethernet@26000 { |
238 | #address-cells = <1>; | ||
239 | #size-cells = <1>; | ||
256 | cell-index = <2>; | 240 | cell-index = <2>; |
257 | device_type = "network"; | 241 | device_type = "network"; |
258 | model = "eTSEC"; | 242 | model = "eTSEC"; |
259 | compatible = "gianfar"; | 243 | compatible = "gianfar"; |
260 | reg = <0x26000 0x1000>; | 244 | reg = <0x26000 0x1000>; |
245 | ranges = <0x0 0x26000 0x1000>; | ||
261 | local-mac-address = [ 00 00 00 00 00 00 ]; | 246 | local-mac-address = [ 00 00 00 00 00 00 ]; |
262 | interrupts = <31 2 32 2 33 2>; | 247 | interrupts = <31 2 32 2 33 2>; |
263 | interrupt-parent = <&mpic>; | 248 | interrupt-parent = <&mpic>; |
264 | tbi-handle = <&tbi2>; | 249 | tbi-handle = <&tbi2>; |
265 | phy-handle = <&phy3>; | 250 | phy-handle = <&phy3>; |
251 | |||
252 | mdio@520 { | ||
253 | #address-cells = <1>; | ||
254 | #size-cells = <0>; | ||
255 | compatible = "fsl,gianfar-tbi"; | ||
256 | reg = <0x520 0x20>; | ||
257 | |||
258 | tbi2: tbi-phy@11 { | ||
259 | reg = <0x11>; | ||
260 | device_type = "tbi-phy"; | ||
261 | }; | ||
262 | }; | ||
266 | }; | 263 | }; |
267 | 264 | ||
268 | enet3: ethernet@27000 { | 265 | enet3: ethernet@27000 { |
266 | #address-cells = <1>; | ||
267 | #size-cells = <1>; | ||
269 | cell-index = <3>; | 268 | cell-index = <3>; |
270 | device_type = "network"; | 269 | device_type = "network"; |
271 | model = "eTSEC"; | 270 | model = "eTSEC"; |
272 | compatible = "gianfar"; | 271 | compatible = "gianfar"; |
273 | reg = <0x27000 0x1000>; | 272 | reg = <0x27000 0x1000>; |
273 | ranges = <0x0 0x27000 0x1000>; | ||
274 | local-mac-address = [ 00 00 00 00 00 00 ]; | 274 | local-mac-address = [ 00 00 00 00 00 00 ]; |
275 | interrupts = <37 2 38 2 39 2>; | 275 | interrupts = <37 2 38 2 39 2>; |
276 | interrupt-parent = <&mpic>; | 276 | interrupt-parent = <&mpic>; |
277 | tbi-handle = <&tbi3>; | 277 | tbi-handle = <&tbi3>; |
278 | phy-handle = <&phy4>; | 278 | phy-handle = <&phy4>; |
279 | |||
280 | mdio@520 { | ||
281 | #address-cells = <1>; | ||
282 | #size-cells = <0>; | ||
283 | compatible = "fsl,gianfar-tbi"; | ||
284 | reg = <0x520 0x20>; | ||
285 | |||
286 | tbi3: tbi-phy@11 { | ||
287 | reg = <0x11>; | ||
288 | device_type = "tbi-phy"; | ||
289 | }; | ||
290 | }; | ||
279 | }; | 291 | }; |
280 | 292 | ||
281 | serial0: serial@4500 { | 293 | serial0: serial@4500 { |