forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnios2-qemu.dtsi
52 lines (43 loc) · 886 Bytes
/
nios2-qemu.dtsi
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/* SPDX-License-Identifier: Apache-2.0 */
#include "skeleton.dtsi"
/ {
cpus {
#address-cells = <1>;
#size-cells = <0>;
cpu: cpu@0 {
device_type = "cpu";
compatible = "qemu,nios2-zephyr";
reg = <0>;
interrupt-controller;
#interrupt-cells = <1>;
};
};
flash0: flash@420000 {
compatible = "soc-nv-flash";
reg = <0x420000 0x20000>;
};
sram0: memory@400000 {
compatible = "mmio-sram";
reg = <0x400000 0x20000>;
};
soc {
#address-cells = <1>;
#size-cells = <1>;
compatible = "simple-bus";
interrupt-parent = <&cpu>;
ranges;
jtag_uart: uart@201000 {
compatible = "altr,jtag-uart";
reg = <0x201000 0x400>;
status = "disabled";
};
ns16550_uart: uart@440000 {
compatible = "ns16550";
reg = <0x440000 0x400>;
interrupts = <1>;
clock-frequency = <50000000>;
reg-shift = <2>;
status = "disabled";
};
};
};