Jelajahi Sumber

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 <[email protected]>
Pawel Dembicki 6 tahun lalu
induk
melakukan
9b7abd9fe2
1 mengubah file dengan 5 tambahan dan 0 penghapusan
  1. 5 0
      target/linux/ramips/dts/DWR-118-A1.dts

+ 5 - 0
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;
+		};
 	};
 };