[openwrt/openwrt] ipq806x: Revert "ipq806x: swap lan leds for Meraki MR52"

LEDE Commits lede-commits at lists.infradead.org
Wed Oct 30 07:51:21 PDT 2024


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/b5e1544f4d45795ab8750b1054c54c8880b7b96b

commit b5e1544f4d45795ab8750b1054c54c8880b7b96b
Author: Rafal Boni <rafal.boni at gmail.com>
AuthorDate: Thu Oct 24 03:06:22 2024 -0400

    ipq806x: Revert "ipq806x: swap lan leds for Meraki MR52"
    
    This reverts commit ec8f647d168fa8f3b1eedd9b5fe665f793f3a659, as with the
    current kernel version, the change actually causes the same bug it once
    may have fixed -- that is, the leds are now again reversed.
    
    I suspect this was due to a switch to a newer kernel version between when
    the patch was submitted and now reversing the order of the interfaces, so
    that eth0 / the LAN interface is also the interface used for PoE, and eth1
    / the WAN interface is the non-PoE interface.
    
    Signed-off-by: Rafal Boni <rafal.boni at gmail.com>
    Link: https://github.com/openwrt/openwrt/pull/16779
    Signed-off-by: Robert Marko <robimarko at gmail.com>
---
 .../files-6.6/arch/arm/boot/dts/qcom/qcom-ipq8068-mr52.dts        | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/target/linux/ipq806x/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq8068-mr52.dts b/target/linux/ipq806x/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq8068-mr52.dts
index 0d3230e6de..97b280e201 100644
--- a/target/linux/ipq806x/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq8068-mr52.dts
+++ b/target/linux/ipq806x/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq8068-mr52.dts
@@ -48,12 +48,12 @@
 
 		lan1_green {
 			label = "green:lan1";
-			gpios = <&qcom_pinmux 23 GPIO_ACTIVE_HIGH>;
+			gpios = <&qcom_pinmux 24 GPIO_ACTIVE_HIGH>;
 		};
 
 		lan2_green {
 			label = "green:lan2";
-			gpios = <&qcom_pinmux 24 GPIO_ACTIVE_HIGH>;
+			gpios = <&qcom_pinmux 23 GPIO_ACTIVE_HIGH>;
 		};
 
 		led_active: active {
@@ -63,12 +63,12 @@
 
 		lan1_orange {
 			label = "orange:lan1";
-			gpios = <&qcom_pinmux 60 GPIO_ACTIVE_HIGH>;
+			gpios = <&qcom_pinmux 62 GPIO_ACTIVE_HIGH>;
 		};
 
 		lan2_orange {
 			label = "orange:lan2";
-			gpios = <&qcom_pinmux 62 GPIO_ACTIVE_HIGH>;
+			gpios = <&qcom_pinmux 60 GPIO_ACTIVE_HIGH>;
 		};
 	};
 };




More information about the lede-commits mailing list