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			bus-num = <0>;
629		};
630
631		esdhc: esdhc@2140000 {
632			status = "disabled";
633			compatible = "fsl,ls2080a-esdhc", "fsl,esdhc";
634			reg = <0x0 0x2140000 0x0 0x10000>;
635			interrupts = <0 28 0x4>; /* Level high type */
636			clocks = <&clockgen 4 1>;
637			voltage-ranges = <1800 1800 3300 3300>;
638			sdhci,auto-cmd12;
639			little-endian;
640			bus-width = <4>;
641		};
642
643		gpio0: gpio@2300000 {
644			compatible = "fsl,ls2080a-gpio", "fsl,qoriq-gpio";
645			reg = <0x0 0x2300000 0x0 0x10000>;
646			interrupts = <0 36 0x4>; /* Level high type */
647			gpio-controller;
648			little-endian;
649			#gpio-cells = <2>;
650			interrupt-controller;
651			#interrupt-cells = <2>;
652		};
653
654		gpio1: gpio@2310000 {
655			compatible = "fsl,ls2080a-gpio", "fsl,qoriq-gpio";
656			reg = <0x0 0x2310000 0x0 0x10000>;
657			interrupts = <0 36 0x4>; /* Level high type */
658			gpio-controller;
659			little-endian;
660			#gpio-cells = <2>;
661			interrupt-controller;
662			#interrupt-cells = <2>;
663		};
664
665		gpio2: gpio@2320000 {
666			compatible = "fsl,ls2080a-gpio", "fsl,qoriq-gpio";
667			reg = <0x0 0x2320000 0x0 0x10000>;
668			interrupts = <0 37 0x4>; /* Level high type */
669			gpio-controller;
670			little-endian;
671			#gpio-cells = <2>;
672			interrupt-controller;
673			#interrupt-cells = <2>;
674		};
675
676		gpio3: gpio@2330000 {
677			compatible = "fsl,ls2080a-gpio", "fsl,qoriq-gpio";
678			reg = <0x0 0x2330000 0x0 0x10000>;
679			interrupts = <0 37 0x4>; /* Level high type */
680			gpio-controller;
681			little-endian;
682			#gpio-cells = <2>;
683			interrupt-controller;
684			#interrupt-cells = <2>;
685		};
686
687		i2c0: i2c@2000000 {
688			status = "disabled";
689			compatible = "fsl,vf610-i2c";
690			#address-cells = <1>;
691			#size-cells = <0>;
692			reg = <0x0 0x2000000 0x0 0x10000>;
693			interrupts = <0 34 0x4>; /* Level high type */
694			clock-names = "i2c";
695			clocks = <&clockgen 4 3>;
696		};
697
698		i2c1: i2c@2010000 {
699			status = "disabled";
700			compatible = "fsl,vf610-i2c";
701			#address-cells = <1>;
702			#size-cells = <0>;
703			reg = <0x0 0x2010000 0x0 0x10000>;
704			interrupts = <0 34 0x4>; /* Level high type */
705			clock-names = "i2c";
706			clocks = <&clockgen 4 3>;
707		};
708
709		i2c2: i2c@2020000 {
710			status = "disabled";
711			compatible = "fsl,vf610-i2c";
712			#address-cells = <1>;
713			#size-cells = <0>;
714			reg = <0x0 0x2020000 0x0 0x10000>;
715			interrupts = <0 35 0x4>; /* Level high type */
716			clock-names = "i2c";
717			clocks = <&clockgen 4 3>;
718		};
719
720		i2c3: i2c@2030000 {
721			status = "disabled";
722			compatible = "fsl,vf610-i2c";
723			#address-cells = <1>;
724			#size-cells = <0>;
725			reg = <0x0 0x2030000 0x0 0x10000>;
726			interrupts = <0 35 0x4>; /* Level high type */
727			clock-names = "i2c";
728			clocks = <&clockgen 4 3>;
729		};
730
731		ifc: ifc@2240000 {
732			compatible = "fsl,ifc", "simple-bus";
733			reg = <0x0 0x2240000 0x0 0x20000>;
734			interrupts = <0 21 0x4>; /* Level high type */
735			little-endian;
736			#address-cells = <2>;
737			#size-cells = <1>;
738
739			ranges = <0 0 0x5 0x80000000 0x08000000
740				  2 0 0x5 0x30000000 0x00010000
741				  3 0 0x5 0x20000000 0x00010000>;
742		};
743
744		qspi: spi@20c0000 {
745			compatible = "fsl,ls2080a-qspi";
746			#address-cells = <1>;
747			#size-cells = <0>;
748			reg = <0x0 0x20c0000 0x0 0x10000>,
749			      <0x0 0x20000000 0x0 0x10000000>;
750			reg-names = "QuadSPI", "QuadSPI-memory";
751			interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
752			clocks = <&clockgen 4 3>, <&clockgen 4 3>;
753			clock-names = "qspi_en", "qspi";
754			status = "disabled";
755		};
756
757		pcie1: pcie@3400000 {
758			compatible = "fsl,ls2080a-pcie", "fsl,ls2085a-pcie";
759			reg-names = "regs", "config";
760			interrupts = <0 108 0x4>; /* Level high type */
761			interrupt-names = "intr";
762			#address-cells = <3>;
763			#size-cells = <2>;
764			device_type = "pci";
765			dma-coherent;
766			num-viewport = <6>;
767			bus-range = <0x0 0xff>;
768			msi-parent = <&its>;
769			#interrupt-cells = <1>;
770			interrupt-map-mask = <0 0 0 7>;
771			interrupt-map = <0000 0 0 1 &gic 0 0 0 109 4>,
772					<0000 0 0 2 &gic 0 0 0 110 4>,
773					<0000 0 0 3 &gic 0 0 0 111 4>,
774					<0000 0 0 4 &gic 0 0 0 112 4>;
775			iommu-map = <0 &smmu 0 1>; /* Fixed-up by bootloader */
776			status = "disabled";
777		};
778
779		pcie2: pcie@3500000 {
780			compatible = "fsl,ls2080a-pcie", "fsl,ls2085a-pcie";
781			reg-names = "regs", "config";
782			interrupts = <0 113 0x4>; /* Level high type */
783			interrupt-names = "intr";
784			#address-cells = <3>;
785			#size-cells = <2>;
786			device_type = "pci";
787			dma-coherent;
788			num-viewport = <6>;
789			bus-range = <0x0 0xff>;
790			msi-parent = <&its>;
791			#interrupt-cells = <1>;
792			interrupt-map-mask = <0 0 0 7>;
793			interrupt-map = <0000 0 0 1 &gic 0 0 0 114 4>,
794					<0000 0 0 2 &gic 0 0 0 115 4>,
795					<0000 0 0 3 &gic 0 0 0 116 4>,
796					<0000 0 0 4 &gic 0 0 0 117 4>;
797			iommu-map = <0 &smmu 0 1>; /* Fixed-up by bootloader */
798			status = "disabled";
799		};
800
801		pcie3: pcie@3600000 {
802			compatible = "fsl,ls2080a-pcie", "fsl,ls2085a-pcie";
803			reg-names = "regs", "config";
804			interrupts = <0 118 0x4>; /* Level high type */
805			interrupt-names = "intr";
806			#address-cells = <3>;
807			#size-cells = <2>;
808			device_type = "pci";
809			dma-coherent;
810			num-viewport = <256>;
811			bus-range = <0x0 0xff>;
812			msi-parent = <&its>;
813			#interrupt-cells = <1>;
814			interrupt-map-mask = <0 0 0 7>;
815			interrupt-map = <0000 0 0 1 &gic 0 0 0 119 4>,
816					<0000 0 0 2 &gic 0 0 0 120 4>,
817					<0000 0 0 3 &gic 0 0 0 121 4>,
818					<0000 0 0 4 &gic 0 0 0 122 4>;
819			iommu-map = <0 &smmu 0 1>; /* Fixed-up by bootloader */
820			status = "disabled";
821		};
822
823		pcie4: pcie@3700000 {
824			compatible = "fsl,ls2080a-pcie", "fsl,ls2085a-pcie";
825			reg-names = "regs", "config";
826			interrupts = <0 123 0x4>; /* Level high type */
827			interrupt-names = "intr";
828			#address-cells = <3>;
829			#size-cells = <2>;
830			device_type = "pci";
831			dma-coherent;
832			num-viewport = <6>;
833			bus-range = <0x0 0xff>;
834			msi-parent = <&its>;
835			#interrupt-cells = <1>;
836			interrupt-map-mask = <0 0 0 7>;
837			interrupt-map = <0000 0 0 1 &gic 0 0 0 124 4>,
838					<0000 0 0 2 &gic 0 0 0 125 4>,
839					<0000 0 0 3 &gic 0 0 0 126 4>,
840					<0000 0 0 4 &gic 0 0 0 127 4>;
841			iommu-map = <0 &smmu 0 1>; /* Fixed-up by bootloader */
842			status = "disabled";
843		};
844
845		sata0: sata@3200000 {
846			status = "disabled";
847			compatible = "fsl,ls2080a-ahci";
848			reg = <0x0 0x3200000 0x0 0x10000>;
849			interrupts = <0 133 0x4>; /* Level high type */
850			clocks = <&clockgen 4 3>;
851			dma-coherent;
852		};
853
854		sata1: sata@3210000 {
855			status = "disabled";
856			compatible = "fsl,ls2080a-ahci";
857			reg = <0x0 0x3210000 0x0 0x10000>;
858			interrupts = <0 136 0x4>; /* Level high type */
859			clocks = <&clockgen 4 3>;
860			dma-coherent;
861		};
862
863		usb0: usb3@3100000 {
864			status = "disabled";
865			compatible = "snps,dwc3";
866			reg = <0x0 0x3100000 0x0 0x10000>;
867			interrupts = <0 80 0x4>; /* Level high type */
868			dr_mode = "host";
869			snps,quirk-frame-length-adjustment = <0x20>;
870			snps,dis_rxdet_inp3_quirk;
871			snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
872		};
873
874		usb1: usb3@3110000 {
875			status = "disabled";
876			compatible = "snps,dwc3";
877			reg = <0x0 0x3110000 0x0 0x10000>;
878			interrupts = <0 81 0x4>; /* Level high type */
879			dr_mode = "host";
880			snps,quirk-frame-length-adjustment = <0x20>;
881			snps,dis_rxdet_inp3_quirk;
882			snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
883		};
884
885		ccn@4000000 {
886			compatible = "arm,ccn-504";
887			reg = <0x0 0x04000000 0x0 0x01000000>;
888			interrupts = <0 12 4>;
889		};
890
891		rcpm: power-controller@1e34040 {
892			compatible = "fsl,ls208xa-rcpm", "fsl,qoriq-rcpm-2.1+";
893			reg = <0x0 0x1e34040 0x0 0x18>;
894			#fsl,rcpm-wakeup-cells = <6>;
895			little-endian;
896		};
897
898		ftm_alarm0: timer@2800000 {
899			compatible = "fsl,ls208xa-ftm-alarm";
900			reg = <0x0 0x2800000 0x0 0x10000>;
901			fsl,rcpm-wakeup = <&rcpm 0x0 0x0 0x0 0x0 0x4000 0x0>;
902			interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
903		};
904	};
905
906	ddr1: memory-controller@1080000 {
907		compatible = "fsl,qoriq-memory-controller";
908		reg = <0x0 0x1080000 0x0 0x1000>;
909		interrupts = <0 17 0x4>;
910		little-endian;
911	};
912
913	ddr2: memory-controller@1090000 {
914		compatible = "fsl,qoriq-memory-controller";
915		reg = <0x0 0x1090000 0x0 0x1000>;
916		interrupts = <0 18 0x4>;
917		little-endian;
918	};
919
920	firmware {
921		optee {
922			compatible = "linaro,optee-tz";
923			method = "smc";
924		};
925	};
926};
927