aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/base-files
diff options
context:
space:
mode:
authorLucian Cristian <lucian.cristian@gmail.com>2018-06-26 10:30:46 +0300
committerMathias Kresin <dev@kresin.me>2018-06-28 18:39:57 +0200
commit7dd3d7e1d3845160c2ef51e6148b452e666bd6f5 (patch)
tree2f52500febdd143f0d79ebb31ad365e3cb6d4ff6 /target/linux/ath79/base-files
parent56fddc2577baf194d1e9a7b37d454d12ff9fb469 (diff)
downloadupstream-7dd3d7e1d3845160c2ef51e6148b452e666bd6f5.tar.gz
upstream-7dd3d7e1d3845160c2ef51e6148b452e666bd6f5.tar.bz2
upstream-7dd3d7e1d3845160c2ef51e6148b452e666bd6f5.zip
ath79: add support for Ubiquiti UniFi AC-Pro
rework the dts to a common unifi-ac dtsi pro network is connected via phy0 and has usb ports lite network is connected via phy4 without usb ports Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
Diffstat (limited to 'target/linux/ath79/base-files')
-rwxr-xr-xtarget/linux/ath79/base-files/etc/board.d/02_network4
-rw-r--r--target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata3
2 files changed, 6 insertions, 1 deletions
diff --git a/target/linux/ath79/base-files/etc/board.d/02_network b/target/linux/ath79/base-files/etc/board.d/02_network
index e880abe5ac..3282d8ad90 100755
--- a/target/linux/ath79/base-files/etc/board.d/02_network
+++ b/target/linux/ath79/base-files/etc/board.d/02_network
@@ -98,6 +98,10 @@ ath79_setup_interfaces()
ucidef_add_switch "switch0" \
"0@eth0" "3:lan:1" "5:lan:2" "4:wan"
;;
+ "ubnt,unifiac-pro")
+ ucidef_add_switch "switch0" \
+ "0@eth0" "2:lan" "3:wan"
+ ;;
*)
ucidef_set_interfaces_lan_wan "eth0" "eth1"
;;
diff --git a/target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
index c3cc4d9986..dff33b70ce 100644
--- a/target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
+++ b/target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
@@ -95,7 +95,8 @@ case "$FIRMWARE" in
ath10kcal_extract "art" 20480 2116
ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth1/address) -2)
;;
- "ubnt,unifiac-lite")
+ "ubnt,unifiac-lite"|\
+ "ubnt,unifiac-pro")
ath10kcal_extract "EEPROM" 20480 2116
;;
esac