mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-02-08 23:58:10 +00:00
ramips: add support for 7Links WLR-1240
The WLR-1240 (ZX-5434) is an AC1200 Wave 2 outdoor repeater with omnidirectional antennas for wall or pole mounting. The device is manufactured by Todaair and meant to be used with a tuya-based app, there is no webinterface for configuration. Specifications: - MT7628AN, 8 MiB SPI NOR flash, 64 MiB RAM, 2x2 802.11n - MT7613 2x2 802.11ac Wave 2 - 802.3af PoE or 12V 1A 5.5x2.1 power supply (included) - top RGB LED ring TFTP installation: - rename sysupgrade to `firmware_auto.bin` - provide at 192.168.1.10 during boot HTTP installation: - keep reset button pressed for 5 seconds during power on (light blue LED flashes slowly, then quickly to confirm, then remains steady on) - recovery web interface is at 192.168.1.1, upload sysupgrade Opening the device - use suction cup to remove top cap within LED ring - two screws are located in holes underneath silicone sealant - two further screws are located at the bottom initramfs boot - open device, connect serial console (pins are labelled) - keep pressing `4` during second tftp attempt to enter uboot shell - run `tftpboot 82000000` to avoid memory overlap, then `bootm` Signed-off-by: Sebastian Schaper <openwrt@sebastianschaper.net>
This commit is contained in:
parent
3d6cbe287a
commit
aa4d63c2da
39
target/linux/ramips/dts/mt7628an_7links_wlr-1240.dts
Normal file
39
target/linux/ramips/dts/mt7628an_7links_wlr-1240.dts
Normal file
@ -0,0 +1,39 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
||||
|
||||
#include "mt7628an_7links_wlr-12xx.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "7links,wlr-1240", "mediatek,mt7628an-soc";
|
||||
model = "7Links WLR-1240";
|
||||
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
led_status_red: status_red {
|
||||
function = LED_FUNCTION_STATUS;
|
||||
color = <LED_COLOR_ID_RED>;
|
||||
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
led_status_blue: status_blue {
|
||||
function = LED_FUNCTION_STATUS;
|
||||
color = <LED_COLOR_ID_BLUE>;
|
||||
gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
led_status_green: status_green {
|
||||
function = LED_FUNCTION_STATUS;
|
||||
color = <LED_COLOR_ID_GREEN>;
|
||||
gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
|
||||
default-state = "on";
|
||||
};
|
||||
};
|
||||
|
||||
aliases {
|
||||
led-boot = &led_status_green;
|
||||
led-failsafe = &led_status_red;
|
||||
led-running = &led_status_blue;
|
||||
led-upgrade = &led_status_red;
|
||||
label-mac-device = ðernet;
|
||||
};
|
||||
};
|
@ -43,6 +43,12 @@ define Device/7links_wlr-1230
|
||||
endef
|
||||
TARGET_DEVICES += 7links_wlr-1230
|
||||
|
||||
define Device/7links_wlr-1240
|
||||
$(Device/7links_wlr-12xx)
|
||||
DEVICE_MODEL := WLR-1240
|
||||
endef
|
||||
TARGET_DEVICES += 7links_wlr-1240
|
||||
|
||||
define Device/alfa-network_awusfree1
|
||||
IMAGE_SIZE := 7872k
|
||||
DEVICE_VENDOR := ALFA Network
|
||||
|
@ -9,6 +9,7 @@ ramips_setup_interfaces()
|
||||
|
||||
case $board in
|
||||
7links,wlr-1230|\
|
||||
7links,wlr-1240|\
|
||||
alfa-network,awusfree1|\
|
||||
d-team,pbr-d1|\
|
||||
dlink,dap-1325-a1|\
|
||||
|
Loading…
Reference in New Issue
Block a user