ipq40xx: add support for Crisis Innovation Lab MeshPoint.One
[openwrt/openwrt.git] / target / linux / ipq40xx / base-files / etc / board.d / 03_gpio_switches
1 #!/bin/sh
2
3 . /lib/functions/uci-defaults.sh
4
5 board_config_update
6
7 board=$(board_name)
8
9 case "$board" in
10 cilab,meshpoint-one)
11 ucidef_add_gpio_switch "poe_passtrough" "POE passtrough enable" "413" "1"
12 ;;
13 compex,wpj428)
14 ucidef_add_gpio_switch "sim_card_select" "SIM card select" "3" "0"
15 ;;
16 esac
17
18 board_config_flush
19
20 exit 0