2 * Copyright (C) 2018 Intel Corporation
4 * SPDX-License-Identifier: GPL-2.0
8 #include <dt-bindings/reset/altr,rst-mgr-s10.h>
9 #include <dt-bindings/gpio/gpio.h>
12 compatible = "altr,socfpga-stratix10";
21 compatible = "arm,cortex-a53", "arm,armv8";
23 enable-method = "psci";
28 compatible = "arm,cortex-a53", "arm,armv8";
30 enable-method = "psci";
35 compatible = "arm,cortex-a53", "arm,armv8";
37 enable-method = "psci";
42 compatible = "arm,cortex-a53", "arm,armv8";
44 enable-method = "psci";
50 compatible = "arm,armv8-pmuv3";
51 interrupts = <0 120 8>,
55 interrupt-affinity = <&cpu0>,
59 interrupt-parent = <&intc>;
63 compatible = "arm,psci-0.2";
68 compatible = "arm,gic-400", "arm,cortex-a15-gic";
69 #interrupt-cells = <3>;
71 reg = <0x0 0xfffc1000 0x0 0x1000>,
72 <0x0 0xfffc2000 0x0 0x2000>,
73 <0x0 0xfffc4000 0x0 0x2000>,
74 <0x0 0xfffc6000 0x0 0x2000>;
80 compatible = "simple-bus";
82 interrupt-parent = <&intc>;
83 ranges = <0 0 0 0xffffffff>;
86 compatible = "altr,clk-mgr";
87 reg = <0xffd10000 0x1000>;
90 gmac0: ethernet@ff800000 {
91 compatible = "altr,socfpga-stmmac", "snps,dwmac-3.74a", "snps,dwmac";
92 reg = <0xff800000 0x2000>;
93 interrupts = <0 90 4>;
94 interrupt-names = "macirq";
95 mac-address = [00 00 00 00 00 00];
96 resets = <&rst EMAC0_RESET>;
97 reset-names = "stmmaceth";
101 gmac1: ethernet@ff802000 {
102 compatible = "altr,socfpga-stmmac", "snps,dwmac-3.74a", "snps,dwmac";
103 reg = <0xff802000 0x2000>;
104 interrupts = <0 91 4>;
105 interrupt-names = "macirq";
106 mac-address = [00 00 00 00 00 00];
107 resets = <&rst EMAC1_RESET>;
108 reset-names = "stmmaceth";
112 gmac2: ethernet@ff804000 {
113 compatible = "altr,socfpga-stmmac", "snps,dwmac-3.74a", "snps,dwmac";
114 reg = <0xff804000 0x2000>;
115 interrupts = <0 92 4>;
116 interrupt-names = "macirq";
117 mac-address = [00 00 00 00 00 00];
118 resets = <&rst EMAC2_RESET>;
119 reset-names = "stmmaceth";
123 gpio0: gpio@ffc03200 {
124 #address-cells = <1>;
126 compatible = "snps,dw-apb-gpio";
127 reg = <0xffc03200 0x100>;
128 resets = <&rst GPIO0_RESET>;
131 porta: gpio-controller@0 {
132 compatible = "snps,dw-apb-gpio-port";
135 snps,nr-gpios = <24>;
137 interrupt-controller;
138 #interrupt-cells = <2>;
139 interrupts = <0 110 4>;
143 gpio1: gpio@ffc03300 {
144 #address-cells = <1>;
146 compatible = "snps,dw-apb-gpio";
147 reg = <0xffc03300 0x100>;
148 resets = <&rst GPIO1_RESET>;
151 portb: gpio-controller@0 {
152 compatible = "snps,dw-apb-gpio-port";
155 snps,nr-gpios = <24>;
157 interrupt-controller;
158 #interrupt-cells = <2>;
159 interrupts = <0 111 4>;
164 #address-cells = <1>;
166 compatible = "snps,designware-i2c";
167 reg = <0xffc02800 0x100>;
168 interrupts = <0 103 4>;
169 resets = <&rst I2C0_RESET>;
174 #address-cells = <1>;
176 compatible = "snps,designware-i2c";
177 reg = <0xffc02900 0x100>;
178 interrupts = <0 104 4>;
179 resets = <&rst I2C1_RESET>;
184 #address-cells = <1>;
186 compatible = "snps,designware-i2c";
187 reg = <0xffc02a00 0x100>;
188 interrupts = <0 105 4>;
189 resets = <&rst I2C2_RESET>;
194 #address-cells = <1>;
196 compatible = "snps,designware-i2c";
197 reg = <0xffc02b00 0x100>;
198 interrupts = <0 106 4>;
199 resets = <&rst I2C3_RESET>;
204 #address-cells = <1>;
206 compatible = "snps,designware-i2c";
207 reg = <0xffc02c00 0x100>;
208 interrupts = <0 107 4>;
209 resets = <&rst I2C4_RESET>;
213 mmc: dwmmc0@ff808000 {
214 #address-cells = <1>;
216 compatible = "altr,socfpga-dw-mshc";
217 reg = <0xff808000 0x1000>;
218 interrupts = <0 96 4>;
219 fifo-depth = <0x400>;
220 resets = <&rst SDMMC_RESET>;
221 reset-names = "reset";
225 ocram: sram@ffe00000 {
226 compatible = "mmio-sram";
227 reg = <0xffe00000 0x100000>;
230 rst: rstmgr@ffd11000 {
232 compatible = "altr,rst-mgr";
233 reg = <0xffd11000 0x1000>;
234 altr,modrst-offset = <0x20>;
238 compatible = "snps,dw-apb-ssi";
239 #address-cells = <1>;
241 reg = <0xffda4000 0x1000>;
242 interrupts = <0 99 4>;
243 resets = <&rst SPIM0_RESET>;
245 num-chipselect = <4>;
251 compatible = "snps,dw-apb-ssi";
252 #address-cells = <1>;
254 reg = <0xffda5000 0x1000>;
255 interrupts = <0 100 4>;
256 resets = <&rst SPIM1_RESET>;
258 num-chipselect = <4>;
263 sysmgr: sysmgr@ffd12000 {
264 compatible = "altr,sys-mgr", "syscon";
265 reg = <0xffd12000 0x1000>;
270 compatible = "arm,armv8-timer";
271 interrupts = <1 13 0xf08>,
277 timer0: timer0@ffc03000 {
278 compatible = "snps,dw-apb-timer";
279 interrupts = <0 113 4>;
280 reg = <0xffc03000 0x100>;
283 timer1: timer1@ffc03100 {
284 compatible = "snps,dw-apb-timer";
285 interrupts = <0 114 4>;
286 reg = <0xffc03100 0x100>;
289 timer2: timer2@ffd00000 {
290 compatible = "snps,dw-apb-timer";
291 interrupts = <0 115 4>;
292 reg = <0xffd00000 0x100>;
295 timer3: timer3@ffd00100 {
296 compatible = "snps,dw-apb-timer";
297 interrupts = <0 116 4>;
298 reg = <0xffd00100 0x100>;
301 uart0: serial0@ffc02000 {
302 compatible = "snps,dw-apb-uart";
303 reg = <0xffc02000 0x100>;
304 interrupts = <0 108 4>;
307 resets = <&rst UART0_RESET>;
311 uart1: serial1@ffc02100 {
312 compatible = "snps,dw-apb-uart";
313 reg = <0xffc02100 0x100>;
314 interrupts = <0 109 4>;
317 resets = <&rst UART1_RESET>;
323 compatible = "usb-nop-xceiv";
328 compatible = "snps,dwc2";
329 reg = <0xffb00000 0x40000>;
330 interrupts = <0 93 4>;
332 phy-names = "usb2-phy";
333 resets = <&rst USB0_RESET>, <&rst USB0_OCP_RESET>;
334 reset-names = "dwc2", "dwc2-ecc";
339 compatible = "snps,dwc2";
340 reg = <0xffb40000 0x40000>;
341 interrupts = <0 94 4>;
343 phy-names = "usb2-phy";
344 resets = <&rst USB1_RESET>, <&rst USB1_OCP_RESET>;
345 reset-names = "dwc2", "dwc2-ecc";
349 watchdog0: watchdog@ffd00200 {
350 compatible = "snps,dw-wdt";
351 reg = <0xffd00200 0x100>;
352 interrupts = <0 117 4>;
353 resets = <&rst WATCHDOG0_RESET>;
357 watchdog1: watchdog@ffd00300 {
358 compatible = "snps,dw-wdt";
359 reg = <0xffd00300 0x100>;
360 interrupts = <0 118 4>;
361 resets = <&rst WATCHDOG1_RESET>;
365 watchdog2: watchdog@ffd00400 {
366 compatible = "snps,dw-wdt";
367 reg = <0xffd00400 0x100>;
368 interrupts = <0 125 4>;
369 resets = <&rst WATCHDOG2_RESET>;
373 watchdog3: watchdog@ffd00500 {
374 compatible = "snps,dw-wdt";
375 reg = <0xffd00500 0x100>;
376 interrupts = <0 126 4>;
377 resets = <&rst WATCHDOG3_RESET>;