dts: arm: nordic: add QDEC nodes for nrf5340

Add device tree nodes for QDEC peripheral instances
for nRF5340 Application core.

Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
This commit is contained in:
Ioannis Glaropoulos 2021-02-12 16:34:46 +01:00
commit 007c8539f6
2 changed files with 17 additions and 1 deletions

View file

@ -112,6 +112,22 @@ pdm0: pdm@26000 {
label = "PDM_0"; 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 { regulators: regulator@4000 {
compatible = "nordic,nrf-regulators"; compatible = "nordic,nrf-regulators";
reg = <0x4000 0x1000>; reg = <0x4000 0x1000>;

View file

@ -129,7 +129,7 @@ config NRFX_PWM3
config NRFX_QDEC config NRFX_QDEC
bool "Enable QDEC driver" bool "Enable QDEC driver"
depends on HAS_HW_NRF_QDEC depends on HAS_HW_NRF_QDEC || HAS_HW_NRF_QDEC0
config NRFX_QSPI config NRFX_QSPI
bool "Enable QSPI driver" bool "Enable QSPI driver"