aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/mt76x8
diff options
context:
space:
mode:
authorAndrey Butirsky <butirsky@gmail.com>2022-09-08 01:19:35 +0300
committerHauke Mehrtens <hauke@hauke-m.de>2022-09-11 01:30:11 +0200
commit0a79c77a4e9d33d352974874a8860c7412e49bd5 (patch)
tree1b2e96fa21742b2d641284f06b18d78aa3d04a7a /target/linux/ramips/mt76x8
parent837fd23c80b22c566b40181a28630ac29af8f96e (diff)
downloadupstream-0a79c77a4e9d33d352974874a8860c7412e49bd5.tar.gz
upstream-0a79c77a4e9d33d352974874a8860c7412e49bd5.tar.bz2
upstream-0a79c77a4e9d33d352974874a8860c7412e49bd5.zip
ramips: add support for Kroks Rt-Pot mXw DS RSIM router
Aka "Kroks KNdRt31R19". Ported from v19.07.8 of OpenWrt fork: see https://github.com/kroks-free/openwrt for support of other models. Device specs: - CPU: MediaTek MT7628AN - Flash: 16MB SPI NOR - RAM: 64MB - Bootloader: U-Boot - Ethernet: 1x 10/100 Mbps - 2.4 GHz: b/g/n SoC - mPCIe: 1x (usually equipped with an LTE modem by vendor) - Buttons: reset - LEDs: 1x Modem, 1x Injector, 1x Wi-Fi, 1x Status Flashing: - sysupgrade image via stock firmware WEB interface. - U-Boot launches a WEB server if Reset button is held during power up. Server IP: 192.168.1.1 SIM card switching: The device supports up to 4 SIM cards - 2 locally on board and 2 on remote SIM-injector. By default, 1-st local SIM is active. To switch to e.g. 1-st remote SIM: echo 0 > /sys/class/gpio/modem1power/value echo 0 > /sys/class/gpio/modem1sim1/value echo 1 > /sys/class/gpio/modem1rsim1/value echo 1 > /sys/class/gpio/modem1power/value MAC addresses as verified by OEM firmware: vendor OpenWrt source LAN eth0 factory 0x4 (label) 2g wlan0 label Signed-off-by: Kroks <dev@kroks.ru> [butirsky@gmail.com: port to master; drop dts-v1] Signed-off-by: Andrey Butirsky <butirsky@gmail.com>
Diffstat (limited to 'target/linux/ramips/mt76x8')
-rw-r--r--target/linux/ramips/mt76x8/base-files/etc/board.d/02_network1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network b/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network
index 1c3d43d821..5c63f1e1b6 100644
--- a/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network
@@ -131,6 +131,7 @@ ramips_setup_interfaces()
ucidef_add_switch "switch0" \
"0:wan" "1:lan" "2:lan" "3:lan" "4:lan" "6t@eth0"
;;
+ kroks,kndrt31r19|\
tplink,tl-mr3020-v3)
ucidef_add_switch "switch0" \
"0:lan" "6@eth0"