1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Device Tree Include file for NXP Layerscape-1028A family SoC.
4 *
5 * Copyright 2018-2020 NXP
6 *
7 * Harninder Rai <harninder.rai@nxp.com>
8 *
9 */
10
11#include <dt-bindings/clock/fsl,qoriq-clockgen.h>
12#include <dt-bindings/interrupt-controller/arm-gic.h>
13#include <dt-bindings/thermal/thermal.h>
14
15/ {
16	compatible = "fsl,ls1028a";
17	interrupt-parent = <&gic>;
18	#address-cells = <2>;
19	#size-cells = <2>;
20
21	cpus {
22		#address-cells = <1>;
23		#size-cells = <0>;
24
25		cpu0: cpu@0 {
26			device_type = "cpu";
27			compatible = "arm,cortex-a72";
28			reg = <0x0>;
29			enable-method = "psci";
30			clocks = <&clockgen QORIQ_CLK_CMUX 0>;
31			next-level-cache = <&l2>;
32			cpu-idle-states = <&CPU_PW20>;
33			#cooling-cells = <2>;
34		};
35
36		cpu1: cpu@1 {
37			device_type = "cpu";
38			compatible = "arm,cortex-a72";
39			reg = <0x1>;
40			enable-method = "psci";
41			clocks = <&clockgen QORIQ_CLK_CMUX 0>;
42			next-level-cache = <&l2>;
43			cpu-idle-states = <&CPU_PW20>;
44			#cooling-cells = <2>;
45		};
46
47		l2: l2-cache {
48			compatible = "cache";
49			cache-level = <2>;
50		};
51	};
52
53	idle-states {
54		/*
55		 * PSCI node is not added default, U-boot will add missing
56		 * parts if it determines to use PSCI.
57		 */
58		entry-method = "psci";
59
60		CPU_PW20: cpu-pw20 {
61			  compatible = "arm,idle-state";
62			  idle-state-name = "PW20";
63			  arm,psci-suspend-param = <0x0>;
64			  entry-latency-us = <2000>;
65			  exit-latency-us = <2000>;
66			  min-residency-us = <6000>;
67		};
68	};
69
70	rtc_clk: rtc-clk {
71		compatible = "fixed-clock";
72		#clock-cells = <0>;
73		clock-frequency = <32768>;
74		clock-output-names = "rtc_clk";
75	};
76
77	sysclk: sysclk {
78		compatible = "fixed-clock";
79		#clock-cells = <0>;
80		clock-frequency = <100000000>;
81		clock-output-names = "sysclk";
82	};
83
84	osc_27m: clock-osc-27m {
85		compatible = "fixed-clock";
86		#clock-cells = <0>;
87		clock-frequency = <27000000>;
88		clock-output-names = "phy_27m";
89	};
90
91	firmware {
92		optee: optee  {
93			compatible = "linaro,optee-tz";
94			method = "smc";
95			status = "disabled";
96		};
97	};
98
99	reboot {
100		compatible = "syscon-reboot";
101		regmap = <&rst>;
102		offset = <0>;
103		mask = <0x02>;
104	};
105
106	timer {
107		compatible = "arm,armv8-timer";
108		interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) |
109					  IRQ_TYPE_LEVEL_LOW)>,
110			     <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) |
111					  IRQ_TYPE_LEVEL_LOW)>,
112			     <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) |
113					  IRQ_TYPE_LEVEL_LOW)>,
114			     <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) |
115					  IRQ_TYPE_LEVEL_LOW)>;
116	};
117
118	pmu {
119		compatible = "arm,cortex-a72-pmu";
120		interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH>;
121	};
122
123	gic: interrupt-controller@6000000 {
124		compatible = "arm,gic-v3";
125		#address-cells = <2>;
126		#size-cells = <2>;
127		ranges;
128		reg = <0x0 0x06000000 0 0x10000>, /* GIC Dist */
129			<0x0 0x06040000 0 0x40000>; /* GIC Redistributor */
130		#interrupt-cells = <3>;
131		interrupt-controller;
132		interrupts = <GIC_PPI 9 (GIC_CPU_MASK_RAW(0xf) |
133					 IRQ_TYPE_LEVEL_LOW)>;
134		its: msi-controller@6020000 {
135			compatible = "arm,gic-v3-its";
136			msi-controller;
137			reg = <0x0 0x06020000 0 0x20000>;/* GIC Translater */
138		};
139	};
140
141	thermal-zones {
142		ddr-controller {
143			polling-delay-passive = <1000>;
144			polling-delay = <5000>;
145			thermal-sensors = <&tmu 0>;
146
147			trips {
148				ddr-ctrler-alert {
149					temperature = <85000>;
150					hysteresis = <2000>;
151					type = "passive";
152				};
153
154				ddr-ctrler-crit {
155					temperature = <95000>;
156					hysteresis = <2000>;
157					type = "critical";
158				};
159			};
160		};
161
162		core-cluster {
163			polling-delay-passive = <1000>;
164			polling-delay = <5000>;
165			thermal-sensors = <&tmu 1>;
166
167			trips {
168				core_cluster_alert: core-cluster-alert {
169					temperature = <85000>;
170					hysteresis = <2000>;
171					type = "passive";
172				};
173
174				core_cluster_crit: core-cluster-crit {
175					temperature = <95000>;
176					hysteresis = <2000>;
177					type = "critical";
178				};
179			};
180
181			cooling-maps {
182				map0 {
183					trip = <&core_cluster_alert>;
184					cooling-device =
185						<&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
186						<&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
187				};
188			};
189		};
190	};
191
192	soc: soc {
193		compatible = "simple-bus";
194		#address-cells = <2>;
195		#size-cells = <2>;
196		ranges;
197
198		ddr: memory-controller@1080000 {
199			compatible = "fsl,qoriq-memory-controller";
200			reg = <0x0 0x1080000 0x0 0x1000>;
201			interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
202			little-endian;
203		};
204
205		dcfg: syscon@1e00000 {
206			#address-cells = <1>;
207			#size-cells = <1>;
208			compatible = "fsl,ls1028a-dcfg", "syscon", "simple-mfd";
209			reg = <0x0 0x1e00000 0x0 0x10000>;
210			ranges = <0x0 0x0 0x1e00000 0x10000>;
211			little-endian;
212
213			fspi_clk: clock-controller@900 {
214				compatible = "fsl,ls1028a-flexspi-clk";
215				reg = <0x900 0x4>;
216				#clock-cells = <0>;
217				clocks = <&clockgen QORIQ_CLK_HWACCEL 0>;
218				clock-output-names = "fspi_clk";
219			};
220		};
221
222		rst: syscon@1e60000 {
223			compatible = "syscon";
224			reg = <0x0 0x1e60000 0x0 0x10000>;
225			little-endian;
226		};
227
228		sfp: efuse@1e80000 {
229			compatible = "fsl,ls1028a-sfp";
230			reg = <0x0 0x1e80000 0x0 0x10000>;
231			clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
232					    QORIQ_CLK_PLL_DIV(4)>;
233			clock-names = "sfp";
234			#address-cells = <1>;
235			#size-cells = <1>;
236
237			ls1028a_uid: unique-id@1c {
238				reg = <0x1c 0x8>;
239			};
240		};
241
242		scfg: syscon@1fc0000 {
243			compatible = "fsl,ls1028a-scfg", "syscon";
244			reg = <0x0 0x1fc0000 0x0 0x10000>;
245			big-endian;
246		};
247
248		clockgen: clock-controller@1300000 {
249			compatible = "fsl,ls1028a-clockgen";
250			reg = <0x0 0x1300000 0x0 0xa0000>;
251			#clock-cells = <2>;
252			clocks = <&sysclk>;
253		};
254
255		i2c0: i2c@2000000 {
256			compatible = "fsl,vf610-i2c";
257			#address-cells = <1>;
258			#size-cells = <0>;
259			reg = <0x0 0x2000000 0x0 0x10000>;
260			interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
261			clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
262					    QORIQ_CLK_PLL_DIV(4)>;
263			status = "disabled";
264		};
265
266		i2c1: i2c@2010000 {
267			compatible = "fsl,vf610-i2c";
268			#address-cells = <1>;
269			#size-cells = <0>;
270			reg = <0x0 0x2010000 0x0 0x10000>;
271			interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
272			clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
273					    QORIQ_CLK_PLL_DIV(4)>;
274			status = "disabled";
275		};
276
277		i2c2: i2c@2020000 {
278			compatible = "fsl,vf610-i2c";
279			#address-cells = <1>;
280			#size-cells = <0>;
281			reg = <0x0 0x2020000 0x0 0x10000>;
282			interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
283			clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
284					    QORIQ_CLK_PLL_DIV(4)>;
285			status = "disabled";
286		};
287
288		i2c3: i2c@2030000 {
289			compatible = "fsl,vf610-i2c";
290			#address-cells = <1>;
291			#size-cells = <0>;
292			reg = <0x0 0x2030000 0x0 0x10000>;
293			interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
294			clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
295					    QORIQ_CLK_PLL_DIV(4)>;
296			status = "disabled";
297		};
298
299		i2c4: i2c@2040000 {
300			compatible = "fsl,vf610-i2c";
301			#address-cells = <1>;
302			#size-cells = <0>;
303			reg = <0x0 0x2040000 0x0 0x10000>;
304			interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
305			clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
306					    QORIQ_CLK_PLL_DIV(4)>;
307			status = "disabled";
308		};
309
310		i2c5: i2c@2050000 {
311			compatible = "fsl,vf610-i2c";
312			#address-cells = <1>;
313			#size-cells = <0>;
314			reg = <0x0 0x2050000 0x0 0x10000>;
315			interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
316			clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
317					    QORIQ_CLK_PLL_DIV(4)>;
318			status = "disabled";
319		};
320
321		i2c6: i2c@2060000 {
322			compatible = "fsl,vf610-i2c";
323			#address-cells = <1>;
324			#size-cells = <0>;
325			reg = <0x0 0x2060000 0x0 0x10000>;
326			interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
327			clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
328					    QORIQ_CLK_PLL_DIV(4)>;
329			status = "disabled";
330		};
331
332		i2c7: i2c@2070000 {
333			compatible = "fsl,vf610-i2c";
334			#address-cells = <1>;
335			#size-cells = <0>;
336			reg = <0x0 0x2070000 0x0 0x10000>;
337			interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
338			clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
339					    QORIQ_CLK_PLL_DIV(4)>;
340			status = "disabled";
341		};
342
343		fspi: spi@20c0000 {
344			compatible = "nxp,lx2160a-fspi";
345			#address-cells = <1>;
346			#size-cells = <0>;
347			reg = <0x0 0x20c0000 0x0 0x10000>,
348			      <0x0 0x20000000 0x0 0x10000000>;
349			reg-names = "fspi_base", "fspi_mmap";
350			interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
351			clocks = <&fspi_clk>, <&fspi_clk>;
352			clock-names = "fspi_en", "fspi";
353			status = "disabled";
354		};
355
356		dspi0: spi@2100000 {
357			compatible = "fsl,ls1028a-dspi", "fsl,ls1021a-v1.0-dspi";
358			#address-cells = <1>;
359			#size-cells = <0>;
360			reg = <0x0 0x2100000 0x0 0x10000>;
361			interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
362			clock-names = "dspi";
363			clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
364					    QORIQ_CLK_PLL_DIV(2)>;
365			dmas = <&edma0 0 62>, <&edma0 0 60>;
366			dma-names = "tx", "rx";
367			spi-num-chipselects = <4>;
368			little-endian;
369			status = "disabled";
370		};
371
372		dspi1: spi@2110000 {
373			compatible = "fsl,ls1028a-dspi", "fsl,ls1021a-v1.0-dspi";
374			#address-cells = <1>;
375			#size-cells = <0>;
376			reg = <0x0 0x2110000 0x0 0x10000>;
377			interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
378			clock-names = "dspi";
379			clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
380					    QORIQ_CLK_PLL_DIV(2)>;
381			dmas = <&edma0 0 58>, <&edma0 0 56>;
382			dma-names = "tx", "rx";
383			spi-num-chipselects = <4>;
384			little-endian;
385			status = "disabled";
386		};
387
388		dspi2: spi@2120000 {
389			compatible = "fsl,ls1028a-dspi", "fsl,ls1021a-v1.0-dspi";
390			#address-cells = <1>;
391			#size-cells = <0>;
392			reg = <0x0 0x2120000 0x0 0x10000>;
393			interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
394			clock-names = "dspi";
395			clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
396					    QORIQ_CLK_PLL_DIV(2)>;
397			dmas = <&edma0 0 54>, <&edma0 0 2>;
398			dma-names = "tx", "rx";
399			spi-num-chipselects = <3>;
400			little-endian;
401			status = "disabled";
402		};
403
404		esdhc: mmc@2140000 {
405			compatible = "fsl,ls1028a-esdhc", "fsl,esdhc";
406			reg = <0x0 0x2140000 0x0 0x10000>;
407			interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
408			clock-frequency = <0>; /* fixed up by bootloader */
409			clocks = <&clockgen QORIQ_CLK_HWACCEL 1>;
410			voltage-ranges = <1800 1800 3300 3300>;
411			sdhci,auto-cmd12;
412			little-endian;
413			bus-width = <4>;
414			status = "disabled";
415		};
416
417		esdhc1: mmc@2150000 {
418			compatible = "fsl,ls1028a-esdhc", "fsl,esdhc";
419			reg = <0x0 0x2150000 0x0 0x10000>;
420			interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
421			clock-frequency = <0>; /* fixed up by bootloader */
422			clocks = <&clockgen QORIQ_CLK_HWACCEL 1>;
423			voltage-ranges = <1800 1800>;
424			sdhci,auto-cmd12;
425			non-removable;
426			little-endian;
427			bus-width = <4>;
428			status = "disabled";
429		};
430
431		can0: can@2180000 {
432			compatible = "fsl,lx2160ar1-flexcan";
433			reg = <0x0 0x2180000 0x0 0x10000>;
434			interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
435			clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
436					    QORIQ_CLK_PLL_DIV(2)>,
437				 <&clockgen QORIQ_CLK_PLATFORM_PLL
438					    QORIQ_CLK_PLL_DIV(2)>;
439			clock-names = "ipg", "per";
440			status = "disabled";
441		};
442
443		can1: can@2190000 {
444			compatible = "fsl,lx2160ar1-flexcan";
445			reg = <0x0 0x2190000 0x0 0x10000>;
446			interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
447			clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
448					    QORIQ_CLK_PLL_DIV(2)>,
449				 <&clockgen QORIQ_CLK_PLATFORM_PLL
450					    QORIQ_CLK_PLL_DIV(2)>;
451			clock-names = "ipg", "per";
452			status = "disabled";
453		};
454
455		duart0: serial@21c0500 {
456			compatible = "fsl,ns16550", "ns16550a";
457			reg = <0x00 0x21c0500 0x0 0x100>;
458			interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
459			clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
460					    QORIQ_CLK_PLL_DIV(2)>;
461			status = "disabled";
462		};
463
464		duart1: serial@21c0600 {
465			compatible = "fsl,ns16550", "ns16550a";
466			reg = <0x00 0x21c0600 0x0 0x100>;
467			interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
468			clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
469					    QORIQ_CLK_PLL_DIV(2)>;
470			status = "disabled";
471		};
472
473
474		lpuart0: serial@2260000 {
475			compatible = "fsl,ls1028a-lpuart";
476			reg = <0x0 0x2260000 0x0 0x1000>;
477			interrupts = <GIC_SPI 232 IRQ_TYPE_LEVEL_HIGH>;
478			clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
479					    QORIQ_CLK_PLL_DIV(2)>;
480			clock-names = "ipg";
481			dma-names = "rx","tx";
482			dmas = <&edma0 1 32>,
483			       <&edma0 1 33>;
484			status = "disabled";
485		};
486
487		lpuart1: serial@2270000 {
488			compatible = "fsl,ls1028a-lpuart";
489			reg = <0x0 0x2270000 0x0 0x1000>;
490			interrupts = <GIC_SPI 233 IRQ_TYPE_LEVEL_HIGH>;
491			clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
492					    QORIQ_CLK_PLL_DIV(2)>;
493			clock-names = "ipg";
494			dma-names = "rx","tx";
495			dmas = <&edma0 1 30>,
496			       <&edma0 1 31>;
497			status = "disabled";
498		};
499
500		lpuart2: serial@2280000 {
501			compatible = "fsl,ls1028a-lpuart";
502			reg = <0x0 0x2280000 0x0 0x1000>;
503			interrupts = <GIC_SPI 234 IRQ_TYPE_LEVEL_HIGH>;
504			clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
505					    QORIQ_CLK_PLL_DIV(2)>;
506			clock-names = "ipg";
507			dma-names = "rx","tx";
508			dmas = <&edma0 1 28>,
509			       <&edma0 1 29>;
510			status = "disabled";
511		};
512
513		lpuart3: serial@2290000 {
514			compatible = "fsl,ls1028a-lpuart";
515			reg = <0x0 0x2290000 0x0 0x1000>;
516			interrupts = <GIC_SPI 235 IRQ_TYPE_LEVEL_HIGH>;
517			clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
518					    QORIQ_CLK_PLL_DIV(2)>;
519			clock-names = "ipg";
520			dma-names = "rx","tx";
521			dmas = <&edma0 1 26>,
522			       <&edma0 1 27>;
523			status = "disabled";
524		};
525
526		lpuart4: serial@22a0000 {
527			compatible = "fsl,ls1028a-lpuart";
528			reg = <0x0 0x22a0000 0x0 0x1000>;
529			interrupts = <GIC_SPI 236 IRQ_TYPE_LEVEL_HIGH>;
530			clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
531					    QORIQ_CLK_PLL_DIV(2)>;
532			clock-names = "ipg";
533			dma-names = "rx","tx";
534			dmas = <&edma0 1 24>,
535			       <&edma0 1 25>;
536			status = "disabled";
537		};
538
539		lpuart5: serial@22b0000 {
540			compatible = "fsl,ls1028a-lpuart";
541			reg = <0x0 0x22b0000 0x0 0x1000>;
542			interrupts = <GIC_SPI 237 IRQ_TYPE_LEVEL_HIGH>;
543			clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
544					    QORIQ_CLK_PLL_DIV(2)>;
545			clock-names = "ipg";
546			dma-names = "rx","tx";
547			dmas = <&edma0 1 22>,
548			       <&edma0 1 23>;
549			status = "disabled";
550		};
551
552		edma0: dma-controller@22c0000 {
553			#dma-cells = <2>;
554			compatible = "fsl,ls1028a-edma", "fsl,vf610-edma";
555			reg = <0x0 0x22c0000 0x0 0x10000>,
556			      <0x0 0x22d0000 0x0 0x10000>,
557			      <0x0 0x22e0000 0x0 0x10000>;
558			interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
559				     <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
560			interrupt-names = "edma-tx", "edma-err";
561			dma-channels = <32>;
562			clock-names = "dmamux0", "dmamux1";
563			clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
564					    QORIQ_CLK_PLL_DIV(2)>,
565				 <&clockgen QORIQ_CLK_PLATFORM_PLL
566					    QORIQ_CLK_PLL_DIV(2)>;
567		};
568
569		gpio1: gpio@2300000 {
570			compatible = "fsl,ls1028a-gpio","fsl,qoriq-gpio";
571			reg = <0x0 0x2300000 0x0 0x10000>;
572			interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
573			gpio-controller;
574			#gpio-cells = <2>;
575			interrupt-controller;
576			#interrupt-cells = <2>;
577			little-endian;
578		};
579
580		gpio2: gpio@2310000 {
581			compatible = "fsl,ls1028a-gpio","fsl,qoriq-gpio";
582			reg = <0x0 0x2310000 0x0 0x10000>;
583			interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
584			gpio-controller;
585			#gpio-cells = <2>;
586			interrupt-controller;
587			#interrupt-cells = <2>;
588			little-endian;
589		};
590
591		gpio3: gpio@2320000 {
592			compatible = "fsl,ls1028a-gpio","fsl,qoriq-gpio";
593			reg = <0x0 0x2320000 0x0 0x10000>;
594			interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
595			gpio-controller;
596			#gpio-cells = <2>;
597			interrupt-controller;
598			#interrupt-cells = <2>;
599			little-endian;
600		};
601
602		usb0: usb@3100000 {
603			compatible = "fsl,ls1028a-dwc3", "snps,dwc3";
604			reg = <0x0 0x3100000 0x0 0x10000>;
605			interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
606			snps,dis_rxdet_inp3_quirk;
607			snps,quirk-frame-length-adjustment = <0x20>;
608			snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
609			status = "disabled";
610		};
611
612		usb1: usb@3110000 {
613			compatible = "fsl,ls1028a-dwc3", "snps,dwc3";
614			reg = <0x0 0x3110000 0x0 0x10000>;
615			interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
616			snps,dis_rxdet_inp3_quirk;
617			snps,quirk-frame-length-adjustment = <0x20>;
618			snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
619			status = "disabled";
620		};
621
622		sata: sata@3200000 {
623			compatible = "fsl,ls1028a-ahci";
624			reg = <0x0 0x3200000 0x0 0x10000>,
625				<0x7 0x100520 0x0 0x4>;
626			reg-names = "ahci", "sata-ecc";
627			interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
628			clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
629					    QORIQ_CLK_PLL_DIV(2)>;
630			status = "disabled";
631		};
632
633		pcie1: pcie@3400000 {
634			compatible = "fsl,ls1028a-pcie";
635			reg = <0x00 0x03400000 0x0 0x00100000>, /* controller registers */
636			      <0x80 0x00000000 0x0 0x00002000>; /* configuration space */
637			reg-names = "regs", "config";
638			interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>, /* PME interrupt */
639				     <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>; /* aer interrupt */
640			interrupt-names = "pme", "aer";
641			#address-cells = <3>;
642			#size-cells = <2>;
643			device_type = "pci";
644			dma-coherent;
645			num-viewport = <8>;
646			bus-range = <0x0 0xff>;
647			ranges = <0x81000000 0x0 0x00000000 0x80 0x00010000 0x0 0x00010000   /* downstream I/O */
648				  0x82000000 0x0 0x40000000 0x80 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
649			msi-parent = <&its>;
650			#interrupt-cells = <1>;
651			interrupt-map-mask = <0 0 0 7>;
652			interrupt-map = <0000 0 0 1 &gic 0 0 GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
653					<0000 0 0 2 &gic 0 0 GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
654					<0000 0 0 3 &gic 0 0 GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>,
655					<0000 0 0 4 &gic 0 0 GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
656			iommu-map = <0 &smmu 0 1>; /* Fixed-up by bootloader */
657			status = "disabled";
658		};
659
660		pcie_ep1: pcie-ep@3400000 {
661			compatible = "fsl,ls1028a-pcie-ep","fsl,ls-pcie-ep";
662			reg = <0x00 0x03400000 0x0 0x00100000
663			       0x80 0x00000000 0x8 0x00000000>;
664			reg-names = "regs", "addr_space";
665			interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>; /* PME interrupt */
666			interrupt-names = "pme";
667			num-ib-windows = <6>;
668			num-ob-windows = <8>;
669			status = "disabled";
670		};
671
672		pcie2: pcie@3500000 {
673			compatible = "fsl,ls1028a-pcie";
674			reg = <0x00 0x03500000 0x0 0x00100000>, /* controller registers */
675			      <0x88 0x00000000 0x0 0x00002000>; /* configuration space */
676			reg-names = "regs", "config";
677			interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
678				     <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
679			interrupt-names = "pme", "aer";
680			#address-cells = <3>;
681			#size-cells = <2>;
682			device_type = "pci";
683			dma-coherent;
684			num-viewport = <8>;
685			bus-range = <0x0 0xff>;
686			ranges = <0x81000000 0x0 0x00000000 0x88 0x00010000 0x0 0x00010000   /* downstream I/O */
687				  0x82000000 0x0 0x40000000 0x88 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
688			msi-parent = <&its>;
689			#interrupt-cells = <1>;
690			interrupt-map-mask = <0 0 0 7>;
691			interrupt-map = <0000 0 0 1 &gic 0 0 GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
692					<0000 0 0 2 &gic 0 0 GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
693					<0000 0 0 3 &gic 0 0 GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
694					<0000 0 0 4 &gic 0 0 GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
695			iommu-map = <0 &smmu 0 1>; /* Fixed-up by bootloader */
696			status = "disabled";
697		};
698
699		pcie_ep2: pcie-ep@3500000 {
700			compatible = "fsl,ls1028a-pcie-ep","fsl,ls-pcie-ep";
701			reg = <0x00 0x03500000 0x0 0x00100000
702			       0x88 0x00000000 0x8 0x00000000>;
703			reg-names = "regs", "addr_space";
704			interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>; /* PME interrupt */
705			interrupt-names = "pme";
706			num-ib-windows = <6>;
707			num-ob-windows = <8>;
708			status = "disabled";
709		};
710
711		smmu: iommu@5000000 {
712			compatible = "arm,mmu-500";
713			reg = <0 0x5000000 0 0x800000>;
714			#global-interrupts = <8>;
715			#iommu-cells = <1>;
716			dma-coherent;
717			stream-match-mask = <0x7c00>;
718			/* global secure fault */
719			interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
720			/* combined secure interrupt */
721				     <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>,
722			/* global non-secure fault */
723				     <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>,
724			/* combined non-secure interrupt */
725				     <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>,
726			/* performance counter interrupts 0-7 */
727				     <GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH>,
728				     <GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 214 IRQ_TYPE_LEVEL_HIGH>,
729			/* per context interrupt, 64 interrupts */
730				     <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>,
731				     <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
732				     <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH>,
733				     <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>,
734				     <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>,
735				     <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>,
736				     <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>,
737				     <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>,
738				     <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>,
739				     <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>,
740				     <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>,
741				     <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>,
742				     <GIC_SPI 170 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 171 IRQ_TYPE_LEVEL_HIGH>,
743				     <GIC_SPI 172 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>,
744				     <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 175 IRQ_TYPE_LEVEL_HIGH>,
745				     <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 177 IRQ_TYPE_LEVEL_HIGH>,
746				     <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 179 IRQ_TYPE_LEVEL_HIGH>,
747				     <GIC_SPI 180 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>,
748				     <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>,
749				     <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>,
750				     <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>,
751				     <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>,
752				     <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>,
753				     <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>,
754				     <GIC_SPI 194 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 195 IRQ_TYPE_LEVEL_HIGH>,
755				     <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>,
756				     <GIC_SPI 198 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH>,
757				     <GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH>,
758				     <GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH>,
759				     <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH>,
760				     <GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH>,
761				     <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH>;
762		};
763
764		crypto: crypto@8000000 {
765			compatible = "fsl,sec-v5.0", "fsl,sec-v4.0";
766			fsl,sec-era = <10>;
767			#address-cells = <1>;
768			#size-cells = <1>;
769			ranges = <0x0 0x00 0x8000000 0x100000>;
770			reg = <0x00 0x8000000 0x0 0x100000>;
771			interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>;
772			dma-coherent;
773
774			sec_jr0: jr@10000 {
775				compatible = "fsl,sec-v5.0-job-ring",
776					     "fsl,sec-v4.0-job-ring";
777				reg = <0x10000 0x10000>;
778				interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
779			};
780
781			sec_jr1: jr@20000 {
782				compatible = "fsl,sec-v5.0-job-ring",
783					     "fsl,sec-v4.0-job-ring";
784				reg = <0x20000 0x10000>;
785				interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>;
786			};
787
788			sec_jr2: jr@30000 {
789				compatible = "fsl,sec-v5.0-job-ring",
790					     "fsl,sec-v4.0-job-ring";
791				reg = <0x30000 0x10000>;
792				interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>;
793			};
794
795			sec_jr3: jr@40000 {
796				compatible = "fsl,sec-v5.0-job-ring",
797					     "fsl,sec-v4.0-job-ring";
798				reg = <0x40000 0x10000>;
799				interrupts = <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
800			};
801		};
802
803		qdma: dma-controller@8380000 {
804			compatible = "fsl,ls1028a-qdma", "fsl,ls1021a-qdma";
805			reg = <0x0 0x8380000 0x0 0x1000>, /* Controller regs */
806			      <0x0 0x8390000 0x0 0x10000>, /* Status regs */
807			      <0x0 0x83a0000 0x0 0x40000>; /* Block regs */
808			interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
809				     <GIC_SPI 251 IRQ_TYPE_LEVEL_HIGH>,
810				     <GIC_SPI 252 IRQ_TYPE_LEVEL_HIGH>,
811				     <GIC_SPI 253 IRQ_TYPE_LEVEL_HIGH>,
812				     <GIC_SPI 254 IRQ_TYPE_LEVEL_HIGH>;
813			interrupt-names = "qdma-error", "qdma-queue0",
814				"qdma-queue1", "qdma-queue2", "qdma-queue3";
815			dma-channels = <8>;
816			block-number = <1>;
817			block-offset = <0x10000>;
818			fsl,dma-queues = <2>;
819			status-sizes = <64>;
820			queue-sizes = <64 64>;
821		};
822
823		cluster1_core0_watchdog: watchdog@c000000 {
824			compatible = "arm,sp805", "arm,primecell";
825			reg = <0x0 0xc000000 0x0 0x1000>;
826			clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
827					    QORIQ_CLK_PLL_DIV(16)>,
828				 <&clockgen QORIQ_CLK_PLATFORM_PLL
829					    QORIQ_CLK_PLL_DIV(16)>;
830			clock-names = "wdog_clk", "apb_pclk";
831		};
832
833		cluster1_core1_watchdog: watchdog@c010000 {
834			compatible = "arm,sp805", "arm,primecell";
835			reg = <0x0 0xc010000 0x0 0x1000>;
836			clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
837					    QORIQ_CLK_PLL_DIV(16)>,
838				 <&clockgen QORIQ_CLK_PLATFORM_PLL
839					    QORIQ_CLK_PLL_DIV(16)>;
840			clock-names = "wdog_clk", "apb_pclk";
841		};
842
843		malidp0: display@f080000 {
844			compatible = "arm,mali-dp500";
845			reg = <0x0 0xf080000 0x0 0x10000>;
846			interrupts = <0 222 IRQ_TYPE_LEVEL_HIGH>,
847				     <0 223 IRQ_TYPE_LEVEL_HIGH>;
848			interrupt-names = "DE", "SE";
849			clocks = <&dpclk>,
850				 <&clockgen QORIQ_CLK_HWACCEL 2>,
851				 <&clockgen QORIQ_CLK_HWACCEL 2>,
852				 <&clockgen QORIQ_CLK_HWACCEL 2>;
853			clock-names = "pxlclk", "mclk", "aclk", "pclk";
854			arm,malidp-output-port-lines = /bits/ 8 <8 8 8>;
855			arm,malidp-arqos-value = <0xd000d000>;
856
857			port {
858				dpi0_out: endpoint {
859
860				};
861			};
862		};
863
864		gpu: gpu@f0c0000 {
865			compatible = "vivante,gc";
866			reg = <0x0 0xf0c0000 0x0 0x10000>;
867			interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH>;
868			clocks = <&clockgen QORIQ_CLK_HWACCEL 2>,
869				 <&clockgen QORIQ_CLK_HWACCEL 2>,
870				 <&clockgen QORIQ_CLK_HWACCEL 2>;
871			clock-names = "core", "shader", "bus";
872			#cooling-cells = <2>;
873		};
874
875		sai1: audio-controller@f100000 {
876			#sound-dai-cells = <0>;
877			compatible = "fsl,vf610-sai";
878			reg = <0x0 0xf100000 0x0 0x10000>;
879			interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
880			clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
881					    QORIQ_CLK_PLL_DIV(2)>,
882				 <&clockgen QORIQ_CLK_PLATFORM_PLL
883					    QORIQ_CLK_PLL_DIV(2)>,
884				 <&clockgen QORIQ_CLK_PLATFORM_PLL
885					    QORIQ_CLK_PLL_DIV(2)>,
886				 <&clockgen QORIQ_CLK_PLATFORM_PLL
887					    QORIQ_CLK_PLL_DIV(2)>;
888			clock-names = "bus", "mclk1", "mclk2", "mclk3";
889			dma-names = "tx", "rx";
890			dmas = <&edma0 1 4>,
891			       <&edma0 1 3>;
892			fsl,sai-asynchronous;
893			status = "disabled";
894		};
895
896		sai2: audio-controller@f110000 {
897			#sound-dai-cells = <0>;
898			compatible = "fsl,vf610-sai";
899			reg = <0x0 0xf110000 0x0 0x10000>;
900			interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
901			clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
902					    QORIQ_CLK_PLL_DIV(2)>,
903				 <&clockgen QORIQ_CLK_PLATFORM_PLL
904					    QORIQ_CLK_PLL_DIV(2)>,
905				 <&clockgen QORIQ_CLK_PLATFORM_PLL
906					    QORIQ_CLK_PLL_DIV(2)>,
907				 <&clockgen QORIQ_CLK_PLATFORM_PLL
908					    QORIQ_CLK_PLL_DIV(2)>;
909			clock-names = "bus", "mclk1", "mclk2", "mclk3";
910			dma-names = "tx", "rx";
911			dmas = <&edma0 1 6>,
912			       <&edma0 1 5>;
913			fsl,sai-asynchronous;
914			status = "disabled";
915		};
916
917		sai3: audio-controller@f120000 {
918			#sound-dai-cells = <0>;
919			compatible = "fsl,vf610-sai";
920			reg = <0x0 0xf120000 0x0 0x10000>;
921			interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
922			clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
923					    QORIQ_CLK_PLL_DIV(2)>,
924				 <&clockgen QORIQ_CLK_PLATFORM_PLL
925					    QORIQ_CLK_PLL_DIV(2)>,
926				 <&clockgen QORIQ_CLK_PLATFORM_PLL
927					    QORIQ_CLK_PLL_DIV(2)>,
928				 <&clockgen QORIQ_CLK_PLATFORM_PLL
929					    QORIQ_CLK_PLL_DIV(2)>;
930			clock-names = "bus", "mclk1", "mclk2", "mclk3";
931			dma-names = "tx", "rx";
932			dmas = <&edma0 1 8>,
933			       <&edma0 1 7>;
934			fsl,sai-asynchronous;
935			status = "disabled";
936		};
937
938		sai4: audio-controller@f130000 {
939			#sound-dai-cells = <0>;
940			compatible = "fsl,vf610-sai";
941			reg = <0x0 0xf130000 0x0 0x10000>;
942			interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
943			clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
944					    QORIQ_CLK_PLL_DIV(2)>,
945				 <&clockgen QORIQ_CLK_PLATFORM_PLL
946					    QORIQ_CLK_PLL_DIV(2)>,
947				 <&clockgen QORIQ_CLK_PLATFORM_PLL
948					    QORIQ_CLK_PLL_DIV(2)>,
949				 <&clockgen QORIQ_CLK_PLATFORM_PLL
950					    QORIQ_CLK_PLL_DIV(2)>;
951			clock-names = "bus", "mclk1", "mclk2", "mclk3";
952			dma-names = "tx", "rx";
953			dmas = <&edma0 1 10>,
954			       <&edma0 1 9>;
955			fsl,sai-asynchronous;
956			status = "disabled";
957		};
958
959		sai5: audio-controller@f140000 {
960			#sound-dai-cells = <0>;
961			compatible = "fsl,vf610-sai";
962			reg = <0x0 0xf140000 0x0 0x10000>;
963			interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
964			clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
965					    QORIQ_CLK_PLL_DIV(2)>,
966				 <&clockgen QORIQ_CLK_PLATFORM_PLL
967					    QORIQ_CLK_PLL_DIV(2)>,
968				 <&clockgen QORIQ_CLK_PLATFORM_PLL
969					    QORIQ_CLK_PLL_DIV(2)>,
970				 <&clockgen QORIQ_CLK_PLATFORM_PLL
971					    QORIQ_CLK_PLL_DIV(2)>;
972			clock-names = "bus", "mclk1", "mclk2", "mclk3";
973			dma-names = "tx", "rx";
974			dmas = <&edma0 1 12>,
975			       <&edma0 1 11>;
976			fsl,sai-asynchronous;
977			status = "disabled";
978		};
979
980		sai6: audio-controller@f150000 {
981			#sound-dai-cells = <0>;
982			compatible = "fsl,vf610-sai";
983			reg = <0x0 0xf150000 0x0 0x10000>;
984			interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
985			clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
986					    QORIQ_CLK_PLL_DIV(2)>,
987				 <&clockgen QORIQ_CLK_PLATFORM_PLL
988					    QORIQ_CLK_PLL_DIV(2)>,
989				 <&clockgen QORIQ_CLK_PLATFORM_PLL
990					    QORIQ_CLK_PLL_DIV(2)>,
991				 <&clockgen QORIQ_CLK_PLATFORM_PLL
992					    QORIQ_CLK_PLL_DIV(2)>;
993			clock-names = "bus", "mclk1", "mclk2", "mclk3";
994			dma-names = "tx", "rx";
995			dmas = <&edma0 1 14>,
996			       <&edma0 1 13>;
997			fsl,sai-asynchronous;
998			status = "disabled";
999		};
1000
1001		dpclk: clock-controller@f1f0000 {
1002			compatible = "fsl,ls1028a-plldig";
1003			reg = <0x0 0xf1f0000 0x0 0x10000>;
1004			#clock-cells = <0>;
1005			clocks = <&osc_27m>;
1006		};
1007
1008		tmu: tmu@1f80000 {
1009			compatible = "fsl,qoriq-tmu";
1010			reg = <0x0 0x1f80000 0x0 0x10000>;
1011			interrupts = <0 23 0x4>;
1012			fsl,tmu-range = <0xb0000 0xa0026 0x80048 0x70061>;
1013			fsl,tmu-calibration = <0x00000000 0x00000024
1014					       0x00000001 0x0000002b
1015					       0x00000002 0x00000031
1016					       0x00000003 0x00000038
1017					       0x00000004 0x0000003f
1018					       0x00000005 0x00000045
1019					       0x00000006 0x0000004c
1020					       0x00000007 0x00000053
1021					       0x00000008 0x00000059
1022					       0x00000009 0x00000060
1023					       0x0000000a 0x00000066
1024					       0x0000000b 0x0000006d
1025
1026					       0x00010000 0x0000001c
1027					       0x00010001 0x00000024
1028					       0x00010002 0x0000002c
1029					       0x00010003 0x00000035
1030					       0x00010004 0x0000003d
1031					       0x00010005 0x00000045
1032					       0x00010006 0x0000004d
1033					       0x00010007 0x00000055
1034					       0x00010008 0x0000005e
1035					       0x00010009 0x00000066
1036					       0x0001000a 0x0000006e
1037
1038					       0x00020000 0x00000018
1039					       0x00020001 0x00000022
1040					       0x00020002 0x0000002d
1041					       0x00020003 0x00000038
1042					       0x00020004 0x00000043
1043					       0x00020005 0x0000004d
1044					       0x00020006 0x00000058
1045					       0x00020007 0x00000063
1046					       0x00020008 0x0000006e
1047
1048					       0x00030000 0x00000010
1049					       0x00030001 0x0000001c
1050					       0x00030002 0x00000029
1051					       0x00030003 0x00000036
1052					       0x00030004 0x00000042
1053					       0x00030005 0x0000004f
1054					       0x00030006 0x0000005b
1055					       0x00030007 0x00000068>;
1056			little-endian;
1057			#thermal-sensor-cells = <1>;
1058		};
1059
1060		pcie@1f0000000 { /* Integrated Endpoint Root Complex */
1061			compatible = "pci-host-ecam-generic";
1062			reg = <0x01 0xf0000000 0x0 0x100000>;
1063			#address-cells = <3>;
1064			#size-cells = <2>;
1065			msi-parent = <&its>;
1066			device_type = "pci";
1067			bus-range = <0x0 0x0>;
1068			dma-coherent;
1069			msi-map = <0 &its 0x17 0xe>;
1070			iommu-map = <0 &smmu 0x17 0xe>;
1071				  /* PF0-6 BAR0 - non-prefetchable memory */
1072			ranges = <0x82000000 0x1 0xf8000000  0x1 0xf8000000  0x0 0x160000
1073				  /* PF0-6 BAR2 - prefetchable memory */
1074				  0xc2000000 0x1 0xf8160000  0x1 0xf8160000  0x0 0x070000
1075				  /* PF0: VF0-1 BAR0 - non-prefetchable memory */
1076				  0x82000000 0x1 0xf81d0000  0x1 0xf81d0000  0x0 0x020000
1077				  /* PF0: VF0-1 BAR2 - prefetchable memory */
1078				  0xc2000000 0x1 0xf81f0000  0x1 0xf81f0000  0x0 0x020000
1079				  /* PF1: VF0-1 BAR0 - non-prefetchable memory */
1080				  0x82000000 0x1 0xf8210000  0x1 0xf8210000  0x0 0x020000
1081				  /* PF1: VF0-1 BAR2 - prefetchable memory */
1082				  0xc2000000 0x1 0xf8230000  0x1 0xf8230000  0x0 0x020000
1083				  /* BAR4 (PF5) - non-prefetchable memory */
1084				  0x82000000 0x1 0xfc000000  0x1 0xfc000000  0x0 0x400000>;
1085
1086			enetc_port0: ethernet@0,0 {
1087				compatible = "fsl,enetc";
1088				reg = <0x000000 0 0 0 0>;
1089				status = "disabled";
1090			};
1091
1092			enetc_port1: ethernet@0,1 {
1093				compatible = "fsl,enetc";
1094				reg = <0x000100 0 0 0 0>;
1095				status = "disabled";
1096			};
1097
1098			enetc_port2: ethernet@0,2 {
1099				compatible = "fsl,enetc";
1100				reg = <0x000200 0 0 0 0>;
1101				phy-mode = "internal";
1102				status = "disabled";
1103
1104				fixed-link {
1105					speed = <2500>;
1106					full-duplex;
1107					pause;
1108				};
1109			};
1110
1111			enetc_mdio_pf3: mdio@0,3 {
1112				compatible = "fsl,enetc-mdio";
1113				reg = <0x000300 0 0 0 0>;
1114				#address-cells = <1>;
1115				#size-cells = <0>;
1116			};
1117
1118			ethernet@0,4 {
1119				compatible = "fsl,enetc-ptp";
1120				reg = <0x000400 0 0 0 0>;
1121				clocks = <&clockgen QORIQ_CLK_HWACCEL 3>;
1122				little-endian;
1123				fsl,extts-fifo;
1124			};
1125
1126			mscc_felix: ethernet-switch@0,5 {
1127				reg = <0x000500 0 0 0 0>;
1128				/* IEP INT_B */
1129				interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
1130				status = "disabled";
1131
1132				mscc_felix_ports: ports {
1133					#address-cells = <1>;
1134					#size-cells = <0>;
1135
1136					/* External ports */
1137					mscc_felix_port0: port@0 {
1138						reg = <0>;
1139						status = "disabled";
1140					};
1141
1142					mscc_felix_port1: port@1 {
1143						reg = <1>;
1144						status = "disabled";
1145					};
1146
1147					mscc_felix_port2: port@2 {
1148						reg = <2>;
1149						status = "disabled";
1150					};
1151
1152					mscc_felix_port3: port@3 {
1153						reg = <3>;
1154						status = "disabled";
1155					};
1156
1157					/* Internal ports */
1158					mscc_felix_port4: port@4 {
1159						reg = <4>;
1160						phy-mode = "internal";
1161						ethernet = <&enetc_port2>;
1162						status = "disabled";
1163
1164						fixed-link {
1165							speed = <2500>;
1166							full-duplex;
1167							pause;
1168						};
1169					};
1170
1171					mscc_felix_port5: port@5 {
1172						reg = <5>;
1173						phy-mode = "internal";
1174						ethernet = <&enetc_port3>;
1175						status = "disabled";
1176
1177						fixed-link {
1178							speed = <1000>;
1179							full-duplex;
1180							pause;
1181						};
1182					};
1183				};
1184			};
1185
1186			enetc_port3: ethernet@0,6 {
1187				compatible = "fsl,enetc";
1188				reg = <0x000600 0 0 0 0>;
1189				phy-mode = "internal";
1190				status = "disabled";
1191
1192				fixed-link {
1193					speed = <1000>;
1194					full-duplex;
1195					pause;
1196				};
1197			};
1198
1199			rcec@1f,0 {
1200				reg = <0x00f800 0 0 0 0>;
1201				/* IEP INT_A */
1202				interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
1203			};
1204		};
1205
1206		/* Integrated Endpoint Register Block */
1207		ierb@1f0800000 {
1208			compatible = "fsl,ls1028a-enetc-ierb";
1209			reg = <0x01 0xf0800000 0x0 0x10000>;
1210		};
1211
1212		pwm0: pwm@2800000 {
1213			compatible = "fsl,vf610-ftm-pwm";
1214			#pwm-cells = <3>;
1215			reg = <0x0 0x2800000 0x0 0x10000>;
1216			clock-names = "ftm_sys", "ftm_ext",
1217				      "ftm_fix", "ftm_cnt_clk_en";
1218			clocks = <&clockgen 4 1>, <&clockgen 4 1>,
1219				 <&rtc_clk>, <&clockgen 4 1>;
1220			status = "disabled";
1221		};
1222
1223		pwm1: pwm@2810000 {
1224			compatible = "fsl,vf610-ftm-pwm";
1225			#pwm-cells = <3>;
1226			reg = <0x0 0x2810000 0x0 0x10000>;
1227			clock-names = "ftm_sys", "ftm_ext",
1228				      "ftm_fix", "ftm_cnt_clk_en";
1229			clocks = <&clockgen 4 1>, <&clockgen 4 1>,
1230				 <&rtc_clk>, <&clockgen 4 1>;
1231			status = "disabled";
1232		};
1233
1234		pwm2: pwm@2820000 {
1235			compatible = "fsl,vf610-ftm-pwm";
1236			#pwm-cells = <3>;
1237			reg = <0x0 0x2820000 0x0 0x10000>;
1238			clock-names = "ftm_sys", "ftm_ext",
1239				      "ftm_fix", "ftm_cnt_clk_en";
1240			clocks = <&clockgen 4 1>, <&clockgen 4 1>,
1241				 <&rtc_clk>, <&clockgen 4 1>;
1242			status = "disabled";
1243		};
1244
1245		pwm3: pwm@2830000 {
1246			compatible = "fsl,vf610-ftm-pwm";
1247			#pwm-cells = <3>;
1248			reg = <0x0 0x2830000 0x0 0x10000>;
1249			clock-names = "ftm_sys", "ftm_ext",
1250				      "ftm_fix", "ftm_cnt_clk_en";
1251			clocks = <&clockgen 4 1>, <&clockgen 4 1>,
1252				 <&rtc_clk>, <&clockgen 4 1>;
1253			status = "disabled";
1254		};
1255
1256		pwm4: pwm@2840000 {
1257			compatible = "fsl,vf610-ftm-pwm";
1258			#pwm-cells = <3>;
1259			reg = <0x0 0x2840000 0x0 0x10000>;
1260			clock-names = "ftm_sys", "ftm_ext",
1261				      "ftm_fix", "ftm_cnt_clk_en";
1262			clocks = <&clockgen 4 1>, <&clockgen 4 1>,
1263				 <&rtc_clk>, <&clockgen 4 1>;
1264			status = "disabled";
1265		};
1266
1267		pwm5: pwm@2850000 {
1268			compatible = "fsl,vf610-ftm-pwm";
1269			#pwm-cells = <3>;
1270			reg = <0x0 0x2850000 0x0 0x10000>;
1271			clock-names = "ftm_sys", "ftm_ext",
1272				      "ftm_fix", "ftm_cnt_clk_en";
1273			clocks = <&clockgen 4 1>, <&clockgen 4 1>,
1274				 <&rtc_clk>, <&clockgen 4 1>;
1275			status = "disabled";
1276		};
1277
1278		pwm6: pwm@2860000 {
1279			compatible = "fsl,vf610-ftm-pwm";
1280			#pwm-cells = <3>;
1281			reg = <0x0 0x2860000 0x0 0x10000>;
1282			clock-names = "ftm_sys", "ftm_ext",
1283				      "ftm_fix", "ftm_cnt_clk_en";
1284			clocks = <&clockgen 4 1>, <&clockgen 4 1>,
1285				 <&rtc_clk>, <&clockgen 4 1>;
1286			status = "disabled";
1287		};
1288
1289		pwm7: pwm@2870000 {
1290			compatible = "fsl,vf610-ftm-pwm";
1291			#pwm-cells = <3>;
1292			reg = <0x0 0x2870000 0x0 0x10000>;
1293			clock-names = "ftm_sys", "ftm_ext",
1294				      "ftm_fix", "ftm_cnt_clk_en";
1295			clocks = <&clockgen 4 1>, <&clockgen 4 1>,
1296				 <&rtc_clk>, <&clockgen 4 1>;
1297			status = "disabled";
1298		};
1299
1300		rcpm: power-controller@1e34040 {
1301			compatible = "fsl,ls1028a-rcpm", "fsl,qoriq-rcpm-2.1+";
1302			reg = <0x0 0x1e34040 0x0 0x1c>;
1303			#fsl,rcpm-wakeup-cells = <7>;
1304			little-endian;
1305		};
1306
1307		ftm_alarm0: timer@2800000 {
1308			compatible = "fsl,ls1028a-ftm-alarm";
1309			reg = <0x0 0x2800000 0x0 0x10000>;
1310			fsl,rcpm-wakeup = <&rcpm 0x0 0x0 0x0 0x0 0x4000 0x0 0x0>;
1311			interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
1312			status = "disabled";
1313		};
1314
1315		ftm_alarm1: timer@2810000 {
1316			compatible = "fsl,ls1028a-ftm-alarm";
1317			reg = <0x0 0x2810000 0x0 0x10000>;
1318			fsl,rcpm-wakeup = <&rcpm 0x0 0x0 0x0 0x0 0x4000 0x0 0x0>;
1319			interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
1320			status = "disabled";
1321		};
1322	};
1323
1324};
1325