]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
ARM: dts: imx: fix PCI bus dtc warnings
authorRob Herring <robh@kernel.org>
Wed, 22 Mar 2017 02:03:03 +0000 (21:03 -0500)
committerShawn Guo <shawnguo@kernel.org>
Mon, 10 Apr 2017 08:16:12 +0000 (16:16 +0800)
dtc recently added PCI bus checks. Fix these warnings.

Signed-off-by: Rob Herring <robh@kernel.org>
Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6qdl.dtsi
arch/arm/boot/dts/imx6sx.dtsi

index 6d7bf64961170f5e2e23b989e06f5894dfb1b59e..e426faa9c24379bc3b19c3f859c464649c8c220d 100644 (file)
                        arm,shared-override;
                };
 
-               pcie: pcie@0x01000000 {
+               pcie: pcie@1ffc000 {
                        compatible = "fsl,imx6q-pcie", "snps,dw-pcie";
                        reg = <0x01ffc000 0x04000>,
                              <0x01f00000 0x80000>;
                        #address-cells = <3>;
                        #size-cells = <2>;
                        device_type = "pci";
+                       bus-range = <0x00 0xff>;
                        ranges = <0x81000000 0 0          0x01f80000 0 0x00010000 /* downstream I/O */
                                  0x82000000 0 0x01000000 0x01000000 0 0x00f00000>; /* non-prefetchable memory */
                        num-lanes = <1>;
index f58d7f5da977b79845fcb4c508175ac38e3954ec..3f1416be4c360909bc256000d5d83b0ae385b130 100644 (file)
                        };
                };
 
-               pcie: pcie@0x08000000 {
+               pcie: pcie@8ffc000 {
                        compatible = "fsl,imx6sx-pcie", "snps,dw-pcie";
                        reg = <0x08ffc000 0x4000>; /* DBI */
                        #address-cells = <3>;
                                  0x81000000 0 0          0x08f80000 0 0x00010000
                                  /* non-prefetchable memory */
                                  0x82000000 0 0x08000000 0x08000000 0 0x00f00000>;
+                       bus-range = <0x00 0xff>;
                        num-lanes = <1>;
                        interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>;
                        clocks = <&clks IMX6SX_CLK_PCIE_REF_125M>,