aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq806x/base-files/etc
diff options
context:
space:
mode:
authorPavel Kubelun <be.dissent@gmail.com>2016-10-01 11:32:58 -0400
committerJohn Crispin <john@phrozen.org>2016-11-03 08:28:16 +0100
commitbf7166e54569266a7d7525742f3216b4e3064825 (patch)
tree9b18ee85fb6f9241b950684f1e6e5f2d06ac6ee3 /target/linux/ipq806x/base-files/etc
parent5511c1c7c1b1e446098c807f6022b21df369cb34 (diff)
downloadupstream-bf7166e54569266a7d7525742f3216b4e3064825.tar.gz
upstream-bf7166e54569266a7d7525742f3216b4e3064825.tar.bz2
upstream-bf7166e54569266a7d7525742f3216b4e3064825.zip
ipq806x: fix leds, sata port for Netgear R7800 and minor fixes - renamed leds in correct color accordance - blink power led with white during boot and with amber when flashing firmware - fixed usb leds - enabled unused wps and rfkill leds as wlan leds. Now rfkill led is for 2.4GHz and wps - 5GHz WIFI - removed unneeded bootargs - removed unneeded pci pins from R7800 DT (driver already handles it in proper way) and add tx offsetting - nand ecc step size - fixed sata ports
Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
Diffstat (limited to 'target/linux/ipq806x/base-files/etc')
-rwxr-xr-xtarget/linux/ipq806x/base-files/etc/board.d/01_leds11
1 files changed, 9 insertions, 2 deletions
diff --git a/target/linux/ipq806x/base-files/etc/board.d/01_leds b/target/linux/ipq806x/base-files/etc/board.d/01_leds
index 6809c549b4..fbe19cd77b 100755
--- a/target/linux/ipq806x/base-files/etc/board.d/01_leds
+++ b/target/linux/ipq806x/base-files/etc/board.d/01_leds
@@ -20,8 +20,7 @@ c2600)
;;
d7800 |\
r7500 |\
-r7500v2 |\
-r7800)
+r7500v2)
ucidef_set_led_usbdev "usb1" "USB 1" "${board}:white:usb1" "1-1"
ucidef_set_led_usbdev "usb2" "USB 2" "${board}:white:usb3" "3-1"
ucidef_set_led_netdev "wan" "WAN" "${board}:white:wan" "eth0"
@@ -29,6 +28,14 @@ r7800)
ucidef_set_led_default "wps" "WPS" "${board}:white:wps" "0"
ucidef_set_led_default "rfkill" "rfkill" "${board}:white:rfkill" "0"
;;
+r7800)
+ ucidef_set_led_usbdev "usb1" "USB 1" "${board}:white:usb1" "2-1"
+ ucidef_set_led_usbdev "usb2" "USB 2" "${board}:white:usb2" "4-1"
+ ucidef_set_led_netdev "wan" "WAN" "${board}:white:wan" "eth0"
+ ucidef_set_led_ide "esata" "eSATA" "${board}:white:esata"
+ ucidef_set_led_wlan "wps" "WPS" "${board}:white:wps" "phy0tpt"
+ ucidef_set_led_wlan "rfkill" "rfkill" "${board}:white:rfkill" "phy1tpt"
+ ;;
ea8500)
ucidef_set_led_wlan "wifi" "WIFI" "ea8500:green:wifi" "phy0radio"
ucidef_set_led_default "wps" "WPS" "ea8500:green:wps" "0"