Skip to content

Instantly share code, notes, and snippets.

@r-vignesh
Created September 3, 2022 08:12
Show Gist options
  • Save r-vignesh/ddf90f66d5beabe45aa972c1853dd474 to your computer and use it in GitHub Desktop.
Save r-vignesh/ddf90f66d5beabe45aa972c1853dd474 to your computer and use it in GitHub Desktop.
diff --git a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts
index c9cc52e28abc..bb98711bc491 100644
--- a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts
+++ b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts
@@ -957,7 +957,8 @@ &cpsw_port1 {
};
&cpsw_port2 {
- status = "disabled";
+ phy-mode = "rgmii-rxid";
+ phy-handle = <&cpsw3g_phy1>;
};
&cpsw3g_mdio {
(1/2) Stage this hunk [y,n,q,a,d,j,J,g,/,e,?]? y
@@ -967,6 +968,12 @@ cpsw3g_phy0: ethernet-phy@0 {
ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
ti,min-output-impedance;
};
+ cpsw3g_phy1: ethernet-phy@1 {
+ reg = <1>;
+ ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
+ ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
+ ti,min-output-impedance;
+ };
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment