From a4390ea283893fd3166bf660c32f263a6501d5b5 Mon Sep 17 00:00:00 2001 From: Christian Lamparter Date: Fri, 24 Jun 2022 20:55:15 +0200 Subject: apm821xx: WNDAP660: fix ethernet port ordering MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. => essentially, the Ports and LEDs are reversed. Reported-by: Tim Small Fixes: #10111 Signed-off-by: Christian Lamparter (cherry picked from commit 36483600d337ab3ec8a6dabeaa160614d07f5588) --- target/linux/apm821xx/dts/netgear-wndap660.dts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'target/linux/apm821xx/dts/netgear-wndap660.dts') diff --git a/target/linux/apm821xx/dts/netgear-wndap660.dts b/target/linux/apm821xx/dts/netgear-wndap660.dts index f01d1b3be0..7cef1f5a45 100644 --- a/target/linux/apm821xx/dts/netgear-wndap660.dts +++ b/target/linux/apm821xx/dts/netgear-wndap660.dts @@ -14,28 +14,28 @@ color = ; function = LED_FUNCTION_LAN; function-enumerator = <1>; - gpios = <&GPIO0 22 GPIO_ACTIVE_HIGH>; + gpios = <&GPIO0 9 GPIO_ACTIVE_HIGH>; }; led-6 { color = ; function = LED_FUNCTION_LAN; - function-enumerator = <0>; - gpios = <&GPIO0 23 GPIO_ACTIVE_HIGH>; + function-enumerator = <1>; + gpios = <&GPIO0 10 GPIO_ACTIVE_HIGH>; }; led-7 { color = ; function = LED_FUNCTION_LAN; function-enumerator = <2>; - gpios = <&GPIO0 9 GPIO_ACTIVE_HIGH>; + gpios = <&GPIO0 22 GPIO_ACTIVE_HIGH>; }; led-8 { color = ; function = LED_FUNCTION_LAN; - function-enumerator = <1>; - gpios = <&GPIO0 10 GPIO_ACTIVE_HIGH>; + function-enumerator = <2>; + gpios = <&GPIO0 23 GPIO_ACTIVE_HIGH>; }; }; -- cgit v1.2.3