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

LEDE Commits lede-commits at lists.infradead.org
Mon May 16 12:10:40 PDT 2022


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/771ea6f2e3868b208b5261ae676160d5ef6544e8

commit 771ea6f2e3868b208b5261ae676160d5ef6544e8
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>
---
 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