ipq40xx: add support for Compex WPJ428
[openwrt/staging/mkresin.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 compex,wpj428)
11 ucidef_add_gpio_switch "sim_card_select" "SIM card select" "3" "0"
12 ;;
13 esac
14
15 board_config_flush
16
17 exit 0