ipq806x: swap lan leds for Meraki MR52
authorMieczyslaw Nalewaj <namiltd@yahoo.com>
Tue, 7 May 2024 06:46:07 +0000 (08:46 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Tue, 7 May 2024 11:38:17 +0000 (13:38 +0200)
LAN Leds on Meraki MR52 are wrong and needs to be swapped to actually
reflect real ports (lan1<->lan2).

Fixes: #15388
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/15410
[ wrap commit to 80 columns and improve commit title ]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit bd6852185b7c7362fc5485afa961c686d9cd74b4)

target/linux/ipq806x/files-5.15/arch/arm/boot/dts/qcom-ipq8068-mr52.dts

index f81e3ef690dcc33193dc381d166faedccf30bf62..b49ea499d659ef5899bac6e11cc43e752ea2b031 100644 (file)
                        gpios = <&qcom_pinmux 19 GPIO_ACTIVE_HIGH>;
                };
 
-               lan2_green {
-                       label = "green:lan2";
+               lan1_green {
+                       label = "green:lan1";
                        gpios = <&qcom_pinmux 23 GPIO_ACTIVE_HIGH>;
                };
 
-               lan1_green {
-                       label = "green:lan1";
+               lan2_green {
+                       label = "green:lan2";
                        gpios = <&qcom_pinmux 24 GPIO_ACTIVE_HIGH>;
                };
 
                        gpios = <&qcom_pinmux 26 GPIO_ACTIVE_LOW>;
                };
 
-               lan2_orange {
-                       label = "orange:lan2";
+               lan1_orange {
+                       label = "orange:lan1";
                        gpios = <&qcom_pinmux 60 GPIO_ACTIVE_HIGH>;
                };
 
-               lan1_orange {
-                       label = "orange:lan1";
+               lan2_orange {
+                       label = "orange:lan2";
                        gpios = <&qcom_pinmux 62 GPIO_ACTIVE_HIGH>;
                };
        };