ath79: fix default config for devices with eth0/eth1 swapped
[openwrt/openwrt.git] / target / linux / ath79 / base-files / etc / board.d / 03_gpio_switches
index 4f08fab5250378f1b0bd124b5e50e1ce7569821a..6a51a79790bbd5d02b262fdde59f7434d29467f5 100755 (executable)
@@ -10,13 +10,25 @@ board_config_update
 board=$(board_name)
 
 case "$board" in
+comfast,cf-e5)
+       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"
+       ;;
 dlink,dir-825-c1|\
 dlink,dir-835-a1)
        ucidef_add_gpio_switch "wan_led_auto" "WAN LED Auto" "20" "0"
        ;;
+librerouter,librerouter-v1)
+       ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "1" "0"
+       ;;
 ubnt,nanostation-ac)
        ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "3"
        ;;
+ubnt,acb-isp)
+       ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "11"
+       ;;
 esac
 
 board_config_flush