2018-07-07 23:21:17 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2018, Synopsys, Inc. All rights reserved.
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
|
|
|
|
#include "skeleton.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
|
|
|
|
model = "nsim_em";
|
|
|
|
compatible = "snps,nsim_em";
|
|
|
|
|
|
|
|
cpus {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
cpu@0 {
|
|
|
|
device_type = "cpu";
|
|
|
|
compatible = "snps,arcem";
|
|
|
|
reg = <1>;
|
|
|
|
};
|
|
|
|
|
2018-09-18 21:27:11 +08:00
|
|
|
intc: arcv2-intc {
|
2018-07-07 23:21:17 +08:00
|
|
|
compatible = "snps,arcv2-intc";
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <2>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
iccm0: iccm@0 {
|
|
|
|
device_type = "memory";
|
|
|
|
compatible = "arc,iccm";
|
|
|
|
reg = <0x0 0x80000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
dccm0: dccm@80000000 {
|
|
|
|
device_type = "memory";
|
|
|
|
compatible = "arc,dccm";
|
|
|
|
reg = <0x80000000 0x80000>;
|
|
|
|
};
|
|
|
|
|
2019-01-29 23:21:29 +08:00
|
|
|
uart0: uart@f0000000 {
|
|
|
|
compatible = "snps,nsim-uart";
|
|
|
|
reg = <0xf0000000 0x100>;
|
|
|
|
label = "UART_0";
|
|
|
|
};
|
|
|
|
|
2018-07-07 23:21:17 +08:00
|
|
|
chosen {
|
|
|
|
zephyr,sram = &dccm0;
|
2019-01-29 23:21:29 +08:00
|
|
|
zephyr,console = &uart0;
|
|
|
|
zephyr,shell-uart = &uart0;
|
2018-07-07 23:21:17 +08:00
|
|
|
};
|
2018-09-18 21:27:11 +08:00
|
|
|
};
|