arm64: dts: phygate-tauri-l: enable pcie phy
authorParthiban Nallathambi <parthiban@linumiz.com>
Sat, 25 May 2024 17:18:53 +0000 (22:48 +0530)
committerShawn Guo <shawnguo@kernel.org>
Sun, 16 Jun 2024 02:26:28 +0000 (10:26 +0800)
I210 intel ethernet controller is connected to PCIe. Enable the PHY
to use the ethernet controller.

Signed-off-by: Parthiban Nallathambi <parthiban@linumiz.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l.dts

index 27a902569e2a28434af3b6b15dcdb3a43f7a9606..ba6ce3c7f4779da8f91081083c43459f71cff298 100644 (file)
@@ -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"
 
 / {
        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>;