From 18d5cee2a8c0bcddbbcca964bf95bed58d286b9d Mon Sep 17 00:00:00 2001 From: Piotr Dymacz Date: Mon, 29 May 2017 21:32:11 +0200 Subject: 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 --- target/linux/ar71xx/base-files/etc/board.d/01_leds | 3 +++ 1 file changed, 3 insertions(+) (limited to 'target/linux/ar71xx/base-files/etc/board.d') 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" -- cgit v1.1