boards: spresense: Add reset control on BLE1507 Add-on board
Add reset pin selection on BLE1507 Add-on board.
This commit is contained in:
parent
51b3dbb78d
commit
07ec18f088
|
@ -838,6 +838,21 @@ config CXD56_EMMC_POWER_PIN_UART2_CTS
|
|||
|
||||
endchoice
|
||||
|
||||
choice
|
||||
prompt "BLE1507 Add-on board Reset Pin selection"
|
||||
default CXD56_BLE1507_RESET_PIN_NONE
|
||||
|
||||
config CXD56_BLE1507_RESET_PIN_NONE
|
||||
bool "None"
|
||||
|
||||
config CXD56_BLE1507_RESET_PIN_I2S0_DATA_IN
|
||||
bool "Use PIN I2S0_DATA_IN"
|
||||
|
||||
config CXD56_BLE1507_RESET_PIN_EMMC_DATA2
|
||||
bool "Use PIN EMMC_DATA2"
|
||||
|
||||
endchoice
|
||||
|
||||
config CXD56_GNSS_ADDON
|
||||
bool "CXD5610 GNSS Add-on board"
|
||||
default n
|
||||
|
|
|
@ -201,7 +201,13 @@ enum board_power_device
|
|||
POWER_AUDIO_MUTE = PMIC_GPO(6),
|
||||
POWER_IMAGE_SENSOR = PMIC_GPO(4),
|
||||
|
||||
#if defined(CONFIG_CXD56_BLE1507_RESET_PIN_I2S0_DATA_IN)
|
||||
POWER_BTBLE = CHIP_GPIO(PIN_I2S0_DATA_IN),
|
||||
#elif defined(CONFIG_CXD56_BLE1507_RESET_PIN_EMMC_DATA2)
|
||||
POWER_BTBLE = CHIP_GPIO(PIN_EMMC_DATA2),
|
||||
#else
|
||||
POWER_BTBLE = PMIC_NONE,
|
||||
#endif
|
||||
POWER_SENSOR = PMIC_NONE,
|
||||
#if defined(CONFIG_CXD56_EMMC_POWER_PIN_I2S0_BCK)
|
||||
POWER_EMMC = CHIP_GPIO(PIN_I2S0_BCK),
|
||||
|
|
Loading…
Reference in New Issue