MPC8548: dts: Added PCIe DT node
authorHou Zhiqiang <Zhiqiang.Hou@nxp.com>
Tue, 27 Aug 2019 11:05:23 +0000 (11:05 +0000)
committerPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Wed, 28 Aug 2019 08:17:47 +0000 (13:47 +0530)
MPC8548 integrated a PCIe controllers, which is compatible with
the PCI Express™ Base Specification, Revision 1.0a, and this
patch is to add DT node for the PCIe controller.

Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
arch/powerpc/dts/mpc8548-post.dtsi
arch/powerpc/dts/mpc8548cds.dts
arch/powerpc/dts/mpc8548cds_36b.dts

index 5533a4b598c63a38c252245a49c39043778e87a5..2206f2da9feb8ed94cab5e469c6c9bcf1d51283d 100644 (file)
                last-interrupt-source = <255>;
        };
 };
+
+&pcie {
+       compatible = "fsl,pcie-mpc8548", "fsl,pcie-fsl-qoriq";
+       law_trgt_if = <2>;
+       #address-cells = <3>;
+       #size-cells = <2>;
+       device_type = "pci";
+       bus-range = <0x0 0xff>;
+};
index cceea345c8cca5131f1f39a95a568df58442ef94..3b927bd2657d38cb9202c0f4d9aa81a6ebc33cbf 100644 (file)
        soc: soc8548@e0000000 {
                ranges = <0x0 0x0 0xe0000000 0x100000>;
        };
+
+       pcie: pcie@e000a000 {
+               reg = <0x0 0xe000a000 0x0 0x1000>;      /* registers */
+               ranges = <0x01000000 0x0 0x00000000 0x0 0xe3000000 0x0 0x00100000   /* downstream I/O */
+                         0x02000000 0x0 0xa0000000 0x0 0xa0000000 0x0 0x20000000>; /* non-prefetchable memory */
+       };
 };
 
 /include/ "mpc8548-post.dtsi"
index faff35cc36450a51f7b2d20f3b1545263fa6a038..98d7c2410bc52957aa8a49234d1ba325eb455d68 100644 (file)
        soc: soc8548@fe0000000 {
                ranges = <0x0 0xf 0xe0000000 0x100000>;
        };
+
+       pcie: pcie@fe000a000 {
+               reg = <0xf 0xe000a000 0x0 0x1000>;      /* registers */
+               ranges = <0x01000000 0x0 0x00000000 0xf 0xe3000000 0x0 0x00100000   /* downstream I/O */
+                         0x02000000 0x0 0xe0000000 0xc 0x20000000 0x0 0x20000000>; /* non-prefetchable memory */
+       };
 };
 
 /include/ "mpc8548-post.dtsi"