aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHou Zhiqiang <Zhiqiang.Hou@nxp.com>2017-09-19 05:26:58 -0400
committerBjorn Helgaas <bhelgaas@google.com>2017-10-12 12:25:28 -0400
commit0c6b93d2b3cf6eb46c3c916a44caef112db36628 (patch)
tree2554917d4b20ed31e8a38ac42ad27e58591fc2f4
parentfc5c0b4d0783000794812eb510e5c8506f961d0a (diff)
arm64: dts: ls1046a: Add PCIe controller DT nodes
LS1046a implements 3 PCIe 3.0 controllers. Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Minghuan Lian <minghuan.Lian@nxp.com> Acked-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r--arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi75
1 files changed, 75 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
index c8ff0baddf1d..e8a478ca1485 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
@@ -661,6 +661,81 @@
661 <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>; 661 <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
662 }; 662 };
663 663
664 pcie@3400000 {
665 compatible = "fsl,ls1046a-pcie", "snps,dw-pcie";
666 reg = <0x00 0x03400000 0x0 0x00100000 /* controller registers */
667 0x40 0x00000000 0x0 0x00002000>; /* configuration space */
668 reg-names = "regs", "config";
669 interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>, /* controller interrupt */
670 <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>; /* PME interrupt */
671 interrupt-names = "aer", "pme";
672 #address-cells = <3>;
673 #size-cells = <2>;
674 device_type = "pci";
675 dma-coherent;
676 num-lanes = <4>;
677 bus-range = <0x0 0xff>;
678 ranges = <0x81000000 0x0 0x00000000 0x40 0x00010000 0x0 0x00010000 /* downstream I/O */
679 0x82000000 0x0 0x40000000 0x40 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
680 msi-parent = <&msi1>, <&msi2>, <&msi3>;
681 #interrupt-cells = <1>;
682 interrupt-map-mask = <0 0 0 7>;
683 interrupt-map = <0000 0 0 1 &gic GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
684 <0000 0 0 2 &gic GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
685 <0000 0 0 3 &gic GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
686 <0000 0 0 4 &gic GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
687 };
688
689 pcie@3500000 {
690 compatible = "fsl,ls1046a-pcie", "snps,dw-pcie";
691 reg = <0x00 0x03500000 0x0 0x00100000 /* controller registers */
692 0x48 0x00000000 0x0 0x00002000>; /* configuration space */
693 reg-names = "regs", "config";
694 interrupts = <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>, /* controller interrupt */
695 <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>; /* PME interrupt */
696 interrupt-names = "aer", "pme";
697 #address-cells = <3>;
698 #size-cells = <2>;
699 device_type = "pci";
700 dma-coherent;
701 num-lanes = <2>;
702 bus-range = <0x0 0xff>;
703 ranges = <0x81000000 0x0 0x00000000 0x48 0x00010000 0x0 0x00010000 /* downstream I/O */
704 0x82000000 0x0 0x40000000 0x48 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
705 msi-parent = <&msi2>, <&msi3>, <&msi1>;
706 #interrupt-cells = <1>;
707 interrupt-map-mask = <0 0 0 7>;
708 interrupt-map = <0000 0 0 1 &gic GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
709 <0000 0 0 2 &gic GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
710 <0000 0 0 3 &gic GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
711 <0000 0 0 4 &gic GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
712 };
713
714 pcie@3600000 {
715 compatible = "fsl,ls1046a-pcie", "snps,dw-pcie";
716 reg = <0x00 0x03600000 0x0 0x00100000 /* controller registers */
717 0x50 0x00000000 0x0 0x00002000>; /* configuration space */
718 reg-names = "regs", "config";
719 interrupts = <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>, /* controller interrupt */
720 <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>; /* PME interrupt */
721 interrupt-names = "aer", "pme";
722 #address-cells = <3>;
723 #size-cells = <2>;
724 device_type = "pci";
725 dma-coherent;
726 num-lanes = <2>;
727 bus-range = <0x0 0xff>;
728 ranges = <0x81000000 0x0 0x00000000 0x50 0x00010000 0x0 0x00010000 /* downstream I/O */
729 0x82000000 0x0 0x40000000 0x50 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
730 msi-parent = <&msi3>, <&msi1>, <&msi2>;
731 #interrupt-cells = <1>;
732 interrupt-map-mask = <0 0 0 7>;
733 interrupt-map = <0000 0 0 1 &gic GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>,
734 <0000 0 0 2 &gic GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>,
735 <0000 0 0 3 &gic GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>,
736 <0000 0 0 4 &gic GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
737 };
738
664 }; 739 };
665 740
666 reserved-memory { 741 reserved-memory {