The Ubiquiti UniFi AC HD (UAP-AC-HD, UAP301) has two Ethernet ports, labeled MAIN and SECONDARY, connected to gmac2 and gmac1, respectively. A dwmac register misconfiguration (QSGMII PCS_ALL_CH_CTL) for gmac1/SECONDARY prevented that port from being usable in OpenWrt.
This patch series: - correctly configures that register, - properly configures the on-board PHYs for both interfaces, and - reorders eth0 and eth1 so that gmac2/MAIN is eth0 and gmac1/SECONDARY is eth1. Mark Mentovai (3): ipq806x: dwmac: clear forced speed during probe ipq806x: ubnt,unifi-ac-hd: use on-board PHYs ipq806x: ubnt,unifi-ac-hd: reorder eth0 and eth1 .../base-files/lib/preinit/04_reorder_eth | 13 +++++++ .../arm/boot/dts/qcom-ipq8064-unifi-ac-hd.dts | 38 +++++++++---------- ...-dwmac-ipq806x-qsgmii-pcs-all-ch-ctl.patch | 33 ++++++++++++++++ 3 files changed, 65 insertions(+), 19 deletions(-) create mode 100644 target/linux/ipq806x/base-files/lib/preinit/04_reorder_eth create mode 100644 target/linux/ipq806x/patches-5.4/100-dwmac-ipq806x-qsgmii-pcs-all-ch-ctl.patch -- 2.27.0 _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel