diff options
author | Lucian Cristian <lucian.cristian@gmail.com> | 2018-06-26 10:30:46 +0300 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2018-06-28 18:39:57 +0200 |
commit | 7dd3d7e1d3845160c2ef51e6148b452e666bd6f5 (patch) | |
tree | 2f52500febdd143f0d79ebb31ad365e3cb6d4ff6 /target/linux/ath79/base-files/etc/board.d | |
parent | 56fddc2577baf194d1e9a7b37d454d12ff9fb469 (diff) | |
download | upstream-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/etc/board.d')
-rwxr-xr-x | target/linux/ath79/base-files/etc/board.d/02_network | 4 |
1 files changed, 4 insertions, 0 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" ;; |