soc: arm: nrf5340: add QDEC capability in nRF5340 SoC definition

Add Kconfig options to signify that the nRF5340
HW has support for QDEC instances. Select the
options in the nRF5340 Application core definition.

Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
This commit is contained in:
Ioannis Glaropoulos 2021-02-12 15:44:06 +01:00
parent 5ba5dbc333
commit ce134a7970
2 changed files with 8 additions and 0 deletions

View File

@ -109,6 +109,12 @@ config HAS_HW_NRF_PWM3
config HAS_HW_NRF_QDEC
bool
config HAS_HW_NRF_QDEC0
bool
config HAS_HW_NRF_QDEC1
bool
config HAS_HW_NRF_QSPI
bool

View File

@ -31,6 +31,8 @@ config SOC_NRF5340_CPUAPP
select HAS_HW_NRF_PWM1
select HAS_HW_NRF_PWM2
select HAS_HW_NRF_PWM3
select HAS_HW_NRF_QDEC0
select HAS_HW_NRF_QDEC1
select HAS_HW_NRF_QSPI
select HAS_HW_NRF_RTC0
select HAS_HW_NRF_RTC1