1 /* SPDX-License-Identifier: GPL-2.0-only */
8 compatible = "sifive,fu540-c000", "sifive,fu540";
21 timebase-frequency = <1000000>;
23 compatible = "sifive,e51", "sifive,rocket0", "riscv";
25 i-cache-block-size = <64>;
27 i-cache-size = <16384>;
29 riscv,isa = "rv64imac";
31 cpu0_intc: interrupt-controller {
32 #interrupt-cells = <1>;
33 compatible = "riscv,cpu-intc";
38 compatible = "sifive,u54-mc", "sifive,rocket0", "riscv";
39 d-cache-block-size = <64>;
41 d-cache-size = <32768>;
45 i-cache-block-size = <64>;
47 i-cache-size = <32768>;
50 mmu-type = "riscv,sv39";
52 riscv,isa = "rv64imafdc";
54 cpu1_intc: interrupt-controller {
55 #interrupt-cells = <1>;
56 compatible = "riscv,cpu-intc";
61 clock-frequency = <0>;
62 compatible = "sifive,u54-mc", "sifive,rocket0", "riscv";
63 d-cache-block-size = <64>;
65 d-cache-size = <32768>;
69 i-cache-block-size = <64>;
71 i-cache-size = <32768>;
74 mmu-type = "riscv,sv39";
76 riscv,isa = "rv64imafdc";
78 cpu2_intc: interrupt-controller {
79 #interrupt-cells = <1>;
80 compatible = "riscv,cpu-intc";
85 clock-frequency = <0>;
86 compatible = "sifive,u54-mc", "sifive,rocket0", "riscv";
87 d-cache-block-size = <64>;
89 d-cache-size = <32768>;
93 i-cache-block-size = <64>;
95 i-cache-size = <32768>;
98 mmu-type = "riscv,sv39";
100 riscv,isa = "rv64imafdc";
102 cpu3_intc: interrupt-controller {
103 #interrupt-cells = <1>;
104 compatible = "riscv,cpu-intc";
105 interrupt-controller;
109 clock-frequency = <0>;
110 compatible = "sifive,u54-mc", "sifive,rocket0", "riscv";
111 d-cache-block-size = <64>;
113 d-cache-size = <32768>;
117 i-cache-block-size = <64>;
119 i-cache-size = <32768>;
122 mmu-type = "riscv,sv39";
124 riscv,isa = "rv64imafdc";
126 cpu4_intc: interrupt-controller {
127 #interrupt-cells = <1>;
128 compatible = "riscv,cpu-intc";
129 interrupt-controller;
134 #address-cells = <2>;
136 compatible = "sifive,fu540-c000", "sifive,fu540", "simple-bus";
138 plic0: interrupt-controller@c000000 {
139 #interrupt-cells = <1>;
140 compatible = "sifive,plic-1.0.0";
141 reg = <0x0 0xc000000 0x0 0x4000000>;
143 interrupt-controller;
144 interrupts-extended = <
145 &cpu0_intc 0xffffffff
146 &cpu1_intc 0xffffffff &cpu1_intc 9
147 &cpu2_intc 0xffffffff &cpu2_intc 9
148 &cpu3_intc 0xffffffff &cpu3_intc 9
149 &cpu4_intc 0xffffffff &cpu4_intc 9>;
151 prci: clock-controller@10000000 {
152 compatible = "sifive,fu540-c000-prci";
153 reg = <0x0 0x10000000 0x0 0x1000>;
154 clocks = <&hfclk>, <&rtcclk>;
157 uart0: serial@10010000 {
158 compatible = "sifive,fu540-c000-uart", "sifive,uart0";
159 reg = <0x0 0x10010000 0x0 0x1000>;
160 interrupt-parent = <&plic0>;
165 uart1: serial@10011000 {
166 compatible = "sifive,fu540-c000-uart", "sifive,uart0";
167 reg = <0x0 0x10011000 0x0 0x1000>;
168 interrupt-parent = <&plic0>;
174 compatible = "sifive,fu540-c000-i2c", "sifive,i2c0";
175 reg = <0x0 0x10030000 0x0 0x1000>;
176 interrupt-parent = <&plic0>;
181 #address-cells = <1>;
185 qspi0: spi@10040000 {
186 compatible = "sifive,fu540-c000-spi", "sifive,spi0";
187 reg = <0x0 0x10040000 0x0 0x1000
188 0x0 0x20000000 0x0 0x10000000>;
189 interrupt-parent = <&plic0>;
192 #address-cells = <1>;
196 qspi1: spi@10041000 {
197 compatible = "sifive,fu540-c000-spi", "sifive,spi0";
198 reg = <0x0 0x10041000 0x0 0x1000
199 0x0 0x30000000 0x0 0x10000000>;
200 interrupt-parent = <&plic0>;
203 #address-cells = <1>;
207 qspi2: spi@10050000 {
208 compatible = "sifive,fu540-c000-spi", "sifive,spi0";
209 reg = <0x0 0x10050000 0x0 0x1000>;
210 interrupt-parent = <&plic0>;
213 #address-cells = <1>;
217 eth0: ethernet@10090000 {
218 compatible = "sifive,fu540-c000-gem";
219 interrupt-parent = <&plic0>;
221 reg = <0x0 0x10090000 0x0 0x2000
222 0x0 0x100a0000 0x0 0x1000>;
223 local-mac-address = [00 00 00 00 00 00];
224 clock-names = "pclk", "hclk";
225 clocks = <&prci 2>, <&prci 2>;
226 #address-cells = <1>;