From a15604568862cb21c2888f405652d81514d1bb95 Mon Sep 17 00:00:00 2001 From: Ryan Mounce Date: Sat, 10 Apr 2021 12:26:49 +0930 Subject: ath79: add support for MikroTik RouterBOARD 962UiGS-5HacT2HnT (hAP ac) This patch adds support for the MikroTik RouterBOARD 962UiGS-5HacT2HnT (hAP ac) Specifications: - SoC: QCA9558 - RAM: 128 MB - Flash: 16 MB SPI - 2.4GHz WLAN: 3x3:3 802.11n on SoC - 5GHz WLAN: 3x3:3 802.11ac on QCA9880 connected via PCIe - Switch: 5x 1000/100/10 on QCA8337 connected via RGMII - SFP cage: connected via SGMII (tested with genuine & generic GLC-T) - USB: 1x type A, GPIO power switch - PoE: Passive input on Ether1, GPIO switched passthrough to Ether5 - Reset button - "SFP" LED connected to SoC - Ethernet LEDs connected to QCA8337 switch - Green WLAN LED connected to QCA9880 Not working: - Red WLAN LED Installation: TFTP boot initramfs image and then perform sysupgrade. Follow common MikroTik procedure as in https://openwrt.org/toh/mikrotik/common. Signed-off-by: Ryan Mounce (cherry picked from commit c2140e32ce32b9cc60f7d408e20bdf45dce6a634) --- target/linux/ath79/mikrotik/base-files/etc/board.d/02_network | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'target/linux/ath79/mikrotik/base-files/etc/board.d/02_network') diff --git a/target/linux/ath79/mikrotik/base-files/etc/board.d/02_network b/target/linux/ath79/mikrotik/base-files/etc/board.d/02_network index 797d1bba1f..999ce0dd99 100644 --- a/target/linux/ath79/mikrotik/base-files/etc/board.d/02_network +++ b/target/linux/ath79/mikrotik/base-files/etc/board.d/02_network @@ -24,6 +24,10 @@ ath79_setup_interfaces() mikrotik,routerboard-wapr-2nd) ucidef_set_interface_lan "eth0" ;; + mikrotik,routerboard-962uigs-5hact2hnt) + ucidef_add_switch "switch0" \ + "0@eth0" "2:lan" "3:lan" "4:lan" "5:lan" "1:wan" + ;; *) ucidef_set_interfaces_lan_wan "eth0" "eth1" ;; -- cgit v1.2.3