summaryrefslogtreecommitdiffstats
path: root/target/linux/kirkwood/base-files/etc/board.d/03_gpio_switches
blob: 046f8d4d207439eaaf882e5fe939f80656f56bd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

. /lib/functions/uci-defaults.sh

board_config_update

board=$(board_name)

case "$board" in
checkpoint,l-50)
	ucidef_add_gpio_switch "mpcie-rst" "mPCIE Card reset" "502" "1"
	ucidef_add_gpio_switch "exp-card-rst" "Express Card reset" "497" "1"
	;;
esac

board_config_flush

exit 0