From 9b7abd9fe29b15d56bb44871b76f8b3396cf313b Mon Sep 17 00:00:00 2001 From: Pawel Dembicki Date: Wed, 29 May 2019 10:40:36 +0200 Subject: [PATCH] ramips: mt7620: fix 5GHz WiFi LED on DWR-118-A1 Support for D-Link DWR-118 A1 was added before LEDs feature in mt76x0e driver. This fixes the 5GHz WiFi LED which was previously inverted. Signed-off-by: Pawel Dembicki --- target/linux/ramips/dts/DWR-118-A1.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/target/linux/ramips/dts/DWR-118-A1.dts b/target/linux/ramips/dts/DWR-118-A1.dts index 4b373ececee8..707bc1c3d3d2 100644 --- a/target/linux/ramips/dts/DWR-118-A1.dts +++ b/target/linux/ramips/dts/DWR-118-A1.dts @@ -149,6 +149,11 @@ mtd-mac-address = <&config 0xe496>; mtd-mac-address-increment = <(2)>; mediatek,mtd-eeprom = <&config 0xe083>; + + led { + led-sources = <0>; + led-active-low; + }; }; }; -- 2.30.2