Some Pine64 boards are reported to have broken RTL8211E PHYs, which will fail to work at 1000BASE-T mode if not workarounded. The workaround is retrieved from Pine64, and is said to be from Realtek engineer. It's undocumented but effective. (Tested on my Pine64 with GbE broken) The first patch is a small tweak for Realtek PHY driver, which removed the "F" in page select register name, as RTL8211E also uses the same register as page select (although with some different difinition). The second patch adds a binding for the PHY, specified for this hack. The third patch is the real driver part of this hack, which contains some magic numbers from Pine64/Realtek. The fourth patch is for reference only and should not be merged -- to use it you will need sun8i-emac or dwmac-sun8i patchset applied. Icenowy Zheng (4): net: phy: realtek: change macro name for page select register dt-bindings: add binding for RTL8211E Ethernet PHY net: phy: realtek: add disable RX delay hack for RTL8211E [DO NOT MERGE] arm64: allwinner: a64: enable RTL8211E PHY workaround .../devicetree/bindings/net/realtek,rtl8211e.txt | 22 ++++++++++ .../boot/dts/allwinner/sun50i-a64-pine64-plus.dts | 4 ++ drivers/net/phy/realtek.c | 48 +++++++++++++++++++--- 3 files changed, 69 insertions(+), 5 deletions(-) create mode 100644 Documentation/devicetree/bindings/net/realtek,rtl8211e.txt -- 2.12.2 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html