2 * Copyright Altera Corporation (C) 2015. All rights reserved.
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms and conditions of the GNU General Public License,
6 * version 2, as published by the Free Software Foundation.
8 * This program is distributed in the hope it will be useful, but WITHOUT
9 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13 * You should have received a copy of the GNU General Public License along with
14 * this program. If not, see <http://www.gnu.org/licenses/>.
18 #include <dt-bindings/reset/altr,rst-mgr-s10.h>
19 #include <dt-bindings/gpio/gpio.h>
20 #include <dt-bindings/clock/stratix10-clock.h>
23 compatible = "altr,socfpga-stratix10";
32 service_reserved: svcbuffer@0 {
33 compatible = "shared-dma-pool";
34 reg = <0x0 0x0 0x0 0x1000000>;
45 compatible = "arm,cortex-a53";
47 enable-method = "psci";
52 compatible = "arm,cortex-a53";
54 enable-method = "psci";
59 compatible = "arm,cortex-a53";
61 enable-method = "psci";
66 compatible = "arm,cortex-a53";
68 enable-method = "psci";
74 compatible = "arm,armv8-pmuv3";
75 interrupts = <0 120 8>,
79 interrupt-affinity = <&cpu0>,
83 interrupt-parent = <&intc>;
87 compatible = "arm,psci-0.2";
92 compatible = "arm,gic-400", "arm,cortex-a15-gic";
93 #interrupt-cells = <3>;
95 reg = <0x0 0xfffc1000 0x0 0x1000>,
96 <0x0 0xfffc2000 0x0 0x2000>,
97 <0x0 0xfffc4000 0x0 0x2000>,
98 <0x0 0xfffc6000 0x0 0x2000>;
102 #address-cells = <1>;
104 compatible = "simple-bus";
106 interrupt-parent = <&intc>;
107 ranges = <0 0 0 0xffffffff>;
110 #address-cells = <0x1>;
113 compatible = "fpga-region";
114 fpga-mgr = <&fpga_mgr>;
117 clkmgr: clock-controller@ffd10000 {
118 compatible = "intel,stratix10-clkmgr";
119 reg = <0xffd10000 0x1000>;
124 cb_intosc_hs_div2_clk: cb-intosc-hs-div2-clk {
126 compatible = "fixed-clock";
129 cb_intosc_ls_clk: cb-intosc-ls-clk {
131 compatible = "fixed-clock";
134 f2s_free_clk: f2s-free-clk {
136 compatible = "fixed-clock";
141 compatible = "fixed-clock";
146 compatible = "fixed-clock";
147 clock-frequency = <200000000>;
151 gmac0: ethernet@ff800000 {
152 compatible = "altr,socfpga-stmmac", "snps,dwmac-3.74a", "snps,dwmac";
153 reg = <0xff800000 0x2000>;
154 interrupts = <0 90 4>;
155 interrupt-names = "macirq";
156 mac-address = [00 00 00 00 00 00];
157 resets = <&rst EMAC0_RESET>, <&rst EMAC0_OCP_RESET>;
158 reset-names = "stmmaceth", "stmmaceth-ocp";
159 clocks = <&clkmgr STRATIX10_EMAC0_CLK>;
160 clock-names = "stmmaceth";
161 tx-fifo-depth = <16384>;
162 rx-fifo-depth = <16384>;
163 snps,multicast-filter-bins = <256>;
167 gmac1: ethernet@ff802000 {
168 compatible = "altr,socfpga-stmmac", "snps,dwmac-3.74a", "snps,dwmac";
169 reg = <0xff802000 0x2000>;
170 interrupts = <0 91 4>;
171 interrupt-names = "macirq";
172 mac-address = [00 00 00 00 00 00];
173 resets = <&rst EMAC1_RESET>, <&rst EMAC1_OCP_RESET>;
174 reset-names = "stmmaceth", "stmmaceth-ocp";
175 clocks = <&clkmgr STRATIX10_EMAC1_CLK>;
176 clock-names = "stmmaceth";
177 tx-fifo-depth = <16384>;
178 rx-fifo-depth = <16384>;
179 snps,multicast-filter-bins = <256>;
183 gmac2: ethernet@ff804000 {
184 compatible = "altr,socfpga-stmmac", "snps,dwmac-3.74a", "snps,dwmac";
185 reg = <0xff804000 0x2000>;
186 interrupts = <0 92 4>;
187 interrupt-names = "macirq";
188 mac-address = [00 00 00 00 00 00];
189 resets = <&rst EMAC2_RESET>, <&rst EMAC2_OCP_RESET>;
190 reset-names = "stmmaceth", "stmmaceth-ocp";
191 clocks = <&clkmgr STRATIX10_EMAC2_CLK>;
192 clock-names = "stmmaceth";
193 tx-fifo-depth = <16384>;
194 rx-fifo-depth = <16384>;
195 snps,multicast-filter-bins = <256>;
199 gpio0: gpio@ffc03200 {
200 #address-cells = <1>;
202 compatible = "snps,dw-apb-gpio";
203 reg = <0xffc03200 0x100>;
204 resets = <&rst GPIO0_RESET>;
207 porta: gpio-controller@0 {
208 compatible = "snps,dw-apb-gpio-port";
211 snps,nr-gpios = <24>;
213 interrupt-controller;
214 #interrupt-cells = <2>;
215 interrupts = <0 110 4>;
219 gpio1: gpio@ffc03300 {
220 #address-cells = <1>;
222 compatible = "snps,dw-apb-gpio";
223 reg = <0xffc03300 0x100>;
224 resets = <&rst GPIO1_RESET>;
227 portb: gpio-controller@0 {
228 compatible = "snps,dw-apb-gpio-port";
231 snps,nr-gpios = <24>;
233 interrupt-controller;
234 #interrupt-cells = <2>;
235 interrupts = <0 111 4>;
240 #address-cells = <1>;
242 compatible = "snps,designware-i2c";
243 reg = <0xffc02800 0x100>;
244 interrupts = <0 103 4>;
245 resets = <&rst I2C0_RESET>;
246 clocks = <&clkmgr STRATIX10_L4_SP_CLK>;
251 #address-cells = <1>;
253 compatible = "snps,designware-i2c";
254 reg = <0xffc02900 0x100>;
255 interrupts = <0 104 4>;
256 resets = <&rst I2C1_RESET>;
257 clocks = <&clkmgr STRATIX10_L4_SP_CLK>;
262 #address-cells = <1>;
264 compatible = "snps,designware-i2c";
265 reg = <0xffc02a00 0x100>;
266 interrupts = <0 105 4>;
267 resets = <&rst I2C2_RESET>;
268 clocks = <&clkmgr STRATIX10_L4_SP_CLK>;
273 #address-cells = <1>;
275 compatible = "snps,designware-i2c";
276 reg = <0xffc02b00 0x100>;
277 interrupts = <0 106 4>;
278 resets = <&rst I2C3_RESET>;
279 clocks = <&clkmgr STRATIX10_L4_SP_CLK>;
284 #address-cells = <1>;
286 compatible = "snps,designware-i2c";
287 reg = <0xffc02c00 0x100>;
288 interrupts = <0 107 4>;
289 resets = <&rst I2C4_RESET>;
290 clocks = <&clkmgr STRATIX10_L4_SP_CLK>;
294 mmc: dwmmc0@ff808000 {
295 #address-cells = <1>;
297 compatible = "altr,socfpga-dw-mshc";
298 reg = <0xff808000 0x1000>;
299 interrupts = <0 96 4>;
300 fifo-depth = <0x400>;
301 resets = <&rst SDMMC_RESET>;
302 reset-names = "reset";
303 clocks = <&clkmgr STRATIX10_L4_MP_CLK>,
304 <&clkmgr STRATIX10_SDMMC_CLK>;
305 clock-names = "biu", "ciu";
309 ocram: sram@ffe00000 {
310 compatible = "mmio-sram";
311 reg = <0xffe00000 0x100000>;
314 pdma: pdma@ffda0000 {
315 compatible = "arm,pl330", "arm,primecell";
316 reg = <0xffda0000 0x1000>;
317 interrupts = <0 81 4>,
328 #dma-requests = <32>;
329 clocks = <&clkmgr STRATIX10_L4_MAIN_CLK>;
330 clock-names = "apb_pclk";
333 rst: rstmgr@ffd11000 {
335 compatible = "altr,stratix10-rst-mgr";
336 reg = <0xffd11000 0x1000>;
340 compatible = "snps,dw-apb-ssi";
341 #address-cells = <1>;
343 reg = <0xffda4000 0x1000>;
344 interrupts = <0 99 4>;
345 resets = <&rst SPIM0_RESET>;
348 clocks = <&clkmgr STRATIX10_L4_MAIN_CLK>;
353 compatible = "snps,dw-apb-ssi";
354 #address-cells = <1>;
356 reg = <0xffda5000 0x1000>;
357 interrupts = <0 100 4>;
358 resets = <&rst SPIM1_RESET>;
361 clocks = <&clkmgr STRATIX10_L4_MAIN_CLK>;
365 sysmgr: sysmgr@ffd12000 {
366 compatible = "altr,sys-mgr", "syscon";
367 reg = <0xffd12000 0x228>;
372 compatible = "arm,armv8-timer";
373 interrupts = <1 13 0xf08>,
379 timer0: timer0@ffc03000 {
380 compatible = "snps,dw-apb-timer";
381 interrupts = <0 113 4>;
382 reg = <0xffc03000 0x100>;
383 clocks = <&clkmgr STRATIX10_L4_SP_CLK>;
384 clock-names = "timer";
387 timer1: timer1@ffc03100 {
388 compatible = "snps,dw-apb-timer";
389 interrupts = <0 114 4>;
390 reg = <0xffc03100 0x100>;
391 clocks = <&clkmgr STRATIX10_L4_SP_CLK>;
392 clock-names = "timer";
395 timer2: timer2@ffd00000 {
396 compatible = "snps,dw-apb-timer";
397 interrupts = <0 115 4>;
398 reg = <0xffd00000 0x100>;
399 clocks = <&clkmgr STRATIX10_L4_SP_CLK>;
400 clock-names = "timer";
403 timer3: timer3@ffd00100 {
404 compatible = "snps,dw-apb-timer";
405 interrupts = <0 116 4>;
406 reg = <0xffd00100 0x100>;
407 clocks = <&clkmgr STRATIX10_L4_SP_CLK>;
408 clock-names = "timer";
411 uart0: serial0@ffc02000 {
412 compatible = "snps,dw-apb-uart";
413 reg = <0xffc02000 0x100>;
414 interrupts = <0 108 4>;
417 resets = <&rst UART0_RESET>;
418 clocks = <&clkmgr STRATIX10_L4_SP_CLK>;
422 uart1: serial1@ffc02100 {
423 compatible = "snps,dw-apb-uart";
424 reg = <0xffc02100 0x100>;
425 interrupts = <0 109 4>;
428 resets = <&rst UART1_RESET>;
429 clocks = <&clkmgr STRATIX10_L4_SP_CLK>;
435 compatible = "usb-nop-xceiv";
440 compatible = "snps,dwc2";
441 reg = <0xffb00000 0x40000>;
442 interrupts = <0 93 4>;
444 phy-names = "usb2-phy";
445 resets = <&rst USB0_RESET>, <&rst USB0_OCP_RESET>;
446 reset-names = "dwc2", "dwc2-ecc";
447 clocks = <&clkmgr STRATIX10_USB_CLK>;
452 compatible = "snps,dwc2";
453 reg = <0xffb40000 0x40000>;
454 interrupts = <0 94 4>;
456 phy-names = "usb2-phy";
457 resets = <&rst USB1_RESET>, <&rst USB1_OCP_RESET>;
458 reset-names = "dwc2", "dwc2-ecc";
459 clocks = <&clkmgr STRATIX10_USB_CLK>;
463 watchdog0: watchdog@ffd00200 {
464 compatible = "snps,dw-wdt";
465 reg = <0xffd00200 0x100>;
466 interrupts = <0 117 4>;
467 resets = <&rst WATCHDOG0_RESET>;
468 clocks = <&clkmgr STRATIX10_L4_SYS_FREE_CLK>;
472 watchdog1: watchdog@ffd00300 {
473 compatible = "snps,dw-wdt";
474 reg = <0xffd00300 0x100>;
475 interrupts = <0 118 4>;
476 resets = <&rst WATCHDOG1_RESET>;
477 clocks = <&clkmgr STRATIX10_L4_SYS_FREE_CLK>;
481 watchdog2: watchdog@ffd00400 {
482 compatible = "snps,dw-wdt";
483 reg = <0xffd00400 0x100>;
484 interrupts = <0 125 4>;
485 resets = <&rst WATCHDOG2_RESET>;
486 clocks = <&clkmgr STRATIX10_L4_SYS_FREE_CLK>;
490 watchdog3: watchdog@ffd00500 {
491 compatible = "snps,dw-wdt";
492 reg = <0xffd00500 0x100>;
493 interrupts = <0 126 4>;
494 resets = <&rst WATCHDOG3_RESET>;
495 clocks = <&clkmgr STRATIX10_L4_SYS_FREE_CLK>;
500 compatible = "altr,sdr-ctl", "syscon";
501 reg = <0xf8011100 0xc0>;
505 compatible = "altr,socfpga-a10-ecc-manager";
506 altr,sysmgr-syscon = <&sysmgr>;
507 #address-cells = <1>;
509 interrupts = <0 15 4>, <0 95 4>;
510 interrupt-controller;
511 #interrupt-cells = <2>;
515 compatible = "altr,sdram-edac-s10";
516 altr,sdr-syscon = <&sdr>;
517 interrupts = <16 4>, <48 4>;
521 compatible = "altr,socfpga-usb-ecc";
522 reg = <0xff8c4000 0x100>;
523 altr,ecc-parent = <&usb0>;
528 emac0-rx-ecc@ff8c0000 {
529 compatible = "altr,socfpga-eth-mac-ecc";
530 reg = <0xff8c0000 0x100>;
531 altr,ecc-parent = <&gmac0>;
536 emac0-tx-ecc@ff8c0400 {
537 compatible = "altr,socfpga-eth-mac-ecc";
538 reg = <0xff8c0400 0x100>;
539 altr,ecc-parent = <&gmac0>;
547 compatible = "cdns,qspi-nor";
548 #address-cells = <1>;
550 reg = <0xff8d2000 0x100>,
551 <0xff900000 0x100000>;
552 interrupts = <0 3 4>;
553 cdns,fifo-depth = <128>;
554 cdns,fifo-width = <4>;
555 cdns,trigger-address = <0x00000000>;
556 clocks = <&qspi_clk>;
563 compatible = "intel,stratix10-svc";
565 memory-region = <&service_reserved>;
568 compatible = "intel,stratix10-soc-fpga-mgr";