|
11 | 11 | #address-cells = <1>;
|
12 | 12 | #size-cells = <0>;
|
13 | 13 | cpu@0 {
|
| 14 | + compatible = "sifive,e24", "riscv"; |
| 15 | + device_type = "cpu"; |
| 16 | + reg = <0>; |
| 17 | + riscv,isa = "rv32imbc"; |
| 18 | + status = "disabled"; |
| 19 | + cpu0_intc: interrupt-controller { |
| 20 | + #interrupt-cells = <1>; |
| 21 | + compatible = "riscv,cpu-intc"; |
| 22 | + interrupt-controller; |
| 23 | + }; |
| 24 | + }; |
| 25 | + cpu@1 { |
14 | 26 | compatible = "sifive,u74-mc", "riscv";
|
15 | 27 | d-cache-block-size = <64>;
|
16 | 28 | d-cache-sets = <64>;
|
|
25 | 37 | i-tlb-size = <32>;
|
26 | 38 | mmu-type = "riscv,sv39";
|
27 | 39 | next-level-cache = <&ccache>;
|
28 |
| - reg = <0>; |
| 40 | + reg = <1>; |
29 | 41 | riscv,isa = "rv64imafdc";
|
30 | 42 | starfive,itim = <&itim0>;
|
31 | 43 | status = "okay";
|
32 | 44 | tlb-split;
|
33 |
| - cpu0_intc: interrupt-controller { |
| 45 | + cpu1_intc: interrupt-controller { |
34 | 46 | #interrupt-cells = <1>;
|
35 | 47 | compatible = "riscv,cpu-intc";
|
36 | 48 | interrupt-controller;
|
37 | 49 | };
|
38 | 50 | };
|
39 | 51 |
|
40 |
| - cpu@1 { |
| 52 | + cpu@2 { |
41 | 53 | compatible = "sifive,u74-mc", "riscv";
|
42 | 54 | d-cache-block-size = <64>;
|
43 | 55 | d-cache-sets = <64>;
|
|
52 | 64 | i-tlb-size = <32>;
|
53 | 65 | mmu-type = "riscv,sv39";
|
54 | 66 | next-level-cache = <&ccache>;
|
55 |
| - reg = <1>; |
| 67 | + reg = <2>; |
56 | 68 | riscv,isa = "rv64imafdc";
|
57 | 69 | starfive,itim = <&itim1>;
|
58 | 70 | status = "okay";
|
59 | 71 | tlb-split;
|
60 |
| - cpu1_intc: interrupt-controller { |
| 72 | + cpu2_intc: interrupt-controller { |
61 | 73 | #interrupt-cells = <1>;
|
62 | 74 | compatible = "riscv,cpu-intc";
|
63 | 75 | interrupt-controller;
|
|
223 | 235 | clint: clint@2000000 {
|
224 | 236 | #interrupt-cells = <1>;
|
225 | 237 | compatible = "riscv,clint0";
|
226 |
| - interrupts-extended = <&cpu0_intc 3>, |
227 |
| - <&cpu0_intc 7>, |
228 |
| - <&cpu1_intc 3>, |
229 |
| - <&cpu1_intc 7>; |
| 238 | + interrupts-extended = <&cpu1_intc 3>, |
| 239 | + <&cpu1_intc 7>, |
| 240 | + <&cpu2_intc 3>, |
| 241 | + <&cpu2_intc 7>; |
230 | 242 | reg = <0x0 0x2000000 0x0 0x10000>;
|
231 | 243 | reg-names = "control";
|
232 | 244 | };
|
|
235 | 247 | #interrupt-cells = <1>;
|
236 | 248 | compatible = "riscv,plic0";
|
237 | 249 | interrupt-controller;
|
238 |
| - interrupts-extended = <&cpu0_intc 11>, |
239 |
| - <&cpu0_intc 9>, |
240 |
| - <&cpu1_intc 11>, |
241 |
| - <&cpu1_intc 9>; |
| 250 | + interrupts-extended = <&cpu1_intc 11>, |
| 251 | + <&cpu1_intc 9>, |
| 252 | + <&cpu2_intc 11>, |
| 253 | + <&cpu2_intc 9>; |
242 | 254 | reg = <0x0 0xc000000 0x0 0x4000000>;
|
243 | 255 | reg-names = "control";
|
244 | 256 | riscv,max-priority = <7>;
|
|
0 commit comments