[openwrt/openwrt] ramips: fix WiFi LED for ZBT WE3526

LEDE Commits lede-commits at lists.infradead.org
Sun Jul 28 16:23:33 PDT 2024


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/0c2a5229605153b069ce36ed5f3f186e7567e341

commit 0c2a5229605153b069ce36ed5f3f186e7567e341
Author: Shiji Yang <yangshiji66 at qq.com>
AuthorDate: Thu Jul 25 08:56:45 2024 +0800

    ramips: fix WiFi LED for ZBT WE3526
    
    All WiFi LEDs should be triggered by low level voltage.
    
    Fixes: https://github.com/openwrt/openwrt/issues/7485
    Signed-off-by: Shiji Yang <yangshiji66 at qq.com>
    Link: https://github.com/openwrt/openwrt/pull/16009
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 target/linux/ramips/dts/mt7621_zbtlink_zbt-we3526.dts | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/target/linux/ramips/dts/mt7621_zbtlink_zbt-we3526.dts b/target/linux/ramips/dts/mt7621_zbtlink_zbt-we3526.dts
index ce8906efc2..3e9282e555 100644
--- a/target/linux/ramips/dts/mt7621_zbtlink_zbt-we3526.dts
+++ b/target/linux/ramips/dts/mt7621_zbtlink_zbt-we3526.dts
@@ -106,6 +106,7 @@
 
 		led {
 			led-sources = <2>;
+			led-active-low;
 		};
 	};
 };
@@ -116,6 +117,11 @@
 		reg = <0x0000 0 0 0 0>;
 		nvmem-cells = <&eeprom_factory_0>;
 		nvmem-cell-names = "eeprom";
+
+		led {
+			led-sources = <0>;
+			led-active-low;
+		};
 	};
 };
 




More information about the lede-commits mailing list