1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-03-09 15:40:20 +00:00

Add RUTX14 and RUTX50 dts

This commit is contained in:
Ycarus (Yannick Chabanois) 2023-02-01 20:32:36 +01:00
parent a233b18eb2
commit c3f3d71345
3 changed files with 217 additions and 0 deletions

View file

@ -71,6 +71,13 @@ setup_json() {
ucidef_add_static_modem_info "$model" "2-1" "2" "gps_out"
ucidef_set_hwinfo usb gps dual_sim mobile wifi dual_band_ssid bluetooth ethernet ios
;;
RUTX50*)
ucidef_set_interfaces_lan_wan "eth0" "eth1"
ucidef_add_switch "switch0" \
"0u@eth0" "1:lan" "2:lan" "3:lan" "4:lan" "0u@eth1" "5:wan"
ucidef_add_static_modem_info "$model" "2-1" "2" "gps_out"
ucidef_set_hwinfo dual_sim usb gps mobile wifi dual_band_ssid ethernet ios at_sim
;;
TRB2*)
ucidef_set_led_switch "lan" "LAN" "eth_led" "switch0" "0x04"
ucidef_set_interface_lan "eth0"