-
Notifications
You must be signed in to change notification settings - Fork 5
/
test.dts
69 lines (68 loc) · 1.72 KB
/
test.dts
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
/dts-v1/;
/ {
#address-cells = <2>;
#size-cells = <2>;
compatible = "ucbbar,spike-bare-dev";
model = "ucbbar,spike-bare";
chosen {
stdout-path = &SERIAL0;
bootargs = "console=ttyS0 earlycon";
};
cpus {
#address-cells = <1>;
#size-cells = <0>;
timebase-frequency = <10000000>;
CPU0: cpu@0 {
device_type = "cpu";
reg = <0>;
status = "okay";
compatible = "riscv";
riscv,isa = "rv64imafdc_zicntr_zihpm";
mmu-type = "riscv,sv57";
riscv,pmpregions = <16>;
riscv,pmpgranularity = <4>;
clock-frequency = <1000000000>;
CPU0_intc: interrupt-controller {
#address-cells = <2>;
#interrupt-cells = <1>;
interrupt-controller;
compatible = "riscv,cpu-intc";
};
};
};
memory@80000000 {
device_type = "memory";
reg = <0x0 0x80000000 0x0 0x80000000>;
};
soc {
#address-cells = <2>;
#size-cells = <2>;
compatible = "ucbbar,spike-bare-soc", "simple-bus";
ranges;
clint@2000000 {
compatible = "riscv,clint0";
interrupts-extended = <&CPU0_intc 3 &CPU0_intc 7 >;
reg = <0x0 0x2000000 0x0 0xc0000>;
};
PLIC: plic@c000000 {
compatible = "riscv,plic0";
#address-cells = <2>;
interrupts-extended = <&CPU0_intc 11 &CPU0_intc 9 >;
reg = <0x0 0xc000000 0x0 0x1000000>;
riscv,ndev = <0x1f>;
riscv,max-priority = <0xf>;
#interrupt-cells = <1>;
interrupt-controller;
};
SERIAL0: sifive-uart@10000000 {
compatible = "sifive,uart0";
clock-frequency = <10000000>;
interrupt-parent = <&PLIC>;
interrupts = <1>;
reg = <0x0 0x10000000 0x0 0x1000>;
};
};
htif {
compatible = "ucb,htif0";
};
};