13d91ba65SAisheng Dong// SPDX-License-Identifier: GPL-2.0+
23d91ba65SAisheng Dong/*
33d91ba65SAisheng Dong * Copyright (C) 2016 Freescale Semiconductor, Inc.
43d91ba65SAisheng Dong * Copyright 2017-2018 NXP
53d91ba65SAisheng Dong *	Dong Aisheng <aisheng.dong@nxp.com>
63d91ba65SAisheng Dong */
73d91ba65SAisheng Dong
83d91ba65SAisheng Dong#include <dt-bindings/clock/imx8-clock.h>
93d91ba65SAisheng Dong#include <dt-bindings/firmware/imx/rsrc.h>
103d91ba65SAisheng Dong#include <dt-bindings/gpio/gpio.h>
113d91ba65SAisheng Dong#include <dt-bindings/interrupt-controller/arm-gic.h>
123d91ba65SAisheng Dong#include <dt-bindings/pinctrl/pads-imx8qxp.h>
133d91ba65SAisheng Dong
143d91ba65SAisheng Dong/ {
153d91ba65SAisheng Dong	interrupt-parent = <&gic>;
163d91ba65SAisheng Dong	#address-cells = <2>;
173d91ba65SAisheng Dong	#size-cells = <2>;
183d91ba65SAisheng Dong
193d91ba65SAisheng Dong	aliases {
203d91ba65SAisheng Dong		mmc0 = &usdhc1;
213d91ba65SAisheng Dong		mmc1 = &usdhc2;
223d91ba65SAisheng Dong		mmc2 = &usdhc3;
233d91ba65SAisheng Dong		serial0 = &adma_lpuart0;
243d91ba65SAisheng Dong	};
253d91ba65SAisheng Dong
263d91ba65SAisheng Dong	cpus {
273d91ba65SAisheng Dong		#address-cells = <2>;
283d91ba65SAisheng Dong		#size-cells = <0>;
293d91ba65SAisheng Dong
303d91ba65SAisheng Dong		/* We have 1 clusters with 4 Cortex-A35 cores */
313d91ba65SAisheng Dong		A35_0: cpu@0 {
323d91ba65SAisheng Dong			device_type = "cpu";
333d91ba65SAisheng Dong			compatible = "arm,cortex-a35";
343d91ba65SAisheng Dong			reg = <0x0 0x0>;
353d91ba65SAisheng Dong			enable-method = "psci";
363d91ba65SAisheng Dong			next-level-cache = <&A35_L2>;
377be494ddSAnson Huang			clocks = <&clk IMX_A35_CLK>;
387be494ddSAnson Huang			operating-points-v2 = <&a35_opp_table>;
397be494ddSAnson Huang			#cooling-cells = <2>;
403d91ba65SAisheng Dong		};
413d91ba65SAisheng Dong
423d91ba65SAisheng Dong		A35_1: cpu@1 {
433d91ba65SAisheng Dong			device_type = "cpu";
443d91ba65SAisheng Dong			compatible = "arm,cortex-a35";
453d91ba65SAisheng Dong			reg = <0x0 0x1>;
463d91ba65SAisheng Dong			enable-method = "psci";
473d91ba65SAisheng Dong			next-level-cache = <&A35_L2>;
487be494ddSAnson Huang			clocks = <&clk IMX_A35_CLK>;
497be494ddSAnson Huang			operating-points-v2 = <&a35_opp_table>;
507be494ddSAnson Huang			#cooling-cells = <2>;
513d91ba65SAisheng Dong		};
523d91ba65SAisheng Dong
533d91ba65SAisheng Dong		A35_2: cpu@2 {
543d91ba65SAisheng Dong			device_type = "cpu";
553d91ba65SAisheng Dong			compatible = "arm,cortex-a35";
563d91ba65SAisheng Dong			reg = <0x0 0x2>;
573d91ba65SAisheng Dong			enable-method = "psci";
583d91ba65SAisheng Dong			next-level-cache = <&A35_L2>;
597be494ddSAnson Huang			clocks = <&clk IMX_A35_CLK>;
607be494ddSAnson Huang			operating-points-v2 = <&a35_opp_table>;
617be494ddSAnson Huang			#cooling-cells = <2>;
623d91ba65SAisheng Dong		};
633d91ba65SAisheng Dong
643d91ba65SAisheng Dong		A35_3: cpu@3 {
653d91ba65SAisheng Dong			device_type = "cpu";
663d91ba65SAisheng Dong			compatible = "arm,cortex-a35";
673d91ba65SAisheng Dong			reg = <0x0 0x3>;
683d91ba65SAisheng Dong			enable-method = "psci";
693d91ba65SAisheng Dong			next-level-cache = <&A35_L2>;
707be494ddSAnson Huang			clocks = <&clk IMX_A35_CLK>;
717be494ddSAnson Huang			operating-points-v2 = <&a35_opp_table>;
727be494ddSAnson Huang			#cooling-cells = <2>;
733d91ba65SAisheng Dong		};
743d91ba65SAisheng Dong
753d91ba65SAisheng Dong		A35_L2: l2-cache0 {
763d91ba65SAisheng Dong			compatible = "cache";
773d91ba65SAisheng Dong		};
783d91ba65SAisheng Dong	};
793d91ba65SAisheng Dong
807be494ddSAnson Huang	a35_opp_table: opp-table {
817be494ddSAnson Huang		compatible = "operating-points-v2";
827be494ddSAnson Huang		opp-shared;
837be494ddSAnson Huang
847be494ddSAnson Huang		opp-900000000 {
857be494ddSAnson Huang			opp-hz = /bits/ 64 <900000000>;
867be494ddSAnson Huang			opp-microvolt = <1000000>;
877be494ddSAnson Huang			clock-latency-ns = <150000>;
887be494ddSAnson Huang		};
897be494ddSAnson Huang
907be494ddSAnson Huang		opp-1200000000 {
917be494ddSAnson Huang			opp-hz = /bits/ 64 <1200000000>;
927be494ddSAnson Huang			opp-microvolt = <1100000>;
937be494ddSAnson Huang			clock-latency-ns = <150000>;
947be494ddSAnson Huang			opp-suspend;
957be494ddSAnson Huang		};
967be494ddSAnson Huang	};
977be494ddSAnson Huang
983d91ba65SAisheng Dong	gic: interrupt-controller@51a00000 {
993d91ba65SAisheng Dong		compatible = "arm,gic-v3";
1003d91ba65SAisheng Dong		reg = <0x0 0x51a00000 0 0x10000>, /* GIC Dist */
1013d91ba65SAisheng Dong		      <0x0 0x51b00000 0 0xc0000>; /* GICR (RD_base + SGI_base) */
1023d91ba65SAisheng Dong		#interrupt-cells = <3>;
1033d91ba65SAisheng Dong		interrupt-controller;
1043d91ba65SAisheng Dong		interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
1053d91ba65SAisheng Dong	};
1063d91ba65SAisheng Dong
1073d91ba65SAisheng Dong	pmu {
1083d91ba65SAisheng Dong		compatible = "arm,armv8-pmuv3";
1093d91ba65SAisheng Dong		interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH>;
1103d91ba65SAisheng Dong	};
1113d91ba65SAisheng Dong
1123d91ba65SAisheng Dong	psci {
1133d91ba65SAisheng Dong		compatible = "arm,psci-1.0";
1143d91ba65SAisheng Dong		method = "smc";
1153d91ba65SAisheng Dong	};
1163d91ba65SAisheng Dong
1173d91ba65SAisheng Dong	scu {
1183d91ba65SAisheng Dong		compatible = "fsl,imx-scu";
1193d91ba65SAisheng Dong		mbox-names = "tx0", "tx1", "tx2", "tx3",
1203d91ba65SAisheng Dong			     "rx0", "rx1", "rx2", "rx3";
1213d91ba65SAisheng Dong		mboxes = <&lsio_mu1 0 0
1223d91ba65SAisheng Dong			  &lsio_mu1 0 1
1233d91ba65SAisheng Dong			  &lsio_mu1 0 2
1243d91ba65SAisheng Dong			  &lsio_mu1 0 3
1253d91ba65SAisheng Dong			  &lsio_mu1 1 0
1263d91ba65SAisheng Dong			  &lsio_mu1 1 1
1273d91ba65SAisheng Dong			  &lsio_mu1 1 2
1283d91ba65SAisheng Dong			  &lsio_mu1 1 3>;
1293d91ba65SAisheng Dong
1303d91ba65SAisheng Dong		clk: clock-controller {
1313d91ba65SAisheng Dong			compatible = "fsl,imx8qxp-clk";
1323d91ba65SAisheng Dong			#clock-cells = <1>;
1333d91ba65SAisheng Dong			clocks = <&xtal32k &xtal24m>;
1343d91ba65SAisheng Dong			clock-names = "xtal_32KHz", "xtal_24Mhz";
1353d91ba65SAisheng Dong		};
1363d91ba65SAisheng Dong
1373d91ba65SAisheng Dong		iomuxc: pinctrl {
1383d91ba65SAisheng Dong			compatible = "fsl,imx8qxp-iomuxc";
1393d91ba65SAisheng Dong		};
1403d91ba65SAisheng Dong
1413d91ba65SAisheng Dong		pd: imx8qx-pd {
1423d91ba65SAisheng Dong			compatible = "fsl,imx8qxp-scu-pd";
1433d91ba65SAisheng Dong			#power-domain-cells = <1>;
1443d91ba65SAisheng Dong		};
1456334f879SAnson Huang
1466334f879SAnson Huang		rtc: rtc {
1476334f879SAnson Huang			compatible = "fsl,imx8qxp-sc-rtc";
1486334f879SAnson Huang		};
1493d91ba65SAisheng Dong	};
1503d91ba65SAisheng Dong
1513d91ba65SAisheng Dong	timer {
1523d91ba65SAisheng Dong		compatible = "arm,armv8-timer";
1533d91ba65SAisheng Dong		interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>, /* Physical Secure */
1543d91ba65SAisheng Dong			     <GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>, /* Physical Non-Secure */
1553d91ba65SAisheng Dong			     <GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>, /* Virtual */
1563d91ba65SAisheng Dong			     <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>; /* Hypervisor */
1573d91ba65SAisheng Dong	};
1583d91ba65SAisheng Dong
1593d91ba65SAisheng Dong	xtal32k: clock-xtal32k {
1603d91ba65SAisheng Dong		compatible = "fixed-clock";
1613d91ba65SAisheng Dong		#clock-cells = <0>;
1623d91ba65SAisheng Dong		clock-frequency = <32768>;
1633d91ba65SAisheng Dong		clock-output-names = "xtal_32KHz";
1643d91ba65SAisheng Dong	};
1653d91ba65SAisheng Dong
1663d91ba65SAisheng Dong	xtal24m: clock-xtal24m {
1673d91ba65SAisheng Dong		compatible = "fixed-clock";
1683d91ba65SAisheng Dong		#clock-cells = <0>;
1693d91ba65SAisheng Dong		clock-frequency = <24000000>;
1703d91ba65SAisheng Dong		clock-output-names = "xtal_24MHz";
1713d91ba65SAisheng Dong	};
1723d91ba65SAisheng Dong
1733d91ba65SAisheng Dong	adma_subsys: bus@59000000 {
1743d91ba65SAisheng Dong		compatible = "simple-bus";
1753d91ba65SAisheng Dong		#address-cells = <1>;
1763d91ba65SAisheng Dong		#size-cells = <1>;
1773d91ba65SAisheng Dong		ranges = <0x59000000 0x0 0x59000000 0x2000000>;
1783d91ba65SAisheng Dong
1793d91ba65SAisheng Dong		adma_lpcg: clock-controller@59000000 {
1803d91ba65SAisheng Dong			compatible = "fsl,imx8qxp-lpcg-adma";
1813d91ba65SAisheng Dong			reg = <0x59000000 0x2000000>;
1823d91ba65SAisheng Dong			#clock-cells = <1>;
1833d91ba65SAisheng Dong		};
1843d91ba65SAisheng Dong
1853d91ba65SAisheng Dong		adma_lpuart0: serial@5a060000 {
1863d91ba65SAisheng Dong			compatible = "fsl,imx8qxp-lpuart", "fsl,imx7ulp-lpuart";
1873d91ba65SAisheng Dong			reg = <0x5a060000 0x1000>;
1883d91ba65SAisheng Dong			interrupts = <GIC_SPI 225 IRQ_TYPE_LEVEL_HIGH>;
1893d91ba65SAisheng Dong			interrupt-parent = <&gic>;
1903d91ba65SAisheng Dong			clocks = <&adma_lpcg IMX_ADMA_LPCG_UART0_BAUD_CLK>;
1913d91ba65SAisheng Dong			clock-names = "ipg";
1923d91ba65SAisheng Dong			power-domains = <&pd IMX_SC_R_UART_0>;
1933d91ba65SAisheng Dong			status = "disabled";
1943d91ba65SAisheng Dong		};
1953d91ba65SAisheng Dong
1963d91ba65SAisheng Dong		adma_i2c0: i2c@5a800000 {
1973d91ba65SAisheng Dong			compatible = "fsl,imx8qxp-lpi2c", "fsl,imx7ulp-lpi2c";
1983d91ba65SAisheng Dong			reg = <0x5a800000 0x4000>;
1993d91ba65SAisheng Dong			interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH>;
2003d91ba65SAisheng Dong			interrupt-parent = <&gic>;
2013d91ba65SAisheng Dong			clocks = <&adma_lpcg IMX_ADMA_LPCG_I2C0_CLK>;
2023d91ba65SAisheng Dong			clock-names = "per";
2033d91ba65SAisheng Dong			assigned-clocks = <&clk IMX_ADMA_I2C0_CLK>;
2043d91ba65SAisheng Dong			assigned-clock-rates = <24000000>;
2053d91ba65SAisheng Dong			power-domains = <&pd IMX_SC_R_I2C_0>;
2063d91ba65SAisheng Dong			status = "disabled";
2073d91ba65SAisheng Dong		};
2083d91ba65SAisheng Dong
2093d91ba65SAisheng Dong		adma_i2c1: i2c@5a810000 {
2103d91ba65SAisheng Dong			compatible = "fsl,imx8qxp-lpi2c", "fsl,imx7ulp-lpi2c";
2113d91ba65SAisheng Dong			reg = <0x5a810000 0x4000>;
2123d91ba65SAisheng Dong			interrupts = <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>;
2133d91ba65SAisheng Dong			interrupt-parent = <&gic>;
2143d91ba65SAisheng Dong			clocks = <&adma_lpcg IMX_ADMA_LPCG_I2C1_CLK>;
2153d91ba65SAisheng Dong			clock-names = "per";
2163d91ba65SAisheng Dong			assigned-clocks = <&clk IMX_ADMA_I2C1_CLK>;
2173d91ba65SAisheng Dong			assigned-clock-rates = <24000000>;
2183d91ba65SAisheng Dong			power-domains = <&pd IMX_SC_R_I2C_1>;
2193d91ba65SAisheng Dong			status = "disabled";
2203d91ba65SAisheng Dong		};
2213d91ba65SAisheng Dong
2223d91ba65SAisheng Dong		adma_i2c2: i2c@5a820000 {
2233d91ba65SAisheng Dong			compatible = "fsl,imx8qxp-lpi2c", "fsl,imx7ulp-lpi2c";
2243d91ba65SAisheng Dong			reg = <0x5a820000 0x4000>;
2253d91ba65SAisheng Dong			interrupts = <GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH>;
2263d91ba65SAisheng Dong			interrupt-parent = <&gic>;
2273d91ba65SAisheng Dong			clocks = <&adma_lpcg IMX_ADMA_LPCG_I2C2_CLK>;
2283d91ba65SAisheng Dong			clock-names = "per";
2293d91ba65SAisheng Dong			assigned-clocks = <&clk IMX_ADMA_I2C2_CLK>;
2303d91ba65SAisheng Dong			assigned-clock-rates = <24000000>;
2313d91ba65SAisheng Dong			power-domains = <&pd IMX_SC_R_I2C_2>;
2323d91ba65SAisheng Dong			status = "disabled";
2333d91ba65SAisheng Dong		};
2343d91ba65SAisheng Dong
2353d91ba65SAisheng Dong		adma_i2c3: i2c@5a830000 {
2363d91ba65SAisheng Dong			compatible = "fsl,imx8qxp-lpi2c", "fsl,imx7ulp-lpi2c";
2373d91ba65SAisheng Dong			reg = <0x5a830000 0x4000>;
2383d91ba65SAisheng Dong			interrupts = <GIC_SPI 223 IRQ_TYPE_LEVEL_HIGH>;
2393d91ba65SAisheng Dong			interrupt-parent = <&gic>;
2403d91ba65SAisheng Dong			clocks = <&adma_lpcg IMX_ADMA_LPCG_I2C3_CLK>;
2413d91ba65SAisheng Dong			clock-names = "per";
2423d91ba65SAisheng Dong			assigned-clocks = <&clk IMX_ADMA_I2C3_CLK>;
2433d91ba65SAisheng Dong			assigned-clock-rates = <24000000>;
2443d91ba65SAisheng Dong			power-domains = <&pd IMX_SC_R_I2C_3>;
2453d91ba65SAisheng Dong			status = "disabled";
2463d91ba65SAisheng Dong		};
2473d91ba65SAisheng Dong	};
2483d91ba65SAisheng Dong
2493d91ba65SAisheng Dong	conn_subsys: bus@5b000000 {
2503d91ba65SAisheng Dong		compatible = "simple-bus";
2513d91ba65SAisheng Dong		#address-cells = <1>;
2523d91ba65SAisheng Dong		#size-cells = <1>;
2533d91ba65SAisheng Dong		ranges = <0x5b000000 0x0 0x5b000000 0x1000000>;
2543d91ba65SAisheng Dong
2553d91ba65SAisheng Dong		conn_lpcg: clock-controller@5b200000 {
2563d91ba65SAisheng Dong			compatible = "fsl,imx8qxp-lpcg-conn";
2573d91ba65SAisheng Dong			reg = <0x5b200000 0xb0000>;
2583d91ba65SAisheng Dong			#clock-cells = <1>;
2593d91ba65SAisheng Dong		};
2603d91ba65SAisheng Dong
2613d91ba65SAisheng Dong		usdhc1: mmc@5b010000 {
2623d91ba65SAisheng Dong			compatible = "fsl,imx8qxp-usdhc", "fsl,imx7d-usdhc";
2633d91ba65SAisheng Dong			interrupt-parent = <&gic>;
2643d91ba65SAisheng Dong			interrupts = <GIC_SPI 232 IRQ_TYPE_LEVEL_HIGH>;
2653d91ba65SAisheng Dong			reg = <0x5b010000 0x10000>;
2663d91ba65SAisheng Dong			clocks = <&conn_lpcg IMX_CONN_LPCG_SDHC0_IPG_CLK>,
2673d91ba65SAisheng Dong				 <&conn_lpcg IMX_CONN_LPCG_SDHC0_PER_CLK>,
2683d91ba65SAisheng Dong				 <&conn_lpcg IMX_CONN_LPCG_SDHC0_HCLK>;
2693d91ba65SAisheng Dong			clock-names = "ipg", "per", "ahb";
2703d91ba65SAisheng Dong			assigned-clocks = <&clk IMX_CONN_SDHC0_CLK>;
2713d91ba65SAisheng Dong			assigned-clock-rates = <200000000>;
2723d91ba65SAisheng Dong			power-domains = <&pd IMX_SC_R_SDHC_0>;
2733d91ba65SAisheng Dong			status = "disabled";
2743d91ba65SAisheng Dong		};
2753d91ba65SAisheng Dong
2763d91ba65SAisheng Dong		usdhc2: mmc@5b020000 {
2773d91ba65SAisheng Dong			compatible = "fsl,imx8qxp-usdhc", "fsl,imx7d-usdhc";
2783d91ba65SAisheng Dong			interrupt-parent = <&gic>;
2793d91ba65SAisheng Dong			interrupts = <GIC_SPI 233 IRQ_TYPE_LEVEL_HIGH>;
2803d91ba65SAisheng Dong			reg = <0x5b020000 0x10000>;
2813d91ba65SAisheng Dong			clocks = <&conn_lpcg IMX_CONN_LPCG_SDHC1_IPG_CLK>,
2823d91ba65SAisheng Dong				 <&conn_lpcg IMX_CONN_LPCG_SDHC1_PER_CLK>,
2833d91ba65SAisheng Dong				 <&conn_lpcg IMX_CONN_LPCG_SDHC1_HCLK>;
2843d91ba65SAisheng Dong			clock-names = "ipg", "per", "ahb";
2853d91ba65SAisheng Dong			assigned-clocks = <&clk IMX_CONN_SDHC1_CLK>;
2863d91ba65SAisheng Dong			assigned-clock-rates = <200000000>;
2873d91ba65SAisheng Dong			power-domains = <&pd IMX_SC_R_SDHC_1>;
2883d91ba65SAisheng Dong			fsl,tuning-start-tap = <20>;
2893d91ba65SAisheng Dong			fsl,tuning-step= <2>;
2903d91ba65SAisheng Dong			status = "disabled";
2913d91ba65SAisheng Dong		};
2923d91ba65SAisheng Dong
2933d91ba65SAisheng Dong		usdhc3: mmc@5b030000 {
2943d91ba65SAisheng Dong			compatible = "fsl,imx8qxp-usdhc", "fsl,imx7d-usdhc";
2953d91ba65SAisheng Dong			interrupt-parent = <&gic>;
2963d91ba65SAisheng Dong			interrupts = <GIC_SPI 234 IRQ_TYPE_LEVEL_HIGH>;
2973d91ba65SAisheng Dong			reg = <0x5b030000 0x10000>;
2983d91ba65SAisheng Dong			clocks = <&conn_lpcg IMX_CONN_LPCG_SDHC2_IPG_CLK>,
2993d91ba65SAisheng Dong				 <&conn_lpcg IMX_CONN_LPCG_SDHC2_PER_CLK>,
3003d91ba65SAisheng Dong				 <&conn_lpcg IMX_CONN_LPCG_SDHC2_HCLK>;
3013d91ba65SAisheng Dong			clock-names = "ipg", "per", "ahb";
3023d91ba65SAisheng Dong			assigned-clocks = <&clk IMX_CONN_SDHC2_CLK>;
3033d91ba65SAisheng Dong			assigned-clock-rates = <200000000>;
3043d91ba65SAisheng Dong			power-domains = <&pd IMX_SC_R_SDHC_2>;
3053d91ba65SAisheng Dong			status = "disabled";
3063d91ba65SAisheng Dong		};
3073d91ba65SAisheng Dong
3083d91ba65SAisheng Dong		fec1: ethernet@5b040000 {
3093d91ba65SAisheng Dong			compatible = "fsl,imx8qxp-fec", "fsl,imx6sx-fec";
3103d91ba65SAisheng Dong			reg = <0x5b040000 0x10000>;
3113d91ba65SAisheng Dong			interrupts = <GIC_SPI 258 IRQ_TYPE_LEVEL_HIGH>,
3123d91ba65SAisheng Dong				     <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>,
3133d91ba65SAisheng Dong				     <GIC_SPI 257 IRQ_TYPE_LEVEL_HIGH>,
3143d91ba65SAisheng Dong				     <GIC_SPI 259 IRQ_TYPE_LEVEL_HIGH>;
3153d91ba65SAisheng Dong			clocks = <&conn_lpcg IMX_CONN_LPCG_ENET0_IPG_CLK>,
3163d91ba65SAisheng Dong				 <&conn_lpcg IMX_CONN_LPCG_ENET0_AHB_CLK>,
3173d91ba65SAisheng Dong				 <&conn_lpcg IMX_CONN_LPCG_ENET0_TX_CLK>,
3183d91ba65SAisheng Dong				 <&conn_lpcg IMX_CONN_LPCG_ENET0_ROOT_CLK>;
3193d91ba65SAisheng Dong			clock-names = "ipg", "ahb", "enet_clk_ref", "ptp";
3203d91ba65SAisheng Dong			fsl,num-tx-queues=<3>;
3213d91ba65SAisheng Dong			fsl,num-rx-queues=<3>;
3223d91ba65SAisheng Dong			power-domains = <&pd IMX_SC_R_ENET_0>;
3233d91ba65SAisheng Dong			status = "disabled";
3243d91ba65SAisheng Dong		};
3253d91ba65SAisheng Dong
3263d91ba65SAisheng Dong		fec2: ethernet@5b050000 {
3273d91ba65SAisheng Dong			compatible = "fsl,imx8qxp-fec", "fsl,imx6sx-fec";
3283d91ba65SAisheng Dong			reg = <0x5b050000 0x10000>;
3293d91ba65SAisheng Dong			interrupts = <GIC_SPI 262 IRQ_TYPE_LEVEL_HIGH>,
3303d91ba65SAisheng Dong					<GIC_SPI 260 IRQ_TYPE_LEVEL_HIGH>,
3313d91ba65SAisheng Dong					<GIC_SPI 261 IRQ_TYPE_LEVEL_HIGH>,
3323d91ba65SAisheng Dong					<GIC_SPI 263 IRQ_TYPE_LEVEL_HIGH>;
3333d91ba65SAisheng Dong			clocks = <&conn_lpcg IMX_CONN_LPCG_ENET1_IPG_CLK>,
3343d91ba65SAisheng Dong				 <&conn_lpcg IMX_CONN_LPCG_ENET1_AHB_CLK>,
3353d91ba65SAisheng Dong				 <&conn_lpcg IMX_CONN_LPCG_ENET1_TX_CLK>,
3363d91ba65SAisheng Dong				 <&conn_lpcg IMX_CONN_LPCG_ENET1_ROOT_CLK>;
3373d91ba65SAisheng Dong			clock-names = "ipg", "ahb", "enet_clk_ref", "ptp";
3383d91ba65SAisheng Dong			fsl,num-tx-queues=<3>;
3393d91ba65SAisheng Dong			fsl,num-rx-queues=<3>;
3403d91ba65SAisheng Dong			power-domains = <&pd IMX_SC_R_ENET_1>;
3413d91ba65SAisheng Dong			status = "disabled";
3423d91ba65SAisheng Dong		};
3433d91ba65SAisheng Dong	};
3443d91ba65SAisheng Dong
3453d91ba65SAisheng Dong	lsio_subsys: bus@5d000000 {
3463d91ba65SAisheng Dong		compatible = "simple-bus";
3473d91ba65SAisheng Dong		#address-cells = <1>;
3483d91ba65SAisheng Dong		#size-cells = <1>;
3493d91ba65SAisheng Dong		ranges = <0x5d000000 0x0 0x5d000000 0x1000000>;
3503d91ba65SAisheng Dong
3513d91ba65SAisheng Dong		lsio_lpcg: clock-controller@5d400000 {
3523d91ba65SAisheng Dong			compatible = "fsl,imx8qxp-lpcg-lsio";
3533d91ba65SAisheng Dong			reg = <0x5d400000 0x400000>;
3543d91ba65SAisheng Dong			#clock-cells = <1>;
3553d91ba65SAisheng Dong		};
3563d91ba65SAisheng Dong
3573d91ba65SAisheng Dong		lsio_mu0: mailbox@5d1b0000 {
3583d91ba65SAisheng Dong			compatible = "fsl,imx8qxp-mu", "fsl,imx6sx-mu";
3593d91ba65SAisheng Dong			reg = <0x5d1b0000 0x10000>;
3603d91ba65SAisheng Dong			interrupts = <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>;
36114c7c02dSPeng Fan			#mbox-cells = <2>;
3623d91ba65SAisheng Dong			status = "disabled";
3633d91ba65SAisheng Dong		};
3643d91ba65SAisheng Dong
3653d91ba65SAisheng Dong		lsio_mu1: mailbox@5d1c0000 {
3663d91ba65SAisheng Dong			compatible = "fsl,imx8qxp-mu", "fsl,imx6sx-mu";
3673d91ba65SAisheng Dong			reg = <0x5d1c0000 0x10000>;
3683d91ba65SAisheng Dong			interrupts = <GIC_SPI 177 IRQ_TYPE_LEVEL_HIGH>;
3693d91ba65SAisheng Dong			#mbox-cells = <2>;
3703d91ba65SAisheng Dong		};
3713d91ba65SAisheng Dong
372e8449baaSPeng Fan		lsio_mu2: mailbox@5d1d0000 {
373e8449baaSPeng Fan			compatible = "fsl,imx8qxp-mu", "fsl,imx6sx-mu";
374e8449baaSPeng Fan			reg = <0x5d1d0000 0x10000>;
375e8449baaSPeng Fan			interrupts = <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>;
376e8449baaSPeng Fan			#mbox-cells = <2>;
377e8449baaSPeng Fan			status = "disabled";
378e8449baaSPeng Fan		};
379e8449baaSPeng Fan
3803d91ba65SAisheng Dong		lsio_mu3: mailbox@5d1e0000 {
3813d91ba65SAisheng Dong			compatible = "fsl,imx8qxp-mu", "fsl,imx6sx-mu";
3823d91ba65SAisheng Dong			reg = <0x5d1e0000 0x10000>;
3833d91ba65SAisheng Dong			interrupts = <GIC_SPI 179 IRQ_TYPE_LEVEL_HIGH>;
38414c7c02dSPeng Fan			#mbox-cells = <2>;
3853d91ba65SAisheng Dong			status = "disabled";
3863d91ba65SAisheng Dong		};
3873d91ba65SAisheng Dong
3883d91ba65SAisheng Dong		lsio_mu4: mailbox@5d1f0000 {
3893d91ba65SAisheng Dong			compatible = "fsl,imx8qxp-mu", "fsl,imx6sx-mu";
3903d91ba65SAisheng Dong			reg = <0x5d1f0000 0x10000>;
391179cbdb8SDaniel Baluta			interrupts = <GIC_SPI 180 IRQ_TYPE_LEVEL_HIGH>;
39214c7c02dSPeng Fan			#mbox-cells = <2>;
3933d91ba65SAisheng Dong			status = "disabled";
3943d91ba65SAisheng Dong		};
3953d91ba65SAisheng Dong
3963d91ba65SAisheng Dong		lsio_gpio0: gpio@5d080000 {
3973d91ba65SAisheng Dong			compatible = "fsl,imx8qxp-gpio", "fsl,imx35-gpio";
3983d91ba65SAisheng Dong			reg = <0x5d080000 0x10000>;
3993d91ba65SAisheng Dong			interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>;
4003d91ba65SAisheng Dong			gpio-controller;
4013d91ba65SAisheng Dong			#gpio-cells = <2>;
4023d91ba65SAisheng Dong			interrupt-controller;
4033d91ba65SAisheng Dong			#interrupt-cells = <2>;
4043d91ba65SAisheng Dong			power-domains = <&pd IMX_SC_R_GPIO_0>;
4053d91ba65SAisheng Dong		};
4063d91ba65SAisheng Dong
4073d91ba65SAisheng Dong		lsio_gpio1: gpio@5d090000 {
4083d91ba65SAisheng Dong			compatible = "fsl,imx8qxp-gpio", "fsl,imx35-gpio";
4093d91ba65SAisheng Dong			reg = <0x5d090000 0x10000>;
4103d91ba65SAisheng Dong			interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>;
4113d91ba65SAisheng Dong			gpio-controller;
4123d91ba65SAisheng Dong			#gpio-cells = <2>;
4133d91ba65SAisheng Dong			interrupt-controller;
4143d91ba65SAisheng Dong			#interrupt-cells = <2>;
4153d91ba65SAisheng Dong			power-domains = <&pd IMX_SC_R_GPIO_1>;
4163d91ba65SAisheng Dong		};
4173d91ba65SAisheng Dong
4183d91ba65SAisheng Dong		lsio_gpio2: gpio@5d0a0000 {
4193d91ba65SAisheng Dong			compatible = "fsl,imx8qxp-gpio", "fsl,imx35-gpio";
4203d91ba65SAisheng Dong			reg = <0x5d0a0000 0x10000>;
4213d91ba65SAisheng Dong			interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
4223d91ba65SAisheng Dong			gpio-controller;
4233d91ba65SAisheng Dong			#gpio-cells = <2>;
4243d91ba65SAisheng Dong			interrupt-controller;
4253d91ba65SAisheng Dong			#interrupt-cells = <2>;
4263d91ba65SAisheng Dong			power-domains = <&pd IMX_SC_R_GPIO_2>;
4273d91ba65SAisheng Dong		};
4283d91ba65SAisheng Dong
4293d91ba65SAisheng Dong		lsio_gpio3: gpio@5d0b0000 {
4303d91ba65SAisheng Dong			compatible = "fsl,imx8qxp-gpio", "fsl,imx35-gpio";
4313d91ba65SAisheng Dong			reg = <0x5d0b0000 0x10000>;
4323d91ba65SAisheng Dong			interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>;
4333d91ba65SAisheng Dong			gpio-controller;
4343d91ba65SAisheng Dong			#gpio-cells = <2>;
4353d91ba65SAisheng Dong			interrupt-controller;
4363d91ba65SAisheng Dong			#interrupt-cells = <2>;
4373d91ba65SAisheng Dong			power-domains = <&pd IMX_SC_R_GPIO_3>;
4383d91ba65SAisheng Dong		};
4393d91ba65SAisheng Dong
4403d91ba65SAisheng Dong		lsio_gpio4: gpio@5d0c0000 {
4413d91ba65SAisheng Dong			compatible = "fsl,imx8qxp-gpio", "fsl,imx35-gpio";
4423d91ba65SAisheng Dong			reg = <0x5d0c0000 0x10000>;
4433d91ba65SAisheng Dong			interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
4443d91ba65SAisheng Dong			gpio-controller;
4453d91ba65SAisheng Dong			#gpio-cells = <2>;
4463d91ba65SAisheng Dong			interrupt-controller;
4473d91ba65SAisheng Dong			#interrupt-cells = <2>;
4483d91ba65SAisheng Dong			power-domains = <&pd IMX_SC_R_GPIO_4>;
4493d91ba65SAisheng Dong		};
4503d91ba65SAisheng Dong
4513d91ba65SAisheng Dong		lsio_gpio5: gpio@5d0d0000 {
4523d91ba65SAisheng Dong			compatible = "fsl,imx8qxp-gpio", "fsl,imx35-gpio";
4533d91ba65SAisheng Dong			reg = <0x5d0d0000 0x10000>;
4543d91ba65SAisheng Dong			interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>;
4553d91ba65SAisheng Dong			gpio-controller;
4563d91ba65SAisheng Dong			#gpio-cells = <2>;
4573d91ba65SAisheng Dong			interrupt-controller;
4583d91ba65SAisheng Dong			#interrupt-cells = <2>;
4593d91ba65SAisheng Dong			power-domains = <&pd IMX_SC_R_GPIO_5>;
4603d91ba65SAisheng Dong		};
4613d91ba65SAisheng Dong
4623d91ba65SAisheng Dong		lsio_gpio6: gpio@5d0e0000 {
4633d91ba65SAisheng Dong			compatible = "fsl,imx8qxp-gpio", "fsl,imx35-gpio";
4643d91ba65SAisheng Dong			reg = <0x5d0e0000 0x10000>;
4653d91ba65SAisheng Dong			interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>;
4663d91ba65SAisheng Dong			gpio-controller;
4673d91ba65SAisheng Dong			#gpio-cells = <2>;
4683d91ba65SAisheng Dong			interrupt-controller;
4693d91ba65SAisheng Dong			#interrupt-cells = <2>;
4703d91ba65SAisheng Dong			power-domains = <&pd IMX_SC_R_GPIO_6>;
4713d91ba65SAisheng Dong		};
4723d91ba65SAisheng Dong
4733d91ba65SAisheng Dong		lsio_gpio7: gpio@5d0f0000 {
4743d91ba65SAisheng Dong			compatible = "fsl,imx8qxp-gpio", "fsl,imx35-gpio";
4753d91ba65SAisheng Dong			reg = <0x5d0f0000 0x10000>;
4763d91ba65SAisheng Dong			interrupts = <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
4773d91ba65SAisheng Dong			gpio-controller;
4783d91ba65SAisheng Dong			#gpio-cells = <2>;
4793d91ba65SAisheng Dong			interrupt-controller;
4803d91ba65SAisheng Dong			#interrupt-cells = <2>;
4813d91ba65SAisheng Dong			power-domains = <&pd IMX_SC_R_GPIO_7>;
4823d91ba65SAisheng Dong		};
4833d91ba65SAisheng Dong	};
4843d91ba65SAisheng Dong};
485