blob: 6012a2850703590a31b52a4d83837325bfb30772 [file] [log] [blame]
Padmarao Begarib56e2fd2021-11-17 18:21:17 +05301// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/* Copyright (c) 2020-2021 Microchip Technology Inc */
3
4#include "dt-bindings/clock/microchip-mpfs-clock.h"
Padmarao Begarib56e2fd2021-11-17 18:21:17 +05305
6/ {
7 #address-cells = <2>;
8 #size-cells = <2>;
9 model = "Microchip PolarFire SoC";
10 compatible = "microchip,mpfs";
11
Padmarao Begarib56e2fd2021-11-17 18:21:17 +053012 cpus {
13 #address-cells = <1>;
14 #size-cells = <0>;
15
16 cpu0: cpu@0 {
17 compatible = "sifive,e51", "sifive,rocket0", "riscv";
18 device_type = "cpu";
19 i-cache-block-size = <64>;
20 i-cache-sets = <128>;
21 i-cache-size = <16384>;
22 reg = <0>;
23 riscv,isa = "rv64imac";
24 clocks = <&clkcfg CLK_CPU>;
25 status = "disabled";
Conor Dooley39785992023-06-15 11:12:43 +010026
Padmarao Begarib56e2fd2021-11-17 18:21:17 +053027 cpu0_intc: interrupt-controller {
28 #interrupt-cells = <1>;
29 compatible = "riscv,cpu-intc";
30 interrupt-controller;
31 };
32 };
33
34 cpu1: cpu@1 {
35 compatible = "sifive,u54-mc", "sifive,rocket0", "riscv";
36 d-cache-block-size = <64>;
37 d-cache-sets = <64>;
38 d-cache-size = <32768>;
39 d-tlb-sets = <1>;
40 d-tlb-size = <32>;
41 device_type = "cpu";
42 i-cache-block-size = <64>;
43 i-cache-sets = <64>;
44 i-cache-size = <32768>;
45 i-tlb-sets = <1>;
46 i-tlb-size = <32>;
47 mmu-type = "riscv,sv39";
48 reg = <1>;
49 riscv,isa = "rv64imafdc";
50 clocks = <&clkcfg CLK_CPU>;
51 tlb-split;
Conor Dooley39785992023-06-15 11:12:43 +010052 next-level-cache = <&cctrllr>;
Padmarao Begarib56e2fd2021-11-17 18:21:17 +053053 status = "okay";
Conor Dooley39785992023-06-15 11:12:43 +010054
Padmarao Begarib56e2fd2021-11-17 18:21:17 +053055 cpu1_intc: interrupt-controller {
56 #interrupt-cells = <1>;
57 compatible = "riscv,cpu-intc";
58 interrupt-controller;
59 };
60 };
61
62 cpu2: cpu@2 {
63 compatible = "sifive,u54-mc", "sifive,rocket0", "riscv";
64 d-cache-block-size = <64>;
65 d-cache-sets = <64>;
66 d-cache-size = <32768>;
67 d-tlb-sets = <1>;
68 d-tlb-size = <32>;
69 device_type = "cpu";
70 i-cache-block-size = <64>;
71 i-cache-sets = <64>;
72 i-cache-size = <32768>;
73 i-tlb-sets = <1>;
74 i-tlb-size = <32>;
75 mmu-type = "riscv,sv39";
76 reg = <2>;
77 riscv,isa = "rv64imafdc";
78 clocks = <&clkcfg CLK_CPU>;
79 tlb-split;
Conor Dooley39785992023-06-15 11:12:43 +010080 next-level-cache = <&cctrllr>;
Padmarao Begarib56e2fd2021-11-17 18:21:17 +053081 status = "okay";
Conor Dooley39785992023-06-15 11:12:43 +010082
Padmarao Begarib56e2fd2021-11-17 18:21:17 +053083 cpu2_intc: interrupt-controller {
84 #interrupt-cells = <1>;
85 compatible = "riscv,cpu-intc";
86 interrupt-controller;
87 };
88 };
89
90 cpu3: cpu@3 {
91 compatible = "sifive,u54-mc", "sifive,rocket0", "riscv";
92 d-cache-block-size = <64>;
93 d-cache-sets = <64>;
94 d-cache-size = <32768>;
95 d-tlb-sets = <1>;
96 d-tlb-size = <32>;
97 device_type = "cpu";
98 i-cache-block-size = <64>;
99 i-cache-sets = <64>;
100 i-cache-size = <32768>;
101 i-tlb-sets = <1>;
102 i-tlb-size = <32>;
103 mmu-type = "riscv,sv39";
104 reg = <3>;
105 riscv,isa = "rv64imafdc";
106 clocks = <&clkcfg CLK_CPU>;
107 tlb-split;
Conor Dooley39785992023-06-15 11:12:43 +0100108 next-level-cache = <&cctrllr>;
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530109 status = "okay";
Conor Dooley39785992023-06-15 11:12:43 +0100110
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530111 cpu3_intc: interrupt-controller {
112 #interrupt-cells = <1>;
113 compatible = "riscv,cpu-intc";
114 interrupt-controller;
115 };
116 };
117
118 cpu4: cpu@4 {
119 compatible = "sifive,u54-mc", "sifive,rocket0", "riscv";
120 d-cache-block-size = <64>;
121 d-cache-sets = <64>;
122 d-cache-size = <32768>;
123 d-tlb-sets = <1>;
124 d-tlb-size = <32>;
125 device_type = "cpu";
126 i-cache-block-size = <64>;
127 i-cache-sets = <64>;
128 i-cache-size = <32768>;
129 i-tlb-sets = <1>;
130 i-tlb-size = <32>;
131 mmu-type = "riscv,sv39";
132 reg = <4>;
133 riscv,isa = "rv64imafdc";
134 clocks = <&clkcfg CLK_CPU>;
135 tlb-split;
Conor Dooley39785992023-06-15 11:12:43 +0100136 next-level-cache = <&cctrllr>;
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530137 status = "okay";
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530138 cpu4_intc: interrupt-controller {
139 #interrupt-cells = <1>;
140 compatible = "riscv,cpu-intc";
141 interrupt-controller;
142 };
143 };
Conor Dooley39785992023-06-15 11:12:43 +0100144
145 cpu-map {
146 cluster0 {
147 core0 {
148 cpu = <&cpu0>;
149 };
150
151 core1 {
152 cpu = <&cpu1>;
153 };
154
155 core2 {
156 cpu = <&cpu2>;
157 };
158
159 core3 {
160 cpu = <&cpu3>;
161 };
162
163 core4 {
164 cpu = <&cpu4>;
165 };
166 };
167 };
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530168 };
169
Conor Dooley39785992023-06-15 11:12:43 +0100170 refclk: mssrefclk {
Conor Dooleye828edd2022-10-25 08:58:49 +0100171 compatible = "fixed-clock";
172 #clock-cells = <0>;
173 };
174
Conor Dooley39785992023-06-15 11:12:43 +0100175 syscontroller: syscontroller {
176 compatible = "microchip,mpfs-sys-controller";
177 mboxes = <&mbox 0>;
178 };
179
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530180 soc {
181 #address-cells = <2>;
182 #size-cells = <2>;
Conor Dooley39785992023-06-15 11:12:43 +0100183 compatible = "simple-bus";
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530184 ranges;
185
Conor Dooley39785992023-06-15 11:12:43 +0100186 cctrllr: cache-controller@2010000 {
187 compatible = "microchip,mpfs-ccache", "sifive,fu540-c000-ccache", "cache";
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530188 reg = <0x0 0x2010000 0x0 0x1000>;
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530189 cache-block-size = <64>;
190 cache-level = <2>;
191 cache-sets = <1024>;
192 cache-size = <2097152>;
193 cache-unified;
Conor Dooley39785992023-06-15 11:12:43 +0100194 interrupt-parent = <&plic>;
195 interrupts = <1>, <3>, <4>, <2>;
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530196 };
197
Conor Dooley39785992023-06-15 11:12:43 +0100198 clint: clint@2000000 {
199 compatible = "sifive,fu540-c000-clint", "sifive,clint0";
200 reg = <0x0 0x2000000 0x0 0xC000>;
201 interrupts-extended = <&cpu0_intc 3>, <&cpu0_intc 7>,
202 <&cpu1_intc 3>, <&cpu1_intc 7>,
203 <&cpu2_intc 3>, <&cpu2_intc 7>,
204 <&cpu3_intc 3>, <&cpu3_intc 7>,
205 <&cpu4_intc 3>, <&cpu4_intc 7>;
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530206 };
207
208 plic: interrupt-controller@c000000 {
Conor Dooley39785992023-06-15 11:12:43 +0100209 compatible = "sifive,fu540-c000-plic", "sifive,plic-1.0.0";
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530210 reg = <0x0 0xc000000 0x0 0x4000000>;
Conor Dooley39785992023-06-15 11:12:43 +0100211 #address-cells = <0>;
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530212 #interrupt-cells = <1>;
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530213 interrupt-controller;
Conor Dooley39785992023-06-15 11:12:43 +0100214 interrupts-extended = <&cpu0_intc 11>,
215 <&cpu1_intc 11>, <&cpu1_intc 9>,
216 <&cpu2_intc 11>, <&cpu2_intc 9>,
217 <&cpu3_intc 11>, <&cpu3_intc 9>,
218 <&cpu4_intc 11>, <&cpu4_intc 9>;
219 riscv,ndev = <186>;
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530220 };
221
Conor Dooley39785992023-06-15 11:12:43 +0100222 pdma: dma-controller@3000000 {
223 compatible = "sifive,fu540-c000-pdma", "sifive,pdma0";
224 reg = <0x0 0x3000000 0x0 0x8000>;
225 interrupt-parent = <&plic>;
226 interrupts = <5 6>, <7 8>, <9 10>, <11 12>;
227 dma-channels = <4>;
228 #dma-cells = <1>;
229 };
230
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530231 clkcfg: clkcfg@20002000 {
232 compatible = "microchip,mpfs-clkcfg";
Conor Dooleye828edd2022-10-25 08:58:49 +0100233 reg = <0x0 0x20002000 0x0 0x1000>, <0x0 0x3E001000 0x0 0x1000>;
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530234 clocks = <&refclk>;
235 #clock-cells = <1>;
Conor Dooley39785992023-06-15 11:12:43 +0100236 #reset-cells = <1>;
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530237 };
238
Conor Dooley39785992023-06-15 11:12:43 +0100239 ccc_se: clock-controller@38010000 {
240 compatible = "microchip,mpfs-ccc";
241 reg = <0x0 0x38010000 0x0 0x1000>, <0x0 0x38020000 0x0 0x1000>,
242 <0x0 0x39010000 0x0 0x1000>, <0x0 0x39020000 0x0 0x1000>;
243 #clock-cells = <1>;
244 status = "disabled";
245 };
246
247 ccc_ne: clock-controller@38040000 {
248 compatible = "microchip,mpfs-ccc";
249 reg = <0x0 0x38040000 0x0 0x1000>, <0x0 0x38080000 0x0 0x1000>,
250 <0x0 0x39040000 0x0 0x1000>, <0x0 0x39080000 0x0 0x1000>;
251 #clock-cells = <1>;
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530252 status = "disabled";
253 };
254
Conor Dooley39785992023-06-15 11:12:43 +0100255 ccc_nw: clock-controller@38100000 {
256 compatible = "microchip,mpfs-ccc";
257 reg = <0x0 0x38100000 0x0 0x1000>, <0x0 0x38200000 0x0 0x1000>,
258 <0x0 0x39100000 0x0 0x1000>, <0x0 0x39200000 0x0 0x1000>;
259 #clock-cells = <1>;
260 status = "disabled";
261 };
262
263 ccc_sw: clock-controller@38400000 {
264 compatible = "microchip,mpfs-ccc";
265 reg = <0x0 0x38400000 0x0 0x1000>, <0x0 0x38800000 0x0 0x1000>,
266 <0x0 0x39400000 0x0 0x1000>, <0x0 0x39800000 0x0 0x1000>;
267 #clock-cells = <1>;
268 status = "disabled";
269 };
270
271 mmuart0: serial@20000000 {
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530272 compatible = "ns16550a";
273 reg = <0x0 0x20000000 0x0 0x400>;
274 reg-io-width = <4>;
275 reg-shift = <2>;
276 interrupt-parent = <&plic>;
Conor Dooley39785992023-06-15 11:12:43 +0100277 interrupts = <90>;
278 current-speed = <115200>;
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530279 clocks = <&clkcfg CLK_MMUART0>;
280 status = "disabled"; /* Reserved for the HSS */
281 };
282
Conor Dooley39785992023-06-15 11:12:43 +0100283 mmuart1: serial@20100000 {
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530284 compatible = "ns16550a";
285 reg = <0x0 0x20100000 0x0 0x400>;
286 reg-io-width = <4>;
287 reg-shift = <2>;
288 interrupt-parent = <&plic>;
Conor Dooley39785992023-06-15 11:12:43 +0100289 interrupts = <91>;
290 current-speed = <115200>;
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530291 clocks = <&clkcfg CLK_MMUART1>;
292 status = "disabled";
293 };
294
Conor Dooley39785992023-06-15 11:12:43 +0100295 mmuart2: serial@20102000 {
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530296 compatible = "ns16550a";
297 reg = <0x0 0x20102000 0x0 0x400>;
298 reg-io-width = <4>;
299 reg-shift = <2>;
300 interrupt-parent = <&plic>;
Conor Dooley39785992023-06-15 11:12:43 +0100301 interrupts = <92>;
302 current-speed = <115200>;
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530303 clocks = <&clkcfg CLK_MMUART2>;
304 status = "disabled";
305 };
306
Conor Dooley39785992023-06-15 11:12:43 +0100307 mmuart3: serial@20104000 {
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530308 compatible = "ns16550a";
309 reg = <0x0 0x20104000 0x0 0x400>;
310 reg-io-width = <4>;
311 reg-shift = <2>;
312 interrupt-parent = <&plic>;
Conor Dooley39785992023-06-15 11:12:43 +0100313 interrupts = <93>;
314 current-speed = <115200>;
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530315 clocks = <&clkcfg CLK_MMUART3>;
316 status = "disabled";
317 };
318
Conor Dooley39785992023-06-15 11:12:43 +0100319 mmuart4: serial@20106000 {
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530320 compatible = "ns16550a";
321 reg = <0x0 0x20106000 0x0 0x400>;
322 reg-io-width = <4>;
323 reg-shift = <2>;
324 interrupt-parent = <&plic>;
Conor Dooley39785992023-06-15 11:12:43 +0100325 interrupts = <94>;
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530326 clocks = <&clkcfg CLK_MMUART4>;
Conor Dooley39785992023-06-15 11:12:43 +0100327 current-speed = <115200>;
328 status = "disabled";
329 };
330
331 /* Common node entry for emmc/sd */
332 mmc: mmc@20008000 {
333 compatible = "microchip,mpfs-sd4hc", "cdns,sd4hc";
334 reg = <0x0 0x20008000 0x0 0x1000>;
335 interrupt-parent = <&plic>;
336 interrupts = <88>;
337 clocks = <&clkcfg CLK_MMC>;
338 max-frequency = <200000000>;
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530339 status = "disabled";
340 };
341
342 spi0: spi@20108000 {
343 compatible = "microchip,mpfs-spi";
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530344 #address-cells = <1>;
345 #size-cells = <0>;
Conor Dooley39785992023-06-15 11:12:43 +0100346 reg = <0x0 0x20108000 0x0 0x1000>;
347 interrupt-parent = <&plic>;
348 interrupts = <54>;
349 clocks = <&clkcfg CLK_SPI0>;
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530350 status = "disabled";
351 };
352
353 spi1: spi@20109000 {
354 compatible = "microchip,mpfs-spi";
Conor Dooley39785992023-06-15 11:12:43 +0100355 #address-cells = <1>;
356 #size-cells = <0>;
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530357 reg = <0x0 0x20109000 0x0 0x1000>;
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530358 interrupt-parent = <&plic>;
Conor Dooley39785992023-06-15 11:12:43 +0100359 interrupts = <55>;
360 clocks = <&clkcfg CLK_SPI1>;
361 status = "disabled";
362 };
363
364 qspi: spi@21000000 {
365 compatible = "microchip,mpfs-qspi", "microchip,coreqspi-rtl-v2";
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530366 #address-cells = <1>;
367 #size-cells = <0>;
Conor Dooley39785992023-06-15 11:12:43 +0100368 reg = <0x0 0x21000000 0x0 0x1000>;
369 interrupt-parent = <&plic>;
370 interrupts = <85>;
371 clocks = <&clkcfg CLK_QSPI>;
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530372 status = "disabled";
373 };
374
375 i2c0: i2c@2010a000 {
Conor Dooley39785992023-06-15 11:12:43 +0100376 compatible = "microchip,mpfs-i2c", "microchip,corei2c-rtl-v7";
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530377 reg = <0x0 0x2010a000 0x0 0x1000>;
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530378 #address-cells = <1>;
379 #size-cells = <0>;
Conor Dooley39785992023-06-15 11:12:43 +0100380 interrupt-parent = <&plic>;
381 interrupts = <58>;
382 clocks = <&clkcfg CLK_I2C0>;
383 clock-frequency = <100000>;
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530384 status = "disabled";
385 };
386
387 i2c1: i2c@2010b000 {
Conor Dooley39785992023-06-15 11:12:43 +0100388 compatible = "microchip,mpfs-i2c", "microchip,corei2c-rtl-v7";
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530389 reg = <0x0 0x2010b000 0x0 0x1000>;
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530390 #address-cells = <1>;
391 #size-cells = <0>;
Conor Dooley39785992023-06-15 11:12:43 +0100392 interrupt-parent = <&plic>;
393 interrupts = <61>;
394 clocks = <&clkcfg CLK_I2C1>;
395 clock-frequency = <100000>;
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530396 status = "disabled";
397 };
398
399 can0: can@2010c000 {
Conor Dooley39785992023-06-15 11:12:43 +0100400 compatible = "microchip,mpfs-can";
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530401 reg = <0x0 0x2010c000 0x0 0x1000>;
402 clocks = <&clkcfg CLK_CAN0>;
403 interrupt-parent = <&plic>;
Conor Dooley39785992023-06-15 11:12:43 +0100404 interrupts = <56>;
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530405 status = "disabled";
406 };
407
408 can1: can@2010d000 {
Conor Dooley39785992023-06-15 11:12:43 +0100409 compatible = "microchip,mpfs-can";
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530410 reg = <0x0 0x2010d000 0x0 0x1000>;
411 clocks = <&clkcfg CLK_CAN1>;
412 interrupt-parent = <&plic>;
Conor Dooley39785992023-06-15 11:12:43 +0100413 interrupts = <57>;
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530414 status = "disabled";
415 };
416
417 mac0: ethernet@20110000 {
Conor Dooley39785992023-06-15 11:12:43 +0100418 compatible = "microchip,mpfs-macb", "cdns,macb";
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530419 reg = <0x0 0x20110000 0x0 0x2000>;
Conor Dooley39785992023-06-15 11:12:43 +0100420 #address-cells = <1>;
421 #size-cells = <0>;
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530422 interrupt-parent = <&plic>;
Conor Dooley39785992023-06-15 11:12:43 +0100423 interrupts = <64>, <65>, <66>, <67>, <68>, <69>;
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530424 local-mac-address = [00 00 00 00 00 00];
Conor Dooley39785992023-06-15 11:12:43 +0100425 clocks = <&clkcfg CLK_MAC0>, <&clkcfg CLK_AHB>;
426 clock-names = "pclk", "hclk";
427 resets = <&clkcfg CLK_MAC0>;
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530428 status = "disabled";
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530429 };
430
431 mac1: ethernet@20112000 {
Conor Dooley39785992023-06-15 11:12:43 +0100432 compatible = "microchip,mpfs-macb", "cdns,macb";
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530433 reg = <0x0 0x20112000 0x0 0x2000>;
Conor Dooley39785992023-06-15 11:12:43 +0100434 #address-cells = <1>;
435 #size-cells = <0>;
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530436 interrupt-parent = <&plic>;
Conor Dooley39785992023-06-15 11:12:43 +0100437 interrupts = <70>, <71>, <72>, <73>, <74>, <75>;
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530438 local-mac-address = [00 00 00 00 00 00];
Conor Dooley39785992023-06-15 11:12:43 +0100439 clocks = <&clkcfg CLK_MAC1>, <&clkcfg CLK_AHB>;
440 clock-names = "pclk", "hclk";
441 resets = <&clkcfg CLK_MAC1>;
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530442 status = "disabled";
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530443 };
444
445 gpio0: gpio@20120000 {
446 compatible = "microchip,mpfs-gpio";
447 reg = <0x0 0x20120000 0x0 0x1000>;
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530448 interrupt-parent = <&plic>;
Conor Dooley39785992023-06-15 11:12:43 +0100449 interrupt-controller;
450 #interrupt-cells = <1>;
451 clocks = <&clkcfg CLK_GPIO0>;
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530452 gpio-controller;
453 #gpio-cells = <2>;
454 status = "disabled";
455 };
456
457 gpio1: gpio@20121000 {
458 compatible = "microchip,mpfs-gpio";
Conor Dooley39785992023-06-15 11:12:43 +0100459 reg = <0x0 0x20121000 0x0 0x1000>;
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530460 interrupt-parent = <&plic>;
Conor Dooley39785992023-06-15 11:12:43 +0100461 interrupt-controller;
462 #interrupt-cells = <1>;
463 clocks = <&clkcfg CLK_GPIO1>;
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530464 gpio-controller;
465 #gpio-cells = <2>;
466 status = "disabled";
467 };
468
469 gpio2: gpio@20122000 {
470 compatible = "microchip,mpfs-gpio";
471 reg = <0x0 0x20122000 0x0 0x1000>;
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530472 interrupt-parent = <&plic>;
Conor Dooley39785992023-06-15 11:12:43 +0100473 interrupt-controller;
474 #interrupt-cells = <1>;
475 clocks = <&clkcfg CLK_GPIO2>;
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530476 gpio-controller;
477 #gpio-cells = <2>;
478 status = "disabled";
479 };
480
481 rtc: rtc@20124000 {
482 compatible = "microchip,mpfs-rtc";
483 reg = <0x0 0x20124000 0x0 0x1000>;
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530484 interrupt-parent = <&plic>;
Conor Dooley39785992023-06-15 11:12:43 +0100485 interrupts = <80>, <81>;
486 clocks = <&clkcfg CLK_RTC>, <&clkcfg CLK_RTCREF>;
487 clock-names = "rtc", "rtcref";
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530488 status = "disabled";
489 };
490
491 usb: usb@20201000 {
Conor Dooley39785992023-06-15 11:12:43 +0100492 compatible = "microchip,mpfs-musb";
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530493 reg = <0x0 0x20201000 0x0 0x1000>;
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530494 interrupt-parent = <&plic>;
Conor Dooley39785992023-06-15 11:12:43 +0100495 interrupts = <86>, <87>;
496 clocks = <&clkcfg CLK_USB>;
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530497 interrupt-names = "dma","mc";
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530498 status = "disabled";
499 };
500
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530501 mbox: mailbox@37020000 {
502 compatible = "microchip,mpfs-mailbox";
Conor Dooley39785992023-06-15 11:12:43 +0100503 reg = <0x0 0x37020000 0x0 0x58>, <0x0 0x2000318C 0x0 0x40>,
504 <0x0 0x37020800 0x0 0x100>;
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530505 interrupt-parent = <&plic>;
Conor Dooley39785992023-06-15 11:12:43 +0100506 interrupts = <96>;
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530507 #mbox-cells = <1>;
508 status = "disabled";
509 };
Padmarao Begarib56e2fd2021-11-17 18:21:17 +0530510 };
511};