-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvirt.dts
137 lines (118 loc) · 2.84 KB
/
virt.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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
/dts-v1/;
/ {
#address-cells = < 0x02 >;
#size-cells = < 0x02 >;
compatible = "riscv-virtio";
model = "riscv-virtio,qemu";
chosen {
bootargs = [ 00 ];
stdout-path = "/uart@10000000";
};
uart@10000000 {
interrupts = < 0x0a >;
interrupt-parent = < 0x02 >;
clock-frequency = < 0x384000 >;
reg = < 0x00 0x10000000 0x00 0x100 >;
compatible = "ns16550a";
};
test@100000 {
reg = < 0x00 0x100000 0x00 0x1000 >;
compatible = "sifive,test0";
};
virtio_mmio@10008000 {
interrupts = < 0x08 >;
interrupt-parent = < 0x02 >;
reg = < 0x00 0x10008000 0x00 0x1000 >;
compatible = "virtio,mmio";
};
virtio_mmio@10007000 {
interrupts = < 0x07 >;
interrupt-parent = < 0x02 >;
reg = < 0x00 0x10007000 0x00 0x1000 >;
compatible = "virtio,mmio";
};
virtio_mmio@10006000 {
interrupts = < 0x06 >;
interrupt-parent = < 0x02 >;
reg = < 0x00 0x10006000 0x00 0x1000 >;
compatible = "virtio,mmio";
};
virtio_mmio@10005000 {
interrupts = < 0x05 >;
interrupt-parent = < 0x02 >;
reg = < 0x00 0x10005000 0x00 0x1000 >;
compatible = "virtio,mmio";
};
virtio_mmio@10004000 {
interrupts = < 0x04 >;
interrupt-parent = < 0x02 >;
reg = < 0x00 0x10004000 0x00 0x1000 >;
compatible = "virtio,mmio";
};
virtio_mmio@10003000 {
interrupts = < 0x03 >;
interrupt-parent = < 0x02 >;
reg = < 0x00 0x10003000 0x00 0x1000 >;
compatible = "virtio,mmio";
};
virtio_mmio@10002000 {
interrupts = < 0x02 >;
interrupt-parent = < 0x02 >;
reg = < 0x00 0x10002000 0x00 0x1000 >;
compatible = "virtio,mmio";
};
virtio_mmio@10001000 {
interrupts = < 0x01 >;
interrupt-parent = < 0x02 >;
reg = < 0x00 0x10001000 0x00 0x1000 >;
compatible = "virtio,mmio";
};
cpus {
#address-cells = < 0x01 >;
#size-cells = < 0x00 >;
timebase-frequency = < 0x989680 >;
cpu@0 {
device_type = "cpu";
reg = < 0x00 >;
status = "okay";
compatible = "riscv";
riscv,isa = "rv64imafdcsu";
mmu-type = "riscv,sv48";
clock-frequency = < 0x3b9aca00 >;
interrupt-controller {
#interrupt-cells = < 0x01 >;
interrupt-controller;
compatible = "riscv,cpu-intc";
linux,phandle = < 0x01 >;
phandle = < 0x01 >;
};
};
};
memory@80000000 {
device_type = "memory";
reg = < 0x00 0x80000000 0x00 0x8000000 >;
};
soc {
#address-cells = < 0x02 >;
#size-cells = < 0x02 >;
compatible = "simple-bus";
ranges;
interrupt-controller@c000000 {
linux,phandle = < 0x02 >;
phandle = < 0x02 >;
riscv,ndev = < 0x0a >;
riscv,max-priority = < 0x07 >;
reg-names = "control";
reg = < 0x00 0xc000000 0x00 0x4000000 >;
interrupts-extended = < 0x01 0x0b 0x01 0x09 >;
interrupt-controller;
compatible = "riscv,plic0";
#interrupt-cells = < 0x01 >;
};
clint@2000000 {
interrupts-extended = < 0x01 0x03 0x01 0x07 >;
reg = < 0x00 0x2000000 0x00 0x10000 >;
compatible = "riscv,clint0";
};
};
};