armv8: ls1088a: add PCIe dts node
authorHou Zhiqiang <Zhiqiang.Hou@nxp.com>
Mon, 4 Sep 2017 02:47:53 +0000 (10:47 +0800)
committerYork Sun <york.sun@nxp.com>
Mon, 11 Sep 2017 15:01:07 +0000 (08:01 -0700)
Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
arch/arm/dts/fsl-ls1088a.dtsi

index 421d2de799ad182724e87b6cf37377cd75de9153..d943a9efa32d82ae0a8faba702f5798f29827cbc 100644 (file)
                reg-names = "QuadSPI", "QuadSPI-memory";
                num-cs = <4>;
        };
+
+       pcie@3400000 {
+               compatible = "fsl,ls-pcie", "snps,dw-pcie";
+               reg = <0x00 0x03400000 0x0 0x80000   /* dbi registers */
+                      0x00 0x03480000 0x0 0x80000   /* lut registers */
+                      0x00 0x034c0000 0x0 0x40000   /* pf controls registers */
+                      0x20 0x00000000 0x0 0x20000>; /* configuration space */
+               reg-names = "dbi", "lut", "ctrl", "config";
+               #address-cells = <3>;
+               #size-cells = <2>;
+               device_type = "pci";
+               num-lanes = <4>;
+               bus-range = <0x0 0xff>;
+               ranges = <0x81000000 0x0 0x00000000 0x20 0x00020000 0x0 0x00010000   /* downstream I/O */
+                         0x82000000 0x0 0x40000000 0x20 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
+       };
+
+       pcie@3500000 {
+               compatible = "fsl,ls-pcie", "snps,dw-pcie";
+               reg = <0x00 0x03500000 0x0 0x80000   /* dbi registers */
+                      0x00 0x03580000 0x0 0x80000   /* lut registers */
+                      0x00 0x035c0000 0x0 0x40000   /* pf controls registers */
+                      0x28 0x00000000 0x0 0x20000>; /* configuration space */
+               reg-names = "dbi", "lut", "ctrl", "config";
+               #address-cells = <3>;
+               #size-cells = <2>;
+               device_type = "pci";
+               num-lanes = <4>;
+               bus-range = <0x0 0xff>;
+               ranges = <0x81000000 0x0 0x00000000 0x28 0x00020000 0x0 0x00010000   /* downstream I/O */
+                         0x82000000 0x0 0x40000000 0x28 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
+       };
+
+       pcie@3600000 {
+               compatible = "fsl,ls-pcie", "snps,dw-pcie";
+               reg = <0x00 0x03600000 0x0 0x80000   /* dbi registers */
+                      0x00 0x03680000 0x0 0x80000   /* lut registers */
+                      0x00 0x036c0000 0x0 0x40000   /* pf controls registers */
+                      0x30 0x00000000 0x0 0x20000>; /* configuration space */
+               reg-names = "dbi", "lut", "ctrl", "config";
+               #address-cells = <3>;
+               #size-cells = <2>;
+               device_type = "pci";
+               num-lanes = <8>;
+               bus-range = <0x0 0xff>;
+               ranges = <0x81000000 0x0 0x00000000 0x30 0x00020000 0x0 0x00010000   /* downstream I/O */
+                         0x82000000 0x0 0x40000000 0x30 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
+       };
 };