All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] arm64: phygate-tauri-l enable pcie phy
@ 2024-05-25 17:18 ` Parthiban Nallathambi
  0 siblings, 0 replies; 5+ messages in thread
From: Parthiban Nallathambi @ 2024-05-25 17:18 UTC (permalink / raw)
  To: shawnguo, s.hauer, robh, krzk+dt, conor+dt
  Cc: kernel, festevam, imx, linux-arm-kernel, devicetree, linux-kernel,
	Parthiban Nallathambi

I210 intel ethernet controller is connected to PCIe. Enable the PHY
to use the ethernet controller.

Signed-off-by: Parthiban Nallathambi <parthiban@linumiz.com>
---
 .../boot/dts/freescale/imx8mm-phygate-tauri-l.dts      | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l.dts b/arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l.dts
index 27a902569e2a..ba6ce3c7f477 100644
--- a/arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l.dts
@@ -7,6 +7,7 @@
 
 #include <dt-bindings/input/linux-event-codes.h>
 #include <dt-bindings/leds/common.h>
+#include <dt-bindings/phy/phy-imx8-pcie.h>
 #include "imx8mm-phycore-som.dtsi"
 
 / {
@@ -185,6 +186,15 @@ &pcie0 {
 	status = "okay";
 };
 
+&pcie_phy {
+	clocks = <&clk IMX8MM_CLK_PCIE1_PHY>;
+	fsl,clkreq-unsupported;
+	fsl,refclk-pad-mode = <IMX8_PCIE_REFCLK_PAD_OUTPUT>;
+	fsl,tx-deemph-gen1 = <0x2d>;
+	fsl,tx-deemph-gen2 = <0xf>;
+	status = "okay";
+};
+
 &pwm1 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_pwm1>;
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-06-16  2:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-25 17:18 [PATCH 1/2] arm64: phygate-tauri-l enable pcie phy Parthiban Nallathambi
2024-05-25 17:18 ` Parthiban Nallathambi
2024-05-25 17:18 ` [PATCH 2/2] arm64: phygate-tauri-l add overlays for RS232 and RS485 Parthiban Nallathambi
2024-05-25 17:18   ` Parthiban Nallathambi
2024-06-16  2:28 ` [PATCH 1/2] arm64: phygate-tauri-l enable pcie phy Shawn Guo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.