arm64: dts: layerscape: Add PCIe EP node for ls1088a
authorXiaowei Bao <xiaowei.bao@nxp.com>
Mon, 2 Nov 2020 05:44:17 +0000 (13:44 +0800)
committerShawn Guo <shawnguo@kernel.org>
Mon, 30 Nov 2020 14:30:29 +0000 (22:30 +0800)
Add PCIe EP node for ls1088a to support EP mode.

Signed-off-by: Xiaowei Bao <xiaowei.bao@nxp.com>
Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Reviewed-by: Andrew Murray <andrew.murray@arm.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi

index 9c9c323..cfd341e 100644 (file)
                        status = "disabled";
                };
 
+               pcie_ep1: pcie-ep@3400000 {
+                       compatible = "fsl,ls1088a-pcie-ep", "fsl,ls-pcie-ep";
+                       reg = <0x00 0x03400000 0x0 0x00100000
+                              0x20 0x00000000 0x8 0x00000000>;
+                       reg-names = "regs", "addr_space";
+                       num-ib-windows = <24>;
+                       num-ob-windows = <256>;
+                       max-functions = /bits/ 8 <2>;
+                       status = "disabled";
+               };
+
                pcie2: pcie@3500000 {
                        compatible = "fsl,ls1088a-pcie";
                        reg = <0x00 0x03500000 0x0 0x00100000   /* controller registers */
                        status = "disabled";
                };
 
+               pcie_ep2: pcie-ep@3500000 {
+                       compatible = "fsl,ls1088a-pcie-ep", "fsl,ls-pcie-ep";
+                       reg = <0x00 0x03500000 0x0 0x00100000
+                              0x28 0x00000000 0x8 0x00000000>;
+                       reg-names = "regs", "addr_space";
+                       num-ib-windows = <6>;
+                       num-ob-windows = <6>;
+                       status = "disabled";
+               };
+
                pcie3: pcie@3600000 {
                        compatible = "fsl,ls1088a-pcie";
                        reg = <0x00 0x03600000 0x0 0x00100000   /* controller registers */
                        status = "disabled";
                };
 
+               pcie_ep3: pcie-ep@3600000 {
+                       compatible = "fsl,ls1088a-pcie-ep", "fsl,ls-pcie-ep";
+                       reg = <0x00 0x03600000 0x0 0x00100000
+                              0x30 0x00000000 0x8 0x00000000>;
+                       reg-names = "regs", "addr_space";
+                       num-ib-windows = <6>;
+                       num-ob-windows = <6>;
+                       status = "disabled";
+               };
+
                smmu: iommu@5000000 {
                        compatible = "arm,mmu-500";
                        reg = <0 0x5000000 0 0x800000>;