加载at803x驱动后,设备树改为`/ {
/* EQOS */
ethernet@2310000 {
status = "okay";
nvidia,mac-addr-idx = <0>;
nvidia,phy-reset-gpio = <&tegra_main_gpio TEGRA234_MAIN_GPIO(G, 5) 0>;
phy-mode = "rgmii-id";
phy-handle = <&phy>;
fixed-link;
mdio {
compatible = "nvidia,eqos-mdio";
#address-cells = <1>;
#size-cells = <0>;
#timestamper = <&phy>;
phy: phy@0 {
compatible = "ethernet-phy-ieee802.3-c45";
//compatible = "ethernet-phy-id004d.d072";
reg = <0x04>;
phy_rst_lp_mode = <1>;
qca,clk-out-frequency = <125000000>;
qca,clk-out-strength = <AR803X_STRENGTH_FULL>;
qca,keep-pll-enabled;
//vddio-supply = <&vddio>; // RGMII I/O电压调节器
nvidia,phy-rst-pdelay-msec = <2240>; /* msec */
nvidia,phy-rst-duration-usec = <100000>; /* usec */
interrupt-parent = <&tegra_main_gpio>;
interrupts = <TEGRA234_MAIN_GPIO(G, 4) IRQ_TYPE_LEVEL_LOW>;
status = "okay";
};
};
};
};
` 报错如下
第一次网卡启动报错
irq: IRQ324: trimming hierarchy from :interrupt-controller@f400000-1
第二次网卡启动报错
Trying to unregister non-registered hwtime source