powerpc/5200: dts: add missing pci ranges
authorAnatolij Gustschin <agust@denx.de>
Wed, 13 Oct 2021 22:05:29 +0000 (00:05 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 22 Oct 2021 04:22:04 +0000 (15:22 +1100)
Add ranges property to fix build warnings:
Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge)

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20211013220532.24759-2-agust@denx.de
arch/powerpc/boot/dts/mpc5200b.dtsi

index 648fe31..8c645d2 100644 (file)
                clock-frequency = <0>; // From boot loader
                interrupts = <2 8 0 2 9 0 2 10 0>;
                bus-range = <0 0>;
-               // ranges = need to add
+               ranges = <0x42000000 0 0x80000000 0x80000000 0 0x10000000>,
+                        <0x02000000 0 0x90000000 0x90000000 0 0x10000000>,
+                        <0x01000000 0 0x00000000 0xa0000000 0 0x01000000>;
        };
 
        localbus: localbus {