EBK21 got a reaction from
Armael in Orange Pi3 lts
June 18, 2022
Workaround is found. It's literaly a copypaste based on https://github.com/u-boot/u-boot/commit/a246e21351778a93805b3f52302a420f4b268601#diff-ccc56a581b4ac88eb0c52ec34ef3ede020bd4deaff8ab53d3fdcfa85d8438b38
Decompile the dtb,find and do the following.
BEGIN
ethernet@5020000 {
compatible = "allwinner,sun50i-h6-emac\0allwinner,sun50i-a64-emac";
syscon = <0x30>;
reg = <0x5020000 0x10000>;
interrupts = <0x00 0x0c 0x04>;
interrupt-names = "macirq";
resets = <0x04 0x21>;
reset-names = "stmmaceth";
clocks = <0x04 0x54>;
clock-names = "stmmaceth";
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <0x31>;
phy-mode = "rgmii-id";
phy-handle = <0x32>;
phy-supply = <0x33>;
#Add the following entries
snps,reset-gpio = <0x1f 0x03 0x0e 0x01>;
snps,reset-delays-us = <0 10000 1000000>;
snps,reset-active-low;
#End adding
allwinner,rx-delay-ps = <0xc8>;
allwinner,tx-delay-ps = <0x12c>;
phandle = <0x76>;
mdio {
compatible = "snps,dwmac-mdio";
#address-cells = <0x01>;
#size-cells = <0x00>;
phandle = <0x77>;
ethernet-phy@1 {
compatible = "ethernet-phy-ieee802.3-c22";
reg = <0x01>;
#Comment out the following entries
#reset-gpios = <0x1f 0x03 0x0e 0x01>;
#reset-assert-us = <0x3a98>;
#reset-deassert-us = <0x9c40>;
#End commenting
phandle = <0x32>;
};
};
};
END