diff --git a/dts/arm/nordic/nrf5340_cpuapp_peripherals.dtsi b/dts/arm/nordic/nrf5340_cpuapp_peripherals.dtsi index f1c8017cc08..ef0bd1f497e 100644 --- a/dts/arm/nordic/nrf5340_cpuapp_peripherals.dtsi +++ b/dts/arm/nordic/nrf5340_cpuapp_peripherals.dtsi @@ -112,6 +112,22 @@ pdm0: pdm@26000 { label = "PDM_0"; }; +qdec0: qdec@33000 { + compatible = "nordic,nrf-qdec"; + reg = <0x33000 0x1000>; + interrupts = <51 NRF_DEFAULT_IRQ_PRIORITY>; + status = "disabled"; + label = "QDEC_0"; +}; + +qdec1: qdec@34000 { + compatible = "nordic,nrf-qdec"; + reg = <0x34000 0x1000>; + interrupts = <52 NRF_DEFAULT_IRQ_PRIORITY>; + status = "disabled"; + label = "QDEC_1"; +}; + regulators: regulator@4000 { compatible = "nordic,nrf-regulators"; reg = <0x4000 0x1000>; diff --git a/modules/hal_nordic/nrfx/Kconfig b/modules/hal_nordic/nrfx/Kconfig index 7a9016d8b5c..4d34f6c73a2 100644 --- a/modules/hal_nordic/nrfx/Kconfig +++ b/modules/hal_nordic/nrfx/Kconfig @@ -129,7 +129,7 @@ config NRFX_PWM3 config NRFX_QDEC bool "Enable QDEC driver" - depends on HAS_HW_NRF_QDEC + depends on HAS_HW_NRF_QDEC || HAS_HW_NRF_QDEC0 config NRFX_QSPI bool "Enable QSPI driver"