Skip to content

Commit a132f64

Browse files
jonathannilsen57300
authored andcommitted
to be included with UICR PR - configure VPR SPU settings
Signed-off-by: Jonathan Nilsen <[email protected]>
1 parent 6442aaa commit a132f64

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

soc/nordic/nrf54h/uicr_periphconf_table.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,19 @@
55
*/
66
#include <uicr/uicr.h>
77

8+
#define SPU121_ADDR (0x5f8d0000UL)
9+
#define SPU130_ADDR (0x5f900000UL)
810
#define SPU131_ADDR (0x5F920000UL)
911
#define SPU133_ADDR (0x5F990000UL)
1012
#define PPIB130_ADDR (0x5f925000UL)
1113
#define PPIB133_ADDR (0x5f99d000UL)
1214

15+
/* FLPR ownership */
16+
UICR_SPU_PERIPH_PERM_SET(SPU121_ADDR, 4, true, false, NRF_OWNER_APPLICATION);
17+
18+
/* PPR ownership */
19+
UICR_SPU_PERIPH_PERM_SET(SPU130_ADDR, 8, true, false, NRF_OWNER_APPLICATION);
20+
1321
/* Non-secure GRTC channels */
1422
UICR_SPU_FEATURE_GRTC_CC_SET(SPU133_ADDR, 8, false, NRF_OWNER_NONE);
1523
UICR_SPU_FEATURE_GRTC_CC_SET(SPU133_ADDR, 9, false, NRF_OWNER_NONE);

0 commit comments

Comments
 (0)