ath79: fix LEDs for D-Link DIR-842
authorSebastian Schaper <openwrt@sebastianschaper.net>
Tue, 19 May 2020 10:34:53 +0000 (12:34 +0200)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Tue, 26 May 2020 20:49:18 +0000 (22:49 +0200)
commit6ce1e299be13800dbc49821b1faad5e934b91f09
tree757512fbb2ff9128c8b937f3f2359e855e0643d9
parent98342b15434c5d852b891c3be7367257cf9a9cc5
ath79: fix LEDs for D-Link DIR-842

The device has a total of 8 LEDs, 5 of which are controlled by the switch
(LAN 1-4, WAN). Only power, wifi and wps are controlled by the SoC.

 * led_power is on GPIO 5 (not 15), boot flashing sequence is now visible
 * remove led 'internet', since it is only connected to the switch
 * remove ucidef_set_led_switch for WAN from 01_leds, as it has no effect

Tested on revisions C1 and C3.

Signed-off-by: Sebastian Schaper <openwrt@sebastianschaper.net>
[adjust commit title]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
target/linux/ath79/dts/qca9563_dlink_dir-842-c1.dts
target/linux/ath79/dts/qca9563_dlink_dir-842-c2.dts
target/linux/ath79/dts/qca9563_dlink_dir-842-c3.dts
target/linux/ath79/generic/base-files/etc/board.d/01_leds