From 5d38cfaa63c3ef79bf32b4d853bcacd2ae713c9b Mon Sep 17 00:00:00 2001 From: Laxman Dewangan Date: Sat, 5 Aug 2023 02:51:44 +0000 Subject: [PATCH] tegra234: Add ethernet node properties in base file Add properties of ethernet node which are missing from mainline 6.5-rc2. The properties which are used for downstream are applied via overlay. Bug 4037899 Change-Id: I76bba693844b6c16f4e915b9c55c152e22824117 Signed-off-by: Laxman Dewangan Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2949571 (cherry picked from commit f0a23e3a6e5517e67f2878df5c9c2f5c0d997daf) Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2955888 GVS: Gerrit_Virtual_Submit --- overlay/tegra234-p3737-0000.dtsi | 2 +- tegra234-p3737-0000+p3701-0000.dts | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/overlay/tegra234-p3737-0000.dtsi b/overlay/tegra234-p3737-0000.dtsi index 0a2c3f8..7861f44 100644 --- a/overlay/tegra234-p3737-0000.dtsi +++ b/overlay/tegra234-p3737-0000.dtsi @@ -45,7 +45,7 @@ #address-cells = <1>; #size-cells = <0>; - mgbe0_aqr113c_phy: ethernet_phy@0 { + mgbe0_aqr113c_phy: phy@0 { compatible = "ethernet-phy-ieee802.3-c45"; reg = <0x0>; nvidia,phy-rst-pdelay-msec = <150>; /* msec */ diff --git a/tegra234-p3737-0000+p3701-0000.dts b/tegra234-p3737-0000+p3701-0000.dts index a2bb418..418a50b 100644 --- a/tegra234-p3737-0000+p3701-0000.dts +++ b/tegra234-p3737-0000+p3701-0000.dts @@ -168,6 +168,21 @@ ethernet@6800000 { status = "okay"; + + phy-handle = <&mgbe0_phy>; + phy-mode = "usxgmii"; + + mdio { + #address-cells = <1>; + #size-cells = <0>; + + mgbe0_phy: phy@0 { + compatible = "ethernet-phy-ieee802.3-c45"; + reg = <0x0>; + + #phy-cells = <0>; + }; + }; }; i2c@c240000 {