openwrt/target/linux/ipq806x/files/arch/arm/boot/dts
Mark Mentovai 565814a5ee ipq806x: ubnt,unifi-ac-hd: reorder eth0 and eth1
The Ubiquiti UniFi AC HD (UAP-AC-HD, UAP301) has two Ethernet ports,
labeled MAIN and SECONDARY, connected to gmac2 and gmac1, respectively.
The standard probe order results in gmac1/SECONDARY being eth0 and
gmac2/MAIN being eth1. This does not match the stock firmware, is
contrary to user expectation, causes the wrong (high) MAC address to be
used in a bridged configuration (the default for this device), and makes
the gmac2/MAIN port unusable in the preinit environment (such as for
failsafe). Until a recent patch, gmac1/SECONDARY (eth0) was not even
usable.

This reorders the ports so that gmac2/MAIN is eth0, and the now-working
gmac1/SECONDARY is eth1. eth0 has the low MAC address and eth1 has the
high; when bridged, the bridge takes on the correct low MAC address.
This matches the stock firmware. The MAIN port is usable for failsafe
during preinit.

This device does not have a switch on board, so there's no possibility
to remap ports via switch configuration. "ip link set $interface name"
is used instead, during preinit before networking is configured.

Signed-off-by: Mark Mentovai <mark@moxienet.com>
Build-tested: ipq806x/ubnt,unifi-ac-hd
Run-tested: ipq806x/ubnt,unifi-ac-hd
2021-05-07 07:05:16 +02:00
..
qcom-ipq8062-wg2600hp3.dts ipq806x: add support for NEC Platforms Aterm WG2600HP3 2020-12-25 10:38:13 +01:00
qcom-ipq8062.dtsi ipq806x: add support for Qualcomm IPQ8062 SoC 2020-12-25 10:38:13 +01:00
qcom-ipq8064-ad7200-c2600.dtsi ipq806x: add space before SPDX identifier (again) 2021-01-06 23:53:25 +01:00
qcom-ipq8064-ad7200.dts ipq806x: add space before SPDX identifier (again) 2021-01-06 23:53:25 +01:00
qcom-ipq8064-ap148.dts ipq806x: remove support for kernel 4.19 2020-10-19 15:37:54 +02:00
qcom-ipq8064-ap161.dts ipq806x: remove support for kernel 4.19 2020-10-19 15:37:54 +02:00
qcom-ipq8064-c2600.dts ipq806x: create DTSI for TP-Link AD7200 and C2600 2021-01-06 14:43:12 +01:00
qcom-ipq8064-d7800.dts ipq806x: Fix gmac1 (WAN) on Netgear D7800 2020-12-22 18:59:10 +01:00
qcom-ipq8064-db149.dts ipq806x: remove support for kernel 4.19 2020-10-19 15:37:54 +02:00
qcom-ipq8064-ea7500-v1.dts ipq806x: remove support for kernel 4.19 2020-10-19 15:37:54 +02:00
qcom-ipq8064-ea8500.dts ipq806x: remove support for kernel 4.19 2020-10-19 15:37:54 +02:00
qcom-ipq8064-eax500.dtsi ipq806x: remove support for kernel 4.19 2020-10-19 15:37:54 +02:00
qcom-ipq8064-g10.dts ipq806x: consolidate DTS files directory 2021-01-03 15:50:55 +01:00
qcom-ipq8064-r7500.dts ipq806x: remove support for kernel 4.19 2020-10-19 15:37:54 +02:00
qcom-ipq8064-r7500v2.dts ipq806x: remove support for kernel 4.19 2020-10-19 15:37:54 +02:00
qcom-ipq8064-unifi-ac-hd.dts ipq806x: ubnt,unifi-ac-hd: reorder eth0 and eth1 2021-05-07 07:05:16 +02:00
qcom-ipq8064-v2.0.dtsi ipq806x: remove support for kernel 4.19 2020-10-19 15:37:54 +02:00
qcom-ipq8064-vr2600v.dts ipq806x: remove support for kernel 4.19 2020-10-19 15:37:54 +02:00
qcom-ipq8064-wg2600hp.dts ipq806x: disable SPC of IPQ8064 on NEC WG2600HP to fix boot issue 2020-12-22 19:11:50 +01:00
qcom-ipq8064-wpq864.dts ipq806x: replace full-text BSC license by SPDX identifier 2021-02-05 18:28:30 +01:00
qcom-ipq8064-wxr-2533dhp.dts ipq806x: remove support for kernel 4.19 2020-10-19 15:37:54 +02:00
qcom-ipq8065-nbg6817.dts ipq806x: work-around vendor 'rootfs_data' GPT partition 2021-03-19 13:36:02 +00:00
qcom-ipq8065-r7800.dts ipq806x: remove support for kernel 4.19 2020-10-19 15:37:54 +02:00
qcom-ipq8065.dtsi ipq806x: remove support for kernel 4.19 2020-10-19 15:37:54 +02:00
qcom-ipq8068-ecw5410.dts ipq806x: remove support for kernel 4.19 2020-10-19 15:37:54 +02:00