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:35:49 +0000 (13:35 +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>
target/linux/ipq806x/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq8068-mr52.dts

index 7512bfb74f1c2de77556c2e95003e6d57f2d67cb..0d3230e6de99223fc0e6fe6466ce6102283a3072 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>;
                };
        };