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 <Ilya.Tagunov@synopsys.com>
This commit is contained in:
Ilya Tagunov 2024-12-11 16:23:40 +00:00 committed by Benjamin Cabé
parent 7cb1861a1f
commit 1ecdc660e7
3 changed files with 10 additions and 20 deletions

View file

@ -4,27 +4,14 @@
* SPDX-License-Identifier: Apache-2.0
*/
/dts-v1/;
#define ICCM_SIZE DT_SIZE_K(256)
#define DCCM_SIZE DT_SIZE_K(256)
#include "nsim_em-sec.dtsi"
/ {
model = "nsim_sem";
model = "snps,nsim_sem";
compatible = "snps,nsim_sem";
iccm0: iccm@0 {
compatible = "arc,iccm";
reg = <0x0 0x40000>;
};
dccm0: dccm@80000000 {
compatible = "arc,dccm";
reg = <0x80000000 0x40000>;
};
chosen {
zephyr,sram = &dccm0;
};
};

View file

@ -1,5 +1,5 @@
identifier: nsim/nsim_sem
name: SEM Nsim simulator
name: SEM nSIM simulator
type: sim
arch: arc
simulation:

View file

@ -6,9 +6,12 @@
/dts-v1/;
#define ICCM_SIZE DT_SIZE_K(512)
#define DCCM_SIZE DT_SIZE_K(512)
#include "nsim_em-sec.dtsi"
/ {
model = "snps,nsim_sem_mpu_stack_guard";
compatible = "snps,nsim_sem_mpu_stack_guard.dts";
model = "snps,nsim_sem";
compatible = "snps,nsim_sem";
};