ARM: imx6: add pci config space as platform resource
authorLucas Stach <l.stach@pengutronix.de>
Thu, 7 Aug 2014 17:39:41 +0000 (19:39 +0200)
committerShawn Guo <shawn.guo@freescale.com>
Tue, 16 Sep 2014 02:26:00 +0000 (10:26 +0800)
Fixes "imx6q-pcie 1ffc000.pcie: missing *config* reg space"
error exposed by new versions of the designware pcie driver.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt
arch/arm/boot/dts/imx6qdl.dtsi

index 9455fd0ec830c77299f3d464c59310db90f17261..6fbba53a309b79da6aef780a35f58eedfe4ad019 100644 (file)
@@ -17,7 +17,9 @@ Example:
 
        pcie@0x01000000 {
                compatible = "fsl,imx6q-pcie", "snps,dw-pcie";
-               reg = <0x01ffc000 0x4000>;
+               reg = <0x01ffc000 0x04000>,
+                     <0x01f00000 0x80000>;
+               reg-names = "dbi", "config";
                #address-cells = <3>;
                #size-cells = <2>;
                device_type = "pci";
index 6692115b0138aca40117cba0f5bec215856a7951..70d7207d494d65d4612b48c08438db77697f0d81 100644 (file)
 
                pcie: pcie@0x01000000 {
                        compatible = "fsl,imx6q-pcie", "snps,dw-pcie";
-                       reg = <0x01ffc000 0x4000>; /* DBI */
+                       reg = <0x01ffc000 0x04000>,
+                             <0x01f00000 0x80000>;
+                       reg-names = "dbi", "config";
                        #address-cells = <3>;
                        #size-cells = <2>;
                        device_type = "pci";