1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Device Tree Include file for Freescale Layerscape-2080A family SoC.
4 *
5 * Copyright 2016 Freescale Semiconductor, Inc.
6 * Copyright 2017 NXP
7 *
8 * Abhimanyu Saini <abhimanyu.saini@nxp.com>
9 *
10 */
11
12#include <dt-bindings/thermal/thermal.h>
13#include <dt-bindings/interrupt-controller/arm-gic.h>
14
15/ {
16	compatible = "fsl,ls2080a";
17	interrupt-parent = <&gic>;
18	#address-cells = <2>;
19	#size-cells = <2>;
20
21	aliases {
22		crypto = &crypto;
23		rtc1 = &ftm_alarm0;
24		serial0 = &serial0;
25		serial1 = &serial1;
26		serial2 = &serial2;
27		serial3 = &serial3;
28	};
29
30	cpu: cpus {
31		#address-cells = <1>;
32		#size-cells = <0>;
33	};
34
35	memory@80000000 {
36		device_type = "memory";
37		reg = <0x00000000 0x80000000 0 0x80000000>;
38		      /* DRAM space - 1, size : 2 GB DRAM */
39	};
40
41	sysclk: sysclk {
42		compatible = "fixed-clock";
43		#clock-cells = <0>;
44		clock-frequency = <100000000>;
45		clock-output-names = "sysclk";
46	};
47
48	gic: interrupt-controller@6000000 {
49		compatible = "arm,gic-v3";
50		reg = <0x0 0x06000000 0 0x10000>, /* GIC Dist */
51			<0x0 0x06100000 0 0x100000>, /* GICR (RD_base + SGI_base) */
52			<0x0 0x0c0c0000 0 0x2000>, /* GICC */
53			<0x0 0x0c0d0000 0 0x1000>, /* GICH */
54			<0x0 0x0c0e0000 0 0x20000>; /* GICV */
55		#interrupt-cells = <3>;
56		#address-cells = <2>;
57		#size-cells = <2>;
58		ranges;
59		interrupt-controller;
60		interrupts = <1 9 0x4>;
61
62		its: gic-its@6020000 {
63			compatible = "arm,gic-v3-its";
64			msi-controller;
65			reg = <0x0 0x6020000 0 0x20000>;
66		};
67	};
68
69	rstcr: syscon@1e60000 {
70		compatible = "fsl,ls2080a-rstcr", "syscon";
71		reg = <0x0 0x1e60000 0x0 0x4>;
72	};
73
74	reboot {
75		compatible ="syscon-reboot";
76		regmap = <&rstcr>;
77		offset = <0x0>;
78		mask = <0x2>;
79	};
80
81	thermal-zones {
82		ddr-controller1 {
83			polling-delay-passive = <1000>;
84			polling-delay = <5000>;
85			thermal-sensors = <&tmu 1>;
86
87			trips {
88				ddr-ctrler1-crit {
89					temperature = <95000>;
90					hysteresis = <2000>;
91					type = "critical";
92				};
93			};
94		};
95
96		ddr-controller2 {
97			polling-delay-passive = <1000>;
98			polling-delay = <5000>;
99			thermal-sensors = <&tmu 2>;
100
101			trips {
102				ddr-ctrler2-crit {
103					temperature = <95000>;
104					hysteresis = <2000>;
105					type = "critical";
106				};
107			};
108		};
109
110		ddr-controller3 {
111			polling-delay-passive = <1000>;
112			polling-delay = <5000>;
113			thermal-sensors = <&tmu 3>;
114
115			trips {
116				ddr-ctrler3-crit {
117					temperature = <95000>;
118					hysteresis = <2000>;
119					type = "critical";
120				};
121			};
122		};
123
124		core-cluster1 {
125			polling-delay-passive = <1000>;
126			polling-delay = <5000>;
127			thermal-sensors = <&tmu 4>;
128
129			trips {
130				core_cluster1_alert: core-cluster1-alert {
131					temperature = <85000>;
132					hysteresis = <2000>;
133					type = "passive";
134				};
135
136				core-cluster1-crit {
137					temperature = <95000>;
138					hysteresis = <2000>;
139					type = "critical";
140				};
141			};
142
143			cooling-maps {
144				map0 {
145					trip = <&core_cluster1_alert>;
146					cooling-device =
147						<&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
148						<&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
149				};
150			};
151		};
152
153		core-cluster2 {
154			polling-delay-passive = <1000>;
155			polling-delay = <5000>;
156			thermal-sensors = <&tmu 5>;
157
158			trips {
159				core_cluster2_alert: core-cluster2-alert {
160					temperature = <85000>;
161					hysteresis = <2000>;
162					type = "passive";
163				};
164
165				core-cluster2-crit {
166					temperature = <95000>;
167					hysteresis = <2000>;
168					type = "critical";
169				};
170			};
171
172			cooling-maps {
173				map0 {
174					trip = <&core_cluster2_alert>;
175					cooling-device =
176						<&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
177						<&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
178				};
179			};
180		};
181
182		core-cluster3 {
183			polling-delay-passive = <1000>;
184			polling-delay = <5000>;
185			thermal-sensors = <&tmu 6>;
186
187			trips {
188				core_cluster3_alert: core-cluster3-alert {
189					temperature = <85000>;
190					hysteresis = <2000>;
191					type = "passive";
192				};
193
194				core-cluster3-crit {
195					temperature = <95000>;
196					hysteresis = <2000>;
197					type = "critical";
198				};
199			};
200
201			cooling-maps {
202				map0 {
203					trip = <&core_cluster3_alert>;
204					cooling-device =
205						<&cpu4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
206						<&cpu5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
207				};
208			};
209		};
210
211		core-cluster4 {
212			polling-delay-passive = <1000>;
213			polling-delay = <5000>;
214			thermal-sensors = <&tmu 7>;
215
216			trips {
217				core_cluster4_alert: core-cluster4-alert {
218					temperature = <85000>;
219					hysteresis = <2000>;
220					type = "passive";
221				};
222
223				core-cluster4-crit {
224					temperature = <95000>;
225					hysteresis = <2000>;
226					type = "critical";
227				};
228			};
229
230			cooling-maps {
231				map0 {
232					trip = <&core_cluster4_alert>;
233					cooling-device =
234						<&cpu6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
235						<&cpu7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
236				};
237			};
238		};
239	};
240
241	timer {
242		compatible = "arm,armv8-timer";
243		interrupts = <1 13 4>, /* Physical Secure PPI, active-low */
244			     <1 14 4>, /* Physical Non-Secure PPI, active-low */
245			     <1 11 4>, /* Virtual PPI, active-low */
246			     <1 10 4>; /* Hypervisor PPI, active-low */
247		fsl,erratum-a008585;
248	};
249
250	pmu {
251		compatible = "arm,armv8-pmuv3";
252		interrupts = <1 7 0x8>; /* PMU PPI, Level low type */
253	};
254
255	psci {
256		compatible = "arm,psci-0.2";
257		method = "smc";
258	};
259
260	soc {
261		compatible = "simple-bus";
262		#address-cells = <2>;
263		#size-cells = <2>;
264		ranges;
265		dma-ranges = <0x0 0x0 0x0 0x0 0x10000 0x00000000>;
266
267		clockgen: clocking@1300000 {
268			compatible = "fsl,ls2080a-clockgen";
269			reg = <0 0x1300000 0 0xa0000>;
270			#clock-cells = <2>;
271			clocks = <&sysclk>;
272		};
273
274		dcfg: dcfg@1e00000 {
275			compatible = "fsl,ls2080a-dcfg", "syscon";
276			reg = <0x0 0x1e00000 0x0 0x10000>;
277			little-endian;
278		};
279
280		tmu: tmu@1f80000 {
281			compatible = "fsl,qoriq-tmu";
282			reg = <0x0 0x1f80000 0x0 0x10000>;
283			interrupts = <0 23 0x4>;
284			fsl,tmu-range = <0xb0000 0x9002a 0x6004c 0x30062>;
285			fsl,tmu-calibration = <0x00000000 0x00000026
286					       0x00000001 0x0000002d
287					       0x00000002 0x00000032
288					       0x00000003 0x00000039
289					       0x00000004 0x0000003f
290					       0x00000005 0x00000046
291					       0x00000006 0x0000004d
292					       0x00000007 0x00000054
293					       0x00000008 0x0000005a
294					       0x00000009 0x00000061
295					       0x0000000a 0x0000006a
296					       0x0000000b 0x00000071
297
298					       0x00010000 0x00000025
299					       0x00010001 0x0000002c
300					       0x00010002 0x00000035
301					       0x00010003 0x0000003d
302					       0x00010004 0x00000045
303					       0x00010005 0x0000004e
304					       0x00010006 0x00000057
305					       0x00010007 0x00000061
306					       0x00010008 0x0000006b
307					       0x00010009 0x00000076
308
309					       0x00020000 0x00000029
310					       0x00020001 0x00000033
311					       0x00020002 0x0000003d
312					       0x00020003 0x00000049
313					       0x00020004 0x00000056
314					       0x00020005 0x00000061
315					       0x00020006 0x0000006d
316
317					       0x00030000 0x00000021
318					       0x00030001 0x0000002a
319					       0x00030002 0x0000003c
320					       0x00030003 0x0000004e>;
321			little-endian;
322			#thermal-sensor-cells = <1>;
323		};
324
325		serial0: serial@21c0500 {
326			compatible = "fsl,ns16550", "ns16550a";
327			reg = <0x0 0x21c0500 0x0 0x100>;
328			clocks = <&clockgen 4 3>;
329			interrupts = <0 32 0x4>; /* Level high type */
330		};
331
332		serial1: serial@21c0600 {
333			compatible = "fsl,ns16550", "ns16550a";
334			reg = <0x0 0x21c0600 0x0 0x100>;
335			clocks = <&clockgen 4 3>;
336			interrupts = <0 32 0x4>; /* Level high type */
337		};
338
339		serial2: serial@21d0500 {
340			compatible = "fsl,ns16550", "ns16550a";
341			reg = <0x0 0x21d0500 0x0 0x100>;
342			clocks = <&clockgen 4 3>;
343			interrupts = <0 33 0x4>; /* Level high type */
344		};
345
346		serial3: serial@21d0600 {
347			compatible = "fsl,ns16550", "ns16550a";
348			reg = <0x0 0x21d0600 0x0 0x100>;
349			clocks = <&clockgen 4 3>;
350			interrupts = <0 33 0x4>; /* Level high type */
351		};
352
353		cluster1_core0_watchdog: wdt@c000000 {
354			compatible = "arm,sp805-wdt", "arm,primecell";
355			reg = <0x0 0xc000000 0x0 0x1000>;
356			clocks = <&clockgen 4 3>, <&clockgen 4 3>;
357			clock-names = "wdog_clk", "apb_pclk";
358		};
359
360		cluster1_core1_watchdog: wdt@c010000 {
361			compatible = "arm,sp805-wdt", "arm,primecell";
362			reg = <0x0 0xc010000 0x0 0x1000>;
363			clocks = <&clockgen 4 3>, <&clockgen 4 3>;
364			clock-names = "wdog_clk", "apb_pclk";
365		};
366
367		cluster2_core0_watchdog: wdt@c100000 {
368			compatible = "arm,sp805-wdt", "arm,primecell";
369			reg = <0x0 0xc100000 0x0 0x1000>;
370			clocks = <&clockgen 4 3>, <&clockgen 4 3>;
371			clock-names = "wdog_clk", "apb_pclk";
372		};
373
374		cluster2_core1_watchdog: wdt@c110000 {
375			compatible = "arm,sp805-wdt", "arm,primecell";
376			reg = <0x0 0xc110000 0x0 0x1000>;
377			clocks = <&clockgen 4 3>, <&clockgen 4 3>;
378			clock-names = "wdog_clk", "apb_pclk";
379		};
380
381		cluster3_core0_watchdog: wdt@c200000 {
382			compatible = "arm,sp805-wdt", "arm,primecell";
383			reg = <0x0 0xc200000 0x0 0x1000>;
384			clocks = <&clockgen 4 3>, <&clockgen 4 3>;
385			clock-names = "wdog_clk", "apb_pclk";
386		};
387
388		cluster3_core1_watchdog: wdt@c210000 {
389			compatible = "arm,sp805-wdt", "arm,primecell";
390			reg = <0x0 0xc210000 0x0 0x1000>;
391			clocks = <&clockgen 4 3>, <&clockgen 4 3>;
392			clock-names = "wdog_clk", "apb_pclk";
393		};
394
395		cluster4_core0_watchdog: wdt@c300000 {
396			compatible = "arm,sp805-wdt", "arm,primecell";
397			reg = <0x0 0xc300000 0x0 0x1000>;
398			clocks = <&clockgen 4 3>, <&clockgen 4 3>;
399			clock-names = "wdog_clk", "apb_pclk";
400		};
401
402		cluster4_core1_watchdog: wdt@c310000 {
403			compatible = "arm,sp805-wdt", "arm,primecell";
404			reg = <0x0 0xc310000 0x0 0x1000>;
405			clocks = <&clockgen 4 3>, <&clockgen 4 3>;
406			clock-names = "wdog_clk", "apb_pclk";
407		};
408
409		crypto: crypto@8000000 {
410			compatible = "fsl,sec-v5.0", "fsl,sec-v4.0";
411			fsl,sec-era = <8>;
412			#address-cells = <1>;
413			#size-cells = <1>;
414			ranges = <0x0 0x00 0x8000000 0x100000>;
415			reg = <0x00 0x8000000 0x0 0x100000>;
416			interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>;
417			dma-coherent;
418
419			sec_jr0: jr@10000 {
420				compatible = "fsl,sec-v5.0-job-ring",
421					     "fsl,sec-v4.0-job-ring";
422				reg	   = <0x10000 0x10000>;
423				interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
424			};
425
426			sec_jr1: jr@20000 {
427				compatible = "fsl,sec-v5.0-job-ring",
428					     "fsl,sec-v4.0-job-ring";
429				reg	   = <0x20000 0x10000>;
430				interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>;
431			};
432
433			sec_jr2: jr@30000 {
434				compatible = "fsl,sec-v5.0-job-ring",
435					     "fsl,sec-v4.0-job-ring";
436				reg	   = <0x30000 0x10000>;
437				interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>;
438			};
439
440			sec_jr3: jr@40000 {
441				compatible = "fsl,sec-v5.0-job-ring",
442					     "fsl,sec-v4.0-job-ring";
443				reg	   = <0x40000 0x10000>;
444				interrupts = <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
445			};
446		};
447
448		console@8340020 {
449			compatible = "fsl,dpaa2-console";
450			reg = <0x00000000 0x08340020 0 0x2>;
451		};
452
453		ptp-timer@8b95000 {
454			compatible = "fsl,dpaa2-ptp";
455			reg = <0x0 0x8b95000 0x0 0x100>;
456			clocks = <&clockgen 4 1>;
457			little-endian;
458			fsl,extts-fifo;
459		};
460
461		fsl_mc: fsl-mc@80c000000 {
462			compatible = "fsl,qoriq-mc";
463			reg = <0x00000008 0x0c000000 0 0x40>,	 /* MC portal base */
464			      <0x00000000 0x08340000 0 0x40000>; /* MC control reg */
465			msi-parent = <&its>;
466			iommu-map = <0 &smmu 0 0>;	/* This is fixed-up by u-boot */
467			dma-coherent;
468			#address-cells = <3>;
469			#size-cells = <1>;
470
471			/*
472			 * Region type 0x0 - MC portals
473			 * Region type 0x1 - QBMAN portals
474			 */
475			ranges = <0x0 0x0 0x0 0x8 0x0c000000 0x4000000
476				  0x1 0x0 0x0 0x8 0x18000000 0x8000000>;
477
478			/*
479			 * Define the maximum number of MACs present on the SoC.
480			 */
481			dpmacs {
482				#address-cells = <1>;
483				#size-cells = <0>;
484
485				dpmac1: dpmac@1 {
486					compatible = "fsl,qoriq-mc-dpmac";
487					reg = <0x1>;
488				};
489
490				dpmac2: dpmac@2 {
491					compatible = "fsl,qoriq-mc-dpmac";
492					reg = <0x2>;
493				};
494
495				dpmac3: dpmac@3 {
496					compatible = "fsl,qoriq-mc-dpmac";
497					reg = <0x3>;
498				};
499
500				dpmac4: dpmac@4 {
501					compatible = "fsl,qoriq-mc-dpmac";
502					reg = <0x4>;
503				};
504
505				dpmac5: dpmac@5 {
506					compatible = "fsl,qoriq-mc-dpmac";
507					reg = <0x5>;
508				};
509
510				dpmac6: dpmac@6 {
511					compatible = "fsl,qoriq-mc-dpmac";
512					reg = <0x6>;
513				};
514
515				dpmac7: dpmac@7 {
516					compatible = "fsl,qoriq-mc-dpmac";
517					reg = <0x7>;
518				};
519
520				dpmac8: dpmac@8 {
521					compatible = "fsl,qoriq-mc-dpmac";
522					reg = <0x8>;
523				};
524
525				dpmac9: dpmac@9 {
526					compatible = "fsl,qoriq-mc-dpmac";
527					reg = <0x9>;
528				};
529
530				dpmac10: dpmac@a {
531					compatible = "fsl,qoriq-mc-dpmac";
532					reg = <0xa>;
533				};
534
535				dpmac11: dpmac@b {
536					compatible = "fsl,qoriq-mc-dpmac";
537					reg = <0xb>;
538				};
539
540				dpmac12: dpmac@c {
541					compatible = "fsl,qoriq-mc-dpmac";
542					reg = <0xc>;
543				};
544
545				dpmac13: dpmac@d {
546					compatible = "fsl,qoriq-mc-dpmac";
547					reg = <0xd>;
548				};
549
550				dpmac14: dpmac@e {
551					compatible = "fsl,qoriq-mc-dpmac";
552					reg = <0xe>;
553				};
554
555				dpmac15: dpmac@f {
556					compatible = "fsl,qoriq-mc-dpmac";
557					reg = <0xf>;
558				};
559
560				dpmac16: dpmac@10 {
561					compatible = "fsl,qoriq-mc-dpmac";
562					reg = <0x10>;
563				};
564			};
565		};
566
567		smmu: iommu@5000000 {
568			compatible = "arm,mmu-500";
569			reg = <0 0x5000000 0 0x800000>;
570			#global-interrupts = <12>;
571			#iommu-cells = <1>;
572			stream-match-mask = <0x7C00>;
573			dma-coherent;
574			interrupts = <0 13 4>, /* global secure fault */
575				     <0 14 4>, /* combined secure interrupt */
576				     <0 15 4>, /* global non-secure fault */
577				     <0 16 4>, /* combined non-secure interrupt */
578				/* performance counter interrupts 0-7 */
579				     <0 211 4>, <0 212 4>,
580				     <0 213 4>, <0 214 4>,
581				     <0 215 4>, <0 216 4>,
582				     <0 217 4>, <0 218 4>,
583				/* per context interrupt, 64 interrupts */
584				     <0 146 4>, <0 147 4>,
585				     <0 148 4>, <0 149 4>,
586				     <0 150 4>, <0 151 4>,
587				     <0 152 4>, <0 153 4>,
588				     <0 154 4>, <0 155 4>,
589				     <0 156 4>, <0 157 4>,
590				     <0 158 4>, <0 159 4>,
591				     <0 160 4>, <0 161 4>,
592				     <0 162 4>, <0 163 4>,
593				     <0 164 4>, <0 165 4>,
594				     <0 166 4>, <0 167 4>,
595				     <0 168 4>, <0 169 4>,
596				     <0 170 4>, <0 171 4>,
597				     <0 172 4>, <0 173 4>,
598				     <0 174 4>, <0 175 4>,
599				     <0 176 4>, <0 177 4>,
600				     <0 178 4>, <0 179 4>,
601				     <0 180 4>, <0 181 4>,
602				     <0 182 4>, <0 183 4>,
603				     <0 184 4>, <0 185 4>,
604				     <0 186 4>, <0 187 4>,
605				     <0 188 4>, <0 189 4>,
606				     <0 190 4>, <0 191 4>,
607				     <0 192 4>, <0 193 4>,
608				     <0 194 4>, <0 195 4>,
609				     <0 196 4>, <0 197 4>,
610				     <0 198 4>, <0 199 4>,
611				     <0 200 4>, <0 201 4>,
612				     <0 202 4>, <0 203 4>,
613				     <0 204 4>, <0 205 4>,
614				     <0 206 4>, <0 207 4>,
615				     <0 208 4>, <0 209 4>;
616		};
617
618		dspi: spi@2100000 {
619			status = "disabled";
620			compatible = "fsl,ls2080a-dspi", "fsl,ls2085a-dspi";
621			#address-cells = <1>;
622			#size-cells = <0>;
623			reg = <0x0 0x2100000 0x0 0x10000>;
624			interrupts = <0 26 0x4>; /* Level high type */
625			clocks = <&clockgen 4 3>;
626			clock-names = "dspi";
627			spi-num-chipselects = <5>;
628		};
629
630		esdhc: esdhc@2140000 {
631			status = "disabled";
632			compatible = "fsl,ls2080a-esdhc", "fsl,esdhc";
633			reg = <0x0 0x2140000 0x0 0x10000>;
634			interrupts = <0 28 0x4>; /* Level high type */
635			clocks = <&clockgen 4 1>;
636			voltage-ranges = <1800 1800 3300 3300>;
637			sdhci,auto-cmd12;
638			little-endian;
639			bus-width = <4>;
640		};
641
642		gpio0: gpio@2300000 {
643			compatible = "fsl,ls2080a-gpio", "fsl,qoriq-gpio";
644			reg = <0x0 0x2300000 0x0 0x10000>;
645			interrupts = <0 36 0x4>; /* Level high type */
646			gpio-controller;
647			little-endian;
648			#gpio-cells = <2>;
649			interrupt-controller;
650			#interrupt-cells = <2>;
651		};
652
653		gpio1: gpio@2310000 {
654			compatible = "fsl,ls2080a-gpio", "fsl,qoriq-gpio";
655			reg = <0x0 0x2310000 0x0 0x10000>;
656			interrupts = <0 36 0x4>; /* Level high type */
657			gpio-controller;
658			little-endian;
659			#gpio-cells = <2>;
660			interrupt-controller;
661			#interrupt-cells = <2>;
662		};
663
664		gpio2: gpio@2320000 {
665			compatible = "fsl,ls2080a-gpio", "fsl,qoriq-gpio";
666			reg = <0x0 0x2320000 0x0 0x10000>;
667			interrupts = <0 37 0x4>; /* Level high type */
668			gpio-controller;
669			little-endian;
670			#gpio-cells = <2>;
671			interrupt-controller;
672			#interrupt-cells = <2>;
673		};
674
675		gpio3: gpio@2330000 {
676			compatible = "fsl,ls2080a-gpio", "fsl,qoriq-gpio";
677			reg = <0x0 0x2330000 0x0 0x10000>;
678			interrupts = <0 37 0x4>; /* Level high type */
679			gpio-controller;
680			little-endian;
681			#gpio-cells = <2>;
682			interrupt-controller;
683			#interrupt-cells = <2>;
684		};
685
686		i2c0: i2c@2000000 {
687			status = "disabled";
688			compatible = "fsl,vf610-i2c";
689			#address-cells = <1>;
690			#size-cells = <0>;
691			reg = <0x0 0x2000000 0x0 0x10000>;
692			interrupts = <0 34 0x4>; /* Level high type */
693			clock-names = "i2c";
694			clocks = <&clockgen 4 3>;
695		};
696
697		i2c1: i2c@2010000 {
698			status = "disabled";
699			compatible = "fsl,vf610-i2c";
700			#address-cells = <1>;
701			#size-cells = <0>;
702			reg = <0x0 0x2010000 0x0 0x10000>;
703			interrupts = <0 34 0x4>; /* Level high type */
704			clock-names = "i2c";
705			clocks = <&clockgen 4 3>;
706		};
707
708		i2c2: i2c@2020000 {
709			status = "disabled";
710			compatible = "fsl,vf610-i2c";
711			#address-cells = <1>;
712			#size-cells = <0>;
713			reg = <0x0 0x2020000 0x0 0x10000>;
714			interrupts = <0 35 0x4>; /* Level high type */
715			clock-names = "i2c";
716			clocks = <&clockgen 4 3>;
717		};
718
719		i2c3: i2c@2030000 {
720			status = "disabled";
721			compatible = "fsl,vf610-i2c";
722			#address-cells = <1>;
723			#size-cells = <0>;
724			reg = <0x0 0x2030000 0x0 0x10000>;
725			interrupts = <0 35 0x4>; /* Level high type */
726			clock-names = "i2c";
727			clocks = <&clockgen 4 3>;
728		};
729
730		ifc: ifc@2240000 {
731			compatible = "fsl,ifc", "simple-bus";
732			reg = <0x0 0x2240000 0x0 0x20000>;
733			interrupts = <0 21 0x4>; /* Level high type */
734			little-endian;
735			#address-cells = <2>;
736			#size-cells = <1>;
737
738			ranges = <0 0 0x5 0x80000000 0x08000000
739				  2 0 0x5 0x30000000 0x00010000
740				  3 0 0x5 0x20000000 0x00010000>;
741		};
742
743		qspi: spi@20c0000 {
744			compatible = "fsl,ls2080a-qspi";
745			#address-cells = <1>;
746			#size-cells = <0>;
747			reg = <0x0 0x20c0000 0x0 0x10000>,
748			      <0x0 0x20000000 0x0 0x10000000>;
749			reg-names = "QuadSPI", "QuadSPI-memory";
750			interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
751			clocks = <&clockgen 4 3>, <&clockgen 4 3>;
752			clock-names = "qspi_en", "qspi";
753			status = "disabled";
754		};
755
756		pcie1: pcie@3400000 {
757			compatible = "fsl,ls2080a-pcie", "fsl,ls2085a-pcie";
758			reg-names = "regs", "config";
759			interrupts = <0 108 0x4>; /* Level high type */
760			interrupt-names = "intr";
761			#address-cells = <3>;
762			#size-cells = <2>;
763			device_type = "pci";
764			dma-coherent;
765			num-viewport = <6>;
766			bus-range = <0x0 0xff>;
767			msi-parent = <&its>;
768			#interrupt-cells = <1>;
769			interrupt-map-mask = <0 0 0 7>;
770			interrupt-map = <0000 0 0 1 &gic 0 0 0 109 4>,
771					<0000 0 0 2 &gic 0 0 0 110 4>,
772					<0000 0 0 3 &gic 0 0 0 111 4>,
773					<0000 0 0 4 &gic 0 0 0 112 4>;
774			iommu-map = <0 &smmu 0 1>; /* Fixed-up by bootloader */
775			status = "disabled";
776		};
777
778		pcie2: pcie@3500000 {
779			compatible = "fsl,ls2080a-pcie", "fsl,ls2085a-pcie";
780			reg-names = "regs", "config";
781			interrupts = <0 113 0x4>; /* Level high type */
782			interrupt-names = "intr";
783			#address-cells = <3>;
784			#size-cells = <2>;
785			device_type = "pci";
786			dma-coherent;
787			num-viewport = <6>;
788			bus-range = <0x0 0xff>;
789			msi-parent = <&its>;
790			#interrupt-cells = <1>;
791			interrupt-map-mask = <0 0 0 7>;
792			interrupt-map = <0000 0 0 1 &gic 0 0 0 114 4>,
793					<0000 0 0 2 &gic 0 0 0 115 4>,
794					<0000 0 0 3 &gic 0 0 0 116 4>,
795					<0000 0 0 4 &gic 0 0 0 117 4>;
796			iommu-map = <0 &smmu 0 1>; /* Fixed-up by bootloader */
797			status = "disabled";
798		};
799
800		pcie3: pcie@3600000 {
801			compatible = "fsl,ls2080a-pcie", "fsl,ls2085a-pcie";
802			reg-names = "regs", "config";
803			interrupts = <0 118 0x4>; /* Level high type */
804			interrupt-names = "intr";
805			#address-cells = <3>;
806			#size-cells = <2>;
807			device_type = "pci";
808			dma-coherent;
809			num-viewport = <256>;
810			bus-range = <0x0 0xff>;
811			msi-parent = <&its>;
812			#interrupt-cells = <1>;
813			interrupt-map-mask = <0 0 0 7>;
814			interrupt-map = <0000 0 0 1 &gic 0 0 0 119 4>,
815					<0000 0 0 2 &gic 0 0 0 120 4>,
816					<0000 0 0 3 &gic 0 0 0 121 4>,
817					<0000 0 0 4 &gic 0 0 0 122 4>;
818			iommu-map = <0 &smmu 0 1>; /* Fixed-up by bootloader */
819			status = "disabled";
820		};
821
822		pcie4: pcie@3700000 {
823			compatible = "fsl,ls2080a-pcie", "fsl,ls2085a-pcie";
824			reg-names = "regs", "config";
825			interrupts = <0 123 0x4>; /* Level high type */
826			interrupt-names = "intr";
827			#address-cells = <3>;
828			#size-cells = <2>;
829			device_type = "pci";
830			dma-coherent;
831			num-viewport = <6>;
832			bus-range = <0x0 0xff>;
833			msi-parent = <&its>;
834			#interrupt-cells = <1>;
835			interrupt-map-mask = <0 0 0 7>;
836			interrupt-map = <0000 0 0 1 &gic 0 0 0 124 4>,
837					<0000 0 0 2 &gic 0 0 0 125 4>,
838					<0000 0 0 3 &gic 0 0 0 126 4>,
839					<0000 0 0 4 &gic 0 0 0 127 4>;
840			iommu-map = <0 &smmu 0 1>; /* Fixed-up by bootloader */
841			status = "disabled";
842		};
843
844		sata0: sata@3200000 {
845			status = "disabled";
846			compatible = "fsl,ls2080a-ahci";
847			reg = <0x0 0x3200000 0x0 0x10000>;
848			interrupts = <0 133 0x4>; /* Level high type */
849			clocks = <&clockgen 4 3>;
850			dma-coherent;
851		};
852
853		sata1: sata@3210000 {
854			status = "disabled";
855			compatible = "fsl,ls2080a-ahci";
856			reg = <0x0 0x3210000 0x0 0x10000>;
857			interrupts = <0 136 0x4>; /* Level high type */
858			clocks = <&clockgen 4 3>;
859			dma-coherent;
860		};
861
862		usb0: usb3@3100000 {
863			status = "disabled";
864			compatible = "snps,dwc3";
865			reg = <0x0 0x3100000 0x0 0x10000>;
866			interrupts = <0 80 0x4>; /* Level high type */
867			dr_mode = "host";
868			snps,quirk-frame-length-adjustment = <0x20>;
869			snps,dis_rxdet_inp3_quirk;
870			snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
871		};
872
873		usb1: usb3@3110000 {
874			status = "disabled";
875			compatible = "snps,dwc3";
876			reg = <0x0 0x3110000 0x0 0x10000>;
877			interrupts = <0 81 0x4>; /* Level high type */
878			dr_mode = "host";
879			snps,quirk-frame-length-adjustment = <0x20>;
880			snps,dis_rxdet_inp3_quirk;
881			snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
882		};
883
884		ccn@4000000 {
885			compatible = "arm,ccn-504";
886			reg = <0x0 0x04000000 0x0 0x01000000>;
887			interrupts = <0 12 4>;
888		};
889
890		rcpm: power-controller@1e34040 {
891			compatible = "fsl,ls208xa-rcpm", "fsl,qoriq-rcpm-2.1+";
892			reg = <0x0 0x1e34040 0x0 0x18>;
893			#fsl,rcpm-wakeup-cells = <6>;
894			little-endian;
895		};
896
897		ftm_alarm0: timer@2800000 {
898			compatible = "fsl,ls208xa-ftm-alarm";
899			reg = <0x0 0x2800000 0x0 0x10000>;
900			fsl,rcpm-wakeup = <&rcpm 0x0 0x0 0x0 0x0 0x4000 0x0>;
901			interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
902		};
903	};
904
905	ddr1: memory-controller@1080000 {
906		compatible = "fsl,qoriq-memory-controller";
907		reg = <0x0 0x1080000 0x0 0x1000>;
908		interrupts = <0 17 0x4>;
909		little-endian;
910	};
911
912	ddr2: memory-controller@1090000 {
913		compatible = "fsl,qoriq-memory-controller";
914		reg = <0x0 0x1090000 0x0 0x1000>;
915		interrupts = <0 18 0x4>;
916		little-endian;
917	};
918
919	firmware {
920		optee {
921			compatible = "linaro,optee-tz";
922			method = "smc";
923		};
924	};
925};
926