aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/mt76x8/base-files
diff options
context:
space:
mode:
authorKamil Jońca <kjonca@onet.pl>2023-11-05 14:49:01 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2023-12-06 22:59:22 +0100
commitffa40fcc7fe1aee041775e097bccecb9be83cd21 (patch)
tree5cac73760dfc2aa60cf62bf19eba4d567d6e478d /target/linux/ramips/mt76x8/base-files
parent8c2df654ad41ad7933984e823d5ab2f0f7c80130 (diff)
downloadupstream-ffa40fcc7fe1aee041775e097bccecb9be83cd21.tar.gz
upstream-ffa40fcc7fe1aee041775e097bccecb9be83cd21.tar.bz2
upstream-ffa40fcc7fe1aee041775e097bccecb9be83cd21.zip
ramips: add TP-LINK TL-WR902AC v4
Seems to be very similar to: https://openwrt.org/toh/tp-link/tl-wr902ac_v3 1 x usb 1 x eth Powered by mini usb port. Installation: Can use TFTP method to install: 1. establish TFTP server at 192.168.0.66 2. provide tp_recover.bin file to the TFTP server 3. turn on router with reset button pressed 4. wait for led blinking, then release reset Specification based on dmesg from already flashed device: SoC Type: MediaTek MT7628AN ver:1 eco:2 CPU0 revision is: 00019655 (MIPS 24KEc) Memory: 56028K/65536K available CPU Clock: 580MHz WiFi: MT7613BE MAC addresses are all the same, except wifi5g which last part is decrement by one, ie.: eth0 40:ed:00:cf:b9:9b br-lan 40:ed:00:cf:b9:9b phy0-ap0 40:ed:00:cf:b9:9b phy1-ap0 40:ed:00:cf:b9:9a Signed-off-by: Kamil Jońca <kjonca@onet.pl>
Diffstat (limited to 'target/linux/ramips/mt76x8/base-files')
-rw-r--r--target/linux/ramips/mt76x8/base-files/etc/board.d/01_leds3
-rw-r--r--target/linux/ramips/mt76x8/base-files/etc/board.d/02_network1
2 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ramips/mt76x8/base-files/etc/board.d/01_leds b/target/linux/ramips/mt76x8/base-files/etc/board.d/01_leds
index 0b109feb6c5..c4301737b28 100644
--- a/target/linux/ramips/mt76x8/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/mt76x8/base-files/etc/board.d/01_leds
@@ -124,6 +124,9 @@ tplink,tl-wr902ac-v3)
ucidef_set_led_switch "lan" "lan" "green:lan" "switch0" "0x10"
ucidef_set_led_switch "wan" "wan" "green:wan" "switch0" "0x10"
;;
+tplink,tl-wr902ac-v4)
+ ucidef_set_led_switch "wan" "wan" "green:wan" "switch0" "0x10"
+ ;;
unielec,u7628-01-16m)
ucidef_set_led_switch "lan1" "lan1" "green:lan1" "switch0" "0x2"
ucidef_set_led_switch "lan2" "lan2" "green:lan2" "switch0" "0x4"
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 2ec41fe2549..fe3ac9193ff 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
@@ -29,6 +29,7 @@ ramips_setup_interfaces()
tplink,re305-v3|\
tplink,tl-wr802n-v4|\
tplink,tl-wa801nd-v5|\
+ tplink,tl-wr902ac-v4|\
widora,neo-16m|\
widora,neo-32m)
ucidef_add_switch "switch0"