ramips: add led_source for Asus RT-AC1200 devices
authorTamas Balogh <tamasbalogh@hotmail.com>
Sun, 1 May 2022 07:45:19 +0000 (09:45 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Tue, 17 May 2022 19:14:46 +0000 (21:14 +0200)
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>
(cherry picked from commit 771ea6f2e3868b208b5261ae676160d5ef6544e8)

target/linux/ramips/dts/mt7628an_asus_rt-ac1200.dtsi

index d8d424544761f9349f4a565358970bb24b715e57..dbba801425e654b99859719268d50991dd58cf0c 100644 (file)
 
 &esw {
        mediatek,portmap = <0x3e>;
+       mediatek,led_source = <4>;
 };
 
 &wmac {