ramips: mt7621: TP-Link EAP235/615-Wall: add poe passthrough gpio definitions
[openwrt/staging/noltari.git] / target / linux / ramips / mt7621 / base-files / etc / board.d / 03_gpio_switches
old mode 100755 (executable)
new mode 100644 (file)
index f809df7..ec2bf69
@@ -1,4 +1,3 @@
-#!/bin/sh
 
 . /lib/functions/uci-defaults.sh
 
@@ -11,7 +10,11 @@ mikrotik,routerboard-760igs)
        ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "497"
        ;;
 telco-electronics,x1)
-       ucidef_add_gpio_switch "modem_reset" "Modem Reset" "16"
+       ucidef_add_gpio_switch "modem_reset" "Modem Reset" "496"
+       ;;
+tplink,eap235-wall-v1|\
+tplink,eap615-wall-v1)
+       ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "poe-passthrough"
        ;;
 ubnt,edgerouter-x)
        ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "480"
@@ -23,6 +26,13 @@ ubnt,edgerouter-x-sfp)
        ucidef_add_gpio_switch "poe_power_port3" "PoE Power Port3" "403"
        ucidef_add_gpio_switch "poe_power_port4" "PoE Power Port4" "404"
        ;;
+zyxel,lte3301-plus)
+       ucidef_add_gpio_switch "usb_power" "Power USB Port" "usb_power" "1"
+       ucidef_add_gpio_switch "lte_power" "Power LTE modem" "lte_power" "1"
+       ;;
+zyxel,nr7101)
+       ucidef_add_gpio_switch "lte_reset" "Reset LTE/5G modem" "483"
+       ;;
 zyxel,wap6805)
        ucidef_add_gpio_switch "qtn_power" "Quantenna Module Power" "496" "1"
        ;;