Hello NVIDIA Support Team,
I’m currently working on a custom carrier board based on the Thor platform.
I’m trying to bring up the Aquantia (Marvell) AQR113C 10G Ethernet PHY, but facing issues.
Below is my configuration for the ethernet node and the PHY:
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>;
+ };
+ };
};
But dmesg log shows:
[ 50.447009] nvethernet a808a10000.ethernet: failed to connect PHY
What additional steps are required to bring up this PHY?