aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorPawel Dembicki <paweldembicki@gmail.com>2019-05-29 10:40:36 +0200
committerPetr Štetiar <ynezz@true.cz>2019-06-05 10:12:30 +0200
commit9b7abd9fe29b15d56bb44871b76f8b3396cf313b (patch)
tree7cd83ebc8eaf9838592bd1346d852a31ca1b2509 /target/linux/ramips
parent971d3585791a522df32a8e851eabd4660470a092 (diff)
downloadupstream-9b7abd9fe29b15d56bb44871b76f8b3396cf313b.tar.gz
upstream-9b7abd9fe29b15d56bb44871b76f8b3396cf313b.tar.bz2
upstream-9b7abd9fe29b15d56bb44871b76f8b3396cf313b.zip
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 <paweldembicki@gmail.com>
Diffstat (limited to 'target/linux/ramips')
-rw-r--r--target/linux/ramips/dts/DWR-118-A1.dts5
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/DWR-118-A1.dts b/target/linux/ramips/dts/DWR-118-A1.dts
index 4b373ecece..707bc1c3d3 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;
+ };
};
};