1*e8f7a387SPhilippe Schenker// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
22eba2438SPhilippe Schenker/*
32eba2438SPhilippe Schenker * Copyright 2019 Toradex
42eba2438SPhilippe Schenker */
52eba2438SPhilippe Schenker
62eba2438SPhilippe Schenker/ {
72eba2438SPhilippe Schenker	chosen {
82eba2438SPhilippe Schenker		stdout-path = &lpuart3;
92eba2438SPhilippe Schenker	};
102eba2438SPhilippe Schenker
112eba2438SPhilippe Schenker	reg_module_3v3: regulator-module-3v3 {
122eba2438SPhilippe Schenker		compatible = "regulator-fixed";
132eba2438SPhilippe Schenker		regulator-name = "+V3.3";
142eba2438SPhilippe Schenker		regulator-min-microvolt = <3300000>;
152eba2438SPhilippe Schenker		regulator-max-microvolt = <3300000>;
162eba2438SPhilippe Schenker	};
172eba2438SPhilippe Schenker};
182eba2438SPhilippe Schenker
192eba2438SPhilippe Schenker/* On-module I2C */
202eba2438SPhilippe Schenker&i2c0 {
212eba2438SPhilippe Schenker	#address-cells = <1>;
222eba2438SPhilippe Schenker	#size-cells = <0>;
232eba2438SPhilippe Schenker	clock-frequency = <100000>;
242eba2438SPhilippe Schenker	pinctrl-names = "default";
252eba2438SPhilippe Schenker	pinctrl-0 = <&pinctrl_i2c0>, <&pinctrl_sgtl5000_usb_clk>;
262eba2438SPhilippe Schenker	status = "okay";
272eba2438SPhilippe Schenker
282eba2438SPhilippe Schenker	/* Touch controller */
292eba2438SPhilippe Schenker	touchscreen@2c {
302eba2438SPhilippe Schenker		compatible = "adi,ad7879-1";
312eba2438SPhilippe Schenker		pinctrl-names = "default";
322eba2438SPhilippe Schenker		pinctrl-0 = <&pinctrl_ad7879_int>;
332eba2438SPhilippe Schenker		reg = <0x2c>;
342eba2438SPhilippe Schenker		interrupt-parent = <&lsio_gpio3>;
352eba2438SPhilippe Schenker		interrupts = <5 IRQ_TYPE_EDGE_FALLING>;
362eba2438SPhilippe Schenker		touchscreen-max-pressure = <4096>;
372eba2438SPhilippe Schenker		adi,resistance-plate-x = <120>;
382eba2438SPhilippe Schenker		adi,first-conversion-delay = /bits/ 8 <3>;
392eba2438SPhilippe Schenker		adi,acquisition-time = /bits/ 8 <1>;
402eba2438SPhilippe Schenker		adi,median-filter-size = /bits/ 8 <2>;
412eba2438SPhilippe Schenker		adi,averaging = /bits/ 8 <1>;
422eba2438SPhilippe Schenker		adi,conversion-interval = /bits/ 8 <255>;
432eba2438SPhilippe Schenker	};
442eba2438SPhilippe Schenker};
452eba2438SPhilippe Schenker
462eba2438SPhilippe Schenker/* Colibri I2C */
472eba2438SPhilippe Schenker&i2c1 {
482eba2438SPhilippe Schenker	#address-cells = <1>;
492eba2438SPhilippe Schenker	#size-cells = <0>;
502eba2438SPhilippe Schenker	clock-frequency = <100000>;
512eba2438SPhilippe Schenker	pinctrl-names = "default";
522eba2438SPhilippe Schenker	pinctrl-0 = <&pinctrl_i2c1>;
532eba2438SPhilippe Schenker};
542eba2438SPhilippe Schenker
552eba2438SPhilippe Schenker/* Colibri UART_B */
562eba2438SPhilippe Schenker&lpuart0 {
572eba2438SPhilippe Schenker	pinctrl-names = "default";
582eba2438SPhilippe Schenker	pinctrl-0 = <&pinctrl_lpuart0>;
592eba2438SPhilippe Schenker};
602eba2438SPhilippe Schenker
612eba2438SPhilippe Schenker/* Colibri UART_C */
622eba2438SPhilippe Schenker&lpuart2 {
632eba2438SPhilippe Schenker	pinctrl-names = "default";
642eba2438SPhilippe Schenker	pinctrl-0 = <&pinctrl_lpuart2>;
652eba2438SPhilippe Schenker};
662eba2438SPhilippe Schenker
672eba2438SPhilippe Schenker/* Colibri UART_A */
682eba2438SPhilippe Schenker&lpuart3 {
692eba2438SPhilippe Schenker	pinctrl-names = "default";
702eba2438SPhilippe Schenker	pinctrl-0 = <&pinctrl_lpuart3>, <&pinctrl_lpuart3_ctrl>;
712eba2438SPhilippe Schenker};
722eba2438SPhilippe Schenker
732eba2438SPhilippe Schenker/* Colibri FastEthernet */
742eba2438SPhilippe Schenker&fec1 {
752eba2438SPhilippe Schenker	pinctrl-names = "default", "sleep";
762eba2438SPhilippe Schenker	pinctrl-0 = <&pinctrl_fec1>;
772eba2438SPhilippe Schenker	pinctrl-1 = <&pinctrl_fec1_sleep>;
782eba2438SPhilippe Schenker	phy-mode = "rmii";
792eba2438SPhilippe Schenker	phy-handle = <&ethphy0>;
802eba2438SPhilippe Schenker	fsl,magic-packet;
812eba2438SPhilippe Schenker
822eba2438SPhilippe Schenker	mdio {
832eba2438SPhilippe Schenker		#address-cells = <1>;
842eba2438SPhilippe Schenker		#size-cells = <0>;
852eba2438SPhilippe Schenker
862eba2438SPhilippe Schenker		ethphy0: ethernet-phy@2 {
872eba2438SPhilippe Schenker			compatible = "ethernet-phy-ieee802.3-c22";
882eba2438SPhilippe Schenker			max-speed = <100>;
892eba2438SPhilippe Schenker			reg = <2>;
902eba2438SPhilippe Schenker		};
912eba2438SPhilippe Schenker	};
922eba2438SPhilippe Schenker};
932eba2438SPhilippe Schenker
942eba2438SPhilippe Schenker/* On-module eMMC */
952eba2438SPhilippe Schenker&usdhc1 {
962eba2438SPhilippe Schenker	bus-width = <8>;
972eba2438SPhilippe Schenker	non-removable;
982eba2438SPhilippe Schenker	no-sd;
992eba2438SPhilippe Schenker	no-sdio;
1002eba2438SPhilippe Schenker	pinctrl-names = "default", "state_100mhz", "state_200mhz";
1012eba2438SPhilippe Schenker	pinctrl-0 = <&pinctrl_usdhc1>;
1022eba2438SPhilippe Schenker	pinctrl-1 = <&pinctrl_usdhc1_100mhz>;
1032eba2438SPhilippe Schenker	pinctrl-2 = <&pinctrl_usdhc1_200mhz>;
1042eba2438SPhilippe Schenker	status = "okay";
1052eba2438SPhilippe Schenker};
1062eba2438SPhilippe Schenker
1072eba2438SPhilippe Schenker/* Colibri SD/MMC Card */
1082eba2438SPhilippe Schenker&usdhc2 {
1092eba2438SPhilippe Schenker	bus-width = <4>;
1102eba2438SPhilippe Schenker	cd-gpios = <&lsio_gpio3 9 GPIO_ACTIVE_LOW>;
1112eba2438SPhilippe Schenker	vmmc-supply = <&reg_module_3v3>;
1122eba2438SPhilippe Schenker	pinctrl-names = "default", "state_100mhz", "state_200mhz", "sleep";
1132eba2438SPhilippe Schenker	pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>;
1142eba2438SPhilippe Schenker	pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>;
1152eba2438SPhilippe Schenker	pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>;
1162eba2438SPhilippe Schenker	pinctrl-3 = <&pinctrl_usdhc2_sleep>, <&pinctrl_usdhc2_gpio_sleep>;
1172eba2438SPhilippe Schenker	disable-wp;
1182eba2438SPhilippe Schenker};
1192eba2438SPhilippe Schenker
1202eba2438SPhilippe Schenker&iomuxc {
1212eba2438SPhilippe Schenker	pinctrl-names = "default";
1222eba2438SPhilippe Schenker	pinctrl-0 = <&pinctrl_ext_io0>, <&pinctrl_hog0>, <&pinctrl_hog1>;
1232eba2438SPhilippe Schenker
1242eba2438SPhilippe Schenker	/* On-module touch pen-down interrupt */
1252eba2438SPhilippe Schenker	pinctrl_ad7879_int: ad7879intgrp {
1262eba2438SPhilippe Schenker		fsl,pins = <
1272eba2438SPhilippe Schenker			IMX8QXP_MIPI_CSI0_I2C0_SCL_LSIO_GPIO3_IO05	0x21
1282eba2438SPhilippe Schenker		>;
1292eba2438SPhilippe Schenker	};
1302eba2438SPhilippe Schenker
1312eba2438SPhilippe Schenker	/* Colibri Analogue Inputs */
1322eba2438SPhilippe Schenker	pinctrl_adc0: adc0grp {
1332eba2438SPhilippe Schenker		fsl,pins = <
1342eba2438SPhilippe Schenker			IMX8QXP_ADC_IN0_ADMA_ADC_IN0			0x60		/* SODIMM   8 */
1352eba2438SPhilippe Schenker			IMX8QXP_ADC_IN1_ADMA_ADC_IN1			0x60		/* SODIMM   6 */
1362eba2438SPhilippe Schenker			IMX8QXP_ADC_IN4_ADMA_ADC_IN4			0x60		/* SODIMM   4 */
1372eba2438SPhilippe Schenker			IMX8QXP_ADC_IN5_ADMA_ADC_IN5			0x60		/* SODIMM   2 */
1382eba2438SPhilippe Schenker		>;
1392eba2438SPhilippe Schenker	};
1402eba2438SPhilippe Schenker
1412eba2438SPhilippe Schenker	pinctrl_can_int: canintgrp {
1422eba2438SPhilippe Schenker		fsl,pins = <
1432eba2438SPhilippe Schenker			IMX8QXP_QSPI0A_DQS_LSIO_GPIO3_IO13		0x40		/* SODIMM  73 */
1442eba2438SPhilippe Schenker		>;
1452eba2438SPhilippe Schenker	};
1462eba2438SPhilippe Schenker
1472eba2438SPhilippe Schenker	pinctrl_csi_ctl: csictlgrp {
1482eba2438SPhilippe Schenker		fsl,pins = <
1492eba2438SPhilippe Schenker			IMX8QXP_QSPI0A_SS0_B_LSIO_GPIO3_IO14		0x20		/* SODIMM  77 */
1502eba2438SPhilippe Schenker			IMX8QXP_QSPI0A_SS1_B_LSIO_GPIO3_IO15		0x20		/* SODIMM  89 */
1512eba2438SPhilippe Schenker		>;
1522eba2438SPhilippe Schenker	};
1532eba2438SPhilippe Schenker
1542eba2438SPhilippe Schenker	pinctrl_ext_io0: extio0grp {
1552eba2438SPhilippe Schenker		fsl,pins = <
1562eba2438SPhilippe Schenker			IMX8QXP_ENET0_RGMII_RXD3_LSIO_GPIO5_IO08	0x06000040	/* SODIMM 135 */
1572eba2438SPhilippe Schenker		>;
1582eba2438SPhilippe Schenker	};
1592eba2438SPhilippe Schenker
1602eba2438SPhilippe Schenker	/* Colibri Ethernet: On-module 100Mbps PHY Micrel KSZ8041 */
1612eba2438SPhilippe Schenker	pinctrl_fec1: fec1grp {
1622eba2438SPhilippe Schenker		fsl,pins = <
1632eba2438SPhilippe Schenker			IMX8QXP_ENET0_MDC_CONN_ENET0_MDC			0x06000020
1642eba2438SPhilippe Schenker			IMX8QXP_ENET0_MDIO_CONN_ENET0_MDIO			0x06000020
1652eba2438SPhilippe Schenker			IMX8QXP_ENET0_RGMII_TX_CTL_CONN_ENET0_RGMII_TX_CTL	0x61
1662eba2438SPhilippe Schenker			IMX8QXP_ENET0_RGMII_TXC_CONN_ENET0_RCLK50M_OUT		0x06000061
1672eba2438SPhilippe Schenker			IMX8QXP_ENET0_RGMII_TXD0_CONN_ENET0_RGMII_TXD0		0x61
1682eba2438SPhilippe Schenker			IMX8QXP_ENET0_RGMII_TXD1_CONN_ENET0_RGMII_TXD1		0x61
1692eba2438SPhilippe Schenker			IMX8QXP_ENET0_RGMII_RX_CTL_CONN_ENET0_RGMII_RX_CTL	0x61
1702eba2438SPhilippe Schenker			IMX8QXP_ENET0_RGMII_RXD0_CONN_ENET0_RGMII_RXD0		0x61
1712eba2438SPhilippe Schenker			IMX8QXP_ENET0_RGMII_RXD1_CONN_ENET0_RGMII_RXD1		0x61
1722eba2438SPhilippe Schenker			IMX8QXP_ENET0_RGMII_RXD2_CONN_ENET0_RMII_RX_ER		0x61
1732eba2438SPhilippe Schenker		>;
1742eba2438SPhilippe Schenker	};
1752eba2438SPhilippe Schenker
1762eba2438SPhilippe Schenker	pinctrl_fec1_sleep: fec1slpgrp {
1772eba2438SPhilippe Schenker		fsl,pins = <
1782eba2438SPhilippe Schenker			IMX8QXP_ENET0_MDC_LSIO_GPIO5_IO11		0x06000041
1792eba2438SPhilippe Schenker			IMX8QXP_ENET0_MDIO_LSIO_GPIO5_IO10		0x06000041
1802eba2438SPhilippe Schenker			IMX8QXP_ENET0_RGMII_TX_CTL_LSIO_GPIO4_IO30	0x41
1812eba2438SPhilippe Schenker			IMX8QXP_ENET0_RGMII_TXC_LSIO_GPIO4_IO29		0x41
1822eba2438SPhilippe Schenker			IMX8QXP_ENET0_RGMII_TXD0_LSIO_GPIO4_IO31	0x41
1832eba2438SPhilippe Schenker			IMX8QXP_ENET0_RGMII_TXD1_LSIO_GPIO5_IO00	0x41
1842eba2438SPhilippe Schenker			IMX8QXP_ENET0_RGMII_RX_CTL_LSIO_GPIO5_IO04	0x41
1852eba2438SPhilippe Schenker			IMX8QXP_ENET0_RGMII_RXD0_LSIO_GPIO5_IO05	0x41
1862eba2438SPhilippe Schenker			IMX8QXP_ENET0_RGMII_RXD1_LSIO_GPIO5_IO06	0x41
1872eba2438SPhilippe Schenker			IMX8QXP_ENET0_RGMII_RXD2_LSIO_GPIO5_IO07	0x41
1882eba2438SPhilippe Schenker		>;
1892eba2438SPhilippe Schenker	};
1902eba2438SPhilippe Schenker
1912eba2438SPhilippe Schenker	/* Colibri optional CAN on UART_B RTS/CTS */
1922eba2438SPhilippe Schenker	pinctrl_flexcan1: flexcan0grp {
1932eba2438SPhilippe Schenker		fsl,pins = <
1942eba2438SPhilippe Schenker			IMX8QXP_FLEXCAN0_TX_ADMA_FLEXCAN0_TX		0x21		/* SODIMM  32 */
1952eba2438SPhilippe Schenker			IMX8QXP_FLEXCAN0_RX_ADMA_FLEXCAN0_RX		0x21		/* SODIMM  34 */
1962eba2438SPhilippe Schenker		>;
1972eba2438SPhilippe Schenker	};
1982eba2438SPhilippe Schenker
1992eba2438SPhilippe Schenker	/* Colibri optional CAN on PS2 */
2002eba2438SPhilippe Schenker	pinctrl_flexcan2: flexcan1grp {
2012eba2438SPhilippe Schenker		fsl,pins = <
2022eba2438SPhilippe Schenker			IMX8QXP_FLEXCAN1_TX_ADMA_FLEXCAN1_TX		0x21		/* SODIMM  55 */
2032eba2438SPhilippe Schenker			IMX8QXP_FLEXCAN1_RX_ADMA_FLEXCAN1_RX		0x21		/* SODIMM  63 */
2042eba2438SPhilippe Schenker		>;
2052eba2438SPhilippe Schenker	};
2062eba2438SPhilippe Schenker
2072eba2438SPhilippe Schenker	/* Colibri optional CAN on UART_A TXD/RXD */
2082eba2438SPhilippe Schenker	pinctrl_flexcan3: flexcan2grp {
2092eba2438SPhilippe Schenker		fsl,pins = <
2102eba2438SPhilippe Schenker			IMX8QXP_FLEXCAN2_TX_ADMA_FLEXCAN2_TX		0x21		/* SODIMM  35 */
2112eba2438SPhilippe Schenker			IMX8QXP_FLEXCAN2_RX_ADMA_FLEXCAN2_RX		0x21		/* SODIMM  33 */
2122eba2438SPhilippe Schenker		>;
2132eba2438SPhilippe Schenker	};
2142eba2438SPhilippe Schenker
2152eba2438SPhilippe Schenker	/* Colibri LCD Back-Light GPIO */
2162eba2438SPhilippe Schenker	pinctrl_gpio_bl_on: gpioblongrp {
2172eba2438SPhilippe Schenker		fsl,pins = <
2182eba2438SPhilippe Schenker			IMX8QXP_QSPI0A_DATA3_LSIO_GPIO3_IO12		0x60		/* SODIMM  71 */
2192eba2438SPhilippe Schenker		>;
2202eba2438SPhilippe Schenker	};
2212eba2438SPhilippe Schenker
2222eba2438SPhilippe Schenker	pinctrl_gpiokeys: gpiokeysgrp {
2232eba2438SPhilippe Schenker		fsl,pins = <
2242eba2438SPhilippe Schenker			IMX8QXP_QSPI0A_DATA1_LSIO_GPIO3_IO10		0x06700041	/* SODIMM  45 */
2252eba2438SPhilippe Schenker		>;
2262eba2438SPhilippe Schenker	};
2272eba2438SPhilippe Schenker
2282eba2438SPhilippe Schenker	pinctrl_hog0: hog0grp {
2292eba2438SPhilippe Schenker		fsl,pins = <
2302eba2438SPhilippe Schenker			IMX8QXP_ENET0_RGMII_TXD3_LSIO_GPIO5_IO02	0x06000020	/* SODIMM  65 */
2312eba2438SPhilippe Schenker			IMX8QXP_CSI_D07_CI_PI_D09			0x61		/* SODIMM  65 */
2322eba2438SPhilippe Schenker			IMX8QXP_QSPI0A_DATA2_LSIO_GPIO3_IO11		0x20		/* SODIMM  69 */
2332eba2438SPhilippe Schenker			IMX8QXP_SAI0_TXC_LSIO_GPIO0_IO26		0x20		/* SODIMM  79 */
2342eba2438SPhilippe Schenker			IMX8QXP_CSI_D02_CI_PI_D04			0x61		/* SODIMM  79 */
2352eba2438SPhilippe Schenker			IMX8QXP_ENET0_RGMII_RXC_LSIO_GPIO5_IO03		0x06000020	/* SODIMM  85 */
2362eba2438SPhilippe Schenker			IMX8QXP_CSI_D06_CI_PI_D08			0x61		/* SODIMM  85 */
2372eba2438SPhilippe Schenker			IMX8QXP_QSPI0B_SCLK_LSIO_GPIO3_IO17		0x20		/* SODIMM  95 */
2382eba2438SPhilippe Schenker			IMX8QXP_SAI0_RXD_LSIO_GPIO0_IO27		0x20		/* SODIMM  97 */
2392eba2438SPhilippe Schenker			IMX8QXP_CSI_D03_CI_PI_D05			0x61		/* SODIMM  97 */
2402eba2438SPhilippe Schenker			IMX8QXP_QSPI0B_DATA0_LSIO_GPIO3_IO18		0x20		/* SODIMM  99 */
2412eba2438SPhilippe Schenker			IMX8QXP_SAI0_TXFS_LSIO_GPIO0_IO28		0x20		/* SODIMM 101 */
2422eba2438SPhilippe Schenker			IMX8QXP_CSI_D00_CI_PI_D02			0x61		/* SODIMM 101 */
2432eba2438SPhilippe Schenker			IMX8QXP_SAI0_TXD_LSIO_GPIO0_IO25		0x20		/* SODIMM 103 */
2442eba2438SPhilippe Schenker			IMX8QXP_CSI_D01_CI_PI_D03			0x61		/* SODIMM 103 */
2452eba2438SPhilippe Schenker			IMX8QXP_QSPI0B_DATA1_LSIO_GPIO3_IO19		0x20		/* SODIMM 105 */
2462eba2438SPhilippe Schenker			IMX8QXP_QSPI0B_DATA2_LSIO_GPIO3_IO20		0x20		/* SODIMM 107 */
2472eba2438SPhilippe Schenker			IMX8QXP_USB_SS3_TC2_LSIO_GPIO4_IO05		0x20		/* SODIMM 127 */
2482eba2438SPhilippe Schenker			IMX8QXP_USB_SS3_TC3_LSIO_GPIO4_IO06		0x20		/* SODIMM 131 */
2492eba2438SPhilippe Schenker			IMX8QXP_USB_SS3_TC1_LSIO_GPIO4_IO04		0x20		/* SODIMM 133 */
2502eba2438SPhilippe Schenker			IMX8QXP_CSI_PCLK_LSIO_GPIO3_IO00		0x20		/* SODIMM  96 */
2512eba2438SPhilippe Schenker			IMX8QXP_QSPI0B_DATA3_LSIO_GPIO3_IO21		0x20		/* SODIMM  98 */
2522eba2438SPhilippe Schenker			IMX8QXP_SAI1_RXFS_LSIO_GPIO0_IO31		0x20		/* SODIMM 100 */
2532eba2438SPhilippe Schenker			IMX8QXP_QSPI0B_DQS_LSIO_GPIO3_IO22		0x20		/* SODIMM 102 */
2542eba2438SPhilippe Schenker			IMX8QXP_QSPI0B_SS0_B_LSIO_GPIO3_IO23		0x20		/* SODIMM 104 */
2552eba2438SPhilippe Schenker			IMX8QXP_QSPI0B_SS1_B_LSIO_GPIO3_IO24		0x20		/* SODIMM 106 */
2562eba2438SPhilippe Schenker		>;
2572eba2438SPhilippe Schenker	};
2582eba2438SPhilippe Schenker
2592eba2438SPhilippe Schenker	pinctrl_hog1: hog1grp {
2602eba2438SPhilippe Schenker		fsl,pins = <
2612eba2438SPhilippe Schenker			IMX8QXP_CSI_MCLK_LSIO_GPIO3_IO01		0x20		/* SODIMM  75 */
2622eba2438SPhilippe Schenker			IMX8QXP_QSPI0A_SCLK_LSIO_GPIO3_IO16		0x20		/* SODIMM  93 */
2632eba2438SPhilippe Schenker		>;
2642eba2438SPhilippe Schenker	};
2652eba2438SPhilippe Schenker
2662eba2438SPhilippe Schenker	/*
2672eba2438SPhilippe Schenker	 * This pin is used in the SCFW as a UART. Using it from
2682eba2438SPhilippe Schenker	 * Linux would require rewritting the SCFW board file.
2692eba2438SPhilippe Schenker	 */
2702eba2438SPhilippe Schenker	pinctrl_hog_scfw: hogscfwgrp {
2712eba2438SPhilippe Schenker		fsl,pins = <
2722eba2438SPhilippe Schenker			IMX8QXP_SCU_GPIO0_00_LSIO_GPIO2_IO03		0x20		/* SODIMM 144 */
2732eba2438SPhilippe Schenker		>;
2742eba2438SPhilippe Schenker	};
2752eba2438SPhilippe Schenker
2762eba2438SPhilippe Schenker	/* On Module I2C */
2772eba2438SPhilippe Schenker	pinctrl_i2c0: i2c0grp {
2782eba2438SPhilippe Schenker		fsl,pins = <
2792eba2438SPhilippe Schenker			IMX8QXP_MIPI_CSI0_GPIO0_00_ADMA_I2C0_SCL	0x06000021
2802eba2438SPhilippe Schenker			IMX8QXP_MIPI_CSI0_GPIO0_01_ADMA_I2C0_SDA	0x06000021
2812eba2438SPhilippe Schenker		>;
2822eba2438SPhilippe Schenker	};
2832eba2438SPhilippe Schenker
2842eba2438SPhilippe Schenker	/* MIPI DSI I2C accessible on SODIMM (X1) and FFC (X2) */
2852eba2438SPhilippe Schenker	pinctrl_i2c0_mipi_lvds0: i2c0mipilvds0grp {
2862eba2438SPhilippe Schenker		fsl,pins = <
2872eba2438SPhilippe Schenker			IMX8QXP_MIPI_DSI0_I2C0_SCL_MIPI_DSI0_I2C0_SCL	0xc6000020	/* SODIMM 140 */
2882eba2438SPhilippe Schenker			IMX8QXP_MIPI_DSI0_I2C0_SDA_MIPI_DSI0_I2C0_SDA	0xc6000020	/* SODIMM 142 */
2892eba2438SPhilippe Schenker		>;
2902eba2438SPhilippe Schenker	};
2912eba2438SPhilippe Schenker
2922eba2438SPhilippe Schenker	/* MIPI CSI I2C accessible on SODIMM (X1) and FFC (X3) */
2932eba2438SPhilippe Schenker	pinctrl_i2c0_mipi_lvds1: i2c0mipilvds1grp {
2942eba2438SPhilippe Schenker		fsl,pins = <
2952eba2438SPhilippe Schenker			IMX8QXP_MIPI_DSI1_I2C0_SCL_MIPI_DSI1_I2C0_SCL	0xc6000020	/* SODIMM 186 */
2962eba2438SPhilippe Schenker			IMX8QXP_MIPI_DSI1_I2C0_SDA_MIPI_DSI1_I2C0_SDA	0xc6000020	/* SODIMM 188 */
2972eba2438SPhilippe Schenker		>;
2982eba2438SPhilippe Schenker	};
2992eba2438SPhilippe Schenker
3002eba2438SPhilippe Schenker	/* Colibri I2C */
3012eba2438SPhilippe Schenker	pinctrl_i2c1: i2c1grp {
3022eba2438SPhilippe Schenker		fsl,pins = <
3032eba2438SPhilippe Schenker			IMX8QXP_MIPI_DSI0_GPIO0_00_ADMA_I2C1_SCL	0x06000021	/* SODIMM 196 */
3042eba2438SPhilippe Schenker			IMX8QXP_MIPI_DSI0_GPIO0_01_ADMA_I2C1_SDA	0x06000021	/* SODIMM 194 */
3052eba2438SPhilippe Schenker		>;
3062eba2438SPhilippe Schenker	};
3072eba2438SPhilippe Schenker
3082eba2438SPhilippe Schenker	/* Colibri Parallel RGB LCD Interface */
3092eba2438SPhilippe Schenker	pinctrl_lcdif: lcdifgrp {
3102eba2438SPhilippe Schenker		fsl,pins = <
3112eba2438SPhilippe Schenker			IMX8QXP_MCLK_OUT0_ADMA_LCDIF_CLK		0x60		/* SODIMM  56 */
3122eba2438SPhilippe Schenker			IMX8QXP_SPI3_CS0_ADMA_LCDIF_HSYNC		0x60		/* SODIMM  68 */
3132eba2438SPhilippe Schenker			IMX8QXP_MCLK_IN0_ADMA_LCDIF_VSYNC		0x60		/* SODIMM  82 */
3142eba2438SPhilippe Schenker			IMX8QXP_MCLK_IN1_ADMA_LCDIF_EN			0x60		/* SODIMM  44 */
3152eba2438SPhilippe Schenker			IMX8QXP_USDHC1_RESET_B_LSIO_GPIO4_IO19		0x60		/* SODIMM  44 */
3162eba2438SPhilippe Schenker			IMX8QXP_ESAI0_FSR_ADMA_LCDIF_D00		0x60		/* SODIMM  76 */
3172eba2438SPhilippe Schenker			IMX8QXP_USDHC1_WP_LSIO_GPIO4_IO21		0x60		/* SODIMM  76 */
3182eba2438SPhilippe Schenker			IMX8QXP_ESAI0_FST_ADMA_LCDIF_D01		0x60		/* SODIMM  70 */
3192eba2438SPhilippe Schenker			IMX8QXP_ESAI0_SCKR_ADMA_LCDIF_D02		0x60		/* SODIMM  60 */
3202eba2438SPhilippe Schenker			IMX8QXP_ESAI0_SCKT_ADMA_LCDIF_D03		0x60		/* SODIMM  58 */
3212eba2438SPhilippe Schenker			IMX8QXP_ESAI0_TX0_ADMA_LCDIF_D04		0x60		/* SODIMM  78 */
3222eba2438SPhilippe Schenker			IMX8QXP_ESAI0_TX1_ADMA_LCDIF_D05		0x60		/* SODIMM  72 */
3232eba2438SPhilippe Schenker			IMX8QXP_ESAI0_TX2_RX3_ADMA_LCDIF_D06		0x60		/* SODIMM  80 */
3242eba2438SPhilippe Schenker			IMX8QXP_ESAI0_TX3_RX2_ADMA_LCDIF_D07		0x60		/* SODIMM  46 */
3252eba2438SPhilippe Schenker			IMX8QXP_ESAI0_TX4_RX1_ADMA_LCDIF_D08		0x60		/* SODIMM  62 */
3262eba2438SPhilippe Schenker			IMX8QXP_ESAI0_TX5_RX0_ADMA_LCDIF_D09		0x60		/* SODIMM  48 */
3272eba2438SPhilippe Schenker			IMX8QXP_SPDIF0_RX_ADMA_LCDIF_D10		0x60		/* SODIMM  74 */
3282eba2438SPhilippe Schenker			IMX8QXP_SPDIF0_TX_ADMA_LCDIF_D11		0x60		/* SODIMM  50 */
3292eba2438SPhilippe Schenker			IMX8QXP_SPDIF0_EXT_CLK_ADMA_LCDIF_D12		0x60		/* SODIMM  52 */
3302eba2438SPhilippe Schenker			IMX8QXP_SPI3_SCK_ADMA_LCDIF_D13			0x60		/* SODIMM  54 */
3312eba2438SPhilippe Schenker			IMX8QXP_SPI3_SDO_ADMA_LCDIF_D14			0x60		/* SODIMM  66 */
3322eba2438SPhilippe Schenker			IMX8QXP_SPI3_SDI_ADMA_LCDIF_D15			0x60		/* SODIMM  64 */
3332eba2438SPhilippe Schenker			IMX8QXP_SPI3_CS1_ADMA_LCDIF_D16			0x60		/* SODIMM  57 */
3342eba2438SPhilippe Schenker			IMX8QXP_ENET0_RGMII_TXD2_LSIO_GPIO5_IO01	0x60		/* SODIMM  57 */
3352eba2438SPhilippe Schenker			IMX8QXP_UART1_CTS_B_ADMA_LCDIF_D17		0x60		/* SODIMM  61 */
3362eba2438SPhilippe Schenker		>;
3372eba2438SPhilippe Schenker	};
3382eba2438SPhilippe Schenker
3392eba2438SPhilippe Schenker	/* Colibri SPI */
3402eba2438SPhilippe Schenker	pinctrl_lpspi2: lpspi2grp {
3412eba2438SPhilippe Schenker		fsl,pins = <
3422eba2438SPhilippe Schenker			IMX8QXP_SPI2_CS0_LSIO_GPIO1_IO00		0x21		/* SODIMM  86 */
3432eba2438SPhilippe Schenker			IMX8QXP_SPI2_SDO_ADMA_SPI2_SDO			0x06000040	/* SODIMM  92 */
3442eba2438SPhilippe Schenker			IMX8QXP_SPI2_SDI_ADMA_SPI2_SDI			0x06000040	/* SODIMM  90 */
3452eba2438SPhilippe Schenker			IMX8QXP_SPI2_SCK_ADMA_SPI2_SCK			0x06000040	/* SODIMM  88 */
3462eba2438SPhilippe Schenker		>;
3472eba2438SPhilippe Schenker	};
3482eba2438SPhilippe Schenker
3492eba2438SPhilippe Schenker	/* Colibri UART_B */
3502eba2438SPhilippe Schenker	pinctrl_lpuart0: lpuart0grp {
3512eba2438SPhilippe Schenker		fsl,pins = <
3522eba2438SPhilippe Schenker			IMX8QXP_UART0_RX_ADMA_UART0_RX			0x06000020	/* SODIMM  36 */
3532eba2438SPhilippe Schenker			IMX8QXP_UART0_TX_ADMA_UART0_TX			0x06000020	/* SODIMM  38 */
3542eba2438SPhilippe Schenker			IMX8QXP_FLEXCAN0_RX_ADMA_UART0_RTS_B		0x06000020	/* SODIMM  34 */
3552eba2438SPhilippe Schenker			IMX8QXP_FLEXCAN0_TX_ADMA_UART0_CTS_B		0x06000020	/* SODIMM  32 */
3562eba2438SPhilippe Schenker		>;
3572eba2438SPhilippe Schenker	};
3582eba2438SPhilippe Schenker
3592eba2438SPhilippe Schenker	/* Colibri UART_C */
3602eba2438SPhilippe Schenker	pinctrl_lpuart2: lpuart2grp {
3612eba2438SPhilippe Schenker		fsl,pins = <
3622eba2438SPhilippe Schenker			IMX8QXP_UART2_RX_ADMA_UART2_RX			0x06000020	/* SODIMM  19 */
3632eba2438SPhilippe Schenker			IMX8QXP_UART2_TX_ADMA_UART2_TX			0x06000020	/* SODIMM  21 */
3642eba2438SPhilippe Schenker		>;
3652eba2438SPhilippe Schenker	};
3662eba2438SPhilippe Schenker
3672eba2438SPhilippe Schenker	/* Colibri UART_A */
3682eba2438SPhilippe Schenker	pinctrl_lpuart3: lpuart3grp {
3692eba2438SPhilippe Schenker		fsl,pins = <
3702eba2438SPhilippe Schenker			IMX8QXP_FLEXCAN2_RX_ADMA_UART3_RX		0x06000020	/* SODIMM  33 */
3712eba2438SPhilippe Schenker			IMX8QXP_FLEXCAN2_TX_ADMA_UART3_TX		0x06000020	/* SODIMM  35 */
3722eba2438SPhilippe Schenker		>;
3732eba2438SPhilippe Schenker	};
3742eba2438SPhilippe Schenker
3752eba2438SPhilippe Schenker	/* Colibri UART_A Control */
3762eba2438SPhilippe Schenker	pinctrl_lpuart3_ctrl: lpuart3ctrlgrp {
3772eba2438SPhilippe Schenker		fsl,pins = <
3782eba2438SPhilippe Schenker			IMX8QXP_MIPI_DSI1_GPIO0_01_LSIO_GPIO2_IO00	0x20		/* SODIMM  23 */
3792eba2438SPhilippe Schenker			IMX8QXP_SAI1_RXD_LSIO_GPIO0_IO29		0x20		/* SODIMM  25 */
3802eba2438SPhilippe Schenker			IMX8QXP_SAI1_RXC_LSIO_GPIO0_IO30		0x20		/* SODIMM  27 */
3812eba2438SPhilippe Schenker			IMX8QXP_CSI_RESET_LSIO_GPIO3_IO03		0x20		/* SODIMM  29 */
3822eba2438SPhilippe Schenker			IMX8QXP_USDHC1_CD_B_LSIO_GPIO4_IO22		0x20		/* SODIMM  31 */
3832eba2438SPhilippe Schenker			IMX8QXP_CSI_EN_LSIO_GPIO3_IO02			0x20		/* SODIMM  37 */
3842eba2438SPhilippe Schenker		>;
3852eba2438SPhilippe Schenker	};
3862eba2438SPhilippe Schenker
3872eba2438SPhilippe Schenker	/* On module wifi module */
3882eba2438SPhilippe Schenker	pinctrl_pcieb: pciebgrp {
3892eba2438SPhilippe Schenker		fsl,pins = <
3902eba2438SPhilippe Schenker			IMX8QXP_PCIE_CTRL0_CLKREQ_B_LSIO_GPIO4_IO01	0x04000061	/* SODIMM 178 */
3912eba2438SPhilippe Schenker			IMX8QXP_PCIE_CTRL0_WAKE_B_LSIO_GPIO4_IO02	0x04000061	/* SODIMM  94 */
3922eba2438SPhilippe Schenker			IMX8QXP_PCIE_CTRL0_PERST_B_LSIO_GPIO4_IO00	0x60		/* SODIMM  81 */
3932eba2438SPhilippe Schenker		>;
3942eba2438SPhilippe Schenker	};
3952eba2438SPhilippe Schenker
3962eba2438SPhilippe Schenker	/* Colibri PWM_A */
3972eba2438SPhilippe Schenker	pinctrl_pwm_a: pwmagrp {
3982eba2438SPhilippe Schenker	/* both pins are connected together, reserve the unused CSI_D05 */
3992eba2438SPhilippe Schenker		fsl,pins = <
4002eba2438SPhilippe Schenker			IMX8QXP_CSI_D05_CI_PI_D07			0x61		/* SODIMM  59 */
4012eba2438SPhilippe Schenker			IMX8QXP_SPI0_CS1_ADMA_LCD_PWM0_OUT		0x60		/* SODIMM  59 */
4022eba2438SPhilippe Schenker		>;
4032eba2438SPhilippe Schenker	};
4042eba2438SPhilippe Schenker
4052eba2438SPhilippe Schenker	/* Colibri PWM_B */
4062eba2438SPhilippe Schenker	pinctrl_pwm_b: pwmbgrp {
4072eba2438SPhilippe Schenker		fsl,pins = <
4082eba2438SPhilippe Schenker			IMX8QXP_UART1_TX_LSIO_PWM0_OUT			0x60		/* SODIMM  28 */
4092eba2438SPhilippe Schenker		>;
4102eba2438SPhilippe Schenker	};
4112eba2438SPhilippe Schenker
4122eba2438SPhilippe Schenker	/* Colibri PWM_C */
4132eba2438SPhilippe Schenker	pinctrl_pwm_c: pwmcgrp {
4142eba2438SPhilippe Schenker		fsl,pins = <
4152eba2438SPhilippe Schenker			IMX8QXP_UART1_RX_LSIO_PWM1_OUT			0x60		/* SODIMM  30 */
4162eba2438SPhilippe Schenker		>;
4172eba2438SPhilippe Schenker	};
4182eba2438SPhilippe Schenker
4192eba2438SPhilippe Schenker	/* Colibri PWM_D */
4202eba2438SPhilippe Schenker	pinctrl_pwm_d: pwmdgrp {
4212eba2438SPhilippe Schenker	/* both pins are connected together, reserve the unused CSI_D04 */
4222eba2438SPhilippe Schenker		fsl,pins = <
4232eba2438SPhilippe Schenker			IMX8QXP_CSI_D04_CI_PI_D06			0x61		/* SODIMM  67 */
4242eba2438SPhilippe Schenker			IMX8QXP_UART1_RTS_B_LSIO_PWM2_OUT		0x60		/* SODIMM  67 */
4252eba2438SPhilippe Schenker		>;
4262eba2438SPhilippe Schenker	};
4272eba2438SPhilippe Schenker
4282eba2438SPhilippe Schenker	/* On-module I2S */
4292eba2438SPhilippe Schenker	pinctrl_sai0: sai0grp {
4302eba2438SPhilippe Schenker		fsl,pins = <
4312eba2438SPhilippe Schenker			IMX8QXP_SPI0_SDI_ADMA_SAI0_TXD			0x06000040
4322eba2438SPhilippe Schenker			IMX8QXP_SPI0_CS0_ADMA_SAI0_RXD			0x06000040
4332eba2438SPhilippe Schenker			IMX8QXP_SPI0_SCK_ADMA_SAI0_TXC			0x06000040
4342eba2438SPhilippe Schenker			IMX8QXP_SPI0_SDO_ADMA_SAI0_TXFS			0x06000040
4352eba2438SPhilippe Schenker		>;
4362eba2438SPhilippe Schenker	};
4372eba2438SPhilippe Schenker
4382eba2438SPhilippe Schenker	/* Colibri Audio Analogue Microphone GND */
4392eba2438SPhilippe Schenker	pinctrl_sgtl5000: sgtl5000grp {
4402eba2438SPhilippe Schenker		fsl,pins = <
4412eba2438SPhilippe Schenker			/* MIC GND EN */
4422eba2438SPhilippe Schenker			IMX8QXP_MIPI_CSI0_I2C0_SDA_LSIO_GPIO3_IO06	0x41
4432eba2438SPhilippe Schenker		>;
4442eba2438SPhilippe Schenker	};
4452eba2438SPhilippe Schenker
4462eba2438SPhilippe Schenker	/* On-module SGTL5000 clock */
4472eba2438SPhilippe Schenker	pinctrl_sgtl5000_usb_clk: sgtl5000usbclkgrp {
4482eba2438SPhilippe Schenker		fsl,pins = <
4492eba2438SPhilippe Schenker			IMX8QXP_ADC_IN3_ADMA_ACM_MCLK_OUT0		0x21
4502eba2438SPhilippe Schenker		>;
4512eba2438SPhilippe Schenker	};
4522eba2438SPhilippe Schenker
4532eba2438SPhilippe Schenker	/* On-module USB interrupt */
4542eba2438SPhilippe Schenker	pinctrl_usb3503a: usb3503agrp {
4552eba2438SPhilippe Schenker		fsl,pins = <
4562eba2438SPhilippe Schenker			IMX8QXP_MIPI_CSI0_MCLK_OUT_LSIO_GPIO3_IO04	0x61
4572eba2438SPhilippe Schenker		>;
4582eba2438SPhilippe Schenker	};
4592eba2438SPhilippe Schenker
4602eba2438SPhilippe Schenker	/* Colibri USB Client Cable Detect */
4612eba2438SPhilippe Schenker	pinctrl_usbc_det: usbcdetgrp {
4622eba2438SPhilippe Schenker		fsl,pins = <
4632eba2438SPhilippe Schenker			IMX8QXP_ENET0_REFCLK_125M_25M_LSIO_GPIO5_IO09	0x06000040	/* SODIMM 137 */
4642eba2438SPhilippe Schenker		>;
4652eba2438SPhilippe Schenker	};
4662eba2438SPhilippe Schenker
4672eba2438SPhilippe Schenker	/* USB Host Power Enable */
4682eba2438SPhilippe Schenker	pinctrl_usbh1_reg: usbh1reggrp {
4692eba2438SPhilippe Schenker		fsl,pins = <
4702eba2438SPhilippe Schenker			IMX8QXP_USB_SS3_TC0_LSIO_GPIO4_IO03		0x06000040	/* SODIMM 129 */
4712eba2438SPhilippe Schenker		>;
4722eba2438SPhilippe Schenker	};
4732eba2438SPhilippe Schenker
4742eba2438SPhilippe Schenker	/* On-module eMMC */
4752eba2438SPhilippe Schenker	pinctrl_usdhc1: usdhc1grp {
4762eba2438SPhilippe Schenker		fsl,pins = <
4772eba2438SPhilippe Schenker			IMX8QXP_EMMC0_CLK_CONN_EMMC0_CLK		0x06000041
4782eba2438SPhilippe Schenker			IMX8QXP_EMMC0_CMD_CONN_EMMC0_CMD		0x21
4792eba2438SPhilippe Schenker			IMX8QXP_EMMC0_DATA0_CONN_EMMC0_DATA0		0x21
4802eba2438SPhilippe Schenker			IMX8QXP_EMMC0_DATA1_CONN_EMMC0_DATA1		0x21
4812eba2438SPhilippe Schenker			IMX8QXP_EMMC0_DATA2_CONN_EMMC0_DATA2		0x21
4822eba2438SPhilippe Schenker			IMX8QXP_EMMC0_DATA3_CONN_EMMC0_DATA3		0x21
4832eba2438SPhilippe Schenker			IMX8QXP_EMMC0_DATA4_CONN_EMMC0_DATA4		0x21
4842eba2438SPhilippe Schenker			IMX8QXP_EMMC0_DATA5_CONN_EMMC0_DATA5		0x21
4852eba2438SPhilippe Schenker			IMX8QXP_EMMC0_DATA6_CONN_EMMC0_DATA6		0x21
4862eba2438SPhilippe Schenker			IMX8QXP_EMMC0_DATA7_CONN_EMMC0_DATA7		0x21
4872eba2438SPhilippe Schenker			IMX8QXP_EMMC0_STROBE_CONN_EMMC0_STROBE		0x41
4882eba2438SPhilippe Schenker			IMX8QXP_EMMC0_RESET_B_CONN_EMMC0_RESET_B	0x21
4892eba2438SPhilippe Schenker		>;
4902eba2438SPhilippe Schenker	};
4912eba2438SPhilippe Schenker
4922eba2438SPhilippe Schenker	pinctrl_usdhc1_100mhz: usdhc1-100mhzgrp {
4932eba2438SPhilippe Schenker		fsl,pins = <
4942eba2438SPhilippe Schenker			IMX8QXP_EMMC0_CLK_CONN_EMMC0_CLK		0x06000041
4952eba2438SPhilippe Schenker			IMX8QXP_EMMC0_CMD_CONN_EMMC0_CMD		0x21
4962eba2438SPhilippe Schenker			IMX8QXP_EMMC0_DATA0_CONN_EMMC0_DATA0		0x21
4972eba2438SPhilippe Schenker			IMX8QXP_EMMC0_DATA1_CONN_EMMC0_DATA1		0x21
4982eba2438SPhilippe Schenker			IMX8QXP_EMMC0_DATA2_CONN_EMMC0_DATA2		0x21
4992eba2438SPhilippe Schenker			IMX8QXP_EMMC0_DATA3_CONN_EMMC0_DATA3		0x21
5002eba2438SPhilippe Schenker			IMX8QXP_EMMC0_DATA4_CONN_EMMC0_DATA4		0x21
5012eba2438SPhilippe Schenker			IMX8QXP_EMMC0_DATA5_CONN_EMMC0_DATA5		0x21
5022eba2438SPhilippe Schenker			IMX8QXP_EMMC0_DATA6_CONN_EMMC0_DATA6		0x21
5032eba2438SPhilippe Schenker			IMX8QXP_EMMC0_DATA7_CONN_EMMC0_DATA7		0x21
5042eba2438SPhilippe Schenker			IMX8QXP_EMMC0_STROBE_CONN_EMMC0_STROBE		0x41
5052eba2438SPhilippe Schenker			IMX8QXP_EMMC0_RESET_B_CONN_EMMC0_RESET_B	0x21
5062eba2438SPhilippe Schenker		>;
5072eba2438SPhilippe Schenker	};
5082eba2438SPhilippe Schenker
5092eba2438SPhilippe Schenker	pinctrl_usdhc1_200mhz: usdhc1-200mhzgrp {
5102eba2438SPhilippe Schenker		fsl,pins = <
5112eba2438SPhilippe Schenker			IMX8QXP_EMMC0_CLK_CONN_EMMC0_CLK		0x06000041
5122eba2438SPhilippe Schenker			IMX8QXP_EMMC0_CMD_CONN_EMMC0_CMD		0x21
5132eba2438SPhilippe Schenker			IMX8QXP_EMMC0_DATA0_CONN_EMMC0_DATA0		0x21
5142eba2438SPhilippe Schenker			IMX8QXP_EMMC0_DATA1_CONN_EMMC0_DATA1		0x21
5152eba2438SPhilippe Schenker			IMX8QXP_EMMC0_DATA2_CONN_EMMC0_DATA2		0x21
5162eba2438SPhilippe Schenker			IMX8QXP_EMMC0_DATA3_CONN_EMMC0_DATA3		0x21
5172eba2438SPhilippe Schenker			IMX8QXP_EMMC0_DATA4_CONN_EMMC0_DATA4		0x21
5182eba2438SPhilippe Schenker			IMX8QXP_EMMC0_DATA5_CONN_EMMC0_DATA5		0x21
5192eba2438SPhilippe Schenker			IMX8QXP_EMMC0_DATA6_CONN_EMMC0_DATA6		0x21
5202eba2438SPhilippe Schenker			IMX8QXP_EMMC0_DATA7_CONN_EMMC0_DATA7		0x21
5212eba2438SPhilippe Schenker			IMX8QXP_EMMC0_STROBE_CONN_EMMC0_STROBE		0x41
5222eba2438SPhilippe Schenker			IMX8QXP_EMMC0_RESET_B_CONN_EMMC0_RESET_B	0x21
5232eba2438SPhilippe Schenker		>;
5242eba2438SPhilippe Schenker	};
5252eba2438SPhilippe Schenker
5262eba2438SPhilippe Schenker	/* Colibri SD/MMC Card Detect */
5272eba2438SPhilippe Schenker	pinctrl_usdhc2_gpio: usdhc2gpiogrp {
5282eba2438SPhilippe Schenker		fsl,pins = <
5292eba2438SPhilippe Schenker			IMX8QXP_QSPI0A_DATA0_LSIO_GPIO3_IO09		0x06000021	/* SODIMM  43 */
5302eba2438SPhilippe Schenker		>;
5312eba2438SPhilippe Schenker	};
5322eba2438SPhilippe Schenker
5332eba2438SPhilippe Schenker	pinctrl_usdhc2_gpio_sleep: usdhc2gpioslpgrp {
5342eba2438SPhilippe Schenker		fsl,pins = <
5352eba2438SPhilippe Schenker			IMX8QXP_QSPI0A_DATA0_LSIO_GPIO3_IO09		0x60		/* SODIMM  43 */
5362eba2438SPhilippe Schenker		>;
5372eba2438SPhilippe Schenker	};
5382eba2438SPhilippe Schenker
5392eba2438SPhilippe Schenker	/* Colibri SD/MMC Card */
5402eba2438SPhilippe Schenker	pinctrl_usdhc2: usdhc2grp {
5412eba2438SPhilippe Schenker		fsl,pins = <
5422eba2438SPhilippe Schenker			IMX8QXP_USDHC1_CLK_CONN_USDHC1_CLK		0x06000041	/* SODIMM  47 */
5432eba2438SPhilippe Schenker			IMX8QXP_USDHC1_CMD_CONN_USDHC1_CMD		0x21		/* SODIMM 190 */
5442eba2438SPhilippe Schenker			IMX8QXP_USDHC1_DATA0_CONN_USDHC1_DATA0		0x21		/* SODIMM 192 */
5452eba2438SPhilippe Schenker			IMX8QXP_USDHC1_DATA1_CONN_USDHC1_DATA1		0x21		/* SODIMM  49 */
5462eba2438SPhilippe Schenker			IMX8QXP_USDHC1_DATA2_CONN_USDHC1_DATA2		0x21		/* SODIMM  51 */
5472eba2438SPhilippe Schenker			IMX8QXP_USDHC1_DATA3_CONN_USDHC1_DATA3		0x21		/* SODIMM  53 */
5482eba2438SPhilippe Schenker			IMX8QXP_USDHC1_VSELECT_CONN_USDHC1_VSELECT	0x21
5492eba2438SPhilippe Schenker		>;
5502eba2438SPhilippe Schenker	};
5512eba2438SPhilippe Schenker
5522eba2438SPhilippe Schenker	pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp {
5532eba2438SPhilippe Schenker		fsl,pins = <
5542eba2438SPhilippe Schenker			IMX8QXP_USDHC1_CLK_CONN_USDHC1_CLK		0x06000041	/* SODIMM  47 */
5552eba2438SPhilippe Schenker			IMX8QXP_USDHC1_CMD_CONN_USDHC1_CMD		0x21		/* SODIMM 190 */
5562eba2438SPhilippe Schenker			IMX8QXP_USDHC1_DATA0_CONN_USDHC1_DATA0		0x21		/* SODIMM 192 */
5572eba2438SPhilippe Schenker			IMX8QXP_USDHC1_DATA1_CONN_USDHC1_DATA1		0x21		/* SODIMM  49 */
5582eba2438SPhilippe Schenker			IMX8QXP_USDHC1_DATA2_CONN_USDHC1_DATA2		0x21		/* SODIMM  51 */
5592eba2438SPhilippe Schenker			IMX8QXP_USDHC1_DATA3_CONN_USDHC1_DATA3		0x21		/* SODIMM  53 */
5602eba2438SPhilippe Schenker			IMX8QXP_USDHC1_VSELECT_CONN_USDHC1_VSELECT	0x21
5612eba2438SPhilippe Schenker		>;
5622eba2438SPhilippe Schenker	};
5632eba2438SPhilippe Schenker
5642eba2438SPhilippe Schenker	pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp {
5652eba2438SPhilippe Schenker		fsl,pins = <
5662eba2438SPhilippe Schenker			IMX8QXP_USDHC1_CLK_CONN_USDHC1_CLK		0x06000041	/* SODIMM  47 */
5672eba2438SPhilippe Schenker			IMX8QXP_USDHC1_CMD_CONN_USDHC1_CMD		0x21		/* SODIMM 190 */
5682eba2438SPhilippe Schenker			IMX8QXP_USDHC1_DATA0_CONN_USDHC1_DATA0		0x21		/* SODIMM 192 */
5692eba2438SPhilippe Schenker			IMX8QXP_USDHC1_DATA1_CONN_USDHC1_DATA1		0x21		/* SODIMM  49 */
5702eba2438SPhilippe Schenker			IMX8QXP_USDHC1_DATA2_CONN_USDHC1_DATA2		0x21		/* SODIMM  51 */
5712eba2438SPhilippe Schenker			IMX8QXP_USDHC1_DATA3_CONN_USDHC1_DATA3		0x21		/* SODIMM  53 */
5722eba2438SPhilippe Schenker			IMX8QXP_USDHC1_VSELECT_CONN_USDHC1_VSELECT	0x21
5732eba2438SPhilippe Schenker		>;
5742eba2438SPhilippe Schenker	};
5752eba2438SPhilippe Schenker
5762eba2438SPhilippe Schenker	pinctrl_usdhc2_sleep: usdhc2slpgrp {
5772eba2438SPhilippe Schenker		fsl,pins = <
5782eba2438SPhilippe Schenker			IMX8QXP_USDHC1_CLK_LSIO_GPIO4_IO23		0x60		/* SODIMM  47 */
5792eba2438SPhilippe Schenker			IMX8QXP_USDHC1_CMD_LSIO_GPIO4_IO24		0x60		/* SODIMM 190 */
5802eba2438SPhilippe Schenker			IMX8QXP_USDHC1_DATA0_LSIO_GPIO4_IO25		0x60		/* SODIMM 192 */
5812eba2438SPhilippe Schenker			IMX8QXP_USDHC1_DATA1_LSIO_GPIO4_IO26		0x60		/* SODIMM  49 */
5822eba2438SPhilippe Schenker			IMX8QXP_USDHC1_DATA2_LSIO_GPIO4_IO27		0x60		/* SODIMM  51 */
5832eba2438SPhilippe Schenker			IMX8QXP_USDHC1_DATA3_LSIO_GPIO4_IO28		0x60		/* SODIMM  53 */
5842eba2438SPhilippe Schenker			IMX8QXP_USDHC1_VSELECT_CONN_USDHC1_VSELECT	0x21
5852eba2438SPhilippe Schenker		>;
5862eba2438SPhilippe Schenker	};
5872eba2438SPhilippe Schenker
5882eba2438SPhilippe Schenker	pinctrl_wifi: wifigrp {
5892eba2438SPhilippe Schenker		fsl,pins = <
5902eba2438SPhilippe Schenker			IMX8QXP_SCU_BOOT_MODE3_SCU_DSC_RTC_CLOCK_OUTPUT_32K	0x20
5912eba2438SPhilippe Schenker		>;
5922eba2438SPhilippe Schenker	};
5932eba2438SPhilippe Schenker};
594