Skip to content

Commit 1ecdc66

Browse files
tagunilkartben
authored andcommitted
boards: snps: nsim: align SEM platforms
Fix ICCM/DCCM properties in DTS to match the intended configuration, along with some other minor inconsistencies. Signed-off-by: Ilya Tagunov <[email protected]>
1 parent 7cb1861 commit 1ecdc66

File tree

3 files changed

+10
-20
lines changed

3 files changed

+10
-20
lines changed

boards/snps/nsim/arc_classic/nsim_nsim_sem.dts

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,14 @@
44
* SPDX-License-Identifier: Apache-2.0
55
*/
66

7-
87
/dts-v1/;
98

9+
#define ICCM_SIZE DT_SIZE_K(256)
10+
#define DCCM_SIZE DT_SIZE_K(256)
11+
1012
#include "nsim_em-sec.dtsi"
1113

1214
/ {
13-
14-
model = "nsim_sem";
15+
model = "snps,nsim_sem";
1516
compatible = "snps,nsim_sem";
16-
17-
iccm0: iccm@0 {
18-
compatible = "arc,iccm";
19-
reg = <0x0 0x40000>;
20-
};
21-
22-
dccm0: dccm@80000000 {
23-
compatible = "arc,dccm";
24-
reg = <0x80000000 0x40000>;
25-
};
26-
27-
chosen {
28-
zephyr,sram = &dccm0;
29-
};
3017
};

boards/snps/nsim/arc_classic/nsim_nsim_sem.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
identifier: nsim/nsim_sem
2-
name: SEM Nsim simulator
2+
name: SEM nSIM simulator
33
type: sim
44
arch: arc
55
simulation:

boards/snps/nsim/arc_classic/nsim_nsim_sem_mpu_stack_guard.dts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,12 @@
66

77
/dts-v1/;
88

9+
#define ICCM_SIZE DT_SIZE_K(512)
10+
#define DCCM_SIZE DT_SIZE_K(512)
11+
912
#include "nsim_em-sec.dtsi"
1013

1114
/ {
12-
model = "snps,nsim_sem_mpu_stack_guard";
13-
compatible = "snps,nsim_sem_mpu_stack_guard.dts";
15+
model = "snps,nsim_sem";
16+
compatible = "snps,nsim_sem";
1417
};

0 commit comments

Comments
 (0)