18897f325SBhaskar Upadhaya// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
28897f325SBhaskar Upadhaya/*
38897f325SBhaskar Upadhaya * Device Tree Include file for NXP Layerscape-1028A family SoC.
48897f325SBhaskar Upadhaya *
58897f325SBhaskar Upadhaya * Copyright 2018 NXP
68897f325SBhaskar Upadhaya *
78897f325SBhaskar Upadhaya * Harninder Rai <harninder.rai@nxp.com>
88897f325SBhaskar Upadhaya *
98897f325SBhaskar Upadhaya */
108897f325SBhaskar Upadhaya
118897f325SBhaskar Upadhaya#include <dt-bindings/interrupt-controller/arm-gic.h>
128897f325SBhaskar Upadhaya#include <dt-bindings/thermal/thermal.h>
138897f325SBhaskar Upadhaya
148897f325SBhaskar Upadhaya/ {
158897f325SBhaskar Upadhaya	compatible = "fsl,ls1028a";
168897f325SBhaskar Upadhaya	interrupt-parent = <&gic>;
178897f325SBhaskar Upadhaya	#address-cells = <2>;
188897f325SBhaskar Upadhaya	#size-cells = <2>;
198897f325SBhaskar Upadhaya
208897f325SBhaskar Upadhaya	cpus {
218897f325SBhaskar Upadhaya		#address-cells = <1>;
228897f325SBhaskar Upadhaya		#size-cells = <0>;
238897f325SBhaskar Upadhaya
248897f325SBhaskar Upadhaya		cpu0: cpu@0 {
258897f325SBhaskar Upadhaya			device_type = "cpu";
268897f325SBhaskar Upadhaya			compatible = "arm,cortex-a72";
278897f325SBhaskar Upadhaya			reg = <0x0>;
288897f325SBhaskar Upadhaya			enable-method = "psci";
298897f325SBhaskar Upadhaya			clocks = <&clockgen 1 0>;
308897f325SBhaskar Upadhaya			next-level-cache = <&l2>;
3153f2ac9dSRan Wang			cpu-idle-states = <&CPU_PW20>;
328897f325SBhaskar Upadhaya		};
338897f325SBhaskar Upadhaya
348897f325SBhaskar Upadhaya		cpu1: cpu@1 {
358897f325SBhaskar Upadhaya			device_type = "cpu";
368897f325SBhaskar Upadhaya			compatible = "arm,cortex-a72";
378897f325SBhaskar Upadhaya			reg = <0x1>;
388897f325SBhaskar Upadhaya			enable-method = "psci";
398897f325SBhaskar Upadhaya			clocks = <&clockgen 1 0>;
408897f325SBhaskar Upadhaya			next-level-cache = <&l2>;
4153f2ac9dSRan Wang			cpu-idle-states = <&CPU_PW20>;
428897f325SBhaskar Upadhaya		};
438897f325SBhaskar Upadhaya
448897f325SBhaskar Upadhaya		l2: l2-cache {
458897f325SBhaskar Upadhaya			compatible = "cache";
468897f325SBhaskar Upadhaya		};
478897f325SBhaskar Upadhaya	};
488897f325SBhaskar Upadhaya
498897f325SBhaskar Upadhaya	idle-states {
508897f325SBhaskar Upadhaya		/*
518897f325SBhaskar Upadhaya		 * PSCI node is not added default, U-boot will add missing
528897f325SBhaskar Upadhaya		 * parts if it determines to use PSCI.
538897f325SBhaskar Upadhaya		 */
548897f325SBhaskar Upadhaya		entry-method = "arm,psci";
558897f325SBhaskar Upadhaya
5653f2ac9dSRan Wang		CPU_PW20: cpu-pw20 {
578897f325SBhaskar Upadhaya			  compatible = "arm,idle-state";
5853f2ac9dSRan Wang			  idle-state-name = "PW20";
5953f2ac9dSRan Wang			  arm,psci-suspend-param = <0x0>;
6053f2ac9dSRan Wang			  entry-latency-us = <2000>;
6153f2ac9dSRan Wang			  exit-latency-us = <2000>;
6253f2ac9dSRan Wang			  min-residency-us = <6000>;
638897f325SBhaskar Upadhaya		};
648897f325SBhaskar Upadhaya	};
658897f325SBhaskar Upadhaya
668897f325SBhaskar Upadhaya	sysclk: clock-sysclk {
678897f325SBhaskar Upadhaya		compatible = "fixed-clock";
688897f325SBhaskar Upadhaya		#clock-cells = <0>;
698897f325SBhaskar Upadhaya		clock-frequency = <100000000>;
708897f325SBhaskar Upadhaya		clock-output-names = "sysclk";
718897f325SBhaskar Upadhaya	};
728897f325SBhaskar Upadhaya
737f538f19SWen He	dpclk: clock-dp {
747f538f19SWen He		compatible = "fixed-clock";
757f538f19SWen He		#clock-cells = <0>;
767f538f19SWen He		clock-frequency = <27000000>;
777f538f19SWen He		clock-output-names= "dpclk";
787f538f19SWen He	};
797f538f19SWen He
807f538f19SWen He	aclk: clock-axi {
817f538f19SWen He		compatible = "fixed-clock";
827f538f19SWen He		#clock-cells = <0>;
837f538f19SWen He		clock-frequency = <650000000>;
847f538f19SWen He		clock-output-names= "aclk";
857f538f19SWen He	};
867f538f19SWen He
877f538f19SWen He	pclk: clock-apb {
887f538f19SWen He		compatible = "fixed-clock";
897f538f19SWen He		#clock-cells = <0>;
907f538f19SWen He		clock-frequency = <650000000>;
917f538f19SWen He		clock-output-names= "pclk";
927f538f19SWen He	};
937f538f19SWen He
948897f325SBhaskar Upadhaya	reboot {
958897f325SBhaskar Upadhaya		compatible ="syscon-reboot";
968897f325SBhaskar Upadhaya		regmap = <&dcfg>;
978897f325SBhaskar Upadhaya		offset = <0xb0>;
988897f325SBhaskar Upadhaya		mask = <0x02>;
998897f325SBhaskar Upadhaya	};
1008897f325SBhaskar Upadhaya
1018897f325SBhaskar Upadhaya	timer {
1028897f325SBhaskar Upadhaya		compatible = "arm,armv8-timer";
1038897f325SBhaskar Upadhaya		interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) |
1048897f325SBhaskar Upadhaya					  IRQ_TYPE_LEVEL_LOW)>,
1058897f325SBhaskar Upadhaya			     <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) |
1068897f325SBhaskar Upadhaya					  IRQ_TYPE_LEVEL_LOW)>,
1078897f325SBhaskar Upadhaya			     <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) |
1088897f325SBhaskar Upadhaya					  IRQ_TYPE_LEVEL_LOW)>,
1098897f325SBhaskar Upadhaya			     <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) |
1108897f325SBhaskar Upadhaya					  IRQ_TYPE_LEVEL_LOW)>;
1118897f325SBhaskar Upadhaya	};
1128897f325SBhaskar Upadhaya
113b9eb314aSAlison Wang	pmu {
114b9eb314aSAlison Wang		compatible = "arm,cortex-a72-pmu";
115b9eb314aSAlison Wang		interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH>;
116b9eb314aSAlison Wang	};
117b9eb314aSAlison Wang
1188897f325SBhaskar Upadhaya	gic: interrupt-controller@6000000 {
1198897f325SBhaskar Upadhaya		compatible= "arm,gic-v3";
1208897f325SBhaskar Upadhaya		#address-cells = <2>;
1218897f325SBhaskar Upadhaya		#size-cells = <2>;
1228897f325SBhaskar Upadhaya		ranges;
1238897f325SBhaskar Upadhaya		reg= <0x0 0x06000000 0 0x10000>, /* GIC Dist */
1248897f325SBhaskar Upadhaya			<0x0 0x06040000 0 0x40000>; /* GIC Redistributor */
1258897f325SBhaskar Upadhaya		#interrupt-cells= <3>;
1268897f325SBhaskar Upadhaya		interrupt-controller;
1278897f325SBhaskar Upadhaya		interrupts = <GIC_PPI 9 (GIC_CPU_MASK_RAW(0xf) |
1288897f325SBhaskar Upadhaya					 IRQ_TYPE_LEVEL_LOW)>;
1298897f325SBhaskar Upadhaya		its: gic-its@6020000 {
1308897f325SBhaskar Upadhaya			compatible = "arm,gic-v3-its";
1318897f325SBhaskar Upadhaya			msi-controller;
1328897f325SBhaskar Upadhaya			reg = <0x0 0x06020000 0 0x20000>;/* GIC Translater */
1338897f325SBhaskar Upadhaya		};
1348897f325SBhaskar Upadhaya	};
1358897f325SBhaskar Upadhaya
1368897f325SBhaskar Upadhaya	soc: soc {
1378897f325SBhaskar Upadhaya		compatible = "simple-bus";
1388897f325SBhaskar Upadhaya		#address-cells = <2>;
1398897f325SBhaskar Upadhaya		#size-cells = <2>;
1408897f325SBhaskar Upadhaya		ranges;
1418897f325SBhaskar Upadhaya
1428897f325SBhaskar Upadhaya		ddr: memory-controller@1080000 {
1438897f325SBhaskar Upadhaya			compatible = "fsl,qoriq-memory-controller";
1448897f325SBhaskar Upadhaya			reg = <0x0 0x1080000 0x0 0x1000>;
1458897f325SBhaskar Upadhaya			interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
1468897f325SBhaskar Upadhaya			big-endian;
1478897f325SBhaskar Upadhaya		};
1488897f325SBhaskar Upadhaya
1498897f325SBhaskar Upadhaya		dcfg: syscon@1e00000 {
1508897f325SBhaskar Upadhaya			compatible = "fsl,ls1028a-dcfg", "syscon";
1518897f325SBhaskar Upadhaya			reg = <0x0 0x1e00000 0x0 0x10000>;
1528897f325SBhaskar Upadhaya			big-endian;
1538897f325SBhaskar Upadhaya		};
1548897f325SBhaskar Upadhaya
1558897f325SBhaskar Upadhaya		scfg: syscon@1fc0000 {
1568897f325SBhaskar Upadhaya			compatible = "fsl,ls1028a-scfg", "syscon";
1578897f325SBhaskar Upadhaya			reg = <0x0 0x1fc0000 0x0 0x10000>;
1588897f325SBhaskar Upadhaya			big-endian;
1598897f325SBhaskar Upadhaya		};
1608897f325SBhaskar Upadhaya
1618897f325SBhaskar Upadhaya		clockgen: clock-controller@1300000 {
1628897f325SBhaskar Upadhaya			compatible = "fsl,ls1028a-clockgen";
1638897f325SBhaskar Upadhaya			reg = <0x0 0x1300000 0x0 0xa0000>;
1648897f325SBhaskar Upadhaya			#clock-cells = <2>;
1658897f325SBhaskar Upadhaya			clocks = <&sysclk>;
1668897f325SBhaskar Upadhaya		};
1678897f325SBhaskar Upadhaya
1688897f325SBhaskar Upadhaya		i2c0: i2c@2000000 {
1698897f325SBhaskar Upadhaya			compatible = "fsl,vf610-i2c";
1708897f325SBhaskar Upadhaya			#address-cells = <1>;
1718897f325SBhaskar Upadhaya			#size-cells = <0>;
1728897f325SBhaskar Upadhaya			reg = <0x0 0x2000000 0x0 0x10000>;
1738897f325SBhaskar Upadhaya			interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
1748897f325SBhaskar Upadhaya			clocks = <&clockgen 4 1>;
1758897f325SBhaskar Upadhaya			status = "disabled";
1768897f325SBhaskar Upadhaya		};
1778897f325SBhaskar Upadhaya
1788897f325SBhaskar Upadhaya		i2c1: i2c@2010000 {
1798897f325SBhaskar Upadhaya			compatible = "fsl,vf610-i2c";
1808897f325SBhaskar Upadhaya			#address-cells = <1>;
1818897f325SBhaskar Upadhaya			#size-cells = <0>;
1828897f325SBhaskar Upadhaya			reg = <0x0 0x2010000 0x0 0x10000>;
1838897f325SBhaskar Upadhaya			interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
1848897f325SBhaskar Upadhaya			clocks = <&clockgen 4 1>;
1858897f325SBhaskar Upadhaya			status = "disabled";
1868897f325SBhaskar Upadhaya		};
1878897f325SBhaskar Upadhaya
1888897f325SBhaskar Upadhaya		i2c2: i2c@2020000 {
1898897f325SBhaskar Upadhaya			compatible = "fsl,vf610-i2c";
1908897f325SBhaskar Upadhaya			#address-cells = <1>;
1918897f325SBhaskar Upadhaya			#size-cells = <0>;
1928897f325SBhaskar Upadhaya			reg = <0x0 0x2020000 0x0 0x10000>;
1938897f325SBhaskar Upadhaya			interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
1948897f325SBhaskar Upadhaya			clocks = <&clockgen 4 1>;
1958897f325SBhaskar Upadhaya			status = "disabled";
1968897f325SBhaskar Upadhaya		};
1978897f325SBhaskar Upadhaya
1988897f325SBhaskar Upadhaya		i2c3: i2c@2030000 {
1998897f325SBhaskar Upadhaya			compatible = "fsl,vf610-i2c";
2008897f325SBhaskar Upadhaya			#address-cells = <1>;
2018897f325SBhaskar Upadhaya			#size-cells = <0>;
2028897f325SBhaskar Upadhaya			reg = <0x0 0x2030000 0x0 0x10000>;
2038897f325SBhaskar Upadhaya			interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
2048897f325SBhaskar Upadhaya			clocks = <&clockgen 4 1>;
2058897f325SBhaskar Upadhaya			status = "disabled";
2068897f325SBhaskar Upadhaya		};
2078897f325SBhaskar Upadhaya
2088897f325SBhaskar Upadhaya		i2c4: i2c@2040000 {
2098897f325SBhaskar Upadhaya			compatible = "fsl,vf610-i2c";
2108897f325SBhaskar Upadhaya			#address-cells = <1>;
2118897f325SBhaskar Upadhaya			#size-cells = <0>;
2128897f325SBhaskar Upadhaya			reg = <0x0 0x2040000 0x0 0x10000>;
2138897f325SBhaskar Upadhaya			interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
2148897f325SBhaskar Upadhaya			clocks = <&clockgen 4 1>;
2158897f325SBhaskar Upadhaya			status = "disabled";
2168897f325SBhaskar Upadhaya		};
2178897f325SBhaskar Upadhaya
2188897f325SBhaskar Upadhaya		i2c5: i2c@2050000 {
2198897f325SBhaskar Upadhaya			compatible = "fsl,vf610-i2c";
2208897f325SBhaskar Upadhaya			#address-cells = <1>;
2218897f325SBhaskar Upadhaya			#size-cells = <0>;
2228897f325SBhaskar Upadhaya			reg = <0x0 0x2050000 0x0 0x10000>;
2238897f325SBhaskar Upadhaya			interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
2248897f325SBhaskar Upadhaya			clocks = <&clockgen 4 1>;
2258897f325SBhaskar Upadhaya			status = "disabled";
2268897f325SBhaskar Upadhaya		};
2278897f325SBhaskar Upadhaya
2288897f325SBhaskar Upadhaya		i2c6: i2c@2060000 {
2298897f325SBhaskar Upadhaya			compatible = "fsl,vf610-i2c";
2308897f325SBhaskar Upadhaya			#address-cells = <1>;
2318897f325SBhaskar Upadhaya			#size-cells = <0>;
2328897f325SBhaskar Upadhaya			reg = <0x0 0x2060000 0x0 0x10000>;
2338897f325SBhaskar Upadhaya			interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
2348897f325SBhaskar Upadhaya			clocks = <&clockgen 4 1>;
2358897f325SBhaskar Upadhaya			status = "disabled";
2368897f325SBhaskar Upadhaya		};
2378897f325SBhaskar Upadhaya
2388897f325SBhaskar Upadhaya		i2c7: i2c@2070000 {
2398897f325SBhaskar Upadhaya			compatible = "fsl,vf610-i2c";
2408897f325SBhaskar Upadhaya			#address-cells = <1>;
2418897f325SBhaskar Upadhaya			#size-cells = <0>;
2428897f325SBhaskar Upadhaya			reg = <0x0 0x2070000 0x0 0x10000>;
2438897f325SBhaskar Upadhaya			interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
2448897f325SBhaskar Upadhaya			clocks = <&clockgen 4 1>;
2458897f325SBhaskar Upadhaya			status = "disabled";
2468897f325SBhaskar Upadhaya		};
2478897f325SBhaskar Upadhaya
2488897f325SBhaskar Upadhaya		duart0: serial@21c0500 {
2498897f325SBhaskar Upadhaya			compatible = "fsl,ns16550", "ns16550a";
2508897f325SBhaskar Upadhaya			reg = <0x00 0x21c0500 0x0 0x100>;
2518897f325SBhaskar Upadhaya			interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
2528897f325SBhaskar Upadhaya			clocks = <&clockgen 4 1>;
2538897f325SBhaskar Upadhaya			status = "disabled";
2548897f325SBhaskar Upadhaya		};
2558897f325SBhaskar Upadhaya
2568897f325SBhaskar Upadhaya		duart1: serial@21c0600 {
2578897f325SBhaskar Upadhaya			compatible = "fsl,ns16550", "ns16550a";
2588897f325SBhaskar Upadhaya			reg = <0x00 0x21c0600 0x0 0x100>;
2598897f325SBhaskar Upadhaya			interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
2608897f325SBhaskar Upadhaya			clocks = <&clockgen 4 1>;
2618897f325SBhaskar Upadhaya			status = "disabled";
2628897f325SBhaskar Upadhaya		};
2638897f325SBhaskar Upadhaya
264f54f7be5SAlison Wang		edma0: dma-controller@22c0000 {
265f54f7be5SAlison Wang			#dma-cells = <2>;
266f54f7be5SAlison Wang			compatible = "fsl,vf610-edma";
267f54f7be5SAlison Wang			reg = <0x0 0x22c0000 0x0 0x10000>,
268f54f7be5SAlison Wang			      <0x0 0x22d0000 0x0 0x10000>,
269f54f7be5SAlison Wang			      <0x0 0x22e0000 0x0 0x10000>;
270f54f7be5SAlison Wang			interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
271f54f7be5SAlison Wang				     <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
272f54f7be5SAlison Wang			interrupt-names = "edma-tx", "edma-err";
273f54f7be5SAlison Wang			dma-channels = <32>;
274f54f7be5SAlison Wang			clock-names = "dmamux0", "dmamux1";
275f54f7be5SAlison Wang			clocks = <&clockgen 4 1>,
276f54f7be5SAlison Wang				 <&clockgen 4 1>;
277f54f7be5SAlison Wang		};
278f54f7be5SAlison Wang
2798897f325SBhaskar Upadhaya		gpio1: gpio@2300000 {
2808897f325SBhaskar Upadhaya			compatible = "fsl,qoriq-gpio";
2818897f325SBhaskar Upadhaya			reg = <0x0 0x2300000 0x0 0x10000>;
2828897f325SBhaskar Upadhaya			interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
2838897f325SBhaskar Upadhaya			gpio-controller;
2848897f325SBhaskar Upadhaya			#gpio-cells = <2>;
2858897f325SBhaskar Upadhaya			interrupt-controller;
2868897f325SBhaskar Upadhaya			#interrupt-cells = <2>;
2878897f325SBhaskar Upadhaya		};
2888897f325SBhaskar Upadhaya
2898897f325SBhaskar Upadhaya		gpio2: gpio@2310000 {
2908897f325SBhaskar Upadhaya			compatible = "fsl,qoriq-gpio";
2918897f325SBhaskar Upadhaya			reg = <0x0 0x2310000 0x0 0x10000>;
2928897f325SBhaskar Upadhaya			interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
2938897f325SBhaskar Upadhaya			gpio-controller;
2948897f325SBhaskar Upadhaya			#gpio-cells = <2>;
2958897f325SBhaskar Upadhaya			interrupt-controller;
2968897f325SBhaskar Upadhaya			#interrupt-cells = <2>;
2978897f325SBhaskar Upadhaya		};
2988897f325SBhaskar Upadhaya
2998897f325SBhaskar Upadhaya		gpio3: gpio@2320000 {
3008897f325SBhaskar Upadhaya			compatible = "fsl,qoriq-gpio";
3018897f325SBhaskar Upadhaya			reg = <0x0 0x2320000 0x0 0x10000>;
3028897f325SBhaskar Upadhaya			interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
3038897f325SBhaskar Upadhaya			gpio-controller;
3048897f325SBhaskar Upadhaya			#gpio-cells = <2>;
3058897f325SBhaskar Upadhaya			interrupt-controller;
3068897f325SBhaskar Upadhaya			#interrupt-cells = <2>;
3078897f325SBhaskar Upadhaya		};
3088897f325SBhaskar Upadhaya
309c92f56faSRan Wang		usb0: usb@3100000 {
310c92f56faSRan Wang			compatible = "fsl,ls1028a-dwc3", "snps,dwc3";
311c92f56faSRan Wang			reg = <0x0 0x3100000 0x0 0x10000>;
312c92f56faSRan Wang			interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
313c92f56faSRan Wang			dr_mode = "host";
314c92f56faSRan Wang			snps,dis_rxdet_inp3_quirk;
315c92f56faSRan Wang			snps,quirk-frame-length-adjustment = <0x20>;
316c92f56faSRan Wang			snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
317c92f56faSRan Wang		};
318c92f56faSRan Wang
319c92f56faSRan Wang		usb1: usb@3110000 {
320c92f56faSRan Wang			compatible = "fsl,ls1028a-dwc3", "snps,dwc3";
321c92f56faSRan Wang			reg = <0x0 0x3110000 0x0 0x10000>;
322c92f56faSRan Wang			interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
323c92f56faSRan Wang			dr_mode = "host";
324c92f56faSRan Wang			snps,dis_rxdet_inp3_quirk;
325c92f56faSRan Wang			snps,quirk-frame-length-adjustment = <0x20>;
326c92f56faSRan Wang			snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
3278897f325SBhaskar Upadhaya		};
3288897f325SBhaskar Upadhaya
3298897f325SBhaskar Upadhaya		sata: sata@3200000 {
3308897f325SBhaskar Upadhaya			compatible = "fsl,ls1028a-ahci";
3318897f325SBhaskar Upadhaya			reg = <0x0 0x3200000 0x0 0x10000>,
3323f3d7958SPeng Ma				<0x7 0x100520 0x0 0x4>;
3338897f325SBhaskar Upadhaya			reg-names = "ahci", "sata-ecc";
3348897f325SBhaskar Upadhaya			interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
3358897f325SBhaskar Upadhaya			clocks = <&clockgen 4 1>;
3368897f325SBhaskar Upadhaya			status = "disabled";
3378897f325SBhaskar Upadhaya		};
3388897f325SBhaskar Upadhaya
3398897f325SBhaskar Upadhaya		smmu: iommu@5000000 {
3408897f325SBhaskar Upadhaya			compatible = "arm,mmu-500";
3418897f325SBhaskar Upadhaya			reg = <0 0x5000000 0 0x800000>;
3428897f325SBhaskar Upadhaya			#global-interrupts = <8>;
3438897f325SBhaskar Upadhaya			#iommu-cells = <1>;
3448897f325SBhaskar Upadhaya			stream-match-mask = <0x7c00>;
3458897f325SBhaskar Upadhaya			/* global secure fault */
3468897f325SBhaskar Upadhaya			interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
3478897f325SBhaskar Upadhaya			/* combined secure interrupt */
3488897f325SBhaskar Upadhaya				     <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>,
3498897f325SBhaskar Upadhaya			/* global non-secure fault */
3508897f325SBhaskar Upadhaya				     <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>,
3518897f325SBhaskar Upadhaya			/* combined non-secure interrupt */
3528897f325SBhaskar Upadhaya				     <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>,
3538897f325SBhaskar Upadhaya			/* performance counter interrupts 0-7 */
3548897f325SBhaskar Upadhaya				     <GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH>,
3558897f325SBhaskar Upadhaya				     <GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 214 IRQ_TYPE_LEVEL_HIGH>,
3568897f325SBhaskar Upadhaya			/* per context interrupt, 64 interrupts */
3578897f325SBhaskar Upadhaya				     <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>,
3588897f325SBhaskar Upadhaya				     <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
3598897f325SBhaskar Upadhaya				     <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH>,
3608897f325SBhaskar Upadhaya				     <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>,
3618897f325SBhaskar Upadhaya				     <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>,
3628897f325SBhaskar Upadhaya				     <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>,
3638897f325SBhaskar Upadhaya				     <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>,
3648897f325SBhaskar Upadhaya				     <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>,
3658897f325SBhaskar Upadhaya				     <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>,
3668897f325SBhaskar Upadhaya				     <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>,
3678897f325SBhaskar Upadhaya				     <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>,
3688897f325SBhaskar Upadhaya				     <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>,
3698897f325SBhaskar Upadhaya				     <GIC_SPI 170 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 171 IRQ_TYPE_LEVEL_HIGH>,
3708897f325SBhaskar Upadhaya				     <GIC_SPI 172 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>,
3718897f325SBhaskar Upadhaya				     <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 175 IRQ_TYPE_LEVEL_HIGH>,
3728897f325SBhaskar Upadhaya				     <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 177 IRQ_TYPE_LEVEL_HIGH>,
3738897f325SBhaskar Upadhaya				     <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 179 IRQ_TYPE_LEVEL_HIGH>,
3748897f325SBhaskar Upadhaya				     <GIC_SPI 180 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>,
3758897f325SBhaskar Upadhaya				     <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>,
3768897f325SBhaskar Upadhaya				     <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>,
3778897f325SBhaskar Upadhaya				     <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>,
3788897f325SBhaskar Upadhaya				     <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>,
3798897f325SBhaskar Upadhaya				     <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>,
3808897f325SBhaskar Upadhaya				     <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>,
3818897f325SBhaskar Upadhaya				     <GIC_SPI 194 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 195 IRQ_TYPE_LEVEL_HIGH>,
3828897f325SBhaskar Upadhaya				     <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>,
3838897f325SBhaskar Upadhaya				     <GIC_SPI 198 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH>,
3848897f325SBhaskar Upadhaya				     <GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH>,
3858897f325SBhaskar Upadhaya				     <GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH>,
3868897f325SBhaskar Upadhaya				     <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH>,
3878897f325SBhaskar Upadhaya				     <GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH>,
3888897f325SBhaskar Upadhaya				     <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH>;
3898897f325SBhaskar Upadhaya		};
390927d7f85SClaudiu Manoil
3911d0becabSHoria Geantă		crypto: crypto@8000000 {
3921d0becabSHoria Geantă			compatible = "fsl,sec-v5.0", "fsl,sec-v4.0";
3931d0becabSHoria Geantă			fsl,sec-era = <10>;
3941d0becabSHoria Geantă			#address-cells = <1>;
3951d0becabSHoria Geantă			#size-cells = <1>;
3961d0becabSHoria Geantă			ranges = <0x0 0x00 0x8000000 0x100000>;
3971d0becabSHoria Geantă			reg = <0x00 0x8000000 0x0 0x100000>;
3981d0becabSHoria Geantă			interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>;
3991d0becabSHoria Geantă			dma-coherent;
4001d0becabSHoria Geantă
4011d0becabSHoria Geantă			sec_jr0: jr@10000 {
4021d0becabSHoria Geantă				compatible = "fsl,sec-v5.0-job-ring",
4031d0becabSHoria Geantă					     "fsl,sec-v4.0-job-ring";
4041d0becabSHoria Geantă				reg	= <0x10000 0x10000>;
4051d0becabSHoria Geantă				interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
4061d0becabSHoria Geantă			};
4071d0becabSHoria Geantă
4081d0becabSHoria Geantă			sec_jr1: jr@20000 {
4091d0becabSHoria Geantă				compatible = "fsl,sec-v5.0-job-ring",
4101d0becabSHoria Geantă					     "fsl,sec-v4.0-job-ring";
4111d0becabSHoria Geantă				reg	= <0x20000 0x10000>;
4121d0becabSHoria Geantă				interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>;
4131d0becabSHoria Geantă			};
4141d0becabSHoria Geantă
4151d0becabSHoria Geantă			sec_jr2: jr@30000 {
4161d0becabSHoria Geantă				compatible = "fsl,sec-v5.0-job-ring",
4171d0becabSHoria Geantă					     "fsl,sec-v4.0-job-ring";
4181d0becabSHoria Geantă				reg	= <0x30000 0x10000>;
4191d0becabSHoria Geantă				interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>;
4201d0becabSHoria Geantă			};
4211d0becabSHoria Geantă
4221d0becabSHoria Geantă			sec_jr3: jr@40000 {
4231d0becabSHoria Geantă				compatible = "fsl,sec-v5.0-job-ring",
4241d0becabSHoria Geantă					     "fsl,sec-v4.0-job-ring";
4251d0becabSHoria Geantă				reg	= <0x40000 0x10000>;
4261d0becabSHoria Geantă				interrupts = <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
4271d0becabSHoria Geantă			};
4281d0becabSHoria Geantă		};
4291d0becabSHoria Geantă
4307802f88dSPeng Ma		qdma: dma-controller@8380000 {
4317802f88dSPeng Ma			compatible = "fsl,ls1028a-qdma", "fsl,ls1021a-qdma";
4327802f88dSPeng Ma			reg = <0x0 0x8380000 0x0 0x1000>, /* Controller regs */
4337802f88dSPeng Ma			      <0x0 0x8390000 0x0 0x10000>, /* Status regs */
4347802f88dSPeng Ma			      <0x0 0x83a0000 0x0 0x40000>; /* Block regs */
4357802f88dSPeng Ma			interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
4367802f88dSPeng Ma				     <GIC_SPI 251 IRQ_TYPE_LEVEL_HIGH>,
4377802f88dSPeng Ma				     <GIC_SPI 252 IRQ_TYPE_LEVEL_HIGH>,
4387802f88dSPeng Ma				     <GIC_SPI 253 IRQ_TYPE_LEVEL_HIGH>,
4397802f88dSPeng Ma				     <GIC_SPI 254 IRQ_TYPE_LEVEL_HIGH>;
4407802f88dSPeng Ma			interrupt-names = "qdma-error", "qdma-queue0",
4417802f88dSPeng Ma				"qdma-queue1", "qdma-queue2", "qdma-queue3";
4427802f88dSPeng Ma			dma-channels = <8>;
4437802f88dSPeng Ma			block-number = <1>;
4447802f88dSPeng Ma			block-offset = <0x10000>;
4457802f88dSPeng Ma			fsl,dma-queues = <2>;
4467802f88dSPeng Ma			status-sizes = <64>;
4477802f88dSPeng Ma			queue-sizes = <64 64>;
4487802f88dSPeng Ma		};
4497802f88dSPeng Ma
45057aa1bc7SChuanhua Han		cluster1_core0_watchdog: watchdog@c000000 {
45157aa1bc7SChuanhua Han			compatible = "arm,sp805", "arm,primecell";
45257aa1bc7SChuanhua Han			reg = <0x0 0xc000000 0x0 0x1000>;
45357aa1bc7SChuanhua Han			clocks = <&clockgen 4 15>, <&clockgen 4 15>;
45457aa1bc7SChuanhua Han			clock-names = "apb_pclk", "wdog_clk";
45557aa1bc7SChuanhua Han		};
45657aa1bc7SChuanhua Han
45757aa1bc7SChuanhua Han		cluster1_core1_watchdog: watchdog@c010000 {
45857aa1bc7SChuanhua Han			compatible = "arm,sp805", "arm,primecell";
45957aa1bc7SChuanhua Han			reg = <0x0 0xc010000 0x0 0x1000>;
46057aa1bc7SChuanhua Han			clocks = <&clockgen 4 15>, <&clockgen 4 15>;
46157aa1bc7SChuanhua Han			clock-names = "apb_pclk", "wdog_clk";
46257aa1bc7SChuanhua Han		};
46357aa1bc7SChuanhua Han
464f54f7be5SAlison Wang		sai1: audio-controller@f100000 {
465f54f7be5SAlison Wang			#sound-dai-cells = <0>;
466f54f7be5SAlison Wang			compatible = "fsl,vf610-sai";
467f54f7be5SAlison Wang			reg = <0x0 0xf100000 0x0 0x10000>;
468f54f7be5SAlison Wang			interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
469f54f7be5SAlison Wang			clocks = <&clockgen 4 1>, <&clockgen 4 1>,
470f54f7be5SAlison Wang				 <&clockgen 4 1>, <&clockgen 4 1>;
471f54f7be5SAlison Wang			clock-names = "bus", "mclk1", "mclk2", "mclk3";
472f54f7be5SAlison Wang			dma-names = "tx", "rx";
473f54f7be5SAlison Wang			dmas = <&edma0 1 4>,
474f54f7be5SAlison Wang			       <&edma0 1 3>;
475f54f7be5SAlison Wang			status = "disabled";
476f54f7be5SAlison Wang		};
477f54f7be5SAlison Wang
478f54f7be5SAlison Wang		sai2: audio-controller@f110000 {
479f54f7be5SAlison Wang			#sound-dai-cells = <0>;
480f54f7be5SAlison Wang			compatible = "fsl,vf610-sai";
481f54f7be5SAlison Wang			reg = <0x0 0xf110000 0x0 0x10000>;
482f54f7be5SAlison Wang			interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
483f54f7be5SAlison Wang			clocks = <&clockgen 4 1>, <&clockgen 4 1>,
484f54f7be5SAlison Wang				 <&clockgen 4 1>, <&clockgen 4 1>;
485f54f7be5SAlison Wang			clock-names = "bus", "mclk1", "mclk2", "mclk3";
486f54f7be5SAlison Wang			dma-names = "tx", "rx";
487f54f7be5SAlison Wang			dmas = <&edma0 1 6>,
488f54f7be5SAlison Wang			       <&edma0 1 5>;
489f54f7be5SAlison Wang			status = "disabled";
490f54f7be5SAlison Wang		};
491f54f7be5SAlison Wang
492f54f7be5SAlison Wang		sai4: audio-controller@f130000 {
493f54f7be5SAlison Wang			#sound-dai-cells = <0>;
494f54f7be5SAlison Wang			compatible = "fsl,vf610-sai";
495f54f7be5SAlison Wang			reg = <0x0 0xf130000 0x0 0x10000>;
496f54f7be5SAlison Wang			interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
497f54f7be5SAlison Wang			clocks = <&clockgen 4 1>, <&clockgen 4 1>,
498f54f7be5SAlison Wang				 <&clockgen 4 1>, <&clockgen 4 1>;
499f54f7be5SAlison Wang			clock-names = "bus", "mclk1", "mclk2", "mclk3";
500f54f7be5SAlison Wang			dma-names = "tx", "rx";
501f54f7be5SAlison Wang			dmas = <&edma0 1 10>,
502f54f7be5SAlison Wang			       <&edma0 1 9>;
503f54f7be5SAlison Wang			status = "disabled";
504f54f7be5SAlison Wang		};
505f54f7be5SAlison Wang
506927d7f85SClaudiu Manoil		pcie@1f0000000 { /* Integrated Endpoint Root Complex */
507927d7f85SClaudiu Manoil			compatible = "pci-host-ecam-generic";
508927d7f85SClaudiu Manoil			reg = <0x01 0xf0000000 0x0 0x100000>;
509927d7f85SClaudiu Manoil			#address-cells = <3>;
510927d7f85SClaudiu Manoil			#size-cells = <2>;
511927d7f85SClaudiu Manoil			#interrupt-cells = <1>;
512927d7f85SClaudiu Manoil			msi-parent = <&its>;
513927d7f85SClaudiu Manoil			device_type = "pci";
514927d7f85SClaudiu Manoil			bus-range = <0x0 0x0>;
515927d7f85SClaudiu Manoil			dma-coherent;
516927d7f85SClaudiu Manoil			msi-map = <0 &its 0x17 0xe>;
517927d7f85SClaudiu Manoil			iommu-map = <0 &smmu 0x17 0xe>;
518927d7f85SClaudiu Manoil				  /* PF0-6 BAR0 - non-prefetchable memory */
519927d7f85SClaudiu Manoil			ranges = <0x82000000 0x0 0x00000000  0x1 0xf8000000  0x0 0x160000
520927d7f85SClaudiu Manoil				  /* PF0-6 BAR2 - prefetchable memory */
521927d7f85SClaudiu Manoil				  0xc2000000 0x0 0x00000000  0x1 0xf8160000  0x0 0x070000
522927d7f85SClaudiu Manoil				  /* PF0: VF0-1 BAR0 - non-prefetchable memory */
523927d7f85SClaudiu Manoil				  0x82000000 0x0 0x00000000  0x1 0xf81d0000  0x0 0x020000
524927d7f85SClaudiu Manoil				  /* PF0: VF0-1 BAR2 - prefetchable memory */
525927d7f85SClaudiu Manoil				  0xc2000000 0x0 0x00000000  0x1 0xf81f0000  0x0 0x020000
526927d7f85SClaudiu Manoil				  /* PF1: VF0-1 BAR0 - non-prefetchable memory */
527927d7f85SClaudiu Manoil				  0x82000000 0x0 0x00000000  0x1 0xf8210000  0x0 0x020000
528927d7f85SClaudiu Manoil				  /* PF1: VF0-1 BAR2 - prefetchable memory */
529927d7f85SClaudiu Manoil				  0xc2000000 0x0 0x00000000  0x1 0xf8230000  0x0 0x020000>;
530927d7f85SClaudiu Manoil
531927d7f85SClaudiu Manoil			enetc_port0: ethernet@0,0 {
532927d7f85SClaudiu Manoil				compatible = "fsl,enetc";
533927d7f85SClaudiu Manoil				reg = <0x000000 0 0 0 0>;
534927d7f85SClaudiu Manoil			};
535927d7f85SClaudiu Manoil			enetc_port1: ethernet@0,1 {
536927d7f85SClaudiu Manoil				compatible = "fsl,enetc";
537927d7f85SClaudiu Manoil				reg = <0x000100 0 0 0 0>;
538927d7f85SClaudiu Manoil			};
5398488d8e9SClaudiu Manoil			enetc_mdio_pf3: mdio@0,3 {
5408488d8e9SClaudiu Manoil				compatible = "fsl,enetc-mdio";
5418488d8e9SClaudiu Manoil				reg = <0x000300 0 0 0 0>;
5428488d8e9SClaudiu Manoil				#address-cells = <1>;
5438488d8e9SClaudiu Manoil				#size-cells = <0>;
5448488d8e9SClaudiu Manoil			};
54549401003SY.b. Lu			ethernet@0,4 {
54649401003SY.b. Lu				compatible = "fsl,enetc-ptp";
54749401003SY.b. Lu				reg = <0x000400 0 0 0 0>;
54849401003SY.b. Lu				clocks = <&clockgen 4 0>;
54949401003SY.b. Lu				little-endian;
55049401003SY.b. Lu			};
551927d7f85SClaudiu Manoil		};
5528897f325SBhaskar Upadhaya	};
5537f538f19SWen He
5547f538f19SWen He	malidp0: display@f080000 {
5557f538f19SWen He		compatible = "arm,mali-dp500";
5567f538f19SWen He		reg = <0x0 0xf080000 0x0 0x10000>;
5577f538f19SWen He		interrupts = <0 222 IRQ_TYPE_LEVEL_HIGH>,
5587f538f19SWen He			     <0 223 IRQ_TYPE_LEVEL_HIGH>;
5597f538f19SWen He		interrupt-names = "DE", "SE";
5607f538f19SWen He		clocks = <&dpclk>, <&aclk>, <&aclk>, <&pclk>;
5617f538f19SWen He		clock-names = "pxlclk", "mclk", "aclk", "pclk";
5627f538f19SWen He		arm,malidp-output-port-lines = /bits/ 8 <8 8 8>;
5637f538f19SWen He
5647f538f19SWen He		port {
5657f538f19SWen He			dp0_out: endpoint {
5667f538f19SWen He
5677f538f19SWen He			};
5687f538f19SWen He		};
5697f538f19SWen He	};
5708897f325SBhaskar Upadhaya};
571