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 --- .../linux/ath79/dts/ar9344_mikrotik_routerboard-sxt-5nd-r2.dts | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 target/linux/ath79/dts/ar9344_mikrotik_routerboard-sxt-5nd-r2.dts (limited to 'target/linux/ath79/dts/ar9344_mikrotik_routerboard-sxt-5nd-r2.dts') diff --git a/target/linux/ath79/dts/ar9344_mikrotik_routerboard-sxt-5nd-r2.dts b/target/linux/ath79/dts/ar9344_mikrotik_routerboard-sxt-5nd-r2.dts new file mode 100644 index 0000000000..82b78c85bb --- /dev/null +++ b/target/linux/ath79/dts/ar9344_mikrotik_routerboard-sxt-5nd-r2.dts @@ -0,0 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/dts-v1/; + +#include "ar9344_mikrotik_routerboard-sxt-5n.dtsi" + +/ { + compatible = "mikrotik,routerboard-sxt-5nd-r2", "qca,ar9344"; + model = "MikroTik RouterBOARD SXT 5nD r2 (SXT Lite5)"; +}; -- cgit v1.2.3