summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPawel Dembicki2019-05-29 08:40:36 +0000
committerPetr Štetiar2019-06-05 08:12:30 +0000
commit9b7abd9fe29b15d56bb44871b76f8b3396cf313b (patch)
tree7cd83ebc8eaf9838592bd1346d852a31ca1b2509
parent971d3585791a522df32a8e851eabd4660470a092 (diff)
downloadopenwrt-9b7abd9fe29b15d56bb44871b76f8b3396cf313b.tar.gz
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>
-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;
+ };
};
};