linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Richard Zhu <hongxing.zhu@nxp.com>
To: l.stach@pengutronix.de, bhelgaas@google.com, robh+dt@kernel.org,
	lorenzo.pieralisi@arm.com, shawnguo@kernel.org, kishon@ti.com,
	kw@linux.com, frank.li@nxp.com
Cc: hongxing.zhu@nxp.com, linux-pci@vger.kernel.org,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, kernel@pengutronix.de,
	linux-imx@nxp.com
Subject: [PATCH v3 09/14] arm64: dts: Add iMX8MP PCIe EP support
Date: Fri, 23 Sep 2022 14:06:55 +0800	[thread overview]
Message-ID: <1663913220-9523-10-git-send-email-hongxing.zhu@nxp.com> (raw)
In-Reply-To: <1663913220-9523-1-git-send-email-hongxing.zhu@nxp.com>

Add i.MX8MP PCIe EP support.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
---
 arch/arm64/boot/dts/freescale/imx8mp.dtsi | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi
index 21a4cc417c81..104d61a64a00 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi
@@ -1142,6 +1142,25 @@ pcie: pcie@33800000 {
 			status = "disabled";
 		};
 
+		pcie_ep: pcie_ep@33800000 {
+			compatible = "fsl,imx8mp-pcie-ep";
+			reg = <0x33800000 0x000400000>, <0x18000000 0x08000000>;
+			reg-names = "regs", "addr_space";
+			num-lanes = <1>;
+			interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>; /* eDMA */
+			interrupt-names = "dma";
+			fsl,max-link-speed = <3>;
+			power-domains = <&hsio_blk_ctrl IMX8MP_HSIOBLK_PD_PCIE>;
+			resets = <&src IMX8MP_RESET_PCIE_CTRL_APPS_EN>,
+				 <&src IMX8MP_RESET_PCIE_CTRL_APPS_TURNOFF>;
+			reset-names = "apps", "turnoff";
+			phys = <&pcie_phy>;
+			phy-names = "pcie-phy";
+			num-ib-windows = <4>;
+			num-ob-windows = <4>;
+			status = "disabled";
+		};
+
 		gpu3d: gpu@38000000 {
 			compatible = "vivante,gc";
 			reg = <0x38000000 0x8000>;
-- 
2.25.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2022-09-23  6:30 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-23  6:06 [PATCH v3 0/14] Add iMX PCIe EP mode support Richard Zhu
2022-09-23  6:06 ` [PATCH v3 01/14] dt-bindings: imx6q-pcie: Add iMX8MM PCIe EP mode compatible string Richard Zhu
2022-09-23  6:06 ` [PATCH v3 02/14] dt-bindings: imx6q-pcie: Add iMX8MQ " Richard Zhu
2022-09-23  6:06 ` [PATCH v3 03/14] dt-bindings: imx6q-pcie: Add iMX8MP " Richard Zhu
2022-09-26 22:53   ` Rob Herring
2022-09-23  6:06 ` [PATCH v3 04/14] PCI: dwc: Kconfig: Add iMX PCIe EP mode support Richard Zhu
2022-09-23 14:15   ` Bjorn Helgaas
2022-09-26  5:24     ` Hongxing Zhu
2022-09-23  6:06 ` [PATCH v3 05/14] arm64: dts: Add iMX8MM PCIe EP support Richard Zhu
2022-09-23 14:02   ` Bjorn Helgaas
2022-09-26  5:16     ` Hongxing Zhu
2022-09-23  6:06 ` [PATCH v3 06/14] arm64: dts: Add iMX8MM PCIe EP support on EVK board Richard Zhu
2022-09-23  6:06 ` [PATCH v3 07/14] arm64: dts: Add iMX8MQ PCIe EP support Richard Zhu
2022-09-23  6:06 ` [PATCH v3 08/14] arm64: dts: Add iMX8MQ PCIe EP support on EVK board Richard Zhu
2022-09-23  6:06 ` Richard Zhu [this message]
2022-09-23  6:06 ` [PATCH v3 10/14] arm64: dts: Add iMX8MP " Richard Zhu
2022-09-23  6:06 ` [PATCH v3 11/14] misc: pci_endpoint_test: Add iMX8 PCIe EP device support Richard Zhu
2022-09-23  6:06 ` [PATCH v3 12/14] PCI: imx6: Add iMX8MM PCIe EP mode Richard Zhu
2022-09-23  6:06 ` [PATCH v3 13/14] PCI: imx6: Add iMX8MQ PCIe EP support Richard Zhu
2022-09-23  6:07 ` [PATCH v3 14/14] PCI: imx6: Add iMX8MP " Richard Zhu
2022-09-23 13:53 ` [PATCH v3 0/14] Add iMX PCIe EP mode support Bjorn Helgaas
2022-09-26  5:17   ` Hongxing Zhu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1663913220-9523-10-git-send-email-hongxing.zhu@nxp.com \
    --to=hongxing.zhu@nxp.com \
    --cc=bhelgaas@google.com \
    --cc=devicetree@vger.kernel.org \
    --cc=frank.li@nxp.com \
    --cc=kernel@pengutronix.de \
    --cc=kishon@ti.com \
    --cc=kw@linux.com \
    --cc=l.stach@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-imx@nxp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=lorenzo.pieralisi@arm.com \
    --cc=robh+dt@kernel.org \
    --cc=shawnguo@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).