public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Cc: sbabic@denx.de, Richard Zhu <hongxing.zhu@nxp.com>,
	Marcel Ziswiler <marcel.ziswiler@toradex.com>,
	Tim Harvey <tharvey@gateworks.com>,
	Shawn Guo <shawnguo@kernel.org>, Marek Vasut <marex@denx.de>
Subject: [PATCH 2/3] arm64: dts: imx8mm: Add the pcie phy support
Date: Fri, 28 Jan 2022 04:41:03 +0100	[thread overview]
Message-ID: <20220128034104.1410830-2-marex@denx.de> (raw)
In-Reply-To: <20220128034104.1410830-1-marex@denx.de>

From: Richard Zhu <hongxing.zhu@nxp.com>

Add the PCIe PHY support on iMX8MM platforms.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Tested-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Reviewed-by: Tim Harvey <tharvey@gateworks.com>
Tested-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Marek Vasut <marex@denx.de> # Pick from Linux b9ec888f636f ("arm64: dts: imx8mm: Add the pcie phy support")
---
 arch/arm/dts/imx8mm.dtsi | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/arch/arm/dts/imx8mm.dtsi b/arch/arm/dts/imx8mm.dtsi
index b142b80734d..63cab127c4c 100644
--- a/arch/arm/dts/imx8mm.dtsi
+++ b/arch/arm/dts/imx8mm.dtsi
@@ -1041,6 +1041,19 @@
 				reg = <0x32e50200 0x200>;
 			};
 
+			pcie_phy: pcie-phy@32f00000 {
+				compatible = "fsl,imx8mm-pcie-phy";
+				reg = <0x32f00000 0x10000>;
+				clocks = <&clk IMX8MM_CLK_PCIE1_PHY>;
+				clock-names = "ref";
+				assigned-clocks = <&clk IMX8MM_CLK_PCIE1_PHY>;
+				assigned-clock-rates = <100000000>;
+				assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_100M>;
+				resets = <&src IMX8MQ_RESET_PCIEPHY>;
+				reset-names = "pciephy";
+				#phy-cells = <0>;
+				status = "disabled";
+			};
 		};
 
 		dma_apbh: dma-controller@33000000 {
-- 
2.34.1


  reply	other threads:[~2022-01-28  3:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-28  3:41 [PATCH 1/3] dt-bindings: phy: phy-imx8-pcie: Add binding for the pad modes of imx8 pcie phy Marek Vasut
2022-01-28  3:41 ` Marek Vasut [this message]
2022-02-05 16:40   ` [PATCH 2/3] arm64: dts: imx8mm: Add the pcie phy support sbabic
2022-01-28  3:41 ` [PATCH 3/3] arm64: dts: imx8mm: Add the pcie support Marek Vasut
2022-02-05 16:41   ` sbabic
2022-02-05 16:39 ` [PATCH 1/3] dt-bindings: phy: phy-imx8-pcie: Add binding for the pad modes of imx8 pcie phy sbabic

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=20220128034104.1410830-2-marex@denx.de \
    --to=marex@denx.de \
    --cc=hongxing.zhu@nxp.com \
    --cc=marcel.ziswiler@toradex.com \
    --cc=sbabic@denx.de \
    --cc=shawnguo@kernel.org \
    --cc=tharvey@gateworks.com \
    --cc=u-boot@lists.denx.de \
    /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