diff options
author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2009-01-07 20:31:41 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2009-01-28 19:16:48 -0500 |
commit | 0585a155a7318e69d43ef20636c2f072ad17d03f (patch) | |
tree | 1d91b03a7ffa554efa659abc574246f5c61009ac /arch/powerpc/boot/dts/mpc8378_rdb.dts | |
parent | 598804cd041c395ce87302af9088b2f227196185 (diff) |
powerpc/83xx: Add PCI-E support for all MPC83xx boards with PCI-E
This patch adds pcie nodes to the appropriate dts files, plus adds
some probing code for the boards.
Also, remove of_device_is_avaliable() check from the mpc837x_mds.c
board file, as mpc83xx_add_bridge() has the same check now.
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/mpc8378_rdb.dts')
-rw-r--r-- | arch/powerpc/boot/dts/mpc8378_rdb.dts | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/arch/powerpc/boot/dts/mpc8378_rdb.dts b/arch/powerpc/boot/dts/mpc8378_rdb.dts index 23c10ce22c2c..1b05fb0bf383 100644 --- a/arch/powerpc/boot/dts/mpc8378_rdb.dts +++ b/arch/powerpc/boot/dts/mpc8378_rdb.dts | |||
@@ -22,6 +22,8 @@ | |||
22 | serial0 = &serial0; | 22 | serial0 = &serial0; |
23 | serial1 = &serial1; | 23 | serial1 = &serial1; |
24 | pci0 = &pci0; | 24 | pci0 = &pci0; |
25 | pci1 = &pci1; | ||
26 | pci2 = &pci2; | ||
25 | }; | 27 | }; |
26 | 28 | ||
27 | cpus { | 29 | cpus { |
@@ -334,4 +336,66 @@ | |||
334 | compatible = "fsl,mpc8349-pci"; | 336 | compatible = "fsl,mpc8349-pci"; |
335 | device_type = "pci"; | 337 | device_type = "pci"; |
336 | }; | 338 | }; |
339 | |||
340 | pci1: pcie@e0009000 { | ||
341 | #address-cells = <3>; | ||
342 | #size-cells = <2>; | ||
343 | #interrupt-cells = <1>; | ||
344 | device_type = "pci"; | ||
345 | compatible = "fsl,mpc8378-pcie", "fsl,mpc8314-pcie"; | ||
346 | reg = <0xe0009000 0x00001000>; | ||
347 | ranges = <0x02000000 0 0xa8000000 0xa8000000 0 0x10000000 | ||
348 | 0x01000000 0 0x00000000 0xb8000000 0 0x00800000>; | ||
349 | bus-range = <0 255>; | ||
350 | interrupt-map-mask = <0xf800 0 0 7>; | ||
351 | interrupt-map = <0 0 0 1 &ipic 1 8 | ||
352 | 0 0 0 2 &ipic 1 8 | ||
353 | 0 0 0 3 &ipic 1 8 | ||
354 | 0 0 0 4 &ipic 1 8>; | ||
355 | clock-frequency = <0>; | ||
356 | |||
357 | pcie@0 { | ||
358 | #address-cells = <3>; | ||
359 | #size-cells = <2>; | ||
360 | device_type = "pci"; | ||
361 | reg = <0 0 0 0 0>; | ||
362 | ranges = <0x02000000 0 0xa8000000 | ||
363 | 0x02000000 0 0xa8000000 | ||
364 | 0 0x10000000 | ||
365 | 0x01000000 0 0x00000000 | ||
366 | 0x01000000 0 0x00000000 | ||
367 | 0 0x00800000>; | ||
368 | }; | ||
369 | }; | ||
370 | |||
371 | pci2: pcie@e000a000 { | ||
372 | #address-cells = <3>; | ||
373 | #size-cells = <2>; | ||
374 | #interrupt-cells = <1>; | ||
375 | device_type = "pci"; | ||
376 | compatible = "fsl,mpc8378-pcie", "fsl,mpc8314-pcie"; | ||
377 | reg = <0xe000a000 0x00001000>; | ||
378 | ranges = <0x02000000 0 0xc8000000 0xc8000000 0 0x10000000 | ||
379 | 0x01000000 0 0x00000000 0xd8000000 0 0x00800000>; | ||
380 | bus-range = <0 255>; | ||
381 | interrupt-map-mask = <0xf800 0 0 7>; | ||
382 | interrupt-map = <0 0 0 1 &ipic 2 8 | ||
383 | 0 0 0 2 &ipic 2 8 | ||
384 | 0 0 0 3 &ipic 2 8 | ||
385 | 0 0 0 4 &ipic 2 8>; | ||
386 | clock-frequency = <0>; | ||
387 | |||
388 | pcie@0 { | ||
389 | #address-cells = <3>; | ||
390 | #size-cells = <2>; | ||
391 | device_type = "pci"; | ||
392 | reg = <0 0 0 0 0>; | ||
393 | ranges = <0x02000000 0 0xc8000000 | ||
394 | 0x02000000 0 0xc8000000 | ||
395 | 0 0x10000000 | ||
396 | 0x01000000 0 0x00000000 | ||
397 | 0x01000000 0 0x00000000 | ||
398 | 0 0x00800000>; | ||
399 | }; | ||
400 | }; | ||
337 | }; | 401 | }; |