2 # Copyright (C) 2018 OpenWrt.org
5 . /lib/functions/uci-defaults.sh
14 ucidef_add_gpio_switch "wifi1_ext_a" "5GHz External Antenna A" "489" "1"
15 ucidef_add_gpio_switch "wifi1_int_a" "5GHz Internal Antenna A" "493"
16 ucidef_add_gpio_switch "wifi1_ext_b" "5GHz External Antenna B" "494" "1"
17 ucidef_add_gpio_switch "wifi1_int_b" "5GHz Internal Antenna B" "495"
18 ucidef_add_gpio_switch "wifi1_ext_c" "5GHz External Antenna C" "496" "1"
19 ucidef_add_gpio_switch "wifi1_int_c" "5GHz Internal Antenna C" "497"
20 ucidef_add_gpio_switch "wifi0_ext_a" "2.4GHz External Antenna A" "505" "1"
21 ucidef_add_gpio_switch "wifi0_int_a" "2.4GHz Internal Antenna A" "506"
22 ucidef_add_gpio_switch "wifi0_ext_b" "2.4GHz External Antenna B" "507" "1"
23 ucidef_add_gpio_switch "wifi0_int_b" "2.4GHz Internal Antenna B" "508"
24 ucidef_add_gpio_switch "wifi0_ext_c" "2.4GHz External Antenna C" "509" "1"
25 ucidef_add_gpio_switch "wifi0_int_c" "2.4GHz Internal Antenna C" "510"
28 ucidef_add_gpio_switch "plc_enable" "PLC enable" "14" "1"
32 ucidef_add_gpio_switch "lte_power" "LTE Power" "14" "1"
33 ucidef_add_gpio_switch "lte_wakeup" "LTE Wakeup" "11" "1"
34 ucidef_add_gpio_switch "lte_poweroff" "LTE Poweroff" "1" "1"
35 ucidef_add_gpio_switch "lte_reset" "LTE Reset" "12" "1"
37 devolo,dlan-pro-1200plus-ac)
38 ucidef_add_gpio_switch "plc_enable" "PLC enable" "13" "0"
41 ucidef_add_gpio_switch "plc_pairing" "PLC pairing" "11" "1"
42 ucidef_add_gpio_switch "plc_enable" "PLC enable" "13" "1"
46 ucidef_add_gpio_switch "wan_led_auto" "WAN LED Auto" "20" "0"
48 librerouter,librerouter-v1)
49 ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "1" "0"
52 ucidef_add_gpio_switch "sim_sel" "SIM select" "503" "1"
53 ucidef_add_gpio_switch "DOUT1" "DOUT1 (OC)" "504" "0"
54 ucidef_add_gpio_switch "DOUT2" "DOUT2 (Relay)" "505" "0"
55 ucidef_add_gpio_switch "modem_vbus" "Modem enable" "506" "1"
56 ucidef_add_gpio_switch "modem_rst" "Modem reset" "507" "0"
57 ucidef_add_gpio_switch "DOUT3" "DOUT3" "508" "0"
59 teltonika,rut955-h7v3c0)
60 ucidef_add_gpio_switch "sim_sel" "SIM select" "503" "1"
61 ucidef_add_gpio_switch "DOUT1" "DOUT1 (OC)" "504" "0"
62 ucidef_add_gpio_switch "DOUT2" "DOUT2 (Relay)" "505" "0"
63 ucidef_add_gpio_switch "modem_vbus" "Modem enable" "508" "1"
64 ucidef_add_gpio_switch "modem_rst" "Modem reset" "509" "0"
68 ucidef_add_gpio_switch "led_control" "LED control" "21" "0"
69 ucidef_add_gpio_switch "led_reset" "LED reset" "19" "1"
79 ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "20"
82 ubnt,nanobeam-ac-gen2|\
84 ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "3"
87 ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "11"
90 ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "8"
92 ubnt,nanostation-m-xw)
93 ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "2"
96 ucidef_add_gpio_switch "ant0_internal" "ANT0 Internal" "5" "1"
97 ucidef_add_gpio_switch "ant1_internal" "ANT1 Internal" "6" "1"
100 ucidef_add_gpio_switch "io0" "IO#0" "0"
101 ucidef_add_gpio_switch "io1" "IO#1" "1"
102 ucidef_add_gpio_switch "io2" "IO#2" "2"
103 ucidef_add_gpio_switch "io14" "IO#14" "14"