xref: /openbmc/linux/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts (revision c900529f3d9161bfde5cca0754f83b4d3c3e0220)
18dd495d1SShenwei Wang// SPDX-License-Identifier: GPL-2.0+
28dd495d1SShenwei Wang/*
38dd495d1SShenwei Wang * Copyright 2019~2020, 2022 NXP
48dd495d1SShenwei Wang */
58dd495d1SShenwei Wang
68dd495d1SShenwei Wang/dts-v1/;
78dd495d1SShenwei Wang
88dd495d1SShenwei Wang#include "imx8dxl.dtsi"
98dd495d1SShenwei Wang
108dd495d1SShenwei Wang/ {
118dd495d1SShenwei Wang	model = "Freescale i.MX8DXL EVK";
128dd495d1SShenwei Wang	compatible = "fsl,imx8dxl-evk", "fsl,imx8dxl";
138dd495d1SShenwei Wang
148dd495d1SShenwei Wang	aliases {
158dd495d1SShenwei Wang		i2c2 = &i2c2;
168dd495d1SShenwei Wang		mmc0 = &usdhc1;
178dd495d1SShenwei Wang		mmc1 = &usdhc2;
188dd495d1SShenwei Wang		serial0 = &lpuart0;
198dd495d1SShenwei Wang	};
208dd495d1SShenwei Wang
218dd495d1SShenwei Wang	chosen {
228dd495d1SShenwei Wang		stdout-path = &lpuart0;
238dd495d1SShenwei Wang	};
248dd495d1SShenwei Wang
258dd495d1SShenwei Wang	memory@80000000 {
268dd495d1SShenwei Wang		device_type = "memory";
278dd495d1SShenwei Wang		reg = <0x00000000 0x80000000 0 0x40000000>;
288dd495d1SShenwei Wang	};
298dd495d1SShenwei Wang
308dd495d1SShenwei Wang	reserved-memory {
318dd495d1SShenwei Wang		#address-cells = <2>;
328dd495d1SShenwei Wang		#size-cells = <2>;
338dd495d1SShenwei Wang		ranges;
348dd495d1SShenwei Wang
358dd495d1SShenwei Wang		/*
368dd495d1SShenwei Wang		 * Memory reserved for optee usage. Please do not use.
378dd495d1SShenwei Wang		 * This will be automatically added to dtb if OP-TEE is installed.
388dd495d1SShenwei Wang		 * optee@96000000 {
398dd495d1SShenwei Wang		 *     reg = <0 0x96000000 0 0x2000000>;
408dd495d1SShenwei Wang		 *     no-map;
418dd495d1SShenwei Wang		 * };
428dd495d1SShenwei Wang		 */
438dd495d1SShenwei Wang
448dd495d1SShenwei Wang		/* global autoconfigured region for contiguous allocations */
458dd495d1SShenwei Wang		linux,cma {
468dd495d1SShenwei Wang			compatible = "shared-dma-pool";
478dd495d1SShenwei Wang			reusable;
488dd495d1SShenwei Wang			size = <0 0x14000000>;
498dd495d1SShenwei Wang			alloc-ranges = <0 0x98000000 0 0x14000000>;
508dd495d1SShenwei Wang			linux,cma-default;
518dd495d1SShenwei Wang		};
528dd495d1SShenwei Wang	};
538dd495d1SShenwei Wang
548dd495d1SShenwei Wang	mux3_en: regulator-0 {
558dd495d1SShenwei Wang		compatible = "regulator-fixed";
568dd495d1SShenwei Wang		regulator-min-microvolt = <3300000>;
578dd495d1SShenwei Wang		regulator-max-microvolt = <3300000>;
588dd495d1SShenwei Wang		regulator-name = "mux3_en";
598dd495d1SShenwei Wang		gpio = <&pca6416_2 8 GPIO_ACTIVE_LOW>;
608dd495d1SShenwei Wang		regulator-always-on;
618dd495d1SShenwei Wang	};
628dd495d1SShenwei Wang
638dd495d1SShenwei Wang	reg_fec1_sel: regulator-1 {
648dd495d1SShenwei Wang		compatible = "regulator-fixed";
658dd495d1SShenwei Wang		regulator-name = "fec1_supply";
668dd495d1SShenwei Wang		regulator-min-microvolt = <3300000>;
678dd495d1SShenwei Wang		regulator-max-microvolt = <3300000>;
688dd495d1SShenwei Wang		gpio = <&pca6416_1 11 GPIO_ACTIVE_LOW>;
698dd495d1SShenwei Wang		regulator-always-on;
708dd495d1SShenwei Wang		status = "disabled";
718dd495d1SShenwei Wang	};
728dd495d1SShenwei Wang
738dd495d1SShenwei Wang	reg_fec1_io: regulator-2 {
748dd495d1SShenwei Wang		compatible = "regulator-fixed";
758dd495d1SShenwei Wang		regulator-name = "fec1_io_supply";
768dd495d1SShenwei Wang		regulator-min-microvolt = <1800000>;
778dd495d1SShenwei Wang		regulator-max-microvolt = <1800000>;
788dd495d1SShenwei Wang		gpio = <&max7322 0 GPIO_ACTIVE_HIGH>;
798dd495d1SShenwei Wang		enable-active-high;
808dd495d1SShenwei Wang		regulator-always-on;
818dd495d1SShenwei Wang		status = "disabled";
828dd495d1SShenwei Wang	};
838dd495d1SShenwei Wang
848dd495d1SShenwei Wang	reg_usdhc2_vmmc: regulator-3 {
858dd495d1SShenwei Wang		compatible = "regulator-fixed";
868dd495d1SShenwei Wang		regulator-name = "SD1_SPWR";
878dd495d1SShenwei Wang		regulator-min-microvolt = <3000000>;
888dd495d1SShenwei Wang		regulator-max-microvolt = <3000000>;
898dd495d1SShenwei Wang		gpio = <&lsio_gpio4 30 GPIO_ACTIVE_HIGH>;
908dd495d1SShenwei Wang		enable-active-high;
918dd495d1SShenwei Wang		off-on-delay-us = <3480>;
928dd495d1SShenwei Wang	};
934cce8320SShenwei Wang
947772c29dSFrank Li	reg_vref_1v8: regulator-adc-vref {
957772c29dSFrank Li		compatible = "regulator-fixed";
967772c29dSFrank Li		regulator-name = "vref_1v8";
977772c29dSFrank Li		regulator-min-microvolt = <1800000>;
987772c29dSFrank Li		regulator-max-microvolt = <1800000>;
997772c29dSFrank Li	};
1007772c29dSFrank Li
1014cce8320SShenwei Wang	mii_select: regulator-4 {
1024cce8320SShenwei Wang		compatible = "regulator-fixed";
1034cce8320SShenwei Wang		regulator-name = "mii-select";
1044cce8320SShenwei Wang		regulator-min-microvolt = <3300000>;
1054cce8320SShenwei Wang		regulator-max-microvolt = <3300000>;
1064cce8320SShenwei Wang		gpio = <&scu_gpio 6 GPIO_ACTIVE_HIGH>;
1074cce8320SShenwei Wang		enable-active-high;
1084cce8320SShenwei Wang		regulator-always-on;
1094cce8320SShenwei Wang	};
1108dd495d1SShenwei Wang};
1118dd495d1SShenwei Wang
1127772c29dSFrank Li&adc0 {
1137772c29dSFrank Li	vref-supply = <&reg_vref_1v8>;
1147772c29dSFrank Li	status = "okay";
1157772c29dSFrank Li};
1167772c29dSFrank Li
1178dd495d1SShenwei Wang&eqos {
1188dd495d1SShenwei Wang	pinctrl-names = "default";
1198dd495d1SShenwei Wang	pinctrl-0 = <&pinctrl_eqos>;
1208dd495d1SShenwei Wang	phy-mode = "rgmii-id";
1218dd495d1SShenwei Wang	phy-handle = <&ethphy0>;
1228dd495d1SShenwei Wang	nvmem-cells = <&fec_mac1>;
1238dd495d1SShenwei Wang	nvmem-cell-names = "mac-address";
1248dd495d1SShenwei Wang	status = "okay";
1258dd495d1SShenwei Wang
1268dd495d1SShenwei Wang	mdio {
1278dd495d1SShenwei Wang		compatible = "snps,dwmac-mdio";
1288dd495d1SShenwei Wang		#address-cells = <1>;
1298dd495d1SShenwei Wang		#size-cells = <0>;
1308dd495d1SShenwei Wang
1318dd495d1SShenwei Wang		ethphy0: ethernet-phy@0 {
1328dd495d1SShenwei Wang			compatible = "ethernet-phy-ieee802.3-c22";
1338dd495d1SShenwei Wang			reg = <0>;
1348dd495d1SShenwei Wang			eee-broken-1000t;
1358dd495d1SShenwei Wang			qca,disable-smarteee;
1360deefb5bSWei Fang			qca,disable-hibernation-mode;
137feafeb53SAndrew Halaney			reset-gpios = <&pca6416_1 2 GPIO_ACTIVE_LOW>;
138feafeb53SAndrew Halaney			reset-assert-us = <20>;
139feafeb53SAndrew Halaney			reset-deassert-us = <200000>;
1408dd495d1SShenwei Wang			vddio-supply = <&vddio0>;
1418dd495d1SShenwei Wang
1428dd495d1SShenwei Wang			vddio0: vddio-regulator {
1438dd495d1SShenwei Wang				regulator-min-microvolt = <1800000>;
1448dd495d1SShenwei Wang				regulator-max-microvolt = <1800000>;
1458dd495d1SShenwei Wang			};
1468dd495d1SShenwei Wang		};
1478dd495d1SShenwei Wang	};
1488dd495d1SShenwei Wang};
1498dd495d1SShenwei Wang
1508dd495d1SShenwei Wang/*
1518dd495d1SShenwei Wang * fec1 shares the some PINs with usdhc2.
1528dd495d1SShenwei Wang * by default usdhc2 is enabled in this dts.
1538dd495d1SShenwei Wang * Please disable usdhc2 to enable fec1
1548dd495d1SShenwei Wang */
1558dd495d1SShenwei Wang&fec1 {
1568dd495d1SShenwei Wang	pinctrl-names = "default";
1578dd495d1SShenwei Wang	pinctrl-0 = <&pinctrl_fec1>;
1588dd495d1SShenwei Wang	phy-mode = "rgmii-txid";
1598dd495d1SShenwei Wang	phy-handle = <&ethphy1>;
1608dd495d1SShenwei Wang	fsl,magic-packet;
1618dd495d1SShenwei Wang	rx-internal-delay-ps = <2000>;
1628dd495d1SShenwei Wang	nvmem-cells = <&fec_mac0>;
1638dd495d1SShenwei Wang	nvmem-cell-names = "mac-address";
1648dd495d1SShenwei Wang	status = "disabled";
1658dd495d1SShenwei Wang
1668dd495d1SShenwei Wang	mdio {
1678dd495d1SShenwei Wang		#address-cells = <1>;
1688dd495d1SShenwei Wang		#size-cells = <0>;
1698dd495d1SShenwei Wang
1708dd495d1SShenwei Wang		ethphy1: ethernet-phy@1 {
1718dd495d1SShenwei Wang			compatible = "ethernet-phy-ieee802.3-c22";
1728dd495d1SShenwei Wang			reg = <1>;
1738dd495d1SShenwei Wang			reset-gpios = <&pca6416_1 0 GPIO_ACTIVE_LOW>;
1748dd495d1SShenwei Wang			reset-assert-us = <10000>;
1758dd495d1SShenwei Wang			qca,disable-smarteee;
1768dd495d1SShenwei Wang			vddio-supply = <&vddio1>;
1778dd495d1SShenwei Wang
1788dd495d1SShenwei Wang			vddio1: vddio-regulator {
1798dd495d1SShenwei Wang				regulator-min-microvolt = <1800000>;
1808dd495d1SShenwei Wang				regulator-max-microvolt = <1800000>;
1818dd495d1SShenwei Wang			};
1828dd495d1SShenwei Wang		};
1838dd495d1SShenwei Wang	};
1848dd495d1SShenwei Wang};
1858dd495d1SShenwei Wang
18686d1625dSFrank Li&flexspi0 {
18786d1625dSFrank Li	pinctrl-names = "default";
18886d1625dSFrank Li	pinctrl-0 = <&pinctrl_flexspi0>;
18986d1625dSFrank Li	nxp,fspi-dll-slvdly = <4>;
19086d1625dSFrank Li	status = "okay";
19186d1625dSFrank Li
19286d1625dSFrank Li	mt35xu512aba0: flash@0 {
19386d1625dSFrank Li		reg = <0>;
19486d1625dSFrank Li		#address-cells = <1>;
19586d1625dSFrank Li		#size-cells = <1>;
19686d1625dSFrank Li		compatible = "jedec,spi-nor";
19786d1625dSFrank Li		spi-max-frequency = <133000000>;
19886d1625dSFrank Li		spi-tx-bus-width = <8>;
19986d1625dSFrank Li		spi-rx-bus-width = <8>;
20086d1625dSFrank Li	};
20186d1625dSFrank Li};
20286d1625dSFrank Li
2038dd495d1SShenwei Wang&i2c2 {
2048dd495d1SShenwei Wang	#address-cells = <1>;
2058dd495d1SShenwei Wang	#size-cells = <0>;
2068dd495d1SShenwei Wang	clock-frequency = <100000>;
2078dd495d1SShenwei Wang	pinctrl-names = "default";
2088dd495d1SShenwei Wang	pinctrl-0 = <&pinctrl_i2c2>;
2098dd495d1SShenwei Wang	status = "okay";
2108dd495d1SShenwei Wang
2118dd495d1SShenwei Wang	pca6416_1: gpio@20 {
2128dd495d1SShenwei Wang		compatible = "ti,tca6416";
2138dd495d1SShenwei Wang		reg = <0x20>;
2148dd495d1SShenwei Wang		gpio-controller;
2158dd495d1SShenwei Wang		#gpio-cells = <2>;
2168dd495d1SShenwei Wang	};
2178dd495d1SShenwei Wang
2188dd495d1SShenwei Wang	pca6416_2: gpio@21 {
2198dd495d1SShenwei Wang		compatible = "ti,tca6416";
2208dd495d1SShenwei Wang		reg = <0x21>;
2218dd495d1SShenwei Wang		gpio-controller;
2228dd495d1SShenwei Wang		#gpio-cells = <2>;
2238dd495d1SShenwei Wang	};
2248dd495d1SShenwei Wang
2258dd495d1SShenwei Wang	pca9548_1: i2c-mux@70 {
2268dd495d1SShenwei Wang		compatible = "nxp,pca9548";
2278dd495d1SShenwei Wang		#address-cells = <1>;
2288dd495d1SShenwei Wang		#size-cells = <0>;
2298dd495d1SShenwei Wang		reg = <0x70>;
2308dd495d1SShenwei Wang
2318dd495d1SShenwei Wang		i2c@0 {
2328dd495d1SShenwei Wang			#address-cells = <1>;
2338dd495d1SShenwei Wang			#size-cells = <0>;
2348dd495d1SShenwei Wang			reg = <0x0>;
2358dd495d1SShenwei Wang
2368dd495d1SShenwei Wang			max7322: gpio@68 {
2378dd495d1SShenwei Wang				compatible = "maxim,max7322";
2388dd495d1SShenwei Wang				reg = <0x68>;
2398dd495d1SShenwei Wang				gpio-controller;
2408dd495d1SShenwei Wang				#gpio-cells = <2>;
2418dd495d1SShenwei Wang				status = "disabled";
2428dd495d1SShenwei Wang			};
2438dd495d1SShenwei Wang		};
2448dd495d1SShenwei Wang
2458dd495d1SShenwei Wang		i2c@4 {
2468dd495d1SShenwei Wang			#address-cells = <1>;
2478dd495d1SShenwei Wang			#size-cells = <0>;
2488dd495d1SShenwei Wang			reg = <0x4>;
2498dd495d1SShenwei Wang		};
2508dd495d1SShenwei Wang
2518dd495d1SShenwei Wang		i2c@5 {
2528dd495d1SShenwei Wang			#address-cells = <1>;
2538dd495d1SShenwei Wang			#size-cells = <0>;
2548dd495d1SShenwei Wang			reg = <0x5>;
2558dd495d1SShenwei Wang		};
2568dd495d1SShenwei Wang
2578dd495d1SShenwei Wang		i2c@6 {
2588dd495d1SShenwei Wang			#address-cells = <1>;
2598dd495d1SShenwei Wang			#size-cells = <0>;
2608dd495d1SShenwei Wang			reg = <0x6>;
2618dd495d1SShenwei Wang		};
2628dd495d1SShenwei Wang	};
2638dd495d1SShenwei Wang};
2648dd495d1SShenwei Wang
2658dd495d1SShenwei Wang&lpuart0 {
2668dd495d1SShenwei Wang	pinctrl-names = "default";
2678dd495d1SShenwei Wang	pinctrl-0 = <&pinctrl_lpuart0>;
2688dd495d1SShenwei Wang	status = "okay";
2698dd495d1SShenwei Wang};
2708dd495d1SShenwei Wang
2718dd495d1SShenwei Wang&lsio_gpio4 {
2728dd495d1SShenwei Wang	status = "okay";
2738dd495d1SShenwei Wang};
2748dd495d1SShenwei Wang
2758dd495d1SShenwei Wang&lsio_gpio5 {
2768dd495d1SShenwei Wang	status = "okay";
2778dd495d1SShenwei Wang};
2788dd495d1SShenwei Wang
2798dd495d1SShenwei Wang&thermal_zones {
280*ba179ae1SKrzysztof Kozlowski	pmic-thermal {
2818dd495d1SShenwei Wang		polling-delay-passive = <250>;
2828dd495d1SShenwei Wang		polling-delay = <2000>;
2838dd495d1SShenwei Wang		thermal-sensors = <&tsens IMX_SC_R_PMIC_0>;
2848dd495d1SShenwei Wang
2858dd495d1SShenwei Wang		trips {
2868dd495d1SShenwei Wang			pmic_alert0: trip0 {
2878dd495d1SShenwei Wang				temperature = <110000>;
2888dd495d1SShenwei Wang				hysteresis = <2000>;
2898dd495d1SShenwei Wang				type = "passive";
2908dd495d1SShenwei Wang			};
2918dd495d1SShenwei Wang
2928dd495d1SShenwei Wang			pmic_crit0: trip1 {
2938dd495d1SShenwei Wang				temperature = <125000>;
2948dd495d1SShenwei Wang				hysteresis = <2000>;
2958dd495d1SShenwei Wang				type = "critical";
2968dd495d1SShenwei Wang			};
2978dd495d1SShenwei Wang		};
2988dd495d1SShenwei Wang
2998dd495d1SShenwei Wang		cooling-maps {
3008dd495d1SShenwei Wang			map0 {
3018dd495d1SShenwei Wang				trip = <&pmic_alert0>;
3028dd495d1SShenwei Wang				cooling-device =
3038dd495d1SShenwei Wang					<&A35_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
3048dd495d1SShenwei Wang					<&A35_1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
3058dd495d1SShenwei Wang			};
3068dd495d1SShenwei Wang		};
3078dd495d1SShenwei Wang	};
3088dd495d1SShenwei Wang};
3098dd495d1SShenwei Wang
3108065fc93SFrank Li&usbphy1 {
3118065fc93SFrank Li	/* USB eye diagram tests result */
3128065fc93SFrank Li	fsl,tx-d-cal = <114>;
3138065fc93SFrank Li	status = "okay";
3148065fc93SFrank Li};
3158065fc93SFrank Li
3168065fc93SFrank Li&usbotg1 {
3178065fc93SFrank Li	pinctrl-names = "default";
3188065fc93SFrank Li	pinctrl-0 = <&pinctrl_usbotg1>;
3198065fc93SFrank Li	srp-disable;
3208065fc93SFrank Li	hnp-disable;
3218065fc93SFrank Li	adp-disable;
3228065fc93SFrank Li	power-active-high;
3238065fc93SFrank Li	disable-over-current;
3248065fc93SFrank Li	status = "okay";
3258065fc93SFrank Li};
3268065fc93SFrank Li
3278065fc93SFrank Li&usbphy2 {
3288065fc93SFrank Li	/* USB eye diagram tests result */
3298065fc93SFrank Li	fsl,tx-d-cal = <111>;
3308065fc93SFrank Li	status = "okay";
3318065fc93SFrank Li};
3328065fc93SFrank Li
3338065fc93SFrank Li&usbotg2 {
3348065fc93SFrank Li	pinctrl-names = "default";
3358065fc93SFrank Li	pinctrl-0 = <&pinctrl_usbotg2>;
3368065fc93SFrank Li	srp-disable;
3378065fc93SFrank Li	hnp-disable;
3388065fc93SFrank Li	adp-disable;
3398065fc93SFrank Li	power-active-high;
3408065fc93SFrank Li	disable-over-current;
3418065fc93SFrank Li	status = "okay";
3428065fc93SFrank Li};
3438065fc93SFrank Li
3448dd495d1SShenwei Wang&usdhc1 {
3458dd495d1SShenwei Wang	pinctrl-names = "default";
3468dd495d1SShenwei Wang	pinctrl-0 = <&pinctrl_usdhc1>;
3478dd495d1SShenwei Wang	bus-width = <8>;
3488dd495d1SShenwei Wang	no-sd;
3498dd495d1SShenwei Wang	no-sdio;
3508dd495d1SShenwei Wang	non-removable;
3518dd495d1SShenwei Wang	status = "okay";
3528dd495d1SShenwei Wang};
3538dd495d1SShenwei Wang
3548dd495d1SShenwei Wang&usdhc2 {
3558dd495d1SShenwei Wang	pinctrl-names = "default";
3568dd495d1SShenwei Wang	pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>;
3578dd495d1SShenwei Wang	bus-width = <4>;
3588dd495d1SShenwei Wang	vmmc-supply = <&reg_usdhc2_vmmc>;
3598dd495d1SShenwei Wang	cd-gpios = <&lsio_gpio5 1 GPIO_ACTIVE_LOW>;
3608dd495d1SShenwei Wang	wp-gpios = <&lsio_gpio5 0 GPIO_ACTIVE_HIGH>;
3618dd495d1SShenwei Wang	status = "okay";
3628dd495d1SShenwei Wang};
3638dd495d1SShenwei Wang
36465fa83a6SFrank Li&lpspi3 {
36565fa83a6SFrank Li	fsl,spi-only-use-cs1-sel;
36665fa83a6SFrank Li	pinctrl-names = "default";
36765fa83a6SFrank Li	pinctrl-0 = <&pinctrl_lpspi3>;
36865fa83a6SFrank Li	pinctrl-assert-gpios = <&pca6416_1 7 GPIO_ACTIVE_HIGH>;
36965fa83a6SFrank Li	status = "okay";
37065fa83a6SFrank Li
37165fa83a6SFrank Li	spidev0: spi@0 {
37265fa83a6SFrank Li		reg = <0>;
37365fa83a6SFrank Li		compatible = "rohm,dh2228fv";
37465fa83a6SFrank Li		spi-max-frequency = <30000000>;
37565fa83a6SFrank Li	};
37665fa83a6SFrank Li};
37765fa83a6SFrank Li
3788dd495d1SShenwei Wang&iomuxc {
3798dd495d1SShenwei Wang	pinctrl-names = "default";
3808dd495d1SShenwei Wang	pinctrl-0 = <&pinctrl_hog>;
3818dd495d1SShenwei Wang
3828dd495d1SShenwei Wang	pinctrl_hog: hoggrp {
3838dd495d1SShenwei Wang		fsl,pins = <
3848dd495d1SShenwei Wang			IMX8DXL_COMP_CTL_GPIO_1V8_3V3_GPIORHB_PAD	0x000514a0
3858dd495d1SShenwei Wang			IMX8DXL_COMP_CTL_GPIO_1V8_3V3_GPIORHK_PAD	0x000014a0
3868dd495d1SShenwei Wang			IMX8DXL_SPI3_CS0_ADMA_ACM_MCLK_OUT1		0x0600004c
3878dd495d1SShenwei Wang			IMX8DXL_SNVS_TAMPER_OUT1_LSIO_GPIO2_IO05_IN	0x0600004c
3888dd495d1SShenwei Wang		>;
3898dd495d1SShenwei Wang	};
3908dd495d1SShenwei Wang
3918dd495d1SShenwei Wang	pinctrl_usbotg1: usbotg1grp {
3928dd495d1SShenwei Wang		fsl,pins = <
3938dd495d1SShenwei Wang			IMX8DXL_USB_SS3_TC0_CONN_USB_OTG1_PWR		0x00000021
3948dd495d1SShenwei Wang		>;
3958dd495d1SShenwei Wang	};
3968dd495d1SShenwei Wang
3978dd495d1SShenwei Wang	pinctrl_usbotg2: usbotg2grp {
3988dd495d1SShenwei Wang		fsl,pins = <
3998dd495d1SShenwei Wang			IMX8DXL_USB_SS3_TC1_CONN_USB_OTG2_PWR		0x00000021
4008dd495d1SShenwei Wang		>;
4018dd495d1SShenwei Wang	};
4028dd495d1SShenwei Wang
4038dd495d1SShenwei Wang	pinctrl_eqos: eqosgrp {
4048dd495d1SShenwei Wang		fsl,pins = <
4058dd495d1SShenwei Wang			IMX8DXL_ENET0_MDC_CONN_EQOS_MDC				0x06000020
4068dd495d1SShenwei Wang			IMX8DXL_ENET0_MDIO_CONN_EQOS_MDIO			0x06000020
4078dd495d1SShenwei Wang			IMX8DXL_ENET1_RGMII_RXC_CONN_EQOS_RGMII_RXC		0x06000020
4088dd495d1SShenwei Wang			IMX8DXL_ENET1_RGMII_RXD0_CONN_EQOS_RGMII_RXD0		0x06000020
4098dd495d1SShenwei Wang			IMX8DXL_ENET1_RGMII_RXD1_CONN_EQOS_RGMII_RXD1		0x06000020
4108dd495d1SShenwei Wang			IMX8DXL_ENET1_RGMII_RXD2_CONN_EQOS_RGMII_RXD2		0x06000020
4118dd495d1SShenwei Wang			IMX8DXL_ENET1_RGMII_RXD3_CONN_EQOS_RGMII_RXD3		0x06000020
4128dd495d1SShenwei Wang			IMX8DXL_ENET1_RGMII_RX_CTL_CONN_EQOS_RGMII_RX_CTL	0x06000020
4138dd495d1SShenwei Wang			IMX8DXL_ENET1_RGMII_TXC_CONN_EQOS_RGMII_TXC		0x06000020
4148dd495d1SShenwei Wang			IMX8DXL_ENET1_RGMII_TXD0_CONN_EQOS_RGMII_TXD0		0x06000020
4158dd495d1SShenwei Wang			IMX8DXL_ENET1_RGMII_TXD1_CONN_EQOS_RGMII_TXD1		0x06000020
4168dd495d1SShenwei Wang			IMX8DXL_ENET1_RGMII_TXD2_CONN_EQOS_RGMII_TXD2		0x06000020
4178dd495d1SShenwei Wang			IMX8DXL_ENET1_RGMII_TXD3_CONN_EQOS_RGMII_TXD3		0x06000020
4188dd495d1SShenwei Wang			IMX8DXL_ENET1_RGMII_TX_CTL_CONN_EQOS_RGMII_TX_CTL	0x06000020
4198dd495d1SShenwei Wang		>;
4208dd495d1SShenwei Wang	};
4218dd495d1SShenwei Wang
42286d1625dSFrank Li	pinctrl_flexspi0: flexspi0grp {
42386d1625dSFrank Li		fsl,pins = <
42486d1625dSFrank Li			IMX8DXL_QSPI0A_DATA0_LSIO_QSPI0A_DATA0     0x06000021
42586d1625dSFrank Li			IMX8DXL_QSPI0A_DATA1_LSIO_QSPI0A_DATA1     0x06000021
42686d1625dSFrank Li			IMX8DXL_QSPI0A_DATA2_LSIO_QSPI0A_DATA2     0x06000021
42786d1625dSFrank Li			IMX8DXL_QSPI0A_DATA3_LSIO_QSPI0A_DATA3     0x06000021
42886d1625dSFrank Li			IMX8DXL_QSPI0A_DQS_LSIO_QSPI0A_DQS         0x06000021
42986d1625dSFrank Li			IMX8DXL_QSPI0A_SS0_B_LSIO_QSPI0A_SS0_B     0x06000021
43086d1625dSFrank Li			IMX8DXL_QSPI0A_SCLK_LSIO_QSPI0A_SCLK       0x06000021
43186d1625dSFrank Li			IMX8DXL_QSPI0B_SCLK_LSIO_QSPI0B_SCLK       0x06000021
43286d1625dSFrank Li			IMX8DXL_QSPI0B_DATA0_LSIO_QSPI0B_DATA0     0x06000021
43386d1625dSFrank Li			IMX8DXL_QSPI0B_DATA1_LSIO_QSPI0B_DATA1     0x06000021
43486d1625dSFrank Li			IMX8DXL_QSPI0B_DATA2_LSIO_QSPI0B_DATA2     0x06000021
43586d1625dSFrank Li			IMX8DXL_QSPI0B_DATA3_LSIO_QSPI0B_DATA3     0x06000021
43686d1625dSFrank Li			IMX8DXL_QSPI0B_DQS_LSIO_QSPI0B_DQS         0x06000021
43786d1625dSFrank Li			IMX8DXL_QSPI0B_SS0_B_LSIO_QSPI0B_SS0_B     0x06000021
43886d1625dSFrank Li		>;
43986d1625dSFrank Li	};
44086d1625dSFrank Li
4418dd495d1SShenwei Wang	pinctrl_fec1: fec1grp {
4428dd495d1SShenwei Wang		fsl,pins = <
4438dd495d1SShenwei Wang			IMX8DXL_COMP_CTL_GPIO_1V8_3V3_ENET_ENETB0_PAD		0x000014a0
4448dd495d1SShenwei Wang			IMX8DXL_COMP_CTL_GPIO_1V8_3V3_ENET_ENETB1_PAD		0x000014a0
4458dd495d1SShenwei Wang			IMX8DXL_ENET0_MDC_CONN_ENET0_MDC			0x06000020
4468dd495d1SShenwei Wang			IMX8DXL_ENET0_MDIO_CONN_ENET0_MDIO			0x06000020
4478dd495d1SShenwei Wang			IMX8DXL_ENET0_RGMII_RXC_CONN_ENET0_RGMII_RXC		0x00000060
4488dd495d1SShenwei Wang			IMX8DXL_ENET0_RGMII_RXD0_CONN_ENET0_RGMII_RXD0		0x00000060
4498dd495d1SShenwei Wang			IMX8DXL_ENET0_RGMII_RXD1_CONN_ENET0_RGMII_RXD1		0x00000060
4508dd495d1SShenwei Wang			IMX8DXL_ENET0_RGMII_RXD2_CONN_ENET0_RGMII_RXD2		0x00000060
4518dd495d1SShenwei Wang			IMX8DXL_ENET0_RGMII_RXD3_CONN_ENET0_RGMII_RXD3		0x00000060
4528dd495d1SShenwei Wang			IMX8DXL_ENET0_RGMII_RX_CTL_CONN_ENET0_RGMII_RX_CTL	0x00000060
4538dd495d1SShenwei Wang			IMX8DXL_ENET0_RGMII_TXC_CONN_ENET0_RGMII_TXC		0x00000060
4548dd495d1SShenwei Wang			IMX8DXL_ENET0_RGMII_TXD0_CONN_ENET0_RGMII_TXD0		0x00000060
4558dd495d1SShenwei Wang			IMX8DXL_ENET0_RGMII_TXD1_CONN_ENET0_RGMII_TXD1		0x00000060
4568dd495d1SShenwei Wang			IMX8DXL_ENET0_RGMII_TXD2_CONN_ENET0_RGMII_TXD2		0x00000060
4578dd495d1SShenwei Wang			IMX8DXL_ENET0_RGMII_TXD3_CONN_ENET0_RGMII_TXD3		0x00000060
4588dd495d1SShenwei Wang			IMX8DXL_ENET0_RGMII_TX_CTL_CONN_ENET0_RGMII_TX_CTL	0x00000060
4598dd495d1SShenwei Wang		>;
4608dd495d1SShenwei Wang	};
4618dd495d1SShenwei Wang
4628dd495d1SShenwei Wang	pinctrl_lpspi3: lpspi3grp {
4638dd495d1SShenwei Wang		fsl,pins = <
4648dd495d1SShenwei Wang			IMX8DXL_SPI3_SCK_ADMA_SPI3_SCK		0x6000040
4658dd495d1SShenwei Wang			IMX8DXL_SPI3_SDO_ADMA_SPI3_SDO		0x6000040
4668dd495d1SShenwei Wang			IMX8DXL_SPI3_SDI_ADMA_SPI3_SDI		0x6000040
4678dd495d1SShenwei Wang			IMX8DXL_SPI3_CS1_ADMA_SPI3_CS1		0x6000040
4688dd495d1SShenwei Wang		>;
4698dd495d1SShenwei Wang	};
4708dd495d1SShenwei Wang
4718dd495d1SShenwei Wang	pinctrl_i2c2: i2c2grp {
4728dd495d1SShenwei Wang		fsl,pins = <
4738dd495d1SShenwei Wang			IMX8DXL_SPI1_SCK_ADMA_I2C2_SDA		0x06000021
4748dd495d1SShenwei Wang			IMX8DXL_SPI1_SDO_ADMA_I2C2_SCL		0x06000021
4758dd495d1SShenwei Wang		>;
4768dd495d1SShenwei Wang	};
4778dd495d1SShenwei Wang
4788dd495d1SShenwei Wang	pinctrl_cm40_lpuart: cm40lpuartgrp {
4798dd495d1SShenwei Wang		fsl,pins = <
4808dd495d1SShenwei Wang			IMX8DXL_ADC_IN2_M40_UART0_RX		0x06000020
4818dd495d1SShenwei Wang			IMX8DXL_ADC_IN3_M40_UART0_TX		0x06000020
4828dd495d1SShenwei Wang		>;
4838dd495d1SShenwei Wang	};
4848dd495d1SShenwei Wang
4858dd495d1SShenwei Wang	pinctrl_i2c3: i2c3grp {
4868dd495d1SShenwei Wang		fsl,pins = <
4878dd495d1SShenwei Wang			IMX8DXL_SPI1_CS0_ADMA_I2C3_SDA		0x06000021
4888dd495d1SShenwei Wang			IMX8DXL_SPI1_SDI_ADMA_I2C3_SCL		0x06000021
4898dd495d1SShenwei Wang		>;
4908dd495d1SShenwei Wang	};
4918dd495d1SShenwei Wang
4928dd495d1SShenwei Wang	pinctrl_lpuart0: lpuart0grp {
4938dd495d1SShenwei Wang		fsl,pins = <
4948dd495d1SShenwei Wang			IMX8DXL_UART0_RX_ADMA_UART0_RX		0x06000020
4958dd495d1SShenwei Wang			IMX8DXL_UART0_TX_ADMA_UART0_TX		0x06000020
4968dd495d1SShenwei Wang		>;
4978dd495d1SShenwei Wang	};
4988dd495d1SShenwei Wang
4998dd495d1SShenwei Wang	pinctrl_usdhc1: usdhc1grp {
5008dd495d1SShenwei Wang		fsl,pins = <
5018dd495d1SShenwei Wang			IMX8DXL_EMMC0_CLK_CONN_EMMC0_CLK	0x06000041
5028dd495d1SShenwei Wang			IMX8DXL_EMMC0_CMD_CONN_EMMC0_CMD	0x00000021
5038dd495d1SShenwei Wang			IMX8DXL_EMMC0_DATA0_CONN_EMMC0_DATA0	0x00000021
5048dd495d1SShenwei Wang			IMX8DXL_EMMC0_DATA1_CONN_EMMC0_DATA1	0x00000021
5058dd495d1SShenwei Wang			IMX8DXL_EMMC0_DATA2_CONN_EMMC0_DATA2	0x00000021
5068dd495d1SShenwei Wang			IMX8DXL_EMMC0_DATA3_CONN_EMMC0_DATA3	0x00000021
5078dd495d1SShenwei Wang			IMX8DXL_EMMC0_DATA4_CONN_EMMC0_DATA4	0x00000021
5088dd495d1SShenwei Wang			IMX8DXL_EMMC0_DATA5_CONN_EMMC0_DATA5	0x00000021
5098dd495d1SShenwei Wang			IMX8DXL_EMMC0_DATA6_CONN_EMMC0_DATA6	0x00000021
5108dd495d1SShenwei Wang			IMX8DXL_EMMC0_DATA7_CONN_EMMC0_DATA7	0x00000021
5118dd495d1SShenwei Wang			IMX8DXL_EMMC0_STROBE_CONN_EMMC0_STROBE	0x00000041
5128dd495d1SShenwei Wang		>;
5138dd495d1SShenwei Wang	};
5148dd495d1SShenwei Wang
5158dd495d1SShenwei Wang	pinctrl_usdhc2_gpio: usdhc2gpiogrp {
5168dd495d1SShenwei Wang		fsl,pins = <
5178dd495d1SShenwei Wang			IMX8DXL_ENET0_RGMII_TX_CTL_LSIO_GPIO4_IO30	0x00000040 /* RESET_B */
5188dd495d1SShenwei Wang			IMX8DXL_ENET0_RGMII_TXD1_LSIO_GPIO5_IO00	0x00000021 /* WP */
5198dd495d1SShenwei Wang			IMX8DXL_ENET0_RGMII_TXD2_LSIO_GPIO5_IO01	0x00000021 /* CD */
5208dd495d1SShenwei Wang		>;
5218dd495d1SShenwei Wang	};
5228dd495d1SShenwei Wang
5238dd495d1SShenwei Wang	pinctrl_usdhc2: usdhc2grp {
5248dd495d1SShenwei Wang		fsl,pins = <
5258dd495d1SShenwei Wang			IMX8DXL_ENET0_RGMII_RXC_CONN_USDHC1_CLK		0x06000041
5268dd495d1SShenwei Wang			IMX8DXL_ENET0_RGMII_RX_CTL_CONN_USDHC1_CMD	0x00000021
5278dd495d1SShenwei Wang			IMX8DXL_ENET0_RGMII_RXD0_CONN_USDHC1_DATA0	0x00000021
5288dd495d1SShenwei Wang			IMX8DXL_ENET0_RGMII_RXD1_CONN_USDHC1_DATA1	0x00000021
5298dd495d1SShenwei Wang			IMX8DXL_ENET0_RGMII_RXD2_CONN_USDHC1_DATA2	0x00000021
5308dd495d1SShenwei Wang			IMX8DXL_ENET0_RGMII_RXD3_CONN_USDHC1_DATA3	0x00000021
5318dd495d1SShenwei Wang			IMX8DXL_ENET0_RGMII_TXD0_CONN_USDHC1_VSELECT	0x00000021
5328dd495d1SShenwei Wang		>;
5338dd495d1SShenwei Wang	};
5348dd495d1SShenwei Wang};
535