File tree Expand file tree Collapse file tree 3 files changed +227
-204
lines changed Expand file tree Collapse file tree 3 files changed +227
-204
lines changed Original file line number Diff line number Diff line change 33
33
firq: firq {
34
34
#address-cells = <1>;
35
35
interrupt-map-mask = <0x0 0xffffffff>;
36
- interrupt-map = <
37
- 0 0 &intc 0 16
38
- 0 1 &intc 0 17
39
- 0 2 &intc 0 18
40
- 0 3 &intc 0 19
41
- 0 4 &intc 0 20
42
- 0 5 &intc 0 21
43
- 0 6 &intc 0 22
44
- 0 7 &intc 0 23
45
- 0 8 &intc 0 24
46
- 0 9 &intc 0 25
47
- 0 10 &intc 0 26
48
- 0 11 &intc 0 27
49
- 0 12 &intc 0 28
50
- 0 13 &intc 0 29
51
- 0 14 &intc 0 30
52
- 0 15 &intc 0 31
53
- >;
36
+ interrupt-map = <0 0 &intc 0 16
37
+ 0 1 &intc 0 17
38
+ 0 2 &intc 0 18
39
+ 0 3 &intc 0 19
40
+ 0 4 &intc 0 20
41
+ 0 5 &intc 0 21
42
+ 0 6 &intc 0 22
43
+ 0 7 &intc 0 23
44
+ 0 8 &intc 0 24
45
+ 0 9 &intc 0 25
46
+ 0 10 &intc 0 26
47
+ 0 11 &intc 0 27
48
+ 0 12 &intc 0 28
49
+ 0 13 &intc 0 29
50
+ 0 14 &intc 0 30
51
+ 0 15 &intc 0 31>;
54
52
#interrupt-cells = <1>;
55
53
};
56
54
};
Original file line number Diff line number Diff line change 13
13
cpus {
14
14
#address-cells = <1>;
15
15
#size-cells = <0>;
16
+
16
17
cpu@0 {
17
18
clock-frequency = <0>;
18
19
compatible = "renode,virt", "riscv";
19
20
device_type = "cpu";
20
21
reg = <0>;
21
22
riscv,isa = "rv32imac_zicsr_zifencei";
23
+
22
24
hlic: interrupt-controller {
23
25
compatible = "riscv,cpu-intc";
24
26
#address-cells = <0>;
80
82
};
81
83
82
84
uart0: uart@10000000 {
83
- interrupts = < 0x0a 1 >;
84
- interrupt-parent = < &plic0 >;
85
+ interrupts = <0x0a 1>;
86
+ interrupt-parent = <&plic0>;
85
87
clock-frequency = <150000000>;
86
88
current-speed = <115200>;
87
- reg = < 0x10000000 0x100 >;
89
+ reg = <0x10000000 0x100>;
88
90
compatible = "ns16550";
89
- reg-shift = < 0 >;
91
+ reg-shift = <0 >;
90
92
status = "disabled";
91
93
};
92
94
93
95
uart1: uart@10000100 {
94
- interrupts = < 0x0a 1 >;
95
- interrupt-parent = < &plic1 >;
96
+ interrupts = <0x0a 1>;
97
+ interrupt-parent = <&plic1>;
96
98
clock-frequency = <150000000>;
97
99
current-speed = <115200>;
98
- reg = < 0x10000100 0x100 >;
100
+ reg = <0x10000100 0x100>;
99
101
compatible = "ns16550";
100
- reg-shift = < 0 >;
102
+ reg-shift = <0 >;
101
103
status = "disabled";
102
104
};
103
105
};
You can’t perform that action at this time.
0 commit comments