0
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-11-25 06:26:15 +00:00
openwrt/target/linux/ramips/dts/mt7628an_7links_wlr-1230.dts
Sebastian Schaper 3d6cbe287a ramips: add support for 7Links WLR-1230
The WLR-1230 (ZX-5207) is an AC1200 Wave 2 outdoor repeater
with sector 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)
- 3 LEDs WLAN, LAN, RES; PWR LED is not software-controllable

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 (LEDs
  flash slowly, then quickly to confirm, then remain steady on)
- recovery web interface is at 192.168.1.1, upload sysupgrade

Opening the device
- two screws are located in the bottom left and right corners
  underneath the label, inner tray slides out easily

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>
2024-06-11 00:09:06 +02:00

41 lines
813 B
Plaintext

// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
#include "mt7628an_7links_wlr-12xx.dtsi"
/ {
compatible = "7links,wlr-1230", "mediatek,mt7628an-soc";
model = "7Links WLR-1230";
leds {
compatible = "gpio-leds";
led_res: res {
function = LED_FUNCTION_STATUS;
color = <LED_COLOR_ID_ORANGE>;
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
default-state = "on";
};
wlan {
function = LED_FUNCTION_WLAN;
color = <LED_COLOR_ID_ORANGE>;
gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
lan {
function = LED_FUNCTION_LAN;
color = <LED_COLOR_ID_ORANGE>;
gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
};
};
aliases {
led-boot = &led_res;
led-failsafe = &led_res;
led-running = &led_res;
led-upgrade = &led_res;
label-mac-device = &ethernet;
};
};