-
Notifications
You must be signed in to change notification settings - Fork 1
/
frontend.dts
78 lines (66 loc) · 1.51 KB
/
frontend.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
70
71
72
73
74
75
76
77
78
/dts-v1/;
/ {
#address-cells = <0x2>;
#size-cells = <0x2>;
cpus {
#address-cells = <0x1>;
#size-cells = <0x0>;
timebase-frequency = <10000000>;
cpu@0 {
device_type = "cpu";
reg = <0x0>;
status = "okay";
compatible = "riscv";
riscv,isa = "rv64imafdcsu";
mmu-type = "riscv,sv48";
cpu0_intc: interrupt-controller {
#interrupt-cells = <0x1>;
interrupt-controller;
compatible = "riscv,cpu-intc";
};
};
};
memory@20000000 {
device_type = "memory";
reg = <0x0 0x20000000 0x0 0x50000000
0x0 0x70000000 0x0 0x01000000>;
};
reserved-memory {
#address-cells = <0x2>;
#size-cells = <0x2>;
ranges;
reserved: buffer@70000000 {
compatible = "restricted-dma-pool";
reg = <0x0 0x70000000 0x0 0x1000000>;
};
};
plic: interrupt-controller@c000000 {
riscv,ndev = <60>;
reg = <0x0 0xc000000 0x0 0x4000000>;
interrupts-extended = <
&cpu0_intc 11 &cpu0_intc 9
>;
interrupt-controller;
compatible = "riscv,plic0";
#interrupt-cells = <0x1>;
};
virtio@10001000 {
dma-coherent;
interrupts = <0x25>;
interrupt-parent = <&plic>;
reg = <0x0 0x10001000 0x0 0x200>;
compatible = "virtio,mmio";
memory-region = <&reserved>;
};
uart0@10000000 {
interrupts = <10>;
interrupt-parent = <&plic>;
clock-frequency = <0x384000>;
reg = <0x0 0x10000000 0x0 0x100>;
compatible = "ns16550a";
};
chosen {
bootargs = "earlycon console=ttyS0 carrier_timeout=0";
stdout-path = "/uart0@10000000";
};
};