From: Tamas Balogh <tamasbalogh@hotmail.com>
Date: Sun, 1 May 2022 07:45:19 +0000 (+0200)
Subject: ramips: add led_source for Asus RT-AC1200 devices
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=771ea6f2e3868b208b5261ae676160d5ef6544e8;p=openwrt%2Fstaging%2Fjogo.git

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@hotmail.com>
---

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 {