From c2346bfa26b0aa66fe3a63638daa22202f7f6fd7 Mon Sep 17 00:00:00 2001 From: Adrian Chadd Date: Sun, 31 Jul 2016 06:52:19 +0000 Subject: [PATCH] [wdr4300] invert the GPIO LED polarity. This makes them behave correctly. Submitted by: Dan Nelson --- sys/mips/conf/TL-WDR4300.hints | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sys/mips/conf/TL-WDR4300.hints b/sys/mips/conf/TL-WDR4300.hints index 9912427ac78..6ad551636dd 100644 --- a/sys/mips/conf/TL-WDR4300.hints +++ b/sys/mips/conf/TL-WDR4300.hints @@ -206,21 +206,26 @@ hint.gpio.0.func.19.gpiomode=1 # output, default low hint.gpioled.0.at="gpiobus0" hint.gpioled.0.name="USB1" hint.gpioled.0.pins=0x0800 +hint.gpioled.0.invert=1 hint.gpioled.1.at="gpiobus0" hint.gpioled.1.name="USB2" hint.gpioled.1.pins=0x1000 +hint.gpioled.1.invert=1 hint.gpioled.2.at="gpiobus0" hint.gpioled.2.name="WLAN2G" hint.gpioled.2.pins=0x2000 +hint.gpioled.2.invert=1 hint.gpioled.3.at="gpiobus0" hint.gpioled.3.name="SYSTEM" hint.gpioled.3.pins=0x4000 +hint.gpioled.3.invert=1 hint.gpioled.4.at="gpiobus0" hint.gpioled.4.name="QSS" hint.gpioled.4.pins=0x8000 +hint.gpioled.4.invert=1 # XXX TODO: WPS/RFKILL switch