aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts
diff options
context:
space:
mode:
authorPiotr Dymacz <pepe2k@gmail.com>2022-02-17 23:22:25 +0100
committerPiotr Dymacz <pepe2k@gmail.com>2022-02-27 16:54:54 +0100
commit131671bc54dff89c33c10241b8fca8fa34a9b2bf (patch)
tree1ede76b4dfe411e27a4fb2e9b253248bb582eb52 /target/linux/ath79/dts
parent53ac6ee552baca52f3f18fc95b793c03e1bf9581 (diff)
downloadupstream-131671bc54dff89c33c10241b8fca8fa34a9b2bf.tar.gz
upstream-131671bc54dff89c33c10241b8fca8fa34a9b2bf.tar.bz2
upstream-131671bc54dff89c33c10241b8fca8fa34a9b2bf.zip
ath79: add support for ALFA Network Tube-2HQ
ALFA Network Tube-2HQ is a successor of the Tube-2H/P series (EOL) which was based on the Atheros AR9331. The new version uses Qualcomm QCA9531. Specifications: - Qualcomm/Atheros QCA9531 v2 - 650/400/200 MHz (CPU/DDR/AHB) - 64 or 128 MB of RAM (DDR2) - 16+ MB of flash (SPI NOR) - 1x 10/100 Mbps Ethernet with passive PoE input (24 V) (802.3at/af PoE support with optional module) - 1T1R 2.4 GHz Wi-Fi with external PA (SE2623L, up to 27 dBm) and LNA - 1x Type-N (male) antenna connector - 6x LED (5x driven by GPIO) - 1x button (reset) - external h/w watchdog (EM6324QYSP5B, enabled by default) - UART (4-pin, 2.00 mm pitch) header on PCB Flash instruction: You can use sysupgrade image directly in vendor firmware which is based on LEDE/OpenWrt. Alternatively, you can use web recovery mode in U-Boot: 1. Configure PC with static IP 192.168.1.2/24. 2. Connect PC with one of RJ45 ports, press the reset button, power up device, wait for first blink of all LEDs (indicates network setup), then keep button for 3 following blinks and release it. 3. Open 192.168.1.1 address in your browser and upload sysupgrade image. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
Diffstat (limited to 'target/linux/ath79/dts')
-rw-r--r--target/linux/ath79/dts/qca9531_alfa-network_tube-2hq.dts65
1 files changed, 65 insertions, 0 deletions
diff --git a/target/linux/ath79/dts/qca9531_alfa-network_tube-2hq.dts b/target/linux/ath79/dts/qca9531_alfa-network_tube-2hq.dts
new file mode 100644
index 0000000000..f81fe287df
--- /dev/null
+++ b/target/linux/ath79/dts/qca9531_alfa-network_tube-2hq.dts
@@ -0,0 +1,65 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+
+#include "qca9531_alfa-network_r36a.dtsi"
+
+/ {
+ model = "ALFA Network Tube-2HQ";
+ compatible = "alfa-network,tube-2hq", "qca,qca9531";
+
+ aliases {
+ led-boot = &led_signal4;
+ led-failsafe = &led_signal4;
+ led-upgrade = &led_signal4;
+ };
+
+ leds {
+ compatible = "gpio-leds";
+
+ pinctrl-names = "default";
+ pinctrl-0 = <&enable_gpio4 &enable_gpio16>;
+
+ lan {
+ label = "blue:lan";
+ gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
+ };
+
+ led_signal4: signal4 {
+ label = "green:signal4";
+ gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
+ };
+
+ signal1 {
+ label = "red:signal1";
+ gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
+ };
+
+ signal2 {
+ label = "orange:signal2";
+ gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
+ };
+
+ signal3 {
+ label = "green:signal3";
+ gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
+ };
+ };
+};
+
+&eth0 {
+ nvmem-cells = <&macaddr_art_1002>;
+ nvmem-cell-names = "mac-address";
+
+ mac-address-increment = <(-1)>;
+};
+
+&eth1 {
+ compatible = "syscon", "simple-mfd";
+};
+
+&usb0 {
+ status = "disabled";
+};
+
+&usb_phy {
+ status = "disabled";
+};