ath79: add support for Teltonika RUT955
[openwrt/staging/mkresin.git] / target / linux / ath79 / generic / base-files / etc / board.d / 03_gpio_switches
index 967e2c76801e946ae7b4073f3ee27c1bbdfd751e..b5b46f16bfaa44410712907dee7e1549ed0e268d 100755 (executable)
@@ -38,6 +38,14 @@ dlink,dir-835-a1)
 librerouter,librerouter-v1)
        ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "1" "0"
        ;;
+teltonika,rut955)
+       ucidef_add_gpio_switch "sim_sel" "SIM select" "503" "1"
+       ucidef_add_gpio_switch "DOUT1" "DOUT1 (OC)" "504" "0"
+       ucidef_add_gpio_switch "DOUT2" "DOUT2 (Relay)" "505" "0"
+       ucidef_add_gpio_switch "modem_vbus" "Modem enable" "506" "1"
+       ucidef_add_gpio_switch "modem_rst" "Modem reset" "507" "0"
+       ucidef_add_gpio_switch "DOUT3" "DOUT3" "508" "0"
+       ;;
 tplink,archer-c25-v1)
        ucidef_add_gpio_switch "led_control" "LED control" "21" "0"
        ucidef_add_gpio_switch "led_reset" "LED reset" "19" "1"