There're some Pine64+ boards known to have broken RTL8211E chips, and a hack is given by Pine64+, which is said to be from Realtek. This patchset adds the hack. The hack is taken from U-Boot, and it contains magic numbers without any document. Icenowy Zheng (3): dt-bindings: add binding for RTL8211E Ethernet PHY net: phy: realtek: add config hack for broken RTL8211E on Pine64+ boards arm64: allwinner: a64: dts: apply hack for RTL8211E on Pine64+ .../bindings/net/realtek,rtl8211e.yaml | 23 +++++++++++++++++++ .../dts/allwinner/sun50i-a64-pine64-plus.dts | 1 + drivers/net/phy/realtek.c | 14 +++++++++++ 3 files changed, 38 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/realtek,rtl8211e.yaml -- 2.21.0