treewide: remove execute bit and shebang from board.d files
[openwrt/openwrt.git] / target / linux / ramips / mt7620 / base-files / etc / board.d / 03_gpio_switches
1
2 . /lib/functions/uci-defaults.sh
3
4 board_config_update
5
6 board=$(board_name)
7
8 case "$board" in
9 dlink,dir-510l)
10 ucidef_add_gpio_switch "usb_enable1" "USB 1A enable" "12" "0"
11 ucidef_add_gpio_switch "usb_enable05" "USB 0.5A enable" "13" "1"
12 ;;
13 dlink,dwr-960)
14 ucidef_add_gpio_switch "power_mpcie" "mPCIe power" "0" "1"
15 ;;
16 head-weblink,hdrm200)
17 ucidef_add_gpio_switch "sim_switch" "SIM slot switch" "0"
18 ucidef_add_gpio_switch "io1" "I/O 1" "1"
19 ucidef_add_gpio_switch "io2" "I/O 2" "2"
20 ucidef_add_gpio_switch "io3" "I/O 3" "11"
21 ucidef_add_gpio_switch "io4" "I/O 4" "14"
22 ucidef_add_gpio_switch "power_mpcie" "mPCIe power" "21" "1"
23 ;;
24 lb-link,bl-w1200)
25 ucidef_add_gpio_switch "eth_leds_enable" "ETH LEDs enable" "10" "1"
26 ;;
27 zbtlink,zbt-we826-e)
28 ucidef_add_gpio_switch "sim_switch" "SIM slot switch" "13"
29 ucidef_add_gpio_switch "power_mpcie" "mPCIe power" "14" "1"
30 ;;
31 esac
32
33 board_config_flush
34
35 exit 0