kirkwood: add support for Check Point L-50
[openwrt/staging/wigyori.git] / target / linux / kirkwood / 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 checkpoint,l-50)
11 ucidef_add_gpio_switch "mpcie-rst" "mPCIE Card reset" "502" "1"
12 ucidef_add_gpio_switch "exp-card-rst" "Express Card reset" "497" "1"
13 ;;
14 esac
15
16 board_config_flush
17
18 exit 0