dts: arm: nordic: move number of MPU regions in variant-specific file
Move the definition of the number of MPU regions (num-mpu-regions) in a SoC variant-specific header instead of the common .dtsi for nRF5340 Application MCU. This allows us to define different SoC variants with different number of MPU regions available. Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
This commit is contained in:
parent
166cfe5fb1
commit
1579246f32
4 changed files with 8 additions and 2 deletions
|
@ -23,7 +23,6 @@
|
|||
mpu: mpu@e000ed90 {
|
||||
compatible = "arm,armv8m-mpu";
|
||||
reg = <0xe000ed90 0x40>;
|
||||
arm,num-mpu-regions = <16>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -15,6 +15,10 @@
|
|||
reg = <0x20000000 DT_SIZE_K(512)>;
|
||||
};
|
||||
|
||||
&mpu {
|
||||
arm,num-mpu-regions = <16>;
|
||||
};
|
||||
|
||||
/ {
|
||||
soc {
|
||||
compatible = "nordic,nRF5340-CPU0-QKAA", "nordic,nRF5340-CPU0", "nordic,nRF53", "simple-bus";
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
mpu: mpu@e000ed90 {
|
||||
compatible = "arm,armv8m-mpu";
|
||||
reg = <0xe000ed90 0x40>;
|
||||
arm,num-mpu-regions = <16>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -15,6 +15,10 @@
|
|||
reg = <0x20000000 DT_SIZE_K(512)>;
|
||||
};
|
||||
|
||||
&mpu {
|
||||
arm,num-mpu-regions = <16>;
|
||||
};
|
||||
|
||||
/ {
|
||||
soc {
|
||||
compatible = "nordic,nRF5340-CPU0-QKAA", "nordic,nRF5340-CPU0", "nordic,nRF53", "simple-bus";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue