Initial commit
Some checks failed
Build Kernel / Build all affected Kernels (push) Has been cancelled
Build all core packages / Build all core packages for selected target (push) Has been cancelled
Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
Build Toolchains / Build Toolchains for each target (push) Has been cancelled
Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
Coverity scan build / Coverity x86/64 build (push) Has been cancelled

This commit is contained in:
domenico
2025-06-24 14:35:53 +02:00
commit c06fb25d1f
9263 changed files with 1750214 additions and 0 deletions

View File

@@ -0,0 +1,51 @@
. /lib/functions/uci-defaults.sh
board_config_update
board=$(board_name)
case "$board" in
aruba,ap-303h)
ucidef_add_gpio_switch "poe_passtrough" "POE passtrough disable" "546" "1"
;;
cellc,rtl30vw)
ucidef_add_gpio_switch "w_disable" "W_DISABLE mPCIE pin" "398" "1"
ucidef_add_gpio_switch "pmd_resin_n" "PMD_RESIN_N pin" "399" "1"
ucidef_add_gpio_switch "mcpie_vcc" "LTE power" "400" "0"
ucidef_add_gpio_switch "usb_vcc" "USB power" "401" "0"
;;
cilab,meshpoint-one)
ucidef_add_gpio_switch "poe_passtrough" "POE passtrough enable" "513" "1"
;;
compex,wpj428)
ucidef_add_gpio_switch "sim_card_select" "SIM card select" "3" "0"
;;
mikrotik,cap-ac)
ucidef_add_gpio_switch "poe_passtrough" "POE passtrough enable" "514" "0"
;;
mikrotik,hap-ac3)
ucidef_add_gpio_switch "poe_passtrough" "PoE Passthrough" "552" "0"
;;
mikrotik,hap-ac3-lte6-kit)
ucidef_add_gpio_switch "lte_ant_sw1" "LTE Antenna SW 1" "557" "0"
ucidef_add_gpio_switch "lte_ant_sw2" "LTE Antenna SW 2" "558" "0"
ucidef_add_gpio_switch "lte_reset" "LTE reset" "561" "0"
;;
sony,ncp-hg100-cellular)
ucidef_add_gpio_switch "uart_dbgcon_en" "debug console enable" "527" "1"
;;
wallys,dr40x9)
ucidef_add_gpio_switch "sim_card_select" "SIM card select" "523" "0"
;;
zte,mf282plus|\
zte,mf286d|\
zte,mf287pro|\
zte,mf289f)
ucidef_add_gpio_switch "power_btn_block" "Power button blocker" "521" "0"
;;
esac
board_config_flush
exit 0