1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2019, Intel Corporation
7 #include <dt-bindings/reset/altr,rst-mgr-s10.h>
8 #include <dt-bindings/gpio/gpio.h>
11 compatible = "intel,socfpga-agilex";
20 service_reserved: svcbuffer@0 {
21 compatible = "shared-dma-pool";
22 reg = <0x0 0x0 0x0 0x1000000>;
33 compatible = "arm,cortex-a53";
35 enable-method = "psci";
40 compatible = "arm,cortex-a53";
42 enable-method = "psci";
47 compatible = "arm,cortex-a53";
49 enable-method = "psci";
54 compatible = "arm,cortex-a53";
56 enable-method = "psci";
62 compatible = "arm,armv8-pmuv3";
63 interrupts = <0 170 4>,
67 interrupt-affinity = <&cpu0>,
71 interrupt-parent = <&intc>;
75 compatible = "arm,psci-0.2";
80 compatible = "arm,gic-400", "arm,cortex-a15-gic";
81 #interrupt-cells = <3>;
83 reg = <0x0 0xfffc1000 0x0 0x1000>,
84 <0x0 0xfffc2000 0x0 0x2000>,
85 <0x0 0xfffc4000 0x0 0x2000>,
86 <0x0 0xfffc6000 0x0 0x2000>;
92 compatible = "simple-bus";
94 interrupt-parent = <&intc>;
95 ranges = <0 0 0 0xffffffff>;
98 #address-cells = <0x1>;
100 compatible = "fpga-region";
101 fpga-mgr = <&fpga_mgr>;
104 gmac0: ethernet@ff800000 {
105 compatible = "altr,socfpga-stmmac", "snps,dwmac-3.74a", "snps,dwmac";
106 reg = <0xff800000 0x2000>;
107 interrupts = <0 90 4>;
108 interrupt-names = "macirq";
109 mac-address = [00 00 00 00 00 00];
110 resets = <&rst EMAC0_RESET>, <&rst EMAC0_OCP_RESET>;
111 reset-names = "stmmaceth", "stmmaceth-ocp";
112 tx-fifo-depth = <16384>;
113 rx-fifo-depth = <16384>;
114 snps,multicast-filter-bins = <256>;
116 altr,sysmgr-syscon = <&sysmgr 0x44 0>;
120 gmac1: ethernet@ff802000 {
121 compatible = "altr,socfpga-stmmac", "snps,dwmac-3.74a", "snps,dwmac";
122 reg = <0xff802000 0x2000>;
123 interrupts = <0 91 4>;
124 interrupt-names = "macirq";
125 mac-address = [00 00 00 00 00 00];
126 resets = <&rst EMAC1_RESET>, <&rst EMAC1_OCP_RESET>;
127 reset-names = "stmmaceth", "stmmaceth-ocp";
128 tx-fifo-depth = <16384>;
129 rx-fifo-depth = <16384>;
130 snps,multicast-filter-bins = <256>;
132 altr,sysmgr-syscon = <&sysmgr 0x48 8>;
136 gmac2: ethernet@ff804000 {
137 compatible = "altr,socfpga-stmmac", "snps,dwmac-3.74a", "snps,dwmac";
138 reg = <0xff804000 0x2000>;
139 interrupts = <0 92 4>;
140 interrupt-names = "macirq";
141 mac-address = [00 00 00 00 00 00];
142 resets = <&rst EMAC2_RESET>, <&rst EMAC2_OCP_RESET>;
143 reset-names = "stmmaceth", "stmmaceth-ocp";
144 tx-fifo-depth = <16384>;
145 rx-fifo-depth = <16384>;
146 snps,multicast-filter-bins = <256>;
148 altr,sysmgr-syscon = <&sysmgr 0x4c 16>;
152 gpio0: gpio@ffc03200 {
153 #address-cells = <1>;
155 compatible = "snps,dw-apb-gpio";
156 reg = <0xffc03200 0x100>;
157 resets = <&rst GPIO0_RESET>;
160 porta: gpio-controller@0 {
161 compatible = "snps,dw-apb-gpio-port";
164 snps,nr-gpios = <24>;
166 interrupt-controller;
167 #interrupt-cells = <2>;
168 interrupts = <0 110 4>;
172 gpio1: gpio@ffc03300 {
173 #address-cells = <1>;
175 compatible = "snps,dw-apb-gpio";
176 reg = <0xffc03300 0x100>;
177 resets = <&rst GPIO1_RESET>;
180 portb: gpio-controller@0 {
181 compatible = "snps,dw-apb-gpio-port";
184 snps,nr-gpios = <24>;
186 interrupt-controller;
187 #interrupt-cells = <2>;
188 interrupts = <0 111 4>;
193 #address-cells = <1>;
195 compatible = "snps,designware-i2c";
196 reg = <0xffc02800 0x100>;
197 interrupts = <0 103 4>;
198 resets = <&rst I2C0_RESET>;
203 #address-cells = <1>;
205 compatible = "snps,designware-i2c";
206 reg = <0xffc02900 0x100>;
207 interrupts = <0 104 4>;
208 resets = <&rst I2C1_RESET>;
213 #address-cells = <1>;
215 compatible = "snps,designware-i2c";
216 reg = <0xffc02a00 0x100>;
217 interrupts = <0 105 4>;
218 resets = <&rst I2C2_RESET>;
223 #address-cells = <1>;
225 compatible = "snps,designware-i2c";
226 reg = <0xffc02b00 0x100>;
227 interrupts = <0 106 4>;
228 resets = <&rst I2C3_RESET>;
233 #address-cells = <1>;
235 compatible = "snps,designware-i2c";
236 reg = <0xffc02c00 0x100>;
237 interrupts = <0 107 4>;
238 resets = <&rst I2C4_RESET>;
242 mmc: dwmmc0@ff808000 {
243 #address-cells = <1>;
245 compatible = "altr,socfpga-dw-mshc";
246 reg = <0xff808000 0x1000>;
247 interrupts = <0 96 4>;
248 fifo-depth = <0x400>;
249 resets = <&rst SDMMC_RESET>;
250 reset-names = "reset";
255 nand: nand@ffb90000 {
256 #address-cells = <1>;
258 compatible = "altr,socfpga-denali-nand";
259 reg = <0xffb90000 0x10000>,
261 reg-names = "nand_data", "denali_reg";
262 interrupts = <0 97 4>;
263 resets = <&rst NAND_RESET>, <&rst NAND_OCP_RESET>;
267 ocram: sram@ffe00000 {
268 compatible = "mmio-sram";
269 reg = <0xffe00000 0x40000>;
272 pdma: pdma@ffda0000 {
273 compatible = "arm,pl330", "arm,primecell";
274 reg = <0xffda0000 0x1000>;
275 interrupts = <0 81 4>,
286 #dma-requests = <32>;
287 resets = <&rst DMA_RESET>, <&rst DMA_OCP_RESET>;
288 reset-names = "dma", "dma-ocp";
291 rst: rstmgr@ffd11000 {
293 compatible = "altr,stratix10-rst-mgr";
294 reg = <0xffd11000 0x100>;
297 smmu: iommu@fa000000 {
298 compatible = "arm,mmu-500", "arm,smmu-v2";
299 reg = <0xfa000000 0x40000>;
300 #global-interrupts = <2>;
302 interrupt-parent = <&intc>;
303 interrupts = <0 128 4>, /* Global Secure Fault */
304 <0 129 4>, /* Global Non-secure Fault */
305 /* Non-secure Context Interrupts (32) */
306 <0 138 4>, <0 139 4>, <0 140 4>, <0 141 4>,
307 <0 142 4>, <0 143 4>, <0 144 4>, <0 145 4>,
308 <0 146 4>, <0 147 4>, <0 148 4>, <0 149 4>,
309 <0 150 4>, <0 151 4>, <0 152 4>, <0 153 4>,
310 <0 154 4>, <0 155 4>, <0 156 4>, <0 157 4>,
311 <0 158 4>, <0 159 4>, <0 160 4>, <0 161 4>,
312 <0 162 4>, <0 163 4>, <0 164 4>, <0 165 4>,
313 <0 166 4>, <0 167 4>, <0 168 4>, <0 169 4>;
314 stream-match-mask = <0x7ff0>;
319 compatible = "snps,dw-apb-ssi";
320 #address-cells = <1>;
322 reg = <0xffda4000 0x1000>;
323 interrupts = <0 99 4>;
324 resets = <&rst SPIM0_RESET>;
331 compatible = "snps,dw-apb-ssi";
332 #address-cells = <1>;
334 reg = <0xffda5000 0x1000>;
335 interrupts = <0 100 4>;
336 resets = <&rst SPIM1_RESET>;
342 sysmgr: sysmgr@ffd12000 {
343 compatible = "altr,sys-mgr-s10","altr,sys-mgr";
344 reg = <0xffd12000 0x500>;
349 compatible = "arm,armv8-timer";
350 interrupts = <1 13 0xf08>,
356 timer0: timer0@ffc03000 {
357 compatible = "snps,dw-apb-timer";
358 interrupts = <0 113 4>;
359 reg = <0xffc03000 0x100>;
362 timer1: timer1@ffc03100 {
363 compatible = "snps,dw-apb-timer";
364 interrupts = <0 114 4>;
365 reg = <0xffc03100 0x100>;
368 timer2: timer2@ffd00000 {
369 compatible = "snps,dw-apb-timer";
370 interrupts = <0 115 4>;
371 reg = <0xffd00000 0x100>;
374 timer3: timer3@ffd00100 {
375 compatible = "snps,dw-apb-timer";
376 interrupts = <0 116 4>;
377 reg = <0xffd00100 0x100>;
380 uart0: serial0@ffc02000 {
381 compatible = "snps,dw-apb-uart";
382 reg = <0xffc02000 0x100>;
383 interrupts = <0 108 4>;
386 resets = <&rst UART0_RESET>;
390 uart1: serial1@ffc02100 {
391 compatible = "snps,dw-apb-uart";
392 reg = <0xffc02100 0x100>;
393 interrupts = <0 109 4>;
396 resets = <&rst UART1_RESET>;
402 compatible = "usb-nop-xceiv";
407 compatible = "snps,dwc2";
408 reg = <0xffb00000 0x40000>;
409 interrupts = <0 93 4>;
411 phy-names = "usb2-phy";
412 resets = <&rst USB0_RESET>, <&rst USB0_OCP_RESET>;
413 reset-names = "dwc2", "dwc2-ecc";
419 compatible = "snps,dwc2";
420 reg = <0xffb40000 0x40000>;
421 interrupts = <0 94 4>;
423 phy-names = "usb2-phy";
424 resets = <&rst USB1_RESET>, <&rst USB1_OCP_RESET>;
425 reset-names = "dwc2", "dwc2-ecc";
430 watchdog0: watchdog@ffd00200 {
431 compatible = "snps,dw-wdt";
432 reg = <0xffd00200 0x100>;
433 interrupts = <0 117 4>;
434 resets = <&rst WATCHDOG0_RESET>;
438 watchdog1: watchdog@ffd00300 {
439 compatible = "snps,dw-wdt";
440 reg = <0xffd00300 0x100>;
441 interrupts = <0 118 4>;
442 resets = <&rst WATCHDOG1_RESET>;
446 watchdog2: watchdog@ffd00400 {
447 compatible = "snps,dw-wdt";
448 reg = <0xffd00400 0x100>;
449 interrupts = <0 125 4>;
450 resets = <&rst WATCHDOG2_RESET>;
454 watchdog3: watchdog@ffd00500 {
455 compatible = "snps,dw-wdt";
456 reg = <0xffd00500 0x100>;
457 interrupts = <0 126 4>;
458 resets = <&rst WATCHDOG3_RESET>;
463 compatible = "altr,sdr-ctl", "syscon";
464 reg = <0xf8011100 0xc0>;
468 compatible = "altr,socfpga-s10-ecc-manager",
469 "altr,socfpga-a10-ecc-manager";
470 altr,sysmgr-syscon = <&sysmgr>;
471 #address-cells = <1>;
473 interrupts = <0 15 4>;
474 interrupt-controller;
475 #interrupt-cells = <2>;
479 compatible = "altr,sdram-edac-s10";
480 altr,sdr-syscon = <&sdr>;
485 compatible = "altr,socfpga-s10-ocram-ecc",
486 "altr,socfpga-a10-ocram-ecc";
487 reg = <0xff8cc000 0x100>;
488 altr,ecc-parent = <&ocram>;
493 compatible = "altr,socfpga-s10-usb-ecc",
494 "altr,socfpga-usb-ecc";
495 reg = <0xff8c4000 0x100>;
496 altr,ecc-parent = <&usb0>;
500 emac0-rx-ecc@ff8c0000 {
501 compatible = "altr,socfpga-s10-eth-mac-ecc",
502 "altr,socfpga-eth-mac-ecc";
503 reg = <0xff8c0000 0x100>;
504 altr,ecc-parent = <&gmac0>;
508 emac0-tx-ecc@ff8c0400 {
509 compatible = "altr,socfpga-s10-eth-mac-ecc",
510 "altr,socfpga-eth-mac-ecc";
511 reg = <0xff8c0400 0x100>;
512 altr,ecc-parent = <&gmac0>;
516 sdmmca-ecc@ff8c8c00 {
517 compatible = "altr,socfpga-s10-sdmmc-ecc",
518 "altr,socfpga-sdmmc-ecc";
519 reg = <0xff8c8c00 0x100>;
520 altr,ecc-parent = <&mmc>;
527 compatible = "cdns,qspi-nor";
528 #address-cells = <1>;
530 reg = <0xff8d2000 0x100>,
531 <0xff900000 0x100000>;
532 interrupts = <0 3 4>;
533 cdns,fifo-depth = <128>;
534 cdns,fifo-width = <4>;
535 cdns,trigger-address = <0x00000000>;
542 compatible = "intel,stratix10-svc";
544 memory-region = <&service_reserved>;
547 compatible = "intel,stratix10-soc-fpga-mgr";