aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq806x/base-files/etc
diff options
context:
space:
mode:
authorPavel Kubelun <be.dissent@gmail.com>2016-06-23 18:59:17 +0200
committerZoltan HERPAI <wigyori@uid0.hu>2016-06-23 18:59:17 +0200
commitb5245ba456f2083f43ec3fa7e4cb33124b7a1885 (patch)
treedd4fd673d79d5708137f4999381acd26ac9d6b18 /target/linux/ipq806x/base-files/etc
parentb853573993d1984d314e47d0f82660e62d8c97f8 (diff)
downloadmaster-187ad058-b5245ba456f2083f43ec3fa7e4cb33124b7a1885.tar.gz
master-187ad058-b5245ba456f2083f43ec3fa7e4cb33124b7a1885.tar.bz2
master-187ad058-b5245ba456f2083f43ec3fa7e4cb33124b7a1885.zip
ipq806x: add initial support for Netgear R7800
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_leds15
-rwxr-xr-xtarget/linux/ipq806x/base-files/etc/board.d/02_network3
-rw-r--r--target/linux/ipq806x/base-files/etc/hotplug.d/firmware/11-ath10k-caldata6
3 files changed, 16 insertions, 8 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 568b4827b7..17f1a28abc 100755
--- a/target/linux/ipq806x/base-files/etc/board.d/01_leds
+++ b/target/linux/ipq806x/base-files/etc/board.d/01_leds
@@ -19,13 +19,14 @@ c2600)
ucidef_set_led_default "general" "general" "ledgnr:blue" "1"
;;
d7800 |\
-r7500)
- ucidef_set_led_usbdev "usb1" "USB 1" "r7500:white:usb1" "1-1"
- ucidef_set_led_usbdev "usb2" "USB 2" "r7500:white:usb3" "3-1"
- ucidef_set_led_netdev "wan" "WAN" "r7500:white:wan" "eth0"
- ucidef_set_led_ide "esata" "eSATA" "r7500:amber:esata"
- ucidef_set_led_default "wps" "WPS" "r7500:white:wps" "0"
- ucidef_set_led_default "rfkill" "rfkill" "r7500:white:rfkill" "0"
+r7500 |\
+r7800)
+ 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"
+ ucidef_set_led_ide "esata" "eSATA" "${board}:amber:esata"
+ ucidef_set_led_default "wps" "WPS" "${board}:white:wps" "0"
+ ucidef_set_led_default "rfkill" "rfkill" "${board}:white:rfkill" "0"
;;
ea8500)
ucidef_set_led_wlan "wifi" "WIFI" "ea8500:green:wifi" "phy0radio"
diff --git a/target/linux/ipq806x/base-files/etc/board.d/02_network b/target/linux/ipq806x/base-files/etc/board.d/02_network
index 67969669f1..16cc13cfc0 100755
--- a/target/linux/ipq806x/base-files/etc/board.d/02_network
+++ b/target/linux/ipq806x/base-files/etc/board.d/02_network
@@ -16,7 +16,8 @@ case "$board" in
ap148 |\
c2600 |\
d7800 |\
-r7500)
+r7500 |\
+r7800)
ucidef_add_switch "switch0" \
"1:lan" "2:lan" "3:lan" "4:lan" "6@eth1" "5:wan" "0@eth0"
;;
diff --git a/target/linux/ipq806x/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ipq806x/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
index 24da5500b5..a23dd80a00 100644
--- a/target/linux/ipq806x/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
+++ b/target/linux/ipq806x/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
@@ -56,6 +56,9 @@ case "$FIRMWARE" in
hw_mac_addr=$(mtd_get_mac_ascii devinfo hw_mac_addr)
ath10kcal_extract "art" 4096 12064
;;
+ r7800)
+ ath10kcal_extract "art" 4096 12064
+ ;;
esac
;;
"ath10k/cal-pci-0001:01:00.0.bin")
@@ -68,6 +71,9 @@ case "$FIRMWARE" in
hw_mac_addr=$(mtd_get_mac_ascii devinfo hw_mac_addr)
ath10kcal_extract "art" 20480 12064
;;
+ r7800)
+ ath10kcal_extract "art" 20480 12064
+ ;;
esac
;;
*)