[openwrt/openwrt] ramips: add led_source for Asus RT-AC1200 devices

LEDE Commits lede-commits at lists.infradead.org
Tue May 17 14:30:17 PDT 2022


hauke pushed a commit to openwrt/openwrt.git, branch openwrt-22.03:
https://git.openwrt.org/3c57430d1c2d4486396e2e19d3a0721eaaf08f4c

commit 3c57430d1c2d4486396e2e19d3a0721eaaf08f4c
Author: Tamas Balogh <tamasbalogh at hotmail.com>
AuthorDate: Sun May 1 09:45:19 2022 +0200

    ramips: add led_source for Asus RT-AC1200 devices
    
    this adds the mediatek,led_source dts binding for
    Asus RT-AC1200 devices' dtsi, for correct switch LED
    behavior.
    
    The dts-binding is introduced in commit:
    65dc9e0980255b15402c45b840f239b85be59b3d
    
    Without this, we only have constantly very fast
    blinking LEDs, which don't react on any traffic or
    LAN events at all.
    
    Signed-off-by: Tamas Balogh <tamasbalogh at hotmail.com>
    (cherry picked from commit 771ea6f2e3868b208b5261ae676160d5ef6544e8)
---
 target/linux/ramips/dts/mt7628an_asus_rt-ac1200.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/target/linux/ramips/dts/mt7628an_asus_rt-ac1200.dtsi b/target/linux/ramips/dts/mt7628an_asus_rt-ac1200.dtsi
index d8d4245447..dbba801425 100644
--- a/target/linux/ramips/dts/mt7628an_asus_rt-ac1200.dtsi
+++ b/target/linux/ramips/dts/mt7628an_asus_rt-ac1200.dtsi
@@ -111,6 +111,7 @@
 
 &esw {
 	mediatek,portmap = <0x3e>;
+	mediatek,led_source = <4>;
 };
 
 &wmac {




More information about the lede-commits mailing list