ath79: add support for TP-Link TL-WA1201 v2
[openwrt/openwrt.git] / target / linux / ath79 / generic / base-files / etc / board.d / 03_gpio_switches
old mode 100755 (executable)
new mode 100644 (file)
index cc1b8ff..83f428c
@@ -1,4 +1,3 @@
-#!/bin/sh
 #
 # Copyright (C) 2018 OpenWrt.org
 #
@@ -25,12 +24,16 @@ adtran,bsap1840)
        ucidef_add_gpio_switch "wifi0_ext_c" "2.4GHz External Antenna C" "509" "1"
        ucidef_add_gpio_switch "wifi0_int_c" "2.4GHz Internal Antenna C" "510"
        ;;
-comfast,cf-e5)
+comfast,cf-e5|\
+telco,t1)
        ucidef_add_gpio_switch "lte_power" "LTE Power" "14" "1"
        ucidef_add_gpio_switch "lte_wakeup" "LTE Wakeup" "11" "1"
        ucidef_add_gpio_switch "lte_poweroff" "LTE Poweroff" "1" "1"
        ucidef_add_gpio_switch "lte_reset" "LTE Reset" "12" "1"
        ;;
+devolo,dlan-pro-1200plus-ac)
+       ucidef_add_gpio_switch "plc_enable" "PLC enable" "13" "0"
+       ;;
 devolo,magic-2-wifi)
        ucidef_add_gpio_switch "plc_pairing" "PLC pairing" "11" "1"
        ucidef_add_gpio_switch "plc_enable" "PLC enable" "13" "1"
@@ -72,6 +75,11 @@ tplink,wbs510-v1|\
 tplink,wbs510-v2)
        ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "20"
        ;;
+ubnt,aircube-ac|\
+ubnt,aircube-isp)
+       ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "11"
+       ;;
+ubnt,nanobeam-ac-gen2|\
 ubnt,nanostation-ac)
        ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "3"
        ;;
@@ -81,9 +89,6 @@ ubnt,nanostation-m)
 ubnt,nanostation-m-xw)
        ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "2"
        ;;
-ubnt,acb-isp)
-       ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "11"
-       ;;
 zbtlink,zbt-wd323)
        ucidef_add_gpio_switch "io0" "IO#0" "0"
        ucidef_add_gpio_switch "io1" "IO#1" "1"