aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot/dts/bamboo.dts
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2007-12-20 23:39:29 -0500
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>2007-12-23 14:13:41 -0500
commitc3fc2de0fea2bbd54780226d66ec91d73f35e74a (patch)
tree9d41b598f82324a8100c676a0d5ddc992683d39a /arch/powerpc/boot/dts/bamboo.dts
parent6bbc5476298a3dd46a7a19c2af03778b094acb15 (diff)
[POWERPC] 4xx: Wire up PCI on Bamboo board
This adds the device-tree bits & call to ppc4xx_pci_find_bridges() to make PCI work on the Bamboo board Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Diffstat (limited to 'arch/powerpc/boot/dts/bamboo.dts')
-rw-r--r--arch/powerpc/boot/dts/bamboo.dts40
1 files changed, 39 insertions, 1 deletions
diff --git a/arch/powerpc/boot/dts/bamboo.dts b/arch/powerpc/boot/dts/bamboo.dts
index cb2fb50a281c..e479f0789865 100644
--- a/arch/powerpc/boot/dts/bamboo.dts
+++ b/arch/powerpc/boot/dts/bamboo.dts
@@ -239,10 +239,48 @@
239 zmii-channel = <1>; 239 zmii-channel = <1>;
240 }; 240 };
241 }; 241 };
242
243 PCI0: pci@ec000000 {
244 device_type = "pci";
245 #interrupt-cells = <1>;
246 #size-cells = <2>;
247 #address-cells = <3>;
248 compatible = "ibm,plb440ep-pci", "ibm,plb-pci";
249 primary;
250 reg = <0 eec00000 8 /* Config space access */
251 0 eed00000 4 /* IACK */
252 0 eed00000 4 /* Special cycle */
253 0 ef400000 40>; /* Internal registers */
254
255 /* Outbound ranges, one memory and one IO,
256 * later cannot be changed. Chip supports a second
257 * IO range but we don't use it for now
258 */
259 ranges = <02000000 0 a0000000 0 a0000000 0 20000000
260 01000000 0 00000000 0 e8000000 0 00010000>;
261
262 /* Inbound 2GB range starting at 0 */
263 dma-ranges = <42000000 0 0 0 0 0 80000000>;
264
265 /* Bamboo has all 4 IRQ pins tied together per slot */
266 interrupt-map-mask = <f800 0 0 0>;
267 interrupt-map = <
268 /* IDSEL 1 */
269 0800 0 0 0 &UIC0 1c 8
270
271 /* IDSEL 2 */
272 1000 0 0 0 &UIC0 1b 8
273
274 /* IDSEL 3 */
275 1800 0 0 0 &UIC0 1a 8
276
277 /* IDSEL 4 */
278 2000 0 0 0 &UIC0 19 8
279 >;
280 };
242 }; 281 };
243 282
244 chosen { 283 chosen {
245 linux,stdout-path = "/plb/opb/serial@ef600300"; 284 linux,stdout-path = "/plb/opb/serial@ef600300";
246 bootargs = "console=ttyS0,115200";
247 }; 285 };
248}; 286};