Skip to content

Commit

Permalink
[nrf fromlist] dts: nordic: Add dppic0 label to nRF53 and nRF91 devices
Browse files Browse the repository at this point in the history
Added dppic0 node label, alongside the dppic to maintain backward
compatibility. The use of dppic0 is preferred.

Upstream PR: zephyrproject-rtos/zephyr#81602

Signed-off-by: Rafał Kuźnia <[email protected]>
  • Loading branch information
e-rk committed Nov 19, 2024
1 parent a5076b9 commit e3b86b7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dts/arm/nordic/nrf5340_cpuapp_peripherals.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ rtc1: rtc@15000 {
prescaler = <1>;
};

dppic: dppic@17000 {
dppic0: dppic: dppic@17000 {
compatible = "nordic,nrf-dppic";
reg = <0x17000 0x1000>;
status = "okay";
Expand Down
2 changes: 1 addition & 1 deletion dts/arm/nordic/nrf5340_cpunet.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@
status = "okay";
};

dppic: dppic@4100f000 {
dppic0: dppic: dppic@4100f000 {
compatible = "nordic,nrf-dppic";
reg = <0x4100f000 0x1000>;
status = "okay";
Expand Down
2 changes: 1 addition & 1 deletion dts/arm/nordic/nrf91_peripherals.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ adc: adc@e000 {
#io-channel-cells = <1>;
};

dppic: dppic@17000 {
dppic0: dppic: dppic@17000 {
compatible = "nordic,nrf-dppic";
reg = <0x17000 0x1000>;
status = "okay";
Expand Down
3 changes: 2 additions & 1 deletion modules/hal_nordic/nrfx/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ config NRFX_DPPI
config NRFX_DPPI0
bool "DPPI0 driver instance"
default y if NRFX_GPPI
depends on $(dt_nodelabel_has_compat,dppic,$(DT_COMPAT_NORDIC_NRF_DPPIC))
depends on ($(dt_nodelabel_has_compat,dppic,$(DT_COMPAT_NORDIC_NRF_DPPIC)) || \
$(dt_nodelabel_has_compat,dppic0,$(DT_COMPAT_NORDIC_NRF_DPPIC)))
select NRFX_DPPI

config NRFX_DPPI00
Expand Down

0 comments on commit e3b86b7

Please sign in to comment.