apm821xx: WNDAP660: fix ethernet port ordering
authorChristian Lamparter <chunkeey@gmail.com>
Fri, 24 Jun 2022 18:55:15 +0000 (20:55 +0200)
committerChristian Lamparter <chunkeey@gmail.com>
Fri, 24 Jun 2022 22:06:46 +0000 (00:06 +0200)
commit36483600d337ab3ec8a6dabeaa160614d07f5588
tree23161ee75178a9e5edf1ad4aadf076fd17b585a0
parent9fc2d58bf8b37f80e8027dc55b6007e0bfa66ebe
apm821xx: WNDAP660: fix ethernet port ordering

Tim Small reported:
| Viewing the 'Network' -> 'Switch' config page in LuCI:
|
| The LuCI LAN 1 port corresponds to the port physically
|     labelled 2 at the rear of the device.
| [...]
|
| When a patch cord is attached to the port labelled 1 [...],
| the LED labelled 2 illuminates. [...]

=> Ports, LuCI and LEDs are reversed/don't match.

Reported-by: Tim Small
Fixes: #10111
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
target/linux/apm821xx/base-files/etc/board.d/01_leds
target/linux/apm821xx/base-files/etc/board.d/02_network
target/linux/apm821xx/base-files/etc/uci-defaults/04_led_migration
target/linux/apm821xx/dts/netgear-wndap660.dts