summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/base-files/etc/board.d
diff options
context:
space:
mode:
authorPiotr Dymacz <pepe2k@gmail.com>2017-05-29 21:32:11 +0200
committerPiotr Dymacz <pepe2k@gmail.com>2017-05-30 14:34:04 +0200
commit18d5cee2a8c0bcddbbcca964bf95bed58d286b9d (patch)
tree6fd895d9f84be46f331a53d5195271eea3b1f857 /target/linux/ar71xx/base-files/etc/board.d
parent6713640b5205423a3f19c80a713a2e7afa16ea12 (diff)
downloadmtk-20170518-18d5cee2a8c0bcddbbcca964bf95bed58d286b9d.zip
mtk-20170518-18d5cee2a8c0bcddbbcca964bf95bed58d286b9d.tar.gz
mtk-20170518-18d5cee2a8c0bcddbbcca964bf95bed58d286b9d.tar.bz2
ar71xx: fix Wallys DR344 GPIO-connected LEDs and button
This fixes wrong GPIO numbers for LEDs and button in Wallys DR344 board and sets color of all LEDs to green as the mass production boards have only green one. Actually, DR344 has 6 GPIO-connected LEDs and one button: - GPIO11: status - GPIO12: sig1 - GPIO13: sig2 - GPIO14: sig3 - GPIO15: sig4 - GPIO16: reset button - GPIO17: lan WAN LED is connected directly with AR8035 PHY. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/board.d')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/01_leds3
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/board.d/01_leds b/target/linux/ar71xx/base-files/etc/board.d/01_leds
index 7248ab1..2f9ae8b 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/01_leds
+++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds
@@ -205,6 +205,9 @@ cr5000)
ucidef_set_led_wlan "wlan" "WLAN" "pcs:blue:wlan" "phy0tpt"
ucidef_set_led_usbdev "usb" "USB" "pcs:white:wps" "1-1"
;;
+dr344)
+ ucidef_set_led_netdev "lan" "LAN" "$board:green:lan" "eth1"
+ ;;
dragino2)
ucidef_set_led_wlan "wlan" "WLAN" "$board:red:wlan" "phy0tpt"
ucidef_set_led_netdev "lan" "LAN" "$board:red:lan" "eth0"