Skip to content

Commit

Permalink
[wdr4300] invert the GPIO LED polarity.
Browse files Browse the repository at this point in the history
This makes them behave correctly.

Submitted by:	Dan Nelson <[email protected]>
  • Loading branch information
adrian authored and adrian committed Jul 31, 2016
1 parent a1c5b3d commit d471540
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sys/mips/conf/TL-WDR4300.hints
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit d471540

Please sign in to comment.