From 7dd3d7e1d3845160c2ef51e6148b452e666bd6f5 Mon Sep 17 00:00:00 2001 From: Lucian Cristian Date: Tue, 26 Jun 2018 10:30:46 +0300 Subject: 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 --- target/linux/ath79/base-files/etc/board.d/02_network | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'target/linux/ath79/base-files/etc/board.d') 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" ;; -- cgit v1.2.3