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 compatible = "arm,cortex-a53";
22 enable-method = "psci";
27 compatible = "arm,cortex-a53";
29 enable-method = "psci";
34 compatible = "arm,cortex-a53";
36 enable-method = "psci";
41 compatible = "arm,cortex-a53";
43 enable-method = "psci";
49 compatible = "arm,armv8-pmuv3";
50 interrupts = <0 120 8>,
54 interrupt-affinity = <&cpu0>,
58 interrupt-parent = <&intc>;
62 compatible = "arm,psci-0.2";
67 compatible = "arm,gic-400", "arm,cortex-a15-gic";
68 #interrupt-cells = <3>;
70 reg = <0x0 0xfffc1000 0x0 0x1000>,
71 <0x0 0xfffc2000 0x0 0x2000>,
72 <0x0 0xfffc4000 0x0 0x2000>,
73 <0x0 0xfffc6000 0x0 0x2000>;
79 compatible = "simple-bus";
81 interrupt-parent = <&intc>;
82 ranges = <0 0 0 0xffffffff>;
84 gmac0: ethernet@ff800000 {
85 compatible = "altr,socfpga-stmmac", "snps,dwmac-3.74a", "snps,dwmac";
86 reg = <0xff800000 0x2000>;
87 interrupts = <0 90 4>;
88 interrupt-names = "macirq";
89 mac-address = [00 00 00 00 00 00];
90 resets = <&rst EMAC0_RESET>, <&rst EMAC0_OCP_RESET>;
91 reset-names = "stmmaceth", "stmmaceth-ocp";
92 tx-fifo-depth = <16384>;
93 rx-fifo-depth = <16384>;
94 snps,multicast-filter-bins = <256>;
99 gmac1: ethernet@ff802000 {
100 compatible = "altr,socfpga-stmmac", "snps,dwmac-3.74a", "snps,dwmac";
101 reg = <0xff802000 0x2000>;
102 interrupts = <0 91 4>;
103 interrupt-names = "macirq";
104 mac-address = [00 00 00 00 00 00];
105 resets = <&rst EMAC1_RESET>, <&rst EMAC1_OCP_RESET>;
106 reset-names = "stmmaceth", "stmmaceth-ocp";
107 tx-fifo-depth = <16384>;
108 rx-fifo-depth = <16384>;
109 snps,multicast-filter-bins = <256>;
114 gmac2: ethernet@ff804000 {
115 compatible = "altr,socfpga-stmmac", "snps,dwmac-3.74a", "snps,dwmac";
116 reg = <0xff804000 0x2000>;
117 interrupts = <0 92 4>;
118 interrupt-names = "macirq";
119 mac-address = [00 00 00 00 00 00];
120 resets = <&rst EMAC2_RESET>, <&rst EMAC2_OCP_RESET>;
121 reset-names = "stmmaceth", "stmmaceth-ocp";
122 tx-fifo-depth = <16384>;
123 rx-fifo-depth = <16384>;
124 snps,multicast-filter-bins = <256>;
129 gpio0: gpio@ffc03200 {
130 #address-cells = <1>;
132 compatible = "snps,dw-apb-gpio";
133 reg = <0xffc03200 0x100>;
134 resets = <&rst GPIO0_RESET>;
137 porta: gpio-controller@0 {
138 compatible = "snps,dw-apb-gpio-port";
141 snps,nr-gpios = <24>;
143 interrupt-controller;
144 #interrupt-cells = <2>;
145 interrupts = <0 110 4>;
149 gpio1: gpio@ffc03300 {
150 #address-cells = <1>;
152 compatible = "snps,dw-apb-gpio";
153 reg = <0xffc03300 0x100>;
154 resets = <&rst GPIO1_RESET>;
157 portb: gpio-controller@0 {
158 compatible = "snps,dw-apb-gpio-port";
161 snps,nr-gpios = <24>;
163 interrupt-controller;
164 #interrupt-cells = <2>;
165 interrupts = <0 111 4>;
170 #address-cells = <1>;
172 compatible = "snps,designware-i2c";
173 reg = <0xffc02800 0x100>;
174 interrupts = <0 103 4>;
175 resets = <&rst I2C0_RESET>;
180 #address-cells = <1>;
182 compatible = "snps,designware-i2c";
183 reg = <0xffc02900 0x100>;
184 interrupts = <0 104 4>;
185 resets = <&rst I2C1_RESET>;
190 #address-cells = <1>;
192 compatible = "snps,designware-i2c";
193 reg = <0xffc02a00 0x100>;
194 interrupts = <0 105 4>;
195 resets = <&rst I2C2_RESET>;
200 #address-cells = <1>;
202 compatible = "snps,designware-i2c";
203 reg = <0xffc02b00 0x100>;
204 interrupts = <0 106 4>;
205 resets = <&rst I2C3_RESET>;
210 #address-cells = <1>;
212 compatible = "snps,designware-i2c";
213 reg = <0xffc02c00 0x100>;
214 interrupts = <0 107 4>;
215 resets = <&rst I2C4_RESET>;
219 mmc: dwmmc0@ff808000 {
220 #address-cells = <1>;
222 compatible = "altr,socfpga-dw-mshc";
223 reg = <0xff808000 0x1000>;
224 interrupts = <0 96 4>;
225 fifo-depth = <0x400>;
226 resets = <&rst SDMMC_RESET>;
227 reset-names = "reset";
232 ocram: sram@ffe00000 {
233 compatible = "mmio-sram";
234 reg = <0xffe00000 0x40000>;
237 pdma: pdma@ffda0000 {
238 compatible = "arm,pl330", "arm,primecell";
239 reg = <0xffda0000 0x1000>;
240 interrupts = <0 81 4>,
251 #dma-requests = <32>;
254 rst: rstmgr@ffd11000 {
256 compatible = "altr,stratix10-rst-mgr";
257 reg = <0xffd11000 0x100>;
260 smmu: iommu@fa000000 {
261 compatible = "arm,mmu-500", "arm,smmu-v2";
262 reg = <0xfa000000 0x40000>;
263 #global-interrupts = <2>;
265 interrupt-parent = <&intc>;
266 interrupts = <0 128 4>, /* Global Secure Fault */
267 <0 129 4>, /* Global Non-secure Fault */
268 /* Non-secure Context Interrupts (32) */
269 <0 138 4>, <0 139 4>, <0 140 4>, <0 141 4>,
270 <0 142 4>, <0 143 4>, <0 144 4>, <0 145 4>,
271 <0 146 4>, <0 147 4>, <0 148 4>, <0 149 4>,
272 <0 150 4>, <0 151 4>, <0 152 4>, <0 153 4>,
273 <0 154 4>, <0 155 4>, <0 156 4>, <0 157 4>,
274 <0 158 4>, <0 159 4>, <0 160 4>, <0 161 4>,
275 <0 162 4>, <0 163 4>, <0 164 4>, <0 165 4>,
276 <0 166 4>, <0 167 4>, <0 168 4>, <0 169 4>;
277 stream-match-mask = <0x7ff0>;
282 compatible = "snps,dw-apb-ssi";
283 #address-cells = <1>;
285 reg = <0xffda4000 0x1000>;
286 interrupts = <0 99 4>;
287 resets = <&rst SPIM0_RESET>;
294 compatible = "snps,dw-apb-ssi";
295 #address-cells = <1>;
297 reg = <0xffda5000 0x1000>;
298 interrupts = <0 100 4>;
299 resets = <&rst SPIM1_RESET>;
305 sysmgr: sysmgr@ffd12000 {
306 compatible = "altr,sys-mgr", "syscon";
307 reg = <0xffd12000 0x500>;
312 compatible = "arm,armv8-timer";
313 interrupts = <1 13 0xf08>,
319 timer0: timer0@ffc03000 {
320 compatible = "snps,dw-apb-timer";
321 interrupts = <0 113 4>;
322 reg = <0xffc03000 0x100>;
325 timer1: timer1@ffc03100 {
326 compatible = "snps,dw-apb-timer";
327 interrupts = <0 114 4>;
328 reg = <0xffc03100 0x100>;
331 timer2: timer2@ffd00000 {
332 compatible = "snps,dw-apb-timer";
333 interrupts = <0 115 4>;
334 reg = <0xffd00000 0x100>;
337 timer3: timer3@ffd00100 {
338 compatible = "snps,dw-apb-timer";
339 interrupts = <0 116 4>;
340 reg = <0xffd00100 0x100>;
343 uart0: serial0@ffc02000 {
344 compatible = "snps,dw-apb-uart";
345 reg = <0xffc02000 0x100>;
346 interrupts = <0 108 4>;
349 resets = <&rst UART0_RESET>;
353 uart1: serial1@ffc02100 {
354 compatible = "snps,dw-apb-uart";
355 reg = <0xffc02100 0x100>;
356 interrupts = <0 109 4>;
359 resets = <&rst UART1_RESET>;
365 compatible = "usb-nop-xceiv";
370 compatible = "snps,dwc2";
371 reg = <0xffb00000 0x40000>;
372 interrupts = <0 93 4>;
374 phy-names = "usb2-phy";
375 resets = <&rst USB0_RESET>, <&rst USB0_OCP_RESET>;
376 reset-names = "dwc2", "dwc2-ecc";
382 compatible = "snps,dwc2";
383 reg = <0xffb40000 0x40000>;
384 interrupts = <0 94 4>;
386 phy-names = "usb2-phy";
387 resets = <&rst USB1_RESET>, <&rst USB1_OCP_RESET>;
388 reset-names = "dwc2", "dwc2-ecc";
393 watchdog0: watchdog@ffd00200 {
394 compatible = "snps,dw-wdt";
395 reg = <0xffd00200 0x100>;
396 interrupts = <0 117 4>;
397 resets = <&rst WATCHDOG0_RESET>;
401 watchdog1: watchdog@ffd00300 {
402 compatible = "snps,dw-wdt";
403 reg = <0xffd00300 0x100>;
404 interrupts = <0 118 4>;
405 resets = <&rst WATCHDOG1_RESET>;
409 watchdog2: watchdog@ffd00400 {
410 compatible = "snps,dw-wdt";
411 reg = <0xffd00400 0x100>;
412 interrupts = <0 125 4>;
413 resets = <&rst WATCHDOG2_RESET>;
417 watchdog3: watchdog@ffd00500 {
418 compatible = "snps,dw-wdt";
419 reg = <0xffd00500 0x100>;
420 interrupts = <0 126 4>;
421 resets = <&rst WATCHDOG3_RESET>;
426 compatible = "altr,sdr-ctl", "syscon";
427 reg = <0xf8011100 0xc0>;
431 compatible = "cdns,qspi-nor";
432 #address-cells = <1>;
434 reg = <0xff8d2000 0x100>,
435 <0xff900000 0x100000>;
436 interrupts = <0 3 4>;
437 cdns,fifo-depth = <128>;
438 cdns,fifo-width = <4>;
439 cdns,trigger-address = <0x00000000>;