Commit d03743c5 authored by Frank Li's avatar Frank Li Committed by Shawn Guo
Browse files

arm64: dts: imx8q: add PCIe EP for i.MX8QM and i.MX8QXP



Add PCIe EP support for i.MX8QM and i.MX8QXP.

Signed-off-by: default avatarFrank Li <Frank.Li@nxp.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent b09435bc
Loading
Loading
Loading
Loading
+19 −0
Original line number Diff line number Diff line
@@ -80,6 +80,25 @@ pcieb: pcie@5f010000 {
		status = "disabled";
	};

	pcieb_ep: pcie-ep@5f010000 {
		compatible = "fsl,imx8q-pcie-ep";
		reg = <0x5f010000 0x00010000>,
		      <0x80000000 0x10000000>;
		reg-names = "dbi", "addr_space";
		num-lanes = <1>;
		interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
		interrupt-names = "dma";
		clocks = <&pcieb_lpcg IMX_LPCG_CLK_6>,
			 <&pcieb_lpcg IMX_LPCG_CLK_4>,
			 <&pcieb_lpcg IMX_LPCG_CLK_5>;
		clock-names = "dbi", "mstr", "slv";
		power-domains = <&pd IMX_SC_R_PCIE_B>;
		fsl,max-link-speed = <3>;
		num-ib-windows = <6>;
		num-ob-windows = <6>;
		status = "disabled";
	};

	pcieb_lpcg: clock-controller@5f060000 {
		compatible = "fsl,imx8qxp-lpcg";
		reg = <0x5f060000 0x10000>;
+19 −0
Original line number Diff line number Diff line
@@ -42,6 +42,25 @@ pciea: pcie@5f000000 {
		status = "disabled";
	};

	pciea_ep: pcie-ep@5f000000 {
		compatible = "fsl,imx8q-pcie-ep";
		reg = <0x5f000000 0x00010000>,
		      <0x40000000 0x10000000>;
		reg-names = "dbi", "addr_space";
		num-lanes = <1>;
		interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
		interrupt-names = "dma";
		clocks = <&pciea_lpcg IMX_LPCG_CLK_6>,
			 <&pciea_lpcg IMX_LPCG_CLK_4>,
			 <&pciea_lpcg IMX_LPCG_CLK_5>;
		clock-names = "dbi", "mstr", "slv";
		power-domains = <&pd IMX_SC_R_PCIE_A>;
		fsl,max-link-speed = <3>;
		num-ib-windows = <6>;
		num-ob-windows = <6>;
		status = "disabled";
	};

	pcieb: pcie@5f010000 {
		compatible = "fsl,imx8q-pcie";
		reg = <0x5f010000 0x10000>,