soc: arm: nrf9160: add missing NRF_UICR definition
NRF_UICR needs to be defined for nRF9160 SoC in nrfx_config_nrf9160.h, because it is not defined in nrfx/hal/mdk/nrf9160.h (as it is a Secure-only peripheral). Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
This commit is contained in:
parent
e242c250c4
commit
3f5aae9d24
3 changed files with 25 additions and 0 deletions
|
@ -92,6 +92,12 @@
|
|||
reg = <0xff0000 0x1000>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
uicr: uicr@ff8000 {
|
||||
compatible = "nordic,nrf-uicr";
|
||||
reg = <0xff8000 0x1000>;
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
14
dts/bindings/arm/nordic,nrf-uicr.yaml
Normal file
14
dts/bindings/arm/nordic,nrf-uicr.yaml
Normal file
|
@ -0,0 +1,14 @@
|
|||
title: Nordic UICR (User Information Configuration Registers)
|
||||
|
||||
description: >
|
||||
Binding for the Nordic UICR (User Information Configuration Registers)
|
||||
|
||||
inherits:
|
||||
!include base.yaml
|
||||
|
||||
properties:
|
||||
compatible:
|
||||
constraint: "nordic,nrf-uicr"
|
||||
|
||||
reg:
|
||||
category: required
|
|
@ -193,6 +193,11 @@
|
|||
((NRF_UARTE_Type *)DT_NORDIC_NRF_UARTE_UART_3_BASE_ADDRESS)
|
||||
#endif
|
||||
|
||||
#ifdef DT_INST_0_NORDIC_NRF_UICR_BASE_ADDRESS
|
||||
#define NRF_UICR \
|
||||
((NRF_UICR_Type *)DT_INST_0_NORDIC_NRF_UICR_BASE_ADDRESS)
|
||||
#endif
|
||||
|
||||
#ifdef DT_NORDIC_NRF_WATCHDOG_WDT_0_BASE_ADDRESS
|
||||
#define NRF_WDT \
|
||||
((NRF_WDT_Type *)DT_NORDIC_NRF_WATCHDOG_WDT_0_BASE_ADDRESS)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue