Skip to content

Commit 2d40098

Browse files
[nrf noup] dts: arm: nrf54h20: Add mpu node to cpuapp and cpurad
Add mpu node to cpu in haltium ARM cores. Signed-off-by: Adam Kondraciuk <[email protected]>
1 parent 8647236 commit 2d40098

File tree

5 files changed

+33
-0
lines changed

5 files changed

+33
-0
lines changed

dts/bindings/mmu_mpu/arm,armv6m-mpu.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,8 @@ include: base.yaml
1010
properties:
1111
reg:
1212
required: true
13+
14+
arm,num-mpu-regions:
15+
type: int
16+
const: 8
17+
description: number of MPU regions supported by hardware

dts/bindings/mmu_mpu/arm,armv7m-mpu.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,7 @@ include: base.yaml
77
properties:
88
reg:
99
required: true
10+
11+
arm,num-mpu-regions:
12+
type: int
13+
description: number of MPU regions supported by hardware

dts/bindings/mmu_mpu/arm,armv8.1m-mpu.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,7 @@ include: base.yaml
77
properties:
88
reg:
99
required: true
10+
11+
arm,num-mpu-regions:
12+
type: int
13+
description: number of MPU regions supported by hardware

dts/bindings/mmu_mpu/arm,armv8m-mpu.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,7 @@ include: base.yaml
77
properties:
88
reg:
99
required: true
10+
11+
arm,num-mpu-regions:
12+
type: int
13+
description: number of MPU regions supported by hardware

dts/common/nordic/nrf54h20.dtsi

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,29 @@
3030
reg = <2>;
3131
device_type = "cpu";
3232
clock-frequency = <DT_FREQ_M(320)>;
33+
#address-cells = <1>;
34+
#size-cells = <1>;
35+
36+
mpu: mpu@e000ed90 {
37+
compatible = "arm,armv8m-mpu";
38+
reg = <0xe000ed90 0x40>;
39+
arm,num-mpu-regions = <16>;
40+
};
3341
};
3442

3543
cpurad: cpu@3 {
3644
compatible = "arm,cortex-m33";
3745
reg = <3>;
3846
device_type = "cpu";
3947
clock-frequency = <DT_FREQ_M(256)>;
48+
#address-cells = <1>;
49+
#size-cells = <1>;
50+
51+
mpu: mpu@e000ed90 {
52+
compatible = "arm,armv8m-mpu";
53+
reg = <0xe000ed90 0x40>;
54+
arm,num-mpu-regions = <16>;
55+
};
4056
};
4157

4258
cpuppr: cpu@d {

0 commit comments

Comments
 (0)