-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmachine.dts
More file actions
76 lines (67 loc) · 2.05 KB
/
Copy pathmachine.dts
File metadata and controls
76 lines (67 loc) · 2.05 KB
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
/dts-v1/;
/ {
#address-cells = <2>;
#size-cells = <2>;
compatible = "riscv-virtio";
model = "yariscvemu";
chosen {
bootargs = "earlycon=sbi console=liteuart0 init=/init";
linux,initrd-start = <0x82800000>;
linux,initrd-end = <0x82c00000>;
};
cpus {
#address-cells = <1>;
#size-cells = <0>;
timebase-frequency = <10000000>;
cpu0: cpu@0 {
device_type = "cpu";
reg = <0>;
compatible = "riscv";
riscv,isa = "rv32imafdcsu";
mmu-type = "riscv,sv32";
clock-frequency = <10000000>;
cpu0_intc: interrupt-controller {
#address-cells = <2>;
#interrupt-cells = <1>;
compatible = "riscv,cpu-intc";
interrupt-controller;
};
};
};
sram: memory@80000000 {
device_type = "memory";
reg = <0x0 0x80000000 0x0 0x10000000>;
};
soc {
#address-cells = <2>;
#size-cells = <2>;
compatible = "simple-bus";
ranges;
clint0: clint@2000000 {
compatible = "riscv,clint0";
reg = <0x0 0x2000000 0x0 0xC000>;
interrupts-extended = <&cpu0_intc 3 &cpu0_intc 7>;
};
plic0: interrupt-controller@c000000 {
#address-cells = <2>;
#interrupt-cells = <1>;
interrupt-controller;
compatible = "riscv,plic0";
reg = <0x0 0xC000000 0x0 0x4000000>;
interrupts-extended = <&cpu0_intc 9>, <&cpu0_intc 11>;
riscv,ndev = <1>;
riscv,max-priority = <7>;
};
uart0: serial@1000000 {
compatible = "litex,liteuart";
device_type = "serial";
clock-frequency = <0x384000>;
reg = <0x0 0x1000000 0x0 0x100>;
};
virtio_mmio0: virtio@10001000 {
compatible = "virtio,mmio";
reg = <0x0 0x10001000 0x0 0x1000>;
interrupts-extended = <&plic0 1>;
};
};
};