On Mon, Nov 30, 2009 at 02:58:23PM -0800, tma...@amcc.com wrote:
>+                      PCIE0: pc...@d00000000 {
>+                              device_type = "pci";
>+                              #interrupt-cells = <1>;
>+                              #size-cells = <2>;
>+                              #address-cells = <3>;
>+                              compatible = "ibm,plb-pciex-460sx", 
>"ibm,plb-pciex";
>+                              primary;
>+                              port = <0x0>; /* port number */
>+                              reg = <0x0000000d 0x00000000 0x20000000 /* 
>Config space access */
>+                                     0x0000000c 0x10000000 0x00001000>;       
>/* Registers */
>+                              dcr-reg = <0x100 0x020>;
>+                              sdr-base = <0x300>;
>+
>+                              /* Outbound ranges, one memory and one IO,
>+                               * later cannot be changed
>+                               */
>+                              ranges = <0x02000000 0x00000000 0x80000000 
>0x0000000e 0x00000000 0x00000000 0x80000000
>+                                        0x01000000 0x00000000 0x00000000 
>0x0000000f 0x80000000 0x00000000 0x00010000>;
>+

DTC complains about this:

jwbo...@zod:~/src/linux-2.6> make ARCH=powerpc CROSS_COMPILE=ppcnf-unknown- -j2 
redwood.dtb
/home/jwboyer/src/linux-2.6/scripts/dtc/dtc -O dtb -o 
arch/powerpc/boot/redwood.dtb -b 0 -p 1024 
/home/jwboyer/src/linux-2.6/arch/powerpc/boot/dts/redwood.dts
DTC: dts->dtb  on file 
"/home/jwboyer/src/linux-2.6/arch/powerpc/boot/dts/redwood.dts"
Warning (ranges_format): "ranges" property in /plb/opb/pc...@d00000000 has 
invalid length (56 bytes) (parent #address-cells == 1, child #address-cells == 
3, #size-cells == 2)
Warning (ranges_format): "ranges" property in /plb/opb/pc...@d20000000 has 
invalid length (56 bytes) (parent #address-cells == 1, child #address-cells == 
3, #size-cells == 2)
Warning (ranges_format): "ranges" property in /plb/opb/pc...@d40000000 has 
invalid length (56 bytes) (parent #address-cells == 1, child #address-cells == 
3, #size-cells == 2)
jwbo...@zod:~/src/linux-2.6> 

My guess is that you meant to have this under the PLB bus node, and not the OPB
bus?

josh
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to