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", "arm,armv8";
47 enable-method = "psci";
52 compatible = "arm,cortex-a53", "arm,armv8";
54 enable-method = "psci";
59 compatible = "arm,cortex-a53", "arm,armv8";
61 enable-method = "psci";
66 compatible = "arm,cortex-a53", "arm,armv8";
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,rst-mgr";
336 reg = <0xffd11000 0x1000>;
337 altr,modrst-offset = <0x20>;
341 compatible = "snps,dw-apb-ssi";
342 #address-cells = <1>;
344 reg = <0xffda4000 0x1000>;
345 interrupts = <0 99 4>;
346 resets = <&rst SPIM0_RESET>;
349 clocks = <&clkmgr STRATIX10_L4_MAIN_CLK>;
354 compatible = "snps,dw-apb-ssi";
355 #address-cells = <1>;
357 reg = <0xffda5000 0x1000>;
358 interrupts = <0 100 4>;
359 resets = <&rst SPIM1_RESET>;
362 clocks = <&clkmgr STRATIX10_L4_MAIN_CLK>;
366 sysmgr: sysmgr@ffd12000 {
367 compatible = "altr,sys-mgr", "syscon";
368 reg = <0xffd12000 0x228>;
373 compatible = "arm,armv8-timer";
374 interrupts = <1 13 0xf08>,
380 timer0: timer0@ffc03000 {
381 compatible = "snps,dw-apb-timer";
382 interrupts = <0 113 4>;
383 reg = <0xffc03000 0x100>;
384 clocks = <&clkmgr STRATIX10_L4_SP_CLK>;
385 clock-names = "timer";
388 timer1: timer1@ffc03100 {
389 compatible = "snps,dw-apb-timer";
390 interrupts = <0 114 4>;
391 reg = <0xffc03100 0x100>;
392 clocks = <&clkmgr STRATIX10_L4_SP_CLK>;
393 clock-names = "timer";
396 timer2: timer2@ffd00000 {
397 compatible = "snps,dw-apb-timer";
398 interrupts = <0 115 4>;
399 reg = <0xffd00000 0x100>;
400 clocks = <&clkmgr STRATIX10_L4_SP_CLK>;
401 clock-names = "timer";
404 timer3: timer3@ffd00100 {
405 compatible = "snps,dw-apb-timer";
406 interrupts = <0 116 4>;
407 reg = <0xffd00100 0x100>;
408 clocks = <&clkmgr STRATIX10_L4_SP_CLK>;
409 clock-names = "timer";
412 uart0: serial0@ffc02000 {
413 compatible = "snps,dw-apb-uart";
414 reg = <0xffc02000 0x100>;
415 interrupts = <0 108 4>;
418 resets = <&rst UART0_RESET>;
419 clocks = <&clkmgr STRATIX10_L4_SP_CLK>;
423 uart1: serial1@ffc02100 {
424 compatible = "snps,dw-apb-uart";
425 reg = <0xffc02100 0x100>;
426 interrupts = <0 109 4>;
429 resets = <&rst UART1_RESET>;
430 clocks = <&clkmgr STRATIX10_L4_SP_CLK>;
436 compatible = "usb-nop-xceiv";
441 compatible = "snps,dwc2";
442 reg = <0xffb00000 0x40000>;
443 interrupts = <0 93 4>;
445 phy-names = "usb2-phy";
446 resets = <&rst USB0_RESET>, <&rst USB0_OCP_RESET>;
447 reset-names = "dwc2", "dwc2-ecc";
448 clocks = <&clkmgr STRATIX10_USB_CLK>;
453 compatible = "snps,dwc2";
454 reg = <0xffb40000 0x40000>;
455 interrupts = <0 94 4>;
457 phy-names = "usb2-phy";
458 resets = <&rst USB1_RESET>, <&rst USB1_OCP_RESET>;
459 reset-names = "dwc2", "dwc2-ecc";
460 clocks = <&clkmgr STRATIX10_USB_CLK>;
464 watchdog0: watchdog@ffd00200 {
465 compatible = "snps,dw-wdt";
466 reg = <0xffd00200 0x100>;
467 interrupts = <0 117 4>;
468 resets = <&rst WATCHDOG0_RESET>;
469 clocks = <&clkmgr STRATIX10_L4_SYS_FREE_CLK>;
473 watchdog1: watchdog@ffd00300 {
474 compatible = "snps,dw-wdt";
475 reg = <0xffd00300 0x100>;
476 interrupts = <0 118 4>;
477 resets = <&rst WATCHDOG1_RESET>;
478 clocks = <&clkmgr STRATIX10_L4_SYS_FREE_CLK>;
482 watchdog2: watchdog@ffd00400 {
483 compatible = "snps,dw-wdt";
484 reg = <0xffd00400 0x100>;
485 interrupts = <0 125 4>;
486 resets = <&rst WATCHDOG2_RESET>;
487 clocks = <&clkmgr STRATIX10_L4_SYS_FREE_CLK>;
491 watchdog3: watchdog@ffd00500 {
492 compatible = "snps,dw-wdt";
493 reg = <0xffd00500 0x100>;
494 interrupts = <0 126 4>;
495 resets = <&rst WATCHDOG3_RESET>;
496 clocks = <&clkmgr STRATIX10_L4_SYS_FREE_CLK>;
501 compatible = "altr,sdr-ctl", "syscon";
502 reg = <0xf8011100 0xc0>;
506 compatible = "altr,socfpga-a10-ecc-manager";
507 altr,sysmgr-syscon = <&sysmgr>;
508 #address-cells = <1>;
510 interrupts = <0 15 4>, <0 95 4>;
511 interrupt-controller;
512 #interrupt-cells = <2>;
516 compatible = "altr,sdram-edac-s10";
517 altr,sdr-syscon = <&sdr>;
518 interrupts = <16 4>, <48 4>;
522 compatible = "altr,socfpga-usb-ecc";
523 reg = <0xff8c4000 0x100>;
524 altr,ecc-parent = <&usb0>;
529 emac0-rx-ecc@ff8c0000 {
530 compatible = "altr,socfpga-eth-mac-ecc";
531 reg = <0xff8c0000 0x100>;
532 altr,ecc-parent = <&gmac0>;
537 emac0-tx-ecc@ff8c0400 {
538 compatible = "altr,socfpga-eth-mac-ecc";
539 reg = <0xff8c0400 0x100>;
540 altr,ecc-parent = <&gmac0>;
548 compatible = "cdns,qspi-nor";
549 #address-cells = <1>;
551 reg = <0xff8d2000 0x100>,
552 <0xff900000 0x100000>;
553 interrupts = <0 3 4>;
554 cdns,fifo-depth = <128>;
555 cdns,fifo-width = <4>;
556 cdns,trigger-address = <0x00000000>;
557 clocks = <&qspi_clk>;
564 compatible = "intel,stratix10-svc";
566 memory-region = <&service_reserved>;
569 compatible = "intel,stratix10-soc-fpga-mgr";