From 151e43df7a9bc364080bd13402d81c17d4c8ba7e Mon Sep 17 00:00:00 2001 From: Roger Pueyo Centelles Date: Thu, 11 Jun 2020 14:22:54 +0200 Subject: ath79: add support for MikroTik SXT 5nD r2 (SXT Lite5) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The MikroTik SXT Lite5 (product code RBSXT5nDr2, also SXT 5nD r2) is an outdoor 5GHz CPE with a 16 dBi integrated antenna built around the Atheros AR9344 SoC. It is based on the "sxt5n" board platform. Specifications: - SoC: Atheros AR9344 - RAM: 64 MB - Storage: 128 MB NAND - Wireless: Atheros AR9340 (SoC) 802.11a/n 2x2:2 - Ethernet: Atheros AR8229 switch (SoC), 1x 10/100 port, 8-32 Vdc PoE in - 6 user-controllable LEDs: · 1x power (blue) · 1x wlan (green) · 4x rssi (green) - 1 GPIO-controlled buzzer See https://mikrotik.com/product/RBSXT5nDr2 for more details. Notes: The device was already supported in the ar71xx target. There, the Ethernet port was handled by GMAC1. Here in ath79 it is handled by GMAC0, which allows to get link information (loss, speed, duplex) on the eth0 interface. Flashing: TFTP boot initramfs image and then perform sysupgrade. Follow common MikroTik procedure as in https://openwrt.org/toh/mikrotik/common. Acknowledgments: Michael Pratt (@mpratt14) for helping on the network settings. Signed-off-by: Roger Pueyo Centelles [rebase, use mikrotik LED label prefix, make names consistent, add reg for bootloader2, use led_user for boot indication etc., minor cosmetic changes] Signed-off-by: Adrian Schmutzler --- target/linux/ath79/image/mikrotik.mk | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'target/linux/ath79/image/mikrotik.mk') diff --git a/target/linux/ath79/image/mikrotik.mk b/target/linux/ath79/image/mikrotik.mk index 6066d8a147..3752c891a7 100644 --- a/target/linux/ath79/image/mikrotik.mk +++ b/target/linux/ath79/image/mikrotik.mk @@ -35,6 +35,15 @@ define Device/mikrotik_routerboard-lhg-2nd endef TARGET_DEVICES += mikrotik_routerboard-lhg-2nd +define Device/mikrotik_routerboard-sxt-5nd-r2 + $(Device/mikrotik_nand) + SOC := ar9344 + DEVICE_MODEL := RouterBOARD SXT 5nD r2 (SXT Lite5) + DEVICE_PACKAGES += rssileds kmod-gpio-beeper + SUPPORTED_DEVICES += rb-sxt5n +endef +TARGET_DEVICES += mikrotik_routerboard-sxt-5nd-r2 + define Device/mikrotik_routerboard-wap-g-5hact2hnd $(Device/mikrotik_nor) SOC := qca9556 -- cgit v1.2.3