dts: Add missing nodes and bindings for peripherals present in nRF SoCs

Add missing devicetree nodes representing the following peripherals
in nRF SoCs:
- ACL
- BPROT
- CCM
- COMP/LPCOMP
- CTRLAP
- DCNF
- MPU (nRF MPU peripheral in nRF51 Series, not ARM MPU)
- MUTEX
- MWU
- NFCT
- OSCILLATORS
- POWER (in nRF51 and nRF52 Series)
- PPI
- RESET
- SWI
- USBREG
Add also corresponding bindings and validation of base addresses of
these nodes.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
This commit is contained in:
Andrzej Głąbek 2022-03-25 16:53:24 +01:00 committed by Carles Cufí
commit 56a1ac3817
28 changed files with 906 additions and 65 deletions

View file

@ -46,6 +46,19 @@
label = "CLOCK";
};
power: power@40000000 {
compatible = "nordic,nrf-power";
reg = <0x40000000 0x1000>;
interrupts = <0 NRF_DEFAULT_IRQ_PRIORITY>;
status = "okay";
};
bprot: bprot@40000000 {
compatible = "nordic,nrf-bprot";
reg = <0x40000000 0x1000>;
status = "okay";
};
radio: radio@40001000 {
compatible = "nordic,nrf-radio";
reg = <0x40001000 0x1000>;
@ -179,6 +192,14 @@
label = "ECB";
};
ccm: ccm@4000f000 {
compatible = "nordic,nrf-ccm";
reg = <0x4000f000 0x1000>;
interrupts = <15 NRF_DEFAULT_IRQ_PRIORITY>;
length-field-length-8-bits;
status = "okay";
};
wdt: wdt0: watchdog@40010000 {
compatible = "nordic,nrf-watchdog";
reg = <0x40010000 0x1000>;
@ -206,20 +227,56 @@
label = "QDEC";
};
egu0: egu@40014000 {
compatible = "nordic,nrf-egu";
comp: comparator@40013000 {
compatible = "nordic,nrf-comp";
reg = <0x40013000 0x1000>;
interrupts = <19 NRF_DEFAULT_IRQ_PRIORITY>;
status = "disabled";
#io-channel-cells = <1>;
};
egu0: swi0: egu@40014000 {
compatible = "nordic,nrf-egu", "nordic,nrf-swi";
reg = <0x40014000 0x1000>;
interrupts = <20 NRF_DEFAULT_IRQ_PRIORITY>;
status = "okay";
};
egu1: egu@40015000 {
compatible = "nordic,nrf-egu";
egu1: swi1: egu@40015000 {
compatible = "nordic,nrf-egu", "nordic,nrf-swi";
reg = <0x40015000 0x1000>;
interrupts = <21 NRF_DEFAULT_IRQ_PRIORITY>;
status = "okay";
};
swi2: swi@40016000 {
compatible = "nordic,nrf-swi";
reg = <0x40016000 0x1000>;
interrupts = <22 NRF_DEFAULT_IRQ_PRIORITY>;
status = "okay";
};
swi3: swi@40017000 {
compatible = "nordic,nrf-swi";
reg = <0x40017000 0x1000>;
interrupts = <23 NRF_DEFAULT_IRQ_PRIORITY>;
status = "okay";
};
swi4: swi@40018000 {
compatible = "nordic,nrf-swi";
reg = <0x40018000 0x1000>;
interrupts = <24 NRF_DEFAULT_IRQ_PRIORITY>;
status = "okay";
};
swi5: swi@40019000 {
compatible = "nordic,nrf-swi";
reg = <0x40019000 0x1000>;
interrupts = <25 NRF_DEFAULT_IRQ_PRIORITY>;
status = "okay";
};
pwm0: pwm@4001c000 {
compatible = "nordic,nrf-pwm";
reg = <0x4001c000 0x1000>;
@ -254,6 +311,12 @@
};
};
ppi: ppi@4001f000 {
compatible = "nordic,nrf-ppi";
reg = <0x4001f000 0x1000>;
status = "okay";
};
gpio0: gpio@50000000 {
compatible = "nordic,nrf-gpio";
gpio-controller;