Support for AQR113C 10G Ethernet PHY with AGX THOR

Hello NVIDIA Support Team,

I’m currently working on a custom carrier board based on the Thor platform with Jetpack 7.2 SDK. I’m trying to bring up the Aquantia (Marvell) AQR113C 10G Ethernet PHY.

Is XFI+MDIO supported on Thor?

I have added following changes:

diff --git a/hardware/nvidia/t264/nv-public/nv-platform/tegra264-p4071-0000.dtsi b/hardware/nvidia/t264/nv-public/nv-platform/tegra264-p4071-0000.dtsi
index 94457e8c2..7833b129e 100644
--- a/hardware/nvidia/t264/nv-public/nv-platform/tegra264-p4071-0000.dtsi
+++ b/hardware/nvidia/t264/nv-public/nv-platform/tegra264-p4071-0000.dtsi
@@ -246,11 +246,26 @@
 			nvidia,pcs-rx-eq-sw-ovrd = <1>;
 			nvidia,pps_op_ctrl = <8>;
 			nvidia,if-name = "mgbe0_0";
-
-			fixed-link {
-				full-duplex;
-				speed = <10000>;
-			};
+			nvidia,mdc-cr = <2>;
+
+			phy-handle = <&mgbe0_aqr113c_phy>;
+                        nvidia,phy-reset-gpio = <&gpio_main TEGRA264_MAIN_GPIO(W, 5) GPIO_ACTIVE_HIGH>;
+                        mdio {
+                                compatible = "nvidia,eqos-mdio";
+                                #address-cells = <1>;
+                                #size-cells = <0>;
+                                status = "okay";
+                                mgbe0_aqr113c_phy: phy@0 {
+                                        status = "okay";
+                                        compatible = "ethernet-phy-ieee802.3-c45";
+                                        reg = <0x0>;
+					                     firmware-name = "aqr113c.cld";
+                                        nvidia,phy-rst-pdelay-msec = <1000>; /* msec */
+                                        nvidia,phy-rst-duration-usec = <221000>; /* usec */
+                                        interrupt-parent = <&gpio_main>;
+                                        interrupts = <TEGRA264_MAIN_GPIO(Z, 6) IRQ_TYPE_LEVEL_LOW>;
+                                };
+                        };
 		};

Default pinmux settings are all not in correct one. You need to configure them too.

Okay got it. Thanks @WayneWWW