When using a third-party carrier board, after changing the reset pin of the aqr113c network card from Pin D56 to Pin F56, and making the following changes to the device tree, it is no longer possible to ping the device.
I modified the eth node in the dts file, setting nvidia,phy-reset-gpio = <0x04 0x91 0x00>; Replace with: phy-reset-gpio = <0x04 0x79 0x00>;
ethernet@6810000 {
power-domains = <0x02 0x12>;
iommus = <0x03 0x06>;
nvidia,rx_frames = <0x40>;
nvidia,max-platform-mtu = <0x3fff>;
nvidia,slot_intvl_vals = <0x00 0x7d 0x7d 0x7d 0x7d 0x7d 0x7d 0x7d 0x7d 0x7d>;
phy-mode = "10gbase-r";
dma-coherent;
nvidia,tx_frames = <0x10>;
interconnect-names = "dma-mem\0write";
nvidia,rx_riwt = <0x200>;
nvidia,num-dma-chans = <0x0a>;
clock-names = "rx-input-m\0rx-pcs-m\0rx-pcs-input\0rx-pcs\0tx\0tx-pcs\0mac-divider\0mac\0eee-pcs\0mgbe\0ptp-ref\0mgbe_macsec\0rx-input";
interconnects = <0x44 0x58 0x44 0x5c>;
reg-names = "mac\0xpcs\0macsec-base\0hypervisor";
nvidia,promisc_mode = <0x01>;
nvidia,mtl-queues = <0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07 0x08 0x09>;
nvidia,dcs-enable = <0x01>;
nvidia,dma_tx_ring_sz = <0x1000>;
nvidia,num-mtl-queues = <0x0a>;
nvidia,tx-queue-prio = <0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07 0x00 0x00>;
resets = <0x02 0x2e 0x02 0x2d 0x02 0x2f>;
nvidia,dma-chans = <0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07 0x08 0x09>;
interrupts = <0x00 0x180 0x04 0x00 0x181 0x04 0x00 0x182 0x04 0x00 0x183 0x04 0x00 0x184 0x04 0x00 0x185 0x04 0x00 0x186 0x04 0x00 0x187 0x04>;
clocks = <0x02 0x165 0x02 0x169 0x02 0x171 0x02 0x175 0x02 0x176 0x02 0x177 0x02 0x178 0x02 0x179 0x02 0x17b 0x02 0x17c 0x02 0x17d 0x02 0x17a 0x02 0xf8>;
nvidia,rx-queue-prio = <0x01 0x02 0x04 0x08 0x10 0x20 0x40 0x80 0x00 0x00>;
nvidia,phy-iface-mode = <0x00>;
nvidia,phy-reset-gpio = <0x04 0x79 0x00>;
nvidia,residual-queue = <0x01>;
mac-address = [3c 6d 66 b1 2d d8];
nvidia,rxq_enable_ctrl = <0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02>;
nvidia,tx_usecs = <0x100>;
compatible = "nvidia,nvmgbe";
nvidia,ptp-rx-queue = <0x03>;
nvidia,tc-mapping = <0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07 0x00 0x01>;
nvidia,ptp_ref_clock_speed = <0x12a05f20>;
status = "okay";
interrupt-names = "common\0vm0\0vm1\0vm2\0vm3\0vm4\0macsec-ns-irq\0macsec-s-irq";
reg = <0x00 0x6810000 0x00 0x10000 0x00 0x68a0000 0x00 0x10000 0x00 0x68d0000 0x00 0x10000 0x00 0x6800000 0x00 0x10000>;
nvidia,instance_id = <0x00>;
phy-handle = <0x4e>;
reset-names = "mac\0pcs\0macsec_ns_rst";
nvidia,dma_rx_ring_sz = <0x1000>;
nvidia,mac-addr-idx = <0x00>;
nvidia,vm-irq-config = <0x4d>;
nvidia,pause_frames = <0x01>;
nvidia,slot_num_check = <0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00>;
mdio {
#address-cells = <0x01>;
#size-cells = <0x00>;
compatible = "nvidia,eqos-mdio";
ethernet_phy@0 {
nvidia,phy-rst-duration-usec = <0x35f48>;
interrupts = <0x93 0x08>;
interrupt-parent = <0x04>;
compatible = "ethernet-phy-ieee802.3-c45";
reg = <0x00>;
phandle = <0x4e>;
nvidia,phy-rst-pdelay-msec = <0x96>;
};
};
};
You can see in the gpioinfo that the phy_reset has been switched.
However, after connecting the device, the network port light did not turn on, and it was also impossible to ping it.
