From cb3cd526948af3f69da1af18e035177a0a8f58e3 Mon Sep 17 00:00:00 2001 From: David Bauer Date: Tue, 11 Jun 2019 17:27:51 +0200 Subject: ath79: add support for devolo WiFi pro 1750x Hardware -------- CPU: Qualcomm Atheros QCA9558 RAM: 128M DDR2 FLASH: 16MiB ETH: 1x Atheros AR8035 (PoE in) WiFi2: QCA9558 3T3R WiFi5: QCA9880 3T3R BTN: 1x Reset LED: 1x LED Power (non-controllable) 1x LED Status (internal) 1x LED LAN (controlled by PHY) 1x LED WLAN BEEP: 1x GPIO attached piezo beeper UART: 3.3V GND TX RX (115200-N-8) (3.3V is square pad) Header is located next to external-LED header. Installation ------------ Make sure you set a password for the root user as prompted on first setup! 1. Upload OpenWRT sysupgrade image via SSH to the device. Use /tmp as the destination folder on the device. User is root, password the one set in the web interface. 2. Install OpenWRT with > sysupgrade -n -F /tmp/ Signed-off-by: David Bauer --- target/linux/ath79/dts/qca9558_devolo_dvl1750x.dts | 53 ++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 target/linux/ath79/dts/qca9558_devolo_dvl1750x.dts (limited to 'target/linux/ath79/dts') diff --git a/target/linux/ath79/dts/qca9558_devolo_dvl1750x.dts b/target/linux/ath79/dts/qca9558_devolo_dvl1750x.dts new file mode 100644 index 0000000000..d0d678d0bf --- /dev/null +++ b/target/linux/ath79/dts/qca9558_devolo_dvl1750x.dts @@ -0,0 +1,53 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/dts-v1/; + +#include +#include + +#include "qca9558_devolo_dvl1xxx.dtsi" + +/ { + compatible = "devolo,dvl1750x", "qca,qca9558"; + model = "devolo WiFi pro 1750x"; + + aliases { + led-boot = &status_red; + led-failsafe = &status_red; + led-running = &status_red; + led-upgrade = &status_red; + }; + + leds { + compatible = "gpio-leds"; + + status_red: status_red { + /* This LED is not visible on the external casing. */ + label = "dvl1750x:red:status"; + gpios = <&gpio 14 GPIO_ACTIVE_LOW>; + }; + + wlan { + label = "dvl1750x:green:wlan"; + gpios = <&gpio 13 GPIO_ACTIVE_LOW>; + linux,default-trigger = "phy0tpt"; + }; + }; + + beeper { + compatible = "gpio-beeper"; + gpios = <&gpio 17 GPIO_ACTIVE_HIGH>; + }; +}; + +ð0 { + pll-data = <0xbe000000 0x80000101 0x80001313>; + phy-mode = "rgmii-id"; +}; + +&gmac_config { + rxdv-delay = <3>; + rxd-delay = <3>; + txen-delay = <3>; + txd-delay = <3>; + rgmii-enabled = <1>; +}; -- cgit v1.2.3