aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/qca9556_avm_fritz450e.dts
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2020-04-14 03:58:37 +0200
committerDavid Bauer <mail@david-bauer.net>2020-04-19 16:45:40 +0200
commit8d9c1087e4d07d625a9fef61d5dce71d850732ae (patch)
tree78f125291c0085a570dd288decce08bd2927a7f7 /target/linux/ath79/dts/qca9556_avm_fritz450e.dts
parent45e2b7763f2a846bf1a40f5fa79b4cfe4678557a (diff)
downloadupstream-8d9c1087e4d07d625a9fef61d5dce71d850732ae.tar.gz
upstream-8d9c1087e4d07d625a9fef61d5dce71d850732ae.tar.bz2
upstream-8d9c1087e4d07d625a9fef61d5dce71d850732ae.zip
ath79: add support for AVM FRITZ!WLAN Repeater 450E
SOC: Qualcomm QCA9556 (Scorpion) 560MHz MIPS74Kc RAM: 64MB Zentel A3R12E40CBF DDR2 FLASH: 16MiB Winbond W25Q128 SPI NOR WLAN1: QCA9556 2.4 GHz 802.11b/g/n 3x3 INPUT: WPS button LED: Power, WiFi, LAN, RSSI indicator Serial: Header Next to Black metal shield Pinout is 3.3V - RX - TX - GND (Square Pad is 3.3V) The Serial setting is 115200-8-N-1. Installation via EVA: In the first seconds after Power is connected, the bootloader will listen for FTP connections on 192.168.178.1. Firmware can be uploaded like following: ftp> quote USER adam2 ftp> quote PASS adam2 ftp> binary ftp> debug ftp> passive ftp> quote MEDIA FLSH ftp> put openwrt-sysupgrade.bin mtd1 Note that this procedure might take up to two minutes. You need to powercycle the device afterwards to boot OpenWRT. Tested-by: Andreas Ziegler <dev@andreas-ziegler.de> Signed-off-by: David Bauer <mail@david-bauer.net>
Diffstat (limited to 'target/linux/ath79/dts/qca9556_avm_fritz450e.dts')
-rw-r--r--target/linux/ath79/dts/qca9556_avm_fritz450e.dts76
1 files changed, 76 insertions, 0 deletions
diff --git a/target/linux/ath79/dts/qca9556_avm_fritz450e.dts b/target/linux/ath79/dts/qca9556_avm_fritz450e.dts
new file mode 100644
index 0000000000..60685bd3f1
--- /dev/null
+++ b/target/linux/ath79/dts/qca9556_avm_fritz450e.dts
@@ -0,0 +1,76 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+
+#include <dt-bindings/gpio/gpio.h>
+
+#include "qca9556_avm_fritz-repeater.dtsi"
+
+/ {
+ compatible = "avm,fritz450e", "qca,qca9557";
+ model = "AVM FRITZ!WLAN Repeater 450E";
+
+ aliases {
+ led-boot = &led_power;
+ led-failsafe = &led_power;
+ led-running = &led_power;
+ led-upgrade = &led_power;
+ };
+
+ leds {
+ compatible = "gpio-leds";
+
+ led_power: power {
+ label = "fritz450e:green:power";
+ gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
+ };
+
+ wlan {
+ label = "fritz450e:green:wlan";
+ gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
+ linux,default-trigger = "phy0tpt";
+ };
+
+ lan {
+ label = "fritz450e:green:lan";
+ gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
+ };
+
+ rssi2 {
+ label = "fritz450e:green:rssi2";
+ gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
+ };
+
+ rssi3 {
+ label = "fritz450e:green:rssi3";
+ gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
+ };
+
+ rssi4 {
+ label = "fritz450e:green:rssi4";
+ gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
+ };
+ };
+};
+
+&gpio {
+ /*
+ * Wondered why rssi0 and rssi1 are missing?
+ *
+ * AVM seems to have run low on usable GPIO pins, so
+ * instead of adding a shift register like they did for
+ * the 1750E they figured out "Why not use the LEDs on
+ * the AR8033?".
+ *
+ * EVA configures the PHY in a way it does not display
+ * the link-state using it's LEDs. When we reset the PHY
+ * using the reset-mechanism of the PHY subsystem, this
+ * setting is cleared.
+ *
+ * We avoid this by keeping the reset line high.
+ */
+ phy-reset {
+ gpio-hog;
+ gpios = <11 GPIO_ACTIVE_HIGH>;
+ output-high;
+ line-name = "phy-reset";
+ };
+};