ramips: mt7620: fix 5GHz WiFi LED on DWR-118-A1
authorPawel Dembicki <paweldembicki@gmail.com>
Wed, 29 May 2019 08:40:36 +0000 (10:40 +0200)
committerPetr Štetiar <ynezz@true.cz>
Wed, 5 Jun 2019 08:12:30 +0000 (10:12 +0200)
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 <paweldembicki@gmail.com>
target/linux/ramips/dts/DWR-118-A1.dts

index 4b373ececee845dfa3c1bc4e82ebba22a974a90c..707bc1c3d3d248b07e04b6b223f6dda467465be4 100644 (file)
                mtd-mac-address = <&config 0xe496>;
                mtd-mac-address-increment = <(2)>;
                mediatek,mtd-eeprom = <&config 0xe083>;
+
+               led {
+                       led-sources = <0>;
+                       led-active-low;
+               };
        };
 };