mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Richard Zhu <hongxing.zhu@nxp.com>
To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org,
	shawnguo@kernel.org, peng.fan@nxp.com, marex@denx.de,
	marcel.ziswiler@toradex.com, tharvey@gateworks.com,
	frank.li@nxp.com
Cc: lorenzo.pieralisi@arm.com, hongxing.zhu@nxp.com,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, kernel@pengutronix.de,
	linux-imx@nxp.com
Subject: [PATCH v6 2/6] arm64: dts: Add i.MX8MM PCIe EP support on EVK board
Date: Fri, 20 Jan 2023 13:25:48 +0800	[thread overview]
Message-ID: <1674192352-4473-3-git-send-email-hongxing.zhu@nxp.com> (raw)
In-Reply-To: <1674192352-4473-1-git-send-email-hongxing.zhu@nxp.com>

Add i.MX8MM PCIe EP support on EVK board.

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

diff --git a/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi
index 0ce3005d578d..9d65b70939fa 100644
--- a/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi
@@ -371,6 +371,19 @@ &pcie0 {
 	status = "okay";
 };
 
+&pcie0_ep{
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_pcie0>;
+	clocks = <&clk IMX8MM_CLK_PCIE1_ROOT>, <&pcie0_refclk>,
+		 <&clk IMX8MM_CLK_PCIE1_AUX>;
+	assigned-clocks = <&clk IMX8MM_CLK_PCIE1_AUX>,
+			  <&clk IMX8MM_CLK_PCIE1_CTRL>;
+	assigned-clock-rates = <10000000>, <250000000>;
+	assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_50M>,
+				 <&clk IMX8MM_SYS_PLL2_250M>;
+	status = "disabled";
+};
+
 &sai2 {
 	#sound-dai-cells = <0>;
 	pinctrl-names = "default";
-- 
2.25.1


  parent reply	other threads:[~2023-01-20  5:50 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-20  5:25 [PATCH DTS v6 0/6] Add i.MX PCIe EP mode support Richard Zhu
2023-01-20  5:25 ` [PATCH v6 1/6] arm64: dts: Add i.MX8MM PCIe EP support Richard Zhu
2023-01-20  8:07   ` Krzysztof Kozlowski
2023-01-30  2:02     ` Hongxing Zhu
2023-01-20  5:25 ` Richard Zhu [this message]
2023-01-20  8:08   ` [PATCH v6 2/6] arm64: dts: Add i.MX8MM PCIe EP support on EVK board Krzysztof Kozlowski
2023-01-30  2:02     ` Hongxing Zhu
2023-01-20  5:25 ` [PATCH v6 3/6] arm64: dts: Add i.MX8MQ PCIe EP support Richard Zhu
2023-01-20  8:08   ` Krzysztof Kozlowski
2023-01-30  2:03     ` Hongxing Zhu
2023-01-20  5:25 ` [PATCH v6 4/6] arm64: dts: Add i.MX8MQ PCIe EP support on EVK board Richard Zhu
2023-01-20  8:08   ` Krzysztof Kozlowski
2023-01-30  2:04     ` Hongxing Zhu
2023-01-20  5:25 ` [PATCH v6 5/6] arm64: dts: Add i.MX8MP PCIe EP support Richard Zhu
2023-01-20  5:25 ` [PATCH v6 6/6] arm64: dts: Add i.MX8MP PCIe EP support on EVK board Richard Zhu
2023-01-20  8:09   ` Krzysztof Kozlowski
2023-01-30  2:04     ` 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=1674192352-4473-3-git-send-email-hongxing.zhu@nxp.com \
    --to=hongxing.zhu@nxp.com \
    --cc=devicetree@vger.kernel.org \
    --cc=frank.li@nxp.com \
    --cc=kernel@pengutronix.de \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-imx@nxp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lorenzo.pieralisi@arm.com \
    --cc=marcel.ziswiler@toradex.com \
    --cc=marex@denx.de \
    --cc=peng.fan@nxp.com \
    --cc=robh+dt@kernel.org \
    --cc=shawnguo@kernel.org \
    --cc=tharvey@gateworks.com \
    /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

all inboxes | Powered by JetHome®