xref: /freebsd-src/sys/contrib/device-tree/src/arm64/intel/socfpga_agilex.dtsi (revision 7d0873ebb83b19ba1e8a89e679470d885efe12e3)
1c66ec88fSEmmanuel Vadot// SPDX-License-Identifier:     GPL-2.0
2c66ec88fSEmmanuel Vadot/*
3c66ec88fSEmmanuel Vadot * Copyright (C) 2019, Intel Corporation
4c66ec88fSEmmanuel Vadot */
5c66ec88fSEmmanuel Vadot
6c66ec88fSEmmanuel Vadot/dts-v1/;
7c66ec88fSEmmanuel Vadot#include <dt-bindings/reset/altr,rst-mgr-s10.h>
8c66ec88fSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
92eb4d8dcSEmmanuel Vadot#include <dt-bindings/interrupt-controller/arm-gic.h>
10c66ec88fSEmmanuel Vadot#include <dt-bindings/clock/agilex-clock.h>
11c66ec88fSEmmanuel Vadot
12c66ec88fSEmmanuel Vadot/ {
13c66ec88fSEmmanuel Vadot	compatible = "intel,socfpga-agilex";
14c66ec88fSEmmanuel Vadot	#address-cells = <2>;
15c66ec88fSEmmanuel Vadot	#size-cells = <2>;
16c66ec88fSEmmanuel Vadot
17c66ec88fSEmmanuel Vadot	reserved-memory {
18c66ec88fSEmmanuel Vadot		#address-cells = <2>;
19c66ec88fSEmmanuel Vadot		#size-cells = <2>;
20c66ec88fSEmmanuel Vadot		ranges;
21c66ec88fSEmmanuel Vadot
22c66ec88fSEmmanuel Vadot		service_reserved: svcbuffer@0 {
23c66ec88fSEmmanuel Vadot			compatible = "shared-dma-pool";
246be33864SEmmanuel Vadot			reg = <0x0 0x0 0x0 0x2000000>;
25c66ec88fSEmmanuel Vadot			alignment = <0x1000>;
26c66ec88fSEmmanuel Vadot			no-map;
27c66ec88fSEmmanuel Vadot		};
28c66ec88fSEmmanuel Vadot	};
29c66ec88fSEmmanuel Vadot
30c66ec88fSEmmanuel Vadot	cpus {
31c66ec88fSEmmanuel Vadot		#address-cells = <1>;
32c66ec88fSEmmanuel Vadot		#size-cells = <0>;
33c66ec88fSEmmanuel Vadot
34c66ec88fSEmmanuel Vadot		cpu0: cpu@0 {
35c66ec88fSEmmanuel Vadot			compatible = "arm,cortex-a53";
36c66ec88fSEmmanuel Vadot			device_type = "cpu";
37c66ec88fSEmmanuel Vadot			enable-method = "psci";
38c66ec88fSEmmanuel Vadot			reg = <0x0>;
39c66ec88fSEmmanuel Vadot		};
40c66ec88fSEmmanuel Vadot
41c66ec88fSEmmanuel Vadot		cpu1: cpu@1 {
42c66ec88fSEmmanuel Vadot			compatible = "arm,cortex-a53";
43c66ec88fSEmmanuel Vadot			device_type = "cpu";
44c66ec88fSEmmanuel Vadot			enable-method = "psci";
45c66ec88fSEmmanuel Vadot			reg = <0x1>;
46c66ec88fSEmmanuel Vadot		};
47c66ec88fSEmmanuel Vadot
48c66ec88fSEmmanuel Vadot		cpu2: cpu@2 {
49c66ec88fSEmmanuel Vadot			compatible = "arm,cortex-a53";
50c66ec88fSEmmanuel Vadot			device_type = "cpu";
51c66ec88fSEmmanuel Vadot			enable-method = "psci";
52c66ec88fSEmmanuel Vadot			reg = <0x2>;
53c66ec88fSEmmanuel Vadot		};
54c66ec88fSEmmanuel Vadot
55c66ec88fSEmmanuel Vadot		cpu3: cpu@3 {
56c66ec88fSEmmanuel Vadot			compatible = "arm,cortex-a53";
57c66ec88fSEmmanuel Vadot			device_type = "cpu";
58c66ec88fSEmmanuel Vadot			enable-method = "psci";
59c66ec88fSEmmanuel Vadot			reg = <0x3>;
60c66ec88fSEmmanuel Vadot		};
61c66ec88fSEmmanuel Vadot	};
62c66ec88fSEmmanuel Vadot
638d13bc63SEmmanuel Vadot	firmware {
648d13bc63SEmmanuel Vadot		svc {
658d13bc63SEmmanuel Vadot			compatible = "intel,agilex-svc";
668d13bc63SEmmanuel Vadot			method = "smc";
678d13bc63SEmmanuel Vadot			memory-region = <&service_reserved>;
688d13bc63SEmmanuel Vadot
698d13bc63SEmmanuel Vadot			fpga_mgr: fpga-mgr {
708d13bc63SEmmanuel Vadot				compatible = "intel,agilex-soc-fpga-mgr";
718d13bc63SEmmanuel Vadot			};
728d13bc63SEmmanuel Vadot		};
738d13bc63SEmmanuel Vadot	};
748d13bc63SEmmanuel Vadot
758d13bc63SEmmanuel Vadot	fpga-region {
768d13bc63SEmmanuel Vadot		compatible = "fpga-region";
778d13bc63SEmmanuel Vadot		#address-cells = <0x2>;
788d13bc63SEmmanuel Vadot		#size-cells = <0x2>;
798d13bc63SEmmanuel Vadot		fpga-mgr = <&fpga_mgr>;
808d13bc63SEmmanuel Vadot	};
818d13bc63SEmmanuel Vadot
82c66ec88fSEmmanuel Vadot	pmu {
83*7d0873ebSEmmanuel Vadot		compatible = "arm,cortex-a53-pmu";
842eb4d8dcSEmmanuel Vadot		interrupts = <GIC_SPI 170 IRQ_TYPE_LEVEL_HIGH>,
852eb4d8dcSEmmanuel Vadot			     <GIC_SPI 171 IRQ_TYPE_LEVEL_HIGH>,
862eb4d8dcSEmmanuel Vadot			     <GIC_SPI 172 IRQ_TYPE_LEVEL_HIGH>,
872eb4d8dcSEmmanuel Vadot			     <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>;
88c66ec88fSEmmanuel Vadot		interrupt-affinity = <&cpu0>,
89c66ec88fSEmmanuel Vadot				     <&cpu1>,
90c66ec88fSEmmanuel Vadot				     <&cpu2>,
91c66ec88fSEmmanuel Vadot				     <&cpu3>;
92c66ec88fSEmmanuel Vadot		interrupt-parent = <&intc>;
93c66ec88fSEmmanuel Vadot	};
94c66ec88fSEmmanuel Vadot
95c66ec88fSEmmanuel Vadot	psci {
96c66ec88fSEmmanuel Vadot		compatible = "arm,psci-0.2";
97c66ec88fSEmmanuel Vadot		method = "smc";
98c66ec88fSEmmanuel Vadot	};
99c66ec88fSEmmanuel Vadot
1002eb4d8dcSEmmanuel Vadot	intc: interrupt-controller@fffc1000 {
101c66ec88fSEmmanuel Vadot		compatible = "arm,gic-400", "arm,cortex-a15-gic";
102c66ec88fSEmmanuel Vadot		#interrupt-cells = <3>;
103c66ec88fSEmmanuel Vadot		interrupt-controller;
104c66ec88fSEmmanuel Vadot		reg = <0x0 0xfffc1000 0x0 0x1000>,
105c66ec88fSEmmanuel Vadot		      <0x0 0xfffc2000 0x0 0x2000>,
106c66ec88fSEmmanuel Vadot		      <0x0 0xfffc4000 0x0 0x2000>,
107c66ec88fSEmmanuel Vadot		      <0x0 0xfffc6000 0x0 0x2000>;
108c66ec88fSEmmanuel Vadot	};
109c66ec88fSEmmanuel Vadot
110c66ec88fSEmmanuel Vadot	clocks {
111c66ec88fSEmmanuel Vadot		cb_intosc_hs_div2_clk: cb-intosc-hs-div2-clk {
112c66ec88fSEmmanuel Vadot			#clock-cells = <0>;
113c66ec88fSEmmanuel Vadot			compatible = "fixed-clock";
114c66ec88fSEmmanuel Vadot		};
115c66ec88fSEmmanuel Vadot
116c66ec88fSEmmanuel Vadot		cb_intosc_ls_clk: cb-intosc-ls-clk {
117c66ec88fSEmmanuel Vadot			#clock-cells = <0>;
118c66ec88fSEmmanuel Vadot			compatible = "fixed-clock";
119c66ec88fSEmmanuel Vadot		};
120c66ec88fSEmmanuel Vadot
121c66ec88fSEmmanuel Vadot		f2s_free_clk: f2s-free-clk {
122c66ec88fSEmmanuel Vadot			#clock-cells = <0>;
123c66ec88fSEmmanuel Vadot			compatible = "fixed-clock";
124c66ec88fSEmmanuel Vadot		};
125c66ec88fSEmmanuel Vadot
126c66ec88fSEmmanuel Vadot		osc1: osc1 {
127c66ec88fSEmmanuel Vadot			#clock-cells = <0>;
128c66ec88fSEmmanuel Vadot			compatible = "fixed-clock";
129c66ec88fSEmmanuel Vadot		};
130c66ec88fSEmmanuel Vadot
131c66ec88fSEmmanuel Vadot		qspi_clk: qspi-clk {
132c66ec88fSEmmanuel Vadot			#clock-cells = <0>;
133c66ec88fSEmmanuel Vadot			compatible = "fixed-clock";
134c66ec88fSEmmanuel Vadot			clock-frequency = <200000000>;
135c66ec88fSEmmanuel Vadot		};
136c66ec88fSEmmanuel Vadot	};
137c66ec88fSEmmanuel Vadot
1382eb4d8dcSEmmanuel Vadot	timer {
1392eb4d8dcSEmmanuel Vadot		compatible = "arm,armv8-timer";
1402eb4d8dcSEmmanuel Vadot		interrupt-parent = <&intc>;
1412eb4d8dcSEmmanuel Vadot		interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
1422eb4d8dcSEmmanuel Vadot			     <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
1432eb4d8dcSEmmanuel Vadot			     <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
1442eb4d8dcSEmmanuel Vadot			     <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
1452eb4d8dcSEmmanuel Vadot	};
1462eb4d8dcSEmmanuel Vadot
1472eb4d8dcSEmmanuel Vadot	usbphy0: usbphy {
1482eb4d8dcSEmmanuel Vadot		#phy-cells = <0>;
1492eb4d8dcSEmmanuel Vadot		compatible = "usb-nop-xceiv";
1502eb4d8dcSEmmanuel Vadot	};
1512eb4d8dcSEmmanuel Vadot
1528d13bc63SEmmanuel Vadot	soc@0 {
1532eb4d8dcSEmmanuel Vadot		#address-cells = <1>;
1542eb4d8dcSEmmanuel Vadot		#size-cells = <1>;
1552eb4d8dcSEmmanuel Vadot		compatible = "simple-bus";
1562eb4d8dcSEmmanuel Vadot		device_type = "soc";
1572eb4d8dcSEmmanuel Vadot		interrupt-parent = <&intc>;
1582eb4d8dcSEmmanuel Vadot		ranges = <0 0 0 0xffffffff>;
1592eb4d8dcSEmmanuel Vadot
1602eb4d8dcSEmmanuel Vadot		clkmgr: clock-controller@ffd10000 {
1612eb4d8dcSEmmanuel Vadot			compatible = "intel,agilex-clkmgr";
1622eb4d8dcSEmmanuel Vadot			reg = <0xffd10000 0x1000>;
1632eb4d8dcSEmmanuel Vadot			#clock-cells = <1>;
1642eb4d8dcSEmmanuel Vadot		};
1652eb4d8dcSEmmanuel Vadot
166c66ec88fSEmmanuel Vadot		gmac0: ethernet@ff800000 {
167c66ec88fSEmmanuel Vadot			compatible = "altr,socfpga-stmmac-a10-s10", "snps,dwmac-3.74a", "snps,dwmac";
168c66ec88fSEmmanuel Vadot			reg = <0xff800000 0x2000>;
1692eb4d8dcSEmmanuel Vadot			interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
170c66ec88fSEmmanuel Vadot			interrupt-names = "macirq";
171c66ec88fSEmmanuel Vadot			mac-address = [00 00 00 00 00 00];
172c66ec88fSEmmanuel Vadot			resets = <&rst EMAC0_RESET>, <&rst EMAC0_OCP_RESET>;
173aa1a8ff2SEmmanuel Vadot			reset-names = "stmmaceth", "ahb";
174c66ec88fSEmmanuel Vadot			tx-fifo-depth = <16384>;
175c66ec88fSEmmanuel Vadot			rx-fifo-depth = <16384>;
176c66ec88fSEmmanuel Vadot			snps,multicast-filter-bins = <256>;
177c66ec88fSEmmanuel Vadot			iommus = <&smmu 1>;
178c66ec88fSEmmanuel Vadot			altr,sysmgr-syscon = <&sysmgr 0x44 0>;
1796be33864SEmmanuel Vadot			clocks = <&clkmgr AGILEX_EMAC0_CLK>, <&clkmgr AGILEX_EMAC_PTP_CLK>;
1806be33864SEmmanuel Vadot			clock-names = "stmmaceth", "ptp_ref";
181c66ec88fSEmmanuel Vadot			status = "disabled";
182c66ec88fSEmmanuel Vadot		};
183c66ec88fSEmmanuel Vadot
184c66ec88fSEmmanuel Vadot		gmac1: ethernet@ff802000 {
185c66ec88fSEmmanuel Vadot			compatible = "altr,socfpga-stmmac-a10-s10", "snps,dwmac-3.74a", "snps,dwmac";
186c66ec88fSEmmanuel Vadot			reg = <0xff802000 0x2000>;
1872eb4d8dcSEmmanuel Vadot			interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
188c66ec88fSEmmanuel Vadot			interrupt-names = "macirq";
189c66ec88fSEmmanuel Vadot			mac-address = [00 00 00 00 00 00];
190c66ec88fSEmmanuel Vadot			resets = <&rst EMAC1_RESET>, <&rst EMAC1_OCP_RESET>;
191aa1a8ff2SEmmanuel Vadot			reset-names = "stmmaceth", "ahb";
192c66ec88fSEmmanuel Vadot			tx-fifo-depth = <16384>;
193c66ec88fSEmmanuel Vadot			rx-fifo-depth = <16384>;
194c66ec88fSEmmanuel Vadot			snps,multicast-filter-bins = <256>;
195c66ec88fSEmmanuel Vadot			iommus = <&smmu 2>;
1965def4c47SEmmanuel Vadot			altr,sysmgr-syscon = <&sysmgr 0x48 0>;
1976be33864SEmmanuel Vadot			clocks = <&clkmgr AGILEX_EMAC1_CLK>, <&clkmgr AGILEX_EMAC_PTP_CLK>;
1986be33864SEmmanuel Vadot			clock-names = "stmmaceth", "ptp_ref";
199c66ec88fSEmmanuel Vadot			status = "disabled";
200c66ec88fSEmmanuel Vadot		};
201c66ec88fSEmmanuel Vadot
202c66ec88fSEmmanuel Vadot		gmac2: ethernet@ff804000 {
203c66ec88fSEmmanuel Vadot			compatible = "altr,socfpga-stmmac-a10-s10", "snps,dwmac-3.74a", "snps,dwmac";
204c66ec88fSEmmanuel Vadot			reg = <0xff804000 0x2000>;
2052eb4d8dcSEmmanuel Vadot			interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
206c66ec88fSEmmanuel Vadot			interrupt-names = "macirq";
207c66ec88fSEmmanuel Vadot			mac-address = [00 00 00 00 00 00];
208c66ec88fSEmmanuel Vadot			resets = <&rst EMAC2_RESET>, <&rst EMAC2_OCP_RESET>;
209aa1a8ff2SEmmanuel Vadot			reset-names = "stmmaceth", "ahb";
210c66ec88fSEmmanuel Vadot			tx-fifo-depth = <16384>;
211c66ec88fSEmmanuel Vadot			rx-fifo-depth = <16384>;
212c66ec88fSEmmanuel Vadot			snps,multicast-filter-bins = <256>;
213c66ec88fSEmmanuel Vadot			iommus = <&smmu 3>;
2145def4c47SEmmanuel Vadot			altr,sysmgr-syscon = <&sysmgr 0x4c 0>;
2156be33864SEmmanuel Vadot			clocks = <&clkmgr AGILEX_EMAC2_CLK>, <&clkmgr AGILEX_EMAC_PTP_CLK>;
2166be33864SEmmanuel Vadot			clock-names = "stmmaceth", "ptp_ref";
217c66ec88fSEmmanuel Vadot			status = "disabled";
218c66ec88fSEmmanuel Vadot		};
219c66ec88fSEmmanuel Vadot
220c66ec88fSEmmanuel Vadot		gpio0: gpio@ffc03200 {
221c66ec88fSEmmanuel Vadot			#address-cells = <1>;
222c66ec88fSEmmanuel Vadot			#size-cells = <0>;
223c66ec88fSEmmanuel Vadot			compatible = "snps,dw-apb-gpio";
224c66ec88fSEmmanuel Vadot			reg = <0xffc03200 0x100>;
225c66ec88fSEmmanuel Vadot			resets = <&rst GPIO0_RESET>;
226c66ec88fSEmmanuel Vadot			status = "disabled";
227c66ec88fSEmmanuel Vadot
228c66ec88fSEmmanuel Vadot			porta: gpio-controller@0 {
229c66ec88fSEmmanuel Vadot				compatible = "snps,dw-apb-gpio-port";
230c66ec88fSEmmanuel Vadot				gpio-controller;
231c66ec88fSEmmanuel Vadot				#gpio-cells = <2>;
232c66ec88fSEmmanuel Vadot				snps,nr-gpios = <24>;
233c66ec88fSEmmanuel Vadot				reg = <0>;
234c66ec88fSEmmanuel Vadot				interrupt-controller;
235c66ec88fSEmmanuel Vadot				#interrupt-cells = <2>;
2362eb4d8dcSEmmanuel Vadot				interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
237c66ec88fSEmmanuel Vadot			};
238c66ec88fSEmmanuel Vadot		};
239c66ec88fSEmmanuel Vadot
240c66ec88fSEmmanuel Vadot		gpio1: gpio@ffc03300 {
241c66ec88fSEmmanuel Vadot			#address-cells = <1>;
242c66ec88fSEmmanuel Vadot			#size-cells = <0>;
243c66ec88fSEmmanuel Vadot			compatible = "snps,dw-apb-gpio";
244c66ec88fSEmmanuel Vadot			reg = <0xffc03300 0x100>;
245c66ec88fSEmmanuel Vadot			resets = <&rst GPIO1_RESET>;
246c66ec88fSEmmanuel Vadot			status = "disabled";
247c66ec88fSEmmanuel Vadot
248c66ec88fSEmmanuel Vadot			portb: gpio-controller@0 {
249c66ec88fSEmmanuel Vadot				compatible = "snps,dw-apb-gpio-port";
250c66ec88fSEmmanuel Vadot				gpio-controller;
251c66ec88fSEmmanuel Vadot				#gpio-cells = <2>;
252c66ec88fSEmmanuel Vadot				snps,nr-gpios = <24>;
253c66ec88fSEmmanuel Vadot				reg = <0>;
254c66ec88fSEmmanuel Vadot				interrupt-controller;
255c66ec88fSEmmanuel Vadot				#interrupt-cells = <2>;
2562eb4d8dcSEmmanuel Vadot				interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
257c66ec88fSEmmanuel Vadot			};
258c66ec88fSEmmanuel Vadot		};
259c66ec88fSEmmanuel Vadot
260c66ec88fSEmmanuel Vadot		i2c0: i2c@ffc02800 {
261c66ec88fSEmmanuel Vadot			#address-cells = <1>;
262c66ec88fSEmmanuel Vadot			#size-cells = <0>;
263c66ec88fSEmmanuel Vadot			compatible = "snps,designware-i2c";
264c66ec88fSEmmanuel Vadot			reg = <0xffc02800 0x100>;
2652eb4d8dcSEmmanuel Vadot			interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
266c66ec88fSEmmanuel Vadot			resets = <&rst I2C0_RESET>;
267c66ec88fSEmmanuel Vadot			clocks = <&clkmgr AGILEX_L4_SP_CLK>;
268c66ec88fSEmmanuel Vadot			status = "disabled";
269c66ec88fSEmmanuel Vadot		};
270c66ec88fSEmmanuel Vadot
271c66ec88fSEmmanuel Vadot		i2c1: i2c@ffc02900 {
272c66ec88fSEmmanuel Vadot			#address-cells = <1>;
273c66ec88fSEmmanuel Vadot			#size-cells = <0>;
274c66ec88fSEmmanuel Vadot			compatible = "snps,designware-i2c";
275c66ec88fSEmmanuel Vadot			reg = <0xffc02900 0x100>;
2762eb4d8dcSEmmanuel Vadot			interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
277c66ec88fSEmmanuel Vadot			resets = <&rst I2C1_RESET>;
278c66ec88fSEmmanuel Vadot			clocks = <&clkmgr AGILEX_L4_SP_CLK>;
279c66ec88fSEmmanuel Vadot			status = "disabled";
280c66ec88fSEmmanuel Vadot		};
281c66ec88fSEmmanuel Vadot
282c66ec88fSEmmanuel Vadot		i2c2: i2c@ffc02a00 {
283c66ec88fSEmmanuel Vadot			#address-cells = <1>;
284c66ec88fSEmmanuel Vadot			#size-cells = <0>;
285c66ec88fSEmmanuel Vadot			compatible = "snps,designware-i2c";
286c66ec88fSEmmanuel Vadot			reg = <0xffc02a00 0x100>;
2872eb4d8dcSEmmanuel Vadot			interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
288c66ec88fSEmmanuel Vadot			resets = <&rst I2C2_RESET>;
289c66ec88fSEmmanuel Vadot			clocks = <&clkmgr AGILEX_L4_SP_CLK>;
290c66ec88fSEmmanuel Vadot			status = "disabled";
291c66ec88fSEmmanuel Vadot		};
292c66ec88fSEmmanuel Vadot
293c66ec88fSEmmanuel Vadot		i2c3: i2c@ffc02b00 {
294c66ec88fSEmmanuel Vadot			#address-cells = <1>;
295c66ec88fSEmmanuel Vadot			#size-cells = <0>;
296c66ec88fSEmmanuel Vadot			compatible = "snps,designware-i2c";
297c66ec88fSEmmanuel Vadot			reg = <0xffc02b00 0x100>;
2982eb4d8dcSEmmanuel Vadot			interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
299c66ec88fSEmmanuel Vadot			resets = <&rst I2C3_RESET>;
300c66ec88fSEmmanuel Vadot			clocks = <&clkmgr AGILEX_L4_SP_CLK>;
301c66ec88fSEmmanuel Vadot			status = "disabled";
302c66ec88fSEmmanuel Vadot		};
303c66ec88fSEmmanuel Vadot
304c66ec88fSEmmanuel Vadot		i2c4: i2c@ffc02c00 {
305c66ec88fSEmmanuel Vadot			#address-cells = <1>;
306c66ec88fSEmmanuel Vadot			#size-cells = <0>;
307c66ec88fSEmmanuel Vadot			compatible = "snps,designware-i2c";
308c66ec88fSEmmanuel Vadot			reg = <0xffc02c00 0x100>;
3092eb4d8dcSEmmanuel Vadot			interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
310c66ec88fSEmmanuel Vadot			resets = <&rst I2C4_RESET>;
311c66ec88fSEmmanuel Vadot			clocks = <&clkmgr AGILEX_L4_SP_CLK>;
312c66ec88fSEmmanuel Vadot			status = "disabled";
313c66ec88fSEmmanuel Vadot		};
314c66ec88fSEmmanuel Vadot
315c9ccf3a3SEmmanuel Vadot		mmc: mmc@ff808000 {
316c66ec88fSEmmanuel Vadot			#address-cells = <1>;
317c66ec88fSEmmanuel Vadot			#size-cells = <0>;
318c66ec88fSEmmanuel Vadot			compatible = "altr,socfpga-dw-mshc";
319c66ec88fSEmmanuel Vadot			reg = <0xff808000 0x1000>;
3202eb4d8dcSEmmanuel Vadot			interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
321c66ec88fSEmmanuel Vadot			fifo-depth = <0x400>;
322c66ec88fSEmmanuel Vadot			resets = <&rst SDMMC_RESET>;
323c66ec88fSEmmanuel Vadot			reset-names = "reset";
324c66ec88fSEmmanuel Vadot			clocks = <&clkmgr AGILEX_L4_MP_CLK>,
325c66ec88fSEmmanuel Vadot				 <&clkmgr AGILEX_SDMMC_CLK>;
326c66ec88fSEmmanuel Vadot			clock-names = "biu", "ciu";
327c66ec88fSEmmanuel Vadot			iommus = <&smmu 5>;
3288bab661aSEmmanuel Vadot			altr,sysmgr-syscon = <&sysmgr 0x28 4>;
329c66ec88fSEmmanuel Vadot			status = "disabled";
330c66ec88fSEmmanuel Vadot		};
331c66ec88fSEmmanuel Vadot
3322eb4d8dcSEmmanuel Vadot		nand: nand-controller@ffb90000 {
333c66ec88fSEmmanuel Vadot			#address-cells = <1>;
334c66ec88fSEmmanuel Vadot			#size-cells = <0>;
335c66ec88fSEmmanuel Vadot			compatible = "altr,socfpga-denali-nand";
336c66ec88fSEmmanuel Vadot			reg = <0xffb90000 0x10000>,
337c66ec88fSEmmanuel Vadot			      <0xffb80000 0x1000>;
338c66ec88fSEmmanuel Vadot			reg-names = "nand_data", "denali_reg";
3392eb4d8dcSEmmanuel Vadot			interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
340c66ec88fSEmmanuel Vadot			clocks = <&clkmgr AGILEX_NAND_CLK>,
341c66ec88fSEmmanuel Vadot				 <&clkmgr AGILEX_NAND_X_CLK>,
342c66ec88fSEmmanuel Vadot				 <&clkmgr AGILEX_NAND_ECC_CLK>;
343c66ec88fSEmmanuel Vadot			clock-names = "nand", "nand_x", "ecc";
344c66ec88fSEmmanuel Vadot			resets = <&rst NAND_RESET>, <&rst NAND_OCP_RESET>;
345c66ec88fSEmmanuel Vadot			status = "disabled";
346c66ec88fSEmmanuel Vadot		};
347c66ec88fSEmmanuel Vadot
348c66ec88fSEmmanuel Vadot		ocram: sram@ffe00000 {
349c66ec88fSEmmanuel Vadot			compatible = "mmio-sram";
350c66ec88fSEmmanuel Vadot			reg = <0xffe00000 0x40000>;
351aa1a8ff2SEmmanuel Vadot			#address-cells = <1>;
352aa1a8ff2SEmmanuel Vadot			#size-cells = <1>;
353aa1a8ff2SEmmanuel Vadot			ranges = <0 0xffe00000 0x40000>;
354c66ec88fSEmmanuel Vadot		};
355c66ec88fSEmmanuel Vadot
356c9ccf3a3SEmmanuel Vadot		pdma: dma-controller@ffda0000 {
357c66ec88fSEmmanuel Vadot			compatible = "arm,pl330", "arm,primecell";
358c66ec88fSEmmanuel Vadot			reg = <0xffda0000 0x1000>;
3592eb4d8dcSEmmanuel Vadot			interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>,
3602eb4d8dcSEmmanuel Vadot				     <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>,
3612eb4d8dcSEmmanuel Vadot				     <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>,
3622eb4d8dcSEmmanuel Vadot				     <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>,
3632eb4d8dcSEmmanuel Vadot				     <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>,
3642eb4d8dcSEmmanuel Vadot				     <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>,
3652eb4d8dcSEmmanuel Vadot				     <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>,
3662eb4d8dcSEmmanuel Vadot				     <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>,
3672eb4d8dcSEmmanuel Vadot				     <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
368c66ec88fSEmmanuel Vadot			#dma-cells = <1>;
369c66ec88fSEmmanuel Vadot			resets = <&rst DMA_RESET>, <&rst DMA_OCP_RESET>;
370c66ec88fSEmmanuel Vadot			reset-names = "dma", "dma-ocp";
371c66ec88fSEmmanuel Vadot			clocks = <&clkmgr AGILEX_L4_MAIN_CLK>;
372c66ec88fSEmmanuel Vadot			clock-names = "apb_pclk";
373c66ec88fSEmmanuel Vadot		};
374c66ec88fSEmmanuel Vadot
375cb7aa33aSEmmanuel Vadot		pinctrl0: pinctrl@ffd13000 {
376cb7aa33aSEmmanuel Vadot			compatible = "pinctrl-single";
377cb7aa33aSEmmanuel Vadot			#pinctrl-cells = <1>;
378cb7aa33aSEmmanuel Vadot			reg = <0xffd13000 0xa0>;
379cb7aa33aSEmmanuel Vadot			pinctrl-single,register-width = <32>;
380cb7aa33aSEmmanuel Vadot			pinctrl-single,function-mask = <0x0000000f>;
381cb7aa33aSEmmanuel Vadot		};
382cb7aa33aSEmmanuel Vadot
3838d13bc63SEmmanuel Vadot		pinctrl1: pinctrl@ffd13100 {
384cb7aa33aSEmmanuel Vadot			compatible = "pinctrl-single";
385cb7aa33aSEmmanuel Vadot			#pinctrl-cells = <1>;
386cb7aa33aSEmmanuel Vadot			reg = <0xffd13100 0x20>;
387cb7aa33aSEmmanuel Vadot			pinctrl-single,register-width = <32>;
388cb7aa33aSEmmanuel Vadot		};
389cb7aa33aSEmmanuel Vadot
390c66ec88fSEmmanuel Vadot		rst: rstmgr@ffd11000 {
391aa1a8ff2SEmmanuel Vadot			compatible = "altr,stratix10-rst-mgr", "altr,rst-mgr";
392c66ec88fSEmmanuel Vadot			reg = <0xffd11000 0x100>;
393aa1a8ff2SEmmanuel Vadot			#reset-cells = <1>;
394c66ec88fSEmmanuel Vadot		};
395c66ec88fSEmmanuel Vadot
396c66ec88fSEmmanuel Vadot		smmu: iommu@fa000000 {
397c66ec88fSEmmanuel Vadot			compatible = "arm,mmu-500", "arm,smmu-v2";
398c66ec88fSEmmanuel Vadot			reg = <0xfa000000 0x40000>;
399c66ec88fSEmmanuel Vadot			#global-interrupts = <2>;
400c66ec88fSEmmanuel Vadot			#iommu-cells = <1>;
401c66ec88fSEmmanuel Vadot			interrupt-parent = <&intc>;
4022eb4d8dcSEmmanuel Vadot			/* Global Secure Fault */
4032eb4d8dcSEmmanuel Vadot			interrupts = <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>,
4042eb4d8dcSEmmanuel Vadot				/* Global Non-secure Fault */
4052eb4d8dcSEmmanuel Vadot				<GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>,
406c66ec88fSEmmanuel Vadot				/* Non-secure Context Interrupts (32) */
4072eb4d8dcSEmmanuel Vadot				<GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>,
4082eb4d8dcSEmmanuel Vadot				<GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>,
4092eb4d8dcSEmmanuel Vadot				<GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>,
4102eb4d8dcSEmmanuel Vadot				<GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>,
4112eb4d8dcSEmmanuel Vadot				<GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
4122eb4d8dcSEmmanuel Vadot				<GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>,
4132eb4d8dcSEmmanuel Vadot				<GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>,
4142eb4d8dcSEmmanuel Vadot				<GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>,
4152eb4d8dcSEmmanuel Vadot				<GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>,
4162eb4d8dcSEmmanuel Vadot				<GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>,
4172eb4d8dcSEmmanuel Vadot				<GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>,
4182eb4d8dcSEmmanuel Vadot				<GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
4192eb4d8dcSEmmanuel Vadot				<GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>,
4202eb4d8dcSEmmanuel Vadot				<GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH>,
4212eb4d8dcSEmmanuel Vadot				<GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>,
4222eb4d8dcSEmmanuel Vadot				<GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>,
4232eb4d8dcSEmmanuel Vadot				<GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>,
4242eb4d8dcSEmmanuel Vadot				<GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>,
4252eb4d8dcSEmmanuel Vadot				<GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>,
4262eb4d8dcSEmmanuel Vadot				<GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>,
4272eb4d8dcSEmmanuel Vadot				<GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>,
4282eb4d8dcSEmmanuel Vadot				<GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>,
4292eb4d8dcSEmmanuel Vadot				<GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>,
4302eb4d8dcSEmmanuel Vadot				<GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>,
4312eb4d8dcSEmmanuel Vadot				<GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>,
4322eb4d8dcSEmmanuel Vadot				<GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>,
4332eb4d8dcSEmmanuel Vadot				<GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>,
4342eb4d8dcSEmmanuel Vadot				<GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>,
4352eb4d8dcSEmmanuel Vadot				<GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>,
4362eb4d8dcSEmmanuel Vadot				<GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>,
4372eb4d8dcSEmmanuel Vadot				<GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>,
4382eb4d8dcSEmmanuel Vadot				<GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>;
439c66ec88fSEmmanuel Vadot			stream-match-mask = <0x7ff0>;
440c66ec88fSEmmanuel Vadot			clocks = <&clkmgr AGILEX_MPU_CCU_CLK>,
441c66ec88fSEmmanuel Vadot				 <&clkmgr AGILEX_L3_MAIN_FREE_CLK>,
442c66ec88fSEmmanuel Vadot				 <&clkmgr AGILEX_L4_MAIN_CLK>;
443c66ec88fSEmmanuel Vadot			status = "disabled";
444c66ec88fSEmmanuel Vadot		};
445c66ec88fSEmmanuel Vadot
446c66ec88fSEmmanuel Vadot		spi0: spi@ffda4000 {
447c66ec88fSEmmanuel Vadot			compatible = "snps,dw-apb-ssi";
448c66ec88fSEmmanuel Vadot			#address-cells = <1>;
449c66ec88fSEmmanuel Vadot			#size-cells = <0>;
450c66ec88fSEmmanuel Vadot			reg = <0xffda4000 0x1000>;
4512eb4d8dcSEmmanuel Vadot			interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
452c66ec88fSEmmanuel Vadot			resets = <&rst SPIM0_RESET>;
453c66ec88fSEmmanuel Vadot			reset-names = "spi";
454c66ec88fSEmmanuel Vadot			reg-io-width = <4>;
455c66ec88fSEmmanuel Vadot			num-cs = <4>;
456c66ec88fSEmmanuel Vadot			clocks = <&clkmgr AGILEX_L4_MAIN_CLK>;
457c66ec88fSEmmanuel Vadot			status = "disabled";
458c66ec88fSEmmanuel Vadot		};
459c66ec88fSEmmanuel Vadot
460c66ec88fSEmmanuel Vadot		spi1: spi@ffda5000 {
461c66ec88fSEmmanuel Vadot			compatible = "snps,dw-apb-ssi";
462c66ec88fSEmmanuel Vadot			#address-cells = <1>;
463c66ec88fSEmmanuel Vadot			#size-cells = <0>;
464c66ec88fSEmmanuel Vadot			reg = <0xffda5000 0x1000>;
4652eb4d8dcSEmmanuel Vadot			interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
466c66ec88fSEmmanuel Vadot			resets = <&rst SPIM1_RESET>;
467c66ec88fSEmmanuel Vadot			reset-names = "spi";
468c66ec88fSEmmanuel Vadot			reg-io-width = <4>;
469c66ec88fSEmmanuel Vadot			num-cs = <4>;
470c66ec88fSEmmanuel Vadot			clocks = <&clkmgr AGILEX_L4_MAIN_CLK>;
471c66ec88fSEmmanuel Vadot			status = "disabled";
472c66ec88fSEmmanuel Vadot		};
473c66ec88fSEmmanuel Vadot
474c66ec88fSEmmanuel Vadot		sysmgr: sysmgr@ffd12000 {
475c66ec88fSEmmanuel Vadot			compatible = "altr,sys-mgr-s10","altr,sys-mgr";
476c66ec88fSEmmanuel Vadot			reg = <0xffd12000 0x500>;
477c66ec88fSEmmanuel Vadot		};
478c66ec88fSEmmanuel Vadot
479c66ec88fSEmmanuel Vadot		timer0: timer0@ffc03000 {
480c66ec88fSEmmanuel Vadot			compatible = "snps,dw-apb-timer";
4812eb4d8dcSEmmanuel Vadot			interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
482c66ec88fSEmmanuel Vadot			reg = <0xffc03000 0x100>;
483c66ec88fSEmmanuel Vadot			clocks = <&clkmgr AGILEX_L4_SP_CLK>;
484c66ec88fSEmmanuel Vadot			clock-names = "timer";
485c66ec88fSEmmanuel Vadot		};
486c66ec88fSEmmanuel Vadot
487c66ec88fSEmmanuel Vadot		timer1: timer1@ffc03100 {
488c66ec88fSEmmanuel Vadot			compatible = "snps,dw-apb-timer";
4892eb4d8dcSEmmanuel Vadot			interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
490c66ec88fSEmmanuel Vadot			reg = <0xffc03100 0x100>;
491c66ec88fSEmmanuel Vadot			clocks = <&clkmgr AGILEX_L4_SP_CLK>;
492c66ec88fSEmmanuel Vadot			clock-names = "timer";
493c66ec88fSEmmanuel Vadot		};
494c66ec88fSEmmanuel Vadot
495c66ec88fSEmmanuel Vadot		timer2: timer2@ffd00000 {
496c66ec88fSEmmanuel Vadot			compatible = "snps,dw-apb-timer";
4972eb4d8dcSEmmanuel Vadot			interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>;
498c66ec88fSEmmanuel Vadot			reg = <0xffd00000 0x100>;
499c66ec88fSEmmanuel Vadot			clocks = <&clkmgr AGILEX_L4_SP_CLK>;
500c66ec88fSEmmanuel Vadot			clock-names = "timer";
501c66ec88fSEmmanuel Vadot		};
502c66ec88fSEmmanuel Vadot
503c66ec88fSEmmanuel Vadot		timer3: timer3@ffd00100 {
504c66ec88fSEmmanuel Vadot			compatible = "snps,dw-apb-timer";
5052eb4d8dcSEmmanuel Vadot			interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
506c66ec88fSEmmanuel Vadot			reg = <0xffd00100 0x100>;
507c66ec88fSEmmanuel Vadot			clocks = <&clkmgr AGILEX_L4_SP_CLK>;
508c66ec88fSEmmanuel Vadot			clock-names = "timer";
509c66ec88fSEmmanuel Vadot		};
510c66ec88fSEmmanuel Vadot
5112eb4d8dcSEmmanuel Vadot		uart0: serial@ffc02000 {
512c66ec88fSEmmanuel Vadot			compatible = "snps,dw-apb-uart";
513c66ec88fSEmmanuel Vadot			reg = <0xffc02000 0x100>;
5142eb4d8dcSEmmanuel Vadot			interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
515c66ec88fSEmmanuel Vadot			reg-shift = <2>;
516c66ec88fSEmmanuel Vadot			reg-io-width = <4>;
517c66ec88fSEmmanuel Vadot			resets = <&rst UART0_RESET>;
518c66ec88fSEmmanuel Vadot			status = "disabled";
519c66ec88fSEmmanuel Vadot			clocks = <&clkmgr AGILEX_L4_SP_CLK>;
520c66ec88fSEmmanuel Vadot		};
521c66ec88fSEmmanuel Vadot
5222eb4d8dcSEmmanuel Vadot		uart1: serial@ffc02100 {
523c66ec88fSEmmanuel Vadot			compatible = "snps,dw-apb-uart";
524c66ec88fSEmmanuel Vadot			reg = <0xffc02100 0x100>;
5252eb4d8dcSEmmanuel Vadot			interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
526c66ec88fSEmmanuel Vadot			reg-shift = <2>;
527c66ec88fSEmmanuel Vadot			reg-io-width = <4>;
528c66ec88fSEmmanuel Vadot			resets = <&rst UART1_RESET>;
529c66ec88fSEmmanuel Vadot			clocks = <&clkmgr AGILEX_L4_SP_CLK>;
530c66ec88fSEmmanuel Vadot			status = "disabled";
531c66ec88fSEmmanuel Vadot		};
532c66ec88fSEmmanuel Vadot
533c66ec88fSEmmanuel Vadot		usb0: usb@ffb00000 {
534e67e8565SEmmanuel Vadot			compatible = "intel,socfpga-agilex-hsotg", "snps,dwc2";
535c66ec88fSEmmanuel Vadot			reg = <0xffb00000 0x40000>;
5362eb4d8dcSEmmanuel Vadot			interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
537c66ec88fSEmmanuel Vadot			phys = <&usbphy0>;
538c66ec88fSEmmanuel Vadot			phy-names = "usb2-phy";
539c66ec88fSEmmanuel Vadot			resets = <&rst USB0_RESET>, <&rst USB0_OCP_RESET>;
540c66ec88fSEmmanuel Vadot			reset-names = "dwc2", "dwc2-ecc";
541c66ec88fSEmmanuel Vadot			clocks = <&clkmgr AGILEX_USB_CLK>;
542c9ccf3a3SEmmanuel Vadot			clock-names = "otg";
543c66ec88fSEmmanuel Vadot			iommus = <&smmu 6>;
544c66ec88fSEmmanuel Vadot			status = "disabled";
545c66ec88fSEmmanuel Vadot		};
546c66ec88fSEmmanuel Vadot
547c66ec88fSEmmanuel Vadot		usb1: usb@ffb40000 {
548e67e8565SEmmanuel Vadot			compatible = "intel,socfpga-agilex-hsotg", "snps,dwc2";
549c66ec88fSEmmanuel Vadot			reg = <0xffb40000 0x40000>;
5502eb4d8dcSEmmanuel Vadot			interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
551c66ec88fSEmmanuel Vadot			phys = <&usbphy0>;
552c66ec88fSEmmanuel Vadot			phy-names = "usb2-phy";
553c66ec88fSEmmanuel Vadot			resets = <&rst USB1_RESET>, <&rst USB1_OCP_RESET>;
554c66ec88fSEmmanuel Vadot			reset-names = "dwc2", "dwc2-ecc";
555c66ec88fSEmmanuel Vadot			iommus = <&smmu 7>;
556c66ec88fSEmmanuel Vadot			clocks = <&clkmgr AGILEX_USB_CLK>;
557c66ec88fSEmmanuel Vadot			status = "disabled";
558c66ec88fSEmmanuel Vadot		};
559c66ec88fSEmmanuel Vadot
560c66ec88fSEmmanuel Vadot		watchdog0: watchdog@ffd00200 {
561c66ec88fSEmmanuel Vadot			compatible = "snps,dw-wdt";
562c66ec88fSEmmanuel Vadot			reg = <0xffd00200 0x100>;
5632eb4d8dcSEmmanuel Vadot			interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
564c66ec88fSEmmanuel Vadot			resets = <&rst WATCHDOG0_RESET>;
565c66ec88fSEmmanuel Vadot			clocks = <&clkmgr AGILEX_L4_SYS_FREE_CLK>;
566c66ec88fSEmmanuel Vadot			status = "disabled";
567c66ec88fSEmmanuel Vadot		};
568c66ec88fSEmmanuel Vadot
569c66ec88fSEmmanuel Vadot		watchdog1: watchdog@ffd00300 {
570c66ec88fSEmmanuel Vadot			compatible = "snps,dw-wdt";
571c66ec88fSEmmanuel Vadot			reg = <0xffd00300 0x100>;
5722eb4d8dcSEmmanuel Vadot			interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
573c66ec88fSEmmanuel Vadot			resets = <&rst WATCHDOG1_RESET>;
574c66ec88fSEmmanuel Vadot			clocks = <&clkmgr AGILEX_L4_SYS_FREE_CLK>;
575c66ec88fSEmmanuel Vadot			status = "disabled";
576c66ec88fSEmmanuel Vadot		};
577c66ec88fSEmmanuel Vadot
578c66ec88fSEmmanuel Vadot		watchdog2: watchdog@ffd00400 {
579c66ec88fSEmmanuel Vadot			compatible = "snps,dw-wdt";
580c66ec88fSEmmanuel Vadot			reg = <0xffd00400 0x100>;
5812eb4d8dcSEmmanuel Vadot			interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>;
582c66ec88fSEmmanuel Vadot			resets = <&rst WATCHDOG2_RESET>;
583c66ec88fSEmmanuel Vadot			clocks = <&clkmgr AGILEX_L4_SYS_FREE_CLK>;
584c66ec88fSEmmanuel Vadot			status = "disabled";
585c66ec88fSEmmanuel Vadot		};
586c66ec88fSEmmanuel Vadot
587c66ec88fSEmmanuel Vadot		watchdog3: watchdog@ffd00500 {
588c66ec88fSEmmanuel Vadot			compatible = "snps,dw-wdt";
589c66ec88fSEmmanuel Vadot			reg = <0xffd00500 0x100>;
5902eb4d8dcSEmmanuel Vadot			interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>;
591c66ec88fSEmmanuel Vadot			resets = <&rst WATCHDOG3_RESET>;
592c66ec88fSEmmanuel Vadot			clocks = <&clkmgr AGILEX_L4_SYS_FREE_CLK>;
593c66ec88fSEmmanuel Vadot			status = "disabled";
594c66ec88fSEmmanuel Vadot		};
595c66ec88fSEmmanuel Vadot
596c66ec88fSEmmanuel Vadot		sdr: sdr@f8011100 {
597c66ec88fSEmmanuel Vadot			compatible = "altr,sdr-ctl", "syscon";
598c66ec88fSEmmanuel Vadot			reg = <0xf8011100 0xc0>;
599c66ec88fSEmmanuel Vadot		};
600c66ec88fSEmmanuel Vadot
601c66ec88fSEmmanuel Vadot		eccmgr {
602c66ec88fSEmmanuel Vadot			compatible = "altr,socfpga-s10-ecc-manager",
603c66ec88fSEmmanuel Vadot				     "altr,socfpga-a10-ecc-manager";
604c66ec88fSEmmanuel Vadot			altr,sysmgr-syscon = <&sysmgr>;
605c66ec88fSEmmanuel Vadot			#address-cells = <1>;
606c66ec88fSEmmanuel Vadot			#size-cells = <1>;
6072eb4d8dcSEmmanuel Vadot			interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
608c66ec88fSEmmanuel Vadot			interrupt-controller;
609c66ec88fSEmmanuel Vadot			#interrupt-cells = <2>;
610c66ec88fSEmmanuel Vadot			ranges;
611c66ec88fSEmmanuel Vadot
612c66ec88fSEmmanuel Vadot			sdramedac {
613c66ec88fSEmmanuel Vadot				compatible = "altr,sdram-edac-s10";
614c66ec88fSEmmanuel Vadot				altr,sdr-syscon = <&sdr>;
615b97ee269SEmmanuel Vadot				interrupts = <16 IRQ_TYPE_LEVEL_HIGH>;
616c66ec88fSEmmanuel Vadot			};
617c66ec88fSEmmanuel Vadot
618c66ec88fSEmmanuel Vadot			ocram-ecc@ff8cc000 {
619c66ec88fSEmmanuel Vadot				compatible = "altr,socfpga-s10-ocram-ecc",
620c66ec88fSEmmanuel Vadot					     "altr,socfpga-a10-ocram-ecc";
621c66ec88fSEmmanuel Vadot				reg = <0xff8cc000 0x100>;
622c66ec88fSEmmanuel Vadot				altr,ecc-parent = <&ocram>;
623b97ee269SEmmanuel Vadot				interrupts = <1 IRQ_TYPE_LEVEL_HIGH>;
624c66ec88fSEmmanuel Vadot			};
625c66ec88fSEmmanuel Vadot
626c66ec88fSEmmanuel Vadot			usb0-ecc@ff8c4000 {
627c66ec88fSEmmanuel Vadot				compatible = "altr,socfpga-s10-usb-ecc",
628c66ec88fSEmmanuel Vadot					     "altr,socfpga-usb-ecc";
629c66ec88fSEmmanuel Vadot				reg = <0xff8c4000 0x100>;
630c66ec88fSEmmanuel Vadot				altr,ecc-parent = <&usb0>;
631b97ee269SEmmanuel Vadot				interrupts = <2 IRQ_TYPE_LEVEL_HIGH>;
632c66ec88fSEmmanuel Vadot			};
633c66ec88fSEmmanuel Vadot
634c66ec88fSEmmanuel Vadot			emac0-rx-ecc@ff8c0000 {
635c66ec88fSEmmanuel Vadot				compatible = "altr,socfpga-s10-eth-mac-ecc",
636c66ec88fSEmmanuel Vadot					     "altr,socfpga-eth-mac-ecc";
637c66ec88fSEmmanuel Vadot				reg = <0xff8c0000 0x100>;
638c66ec88fSEmmanuel Vadot				altr,ecc-parent = <&gmac0>;
639b97ee269SEmmanuel Vadot				interrupts = <4 IRQ_TYPE_LEVEL_HIGH>;
640c66ec88fSEmmanuel Vadot			};
641c66ec88fSEmmanuel Vadot
642c66ec88fSEmmanuel Vadot			emac0-tx-ecc@ff8c0400 {
643c66ec88fSEmmanuel Vadot				compatible = "altr,socfpga-s10-eth-mac-ecc",
644c66ec88fSEmmanuel Vadot					     "altr,socfpga-eth-mac-ecc";
645c66ec88fSEmmanuel Vadot				reg = <0xff8c0400 0x100>;
646c66ec88fSEmmanuel Vadot				altr,ecc-parent = <&gmac0>;
647b97ee269SEmmanuel Vadot				interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
648c66ec88fSEmmanuel Vadot			};
649c66ec88fSEmmanuel Vadot
650c66ec88fSEmmanuel Vadot			sdmmca-ecc@ff8c8c00 {
651c66ec88fSEmmanuel Vadot				compatible = "altr,socfpga-s10-sdmmc-ecc",
652c66ec88fSEmmanuel Vadot					     "altr,socfpga-sdmmc-ecc";
653c66ec88fSEmmanuel Vadot				reg = <0xff8c8c00 0x100>;
654c66ec88fSEmmanuel Vadot				altr,ecc-parent = <&mmc>;
655b97ee269SEmmanuel Vadot				interrupts = <14 IRQ_TYPE_LEVEL_HIGH>,
656b97ee269SEmmanuel Vadot					     <15 IRQ_TYPE_LEVEL_HIGH>;
657c66ec88fSEmmanuel Vadot			};
658c66ec88fSEmmanuel Vadot		};
659c66ec88fSEmmanuel Vadot
660c66ec88fSEmmanuel Vadot		qspi: spi@ff8d2000 {
6618cc087a1SEmmanuel Vadot			compatible = "intel,socfpga-qspi", "cdns,qspi-nor";
662c66ec88fSEmmanuel Vadot			#address-cells = <1>;
663c66ec88fSEmmanuel Vadot			#size-cells = <0>;
664c66ec88fSEmmanuel Vadot			reg = <0xff8d2000 0x100>,
665c66ec88fSEmmanuel Vadot			      <0xff900000 0x100000>;
6662eb4d8dcSEmmanuel Vadot			interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
667c66ec88fSEmmanuel Vadot			cdns,fifo-depth = <128>;
668c66ec88fSEmmanuel Vadot			cdns,fifo-width = <4>;
669c66ec88fSEmmanuel Vadot			cdns,trigger-address = <0x00000000>;
670c66ec88fSEmmanuel Vadot			clocks = <&qspi_clk>;
671c66ec88fSEmmanuel Vadot
672c66ec88fSEmmanuel Vadot			status = "disabled";
673c66ec88fSEmmanuel Vadot		};
674c66ec88fSEmmanuel Vadot	};
675c66ec88fSEmmanuel Vadot};
676