1b186b8b6SAlexander Stein// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
2b186b8b6SAlexander Stein/*
3b186b8b6SAlexander Stein * Copyright 2019-2021 TQ-Systems GmbH
4b186b8b6SAlexander Stein */
5b186b8b6SAlexander Stein
6b186b8b6SAlexander Stein/dts-v1/;
7b186b8b6SAlexander Stein
8b186b8b6SAlexander Stein#include "imx8mq-tqma8mq.dtsi"
9b186b8b6SAlexander Stein#include "mba8mx.dtsi"
10b186b8b6SAlexander Stein
11b186b8b6SAlexander Stein/ {
12b186b8b6SAlexander Stein	model = "TQ-Systems GmbH i.MX8MQ TQMa8MQ on MBa8Mx";
13b186b8b6SAlexander Stein	compatible = "tq,imx8mq-tqma8mq-mba8mx", "tq,imx8mq-tqma8mq", "fsl,imx8mq";
14b186b8b6SAlexander Stein
15b186b8b6SAlexander Stein	aliases {
16b186b8b6SAlexander Stein		eeprom0 = &eeprom3;
17b186b8b6SAlexander Stein		mmc0 = &usdhc1;
18b186b8b6SAlexander Stein		mmc1 = &usdhc2;
19b186b8b6SAlexander Stein		rtc0 = &pcf85063;
20b186b8b6SAlexander Stein		rtc1 = &snvs_rtc;
21b186b8b6SAlexander Stein	};
22b186b8b6SAlexander Stein
23b186b8b6SAlexander Stein	extcon_usbotg: extcon-usbotg0 {
24b186b8b6SAlexander Stein		compatible = "linux,extcon-usb-gpio";
25b186b8b6SAlexander Stein		pinctrl-names = "default";
26b186b8b6SAlexander Stein		pinctrl-0 = <&pinctrl_usbcon0>;
27b186b8b6SAlexander Stein		id-gpio = <&gpio1 10 GPIO_ACTIVE_HIGH>;
28b186b8b6SAlexander Stein	};
29b186b8b6SAlexander Stein
30b186b8b6SAlexander Stein	pcie0_refclk: pcie0-refclk {
31b186b8b6SAlexander Stein		compatible = "fixed-clock";
32b186b8b6SAlexander Stein		#clock-cells = <0>;
33b186b8b6SAlexander Stein		clock-frequency = <100000000>;
34b186b8b6SAlexander Stein	};
35b186b8b6SAlexander Stein
36b186b8b6SAlexander Stein	pcie1_refclk: pcie1-refclk {
37b186b8b6SAlexander Stein		compatible = "fixed-clock";
38b186b8b6SAlexander Stein		#clock-cells = <0>;
39b186b8b6SAlexander Stein		clock-frequency = <100000000>;
40b186b8b6SAlexander Stein	};
41b186b8b6SAlexander Stein
42b186b8b6SAlexander Stein	reg_otg_vbus: regulator-otg-vbus {
43b186b8b6SAlexander Stein		compatible = "regulator-fixed";
44b186b8b6SAlexander Stein		pinctrl-names = "default";
45b186b8b6SAlexander Stein		pinctrl-0 = <&pinctrl_regotgvbus>;
46b186b8b6SAlexander Stein		regulator-name = "MBA8MQ_OTG_VBUS";
47b186b8b6SAlexander Stein		regulator-min-microvolt = <5000000>;
48b186b8b6SAlexander Stein		regulator-max-microvolt = <5000000>;
49b186b8b6SAlexander Stein		gpio = <&gpio1 12 GPIO_ACTIVE_HIGH>;
50b186b8b6SAlexander Stein		enable-active-high;
51b186b8b6SAlexander Stein	};
52b186b8b6SAlexander Stein
53b186b8b6SAlexander Stein	reg_usdhc2_vmmc: regulator-vmmc {
54b186b8b6SAlexander Stein		compatible = "regulator-fixed";
55b186b8b6SAlexander Stein		regulator-name = "VSD_3V3";
56b186b8b6SAlexander Stein		regulator-min-microvolt = <3300000>;
57b186b8b6SAlexander Stein		regulator-max-microvolt = <3300000>;
58b186b8b6SAlexander Stein		gpio = <&gpio2 19 GPIO_ACTIVE_HIGH>;
59b186b8b6SAlexander Stein		enable-active-high;
60b186b8b6SAlexander Stein	};
61b186b8b6SAlexander Stein};
62b186b8b6SAlexander Stein
63b186b8b6SAlexander Stein&btn2 {
64b186b8b6SAlexander Stein	gpios = <&gpio3 17 GPIO_ACTIVE_LOW>;
65b186b8b6SAlexander Stein};
66b186b8b6SAlexander Stein
67b186b8b6SAlexander Stein&gpio_leds {
68b186b8b6SAlexander Stein	led3 {
69b186b8b6SAlexander Stein		label = "led3";
70b186b8b6SAlexander Stein		gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
71b186b8b6SAlexander Stein	};
72b186b8b6SAlexander Stein};
73b186b8b6SAlexander Stein
74b186b8b6SAlexander Stein&i2c1 {
75b186b8b6SAlexander Stein	expander2: gpio@25 {
76b186b8b6SAlexander Stein		compatible = "nxp,pca9555";
77b186b8b6SAlexander Stein		reg = <0x25>;
78b186b8b6SAlexander Stein		gpio-controller;
79b186b8b6SAlexander Stein		#gpio-cells = <2>;
80b186b8b6SAlexander Stein		vcc-supply = <&reg_vcc_3v3>;
81b186b8b6SAlexander Stein		pinctrl-names = "default";
82b186b8b6SAlexander Stein		pinctrl-0 = <&pinctrl_expander>;
83b186b8b6SAlexander Stein		interrupt-parent = <&gpio1>;
84b186b8b6SAlexander Stein		interrupts = <9 IRQ_TYPE_EDGE_FALLING>;
85b186b8b6SAlexander Stein		interrupt-controller;
86b186b8b6SAlexander Stein		#interrupt-cells = <2>;
87b186b8b6SAlexander Stein
88b186b8b6SAlexander Stein		mpcie-rst-hog {
89b186b8b6SAlexander Stein			gpio-hog;
90b186b8b6SAlexander Stein			gpios = <13 0>;
91b186b8b6SAlexander Stein			output-high;
92b186b8b6SAlexander Stein			line-name = "MPCIE_RST#";
93b186b8b6SAlexander Stein		};
94b186b8b6SAlexander Stein	};
95b186b8b6SAlexander Stein};
96b186b8b6SAlexander Stein
97b186b8b6SAlexander Stein&irqsteer {
98b186b8b6SAlexander Stein	status = "okay";
99b186b8b6SAlexander Stein};
100b186b8b6SAlexander Stein
101b186b8b6SAlexander Stein&led2 {
102b186b8b6SAlexander Stein	gpios = <&gpio3 16 GPIO_ACTIVE_HIGH>;
103b186b8b6SAlexander Stein};
104b186b8b6SAlexander Stein
105b186b8b6SAlexander Stein&pcie0 {
106b186b8b6SAlexander Stein	reset-gpio = <&expander0 14 GPIO_ACTIVE_LOW>;
107b186b8b6SAlexander Stein	clocks = <&clk IMX8MQ_CLK_PCIE1_ROOT>,
108*1a9629f7SMarek Vasut		 <&pcie0_refclk>,
109b186b8b6SAlexander Stein		 <&clk IMX8MQ_CLK_PCIE1_PHY>,
110*1a9629f7SMarek Vasut		 <&clk IMX8MQ_CLK_PCIE1_AUX>;
111b186b8b6SAlexander Stein	epdev_on-supply = <&reg_vcc_3v3>;
112b186b8b6SAlexander Stein	hard-wired = <1>;
113b186b8b6SAlexander Stein	status = "okay";
114b186b8b6SAlexander Stein};
115b186b8b6SAlexander Stein
116b186b8b6SAlexander Stein/*
117b186b8b6SAlexander Stein * miniPCIe, also usable for cards with USB. Therefore configure the reset as
118b186b8b6SAlexander Stein * static gpio hog.
119b186b8b6SAlexander Stein */
120b186b8b6SAlexander Stein&pcie1 {
121b186b8b6SAlexander Stein	clocks = <&clk IMX8MQ_CLK_PCIE2_ROOT>,
122*1a9629f7SMarek Vasut		 <&pcie1_refclk>,
123b186b8b6SAlexander Stein		 <&clk IMX8MQ_CLK_PCIE2_PHY>,
124*1a9629f7SMarek Vasut		 <&clk IMX8MQ_CLK_PCIE2_AUX>;
125b186b8b6SAlexander Stein	epdev_on-supply = <&reg_vcc_3v3>;
126b186b8b6SAlexander Stein	hard-wired = <1>;
127b186b8b6SAlexander Stein	status = "okay";
128b186b8b6SAlexander Stein};
129b186b8b6SAlexander Stein
130b186b8b6SAlexander Stein&sai3 {
131b186b8b6SAlexander Stein	assigned-clocks = <&clk IMX8MQ_CLK_SAI3>;
132b186b8b6SAlexander Stein	assigned-clock-parents = <&clk IMX8MQ_AUDIO_PLL1_OUT>;
133b186b8b6SAlexander Stein	clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3", "pll8k", "pll11k";
134b186b8b6SAlexander Stein	clocks = <&clk IMX8MQ_CLK_SAI3_IPG>, <&clk IMX8MQ_CLK_DUMMY>,
135b186b8b6SAlexander Stein		<&clk IMX8MQ_CLK_SAI3_ROOT>, <&clk IMX8MQ_CLK_DUMMY>,
136b186b8b6SAlexander Stein		<&clk IMX8MQ_CLK_DUMMY>, <&clk IMX8MQ_AUDIO_PLL1_OUT>,
137b186b8b6SAlexander Stein		<&clk IMX8MQ_AUDIO_PLL2_OUT>;
138b186b8b6SAlexander Stein};
139b186b8b6SAlexander Stein
140b186b8b6SAlexander Stein&tlv320aic3x04 {
141b186b8b6SAlexander Stein	clock-names = "mclk";
142b186b8b6SAlexander Stein	clocks = <&clk IMX8MQ_CLK_SAI3_ROOT>;
143b186b8b6SAlexander Stein};
144b186b8b6SAlexander Stein
145b186b8b6SAlexander Stein&uart1 {
146b186b8b6SAlexander Stein	assigned-clocks = <&clk IMX8MQ_CLK_UART1>;
147b186b8b6SAlexander Stein	assigned-clock-parents = <&clk IMX8MQ_SYS1_PLL_80M>;
148b186b8b6SAlexander Stein};
149b186b8b6SAlexander Stein
150b186b8b6SAlexander Stein&uart2 {
151b186b8b6SAlexander Stein	assigned-clocks = <&clk IMX8MQ_CLK_UART2>;
152b186b8b6SAlexander Stein	assigned-clock-parents = <&clk IMX8MQ_SYS1_PLL_80M>;
153b186b8b6SAlexander Stein};
154b186b8b6SAlexander Stein
155b186b8b6SAlexander Stein/* console */
156b186b8b6SAlexander Stein&uart3 {
157b186b8b6SAlexander Stein	assigned-clocks = <&clk IMX8MQ_CLK_UART3>;
158b186b8b6SAlexander Stein	assigned-clock-parents = <&clk IMX8MQ_CLK_25M>;
159b186b8b6SAlexander Stein};
160b186b8b6SAlexander Stein
161b186b8b6SAlexander Stein&usb3_phy0 {
162b186b8b6SAlexander Stein	vbus-supply = <&reg_otg_vbus>;
163b186b8b6SAlexander Stein	status = "okay";
164b186b8b6SAlexander Stein};
165b186b8b6SAlexander Stein
166b186b8b6SAlexander Stein&usb_dwc3_0 {
167b186b8b6SAlexander Stein	/* we implement dual role but not full featured OTG */
168b186b8b6SAlexander Stein	extcon = <&extcon_usbotg>;
169b186b8b6SAlexander Stein	hnp-disable;
170b186b8b6SAlexander Stein	srp-disable;
171b186b8b6SAlexander Stein	adp-disable;
172b186b8b6SAlexander Stein	/* OC not supported due to non matching active polarity */
173b186b8b6SAlexander Stein	disable-over-current;
174b186b8b6SAlexander Stein	dr_mode = "otg";
175b186b8b6SAlexander Stein	status = "okay";
176b186b8b6SAlexander Stein};
177b186b8b6SAlexander Stein
178b186b8b6SAlexander Stein&usb3_phy1 {
179b186b8b6SAlexander Stein	status = "okay";
180b186b8b6SAlexander Stein};
181b186b8b6SAlexander Stein
182b186b8b6SAlexander Stein&usb_dwc3_1 {
183b186b8b6SAlexander Stein	status = "okay";
184b186b8b6SAlexander Stein	dr_mode = "host";
185b186b8b6SAlexander Stein};
186b186b8b6SAlexander Stein
187b186b8b6SAlexander Stein&wdog1 {
188b186b8b6SAlexander Stein	pinctrl-names = "default";
189b186b8b6SAlexander Stein	pinctrl-0 = <&pinctrl_wdog>;
190b186b8b6SAlexander Stein	fsl,ext-reset-output;
191b186b8b6SAlexander Stein	status = "okay";
192b186b8b6SAlexander Stein};
193b186b8b6SAlexander Stein
194b186b8b6SAlexander Stein&iomuxc {
195b186b8b6SAlexander Stein	pinctrl_ecspi1: ecspi1grp {
196b186b8b6SAlexander Stein		fsl,pins = <MX8MQ_IOMUXC_ECSPI1_SCLK_ECSPI1_SCLK	0x0000004e>,
197b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_ECSPI1_MOSI_ECSPI1_MOSI	0x0000004e>,
198b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_ECSPI1_MISO_ECSPI1_MISO	0x0000004e>,
199b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_ECSPI1_SS0_GPIO5_IO9		0x0000004e>;
200b186b8b6SAlexander Stein	};
201b186b8b6SAlexander Stein
202b186b8b6SAlexander Stein	pinctrl_ecspi2: ecspi2grp {
203b186b8b6SAlexander Stein		fsl,pins = <MX8MQ_IOMUXC_ECSPI2_SCLK_ECSPI2_SCLK	0x0000004e>,
204b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_ECSPI2_MOSI_ECSPI2_MOSI	0x0000004e>,
205b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_ECSPI2_MISO_ECSPI2_MISO	0x0000004e>,
206b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_ECSPI2_SS0_GPIO5_IO13		0x0000004e>;
207b186b8b6SAlexander Stein	};
208b186b8b6SAlexander Stein
209b186b8b6SAlexander Stein	pinctrl_expander: expandergrp {
210b186b8b6SAlexander Stein		fsl,pins = <MX8MQ_IOMUXC_GPIO1_IO09_GPIO1_IO9		0xd6>;
211b186b8b6SAlexander Stein	};
212b186b8b6SAlexander Stein
213b186b8b6SAlexander Stein	pinctrl_fec1: fec1grp {
214b186b8b6SAlexander Stein		fsl,pins = <MX8MQ_IOMUXC_ENET_MDC_ENET1_MDC		0x3>,
215b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_ENET_MDIO_ENET1_MDIO		0x23>,
216b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_ENET_TD3_ENET1_RGMII_TD3	0x1f>,
217b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_ENET_TD2_ENET1_RGMII_TD2	0x1f>,
218b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_ENET_TD1_ENET1_RGMII_TD1	0x1f>,
219b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_ENET_TD0_ENET1_RGMII_TD0	0x1f>,
220b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_ENET_RD3_ENET1_RGMII_RD3	0x91>,
221b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_ENET_RD2_ENET1_RGMII_RD2	0x91>,
222b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_ENET_RD1_ENET1_RGMII_RD1	0x91>,
223b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_ENET_RD0_ENET1_RGMII_RD0	0x91>,
224b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_ENET_TXC_ENET1_RGMII_TXC	0x1f>,
225b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_ENET_RXC_ENET1_RGMII_RXC	0x91>,
226b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_ENET_RX_CTL_ENET1_RGMII_RX_CTL	0x91>,
227b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_ENET_TX_CTL_ENET1_RGMII_TX_CTL	0x1f>;
228b186b8b6SAlexander Stein	};
229b186b8b6SAlexander Stein
230b186b8b6SAlexander Stein	pinctrl_gpiobutton: gpiobuttongrp {
231b186b8b6SAlexander Stein		fsl,pins = <MX8MQ_IOMUXC_GPIO1_IO05_GPIO1_IO5		0x41>,
232b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_GPIO1_IO07_GPIO1_IO7		0x41>,
233b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_NAND_WE_B_GPIO3_IO17		0x41>;
234b186b8b6SAlexander Stein	};
235b186b8b6SAlexander Stein
236b186b8b6SAlexander Stein	pinctrl_gpioled: gpioledgrp {
237b186b8b6SAlexander Stein		fsl,pins = <MX8MQ_IOMUXC_GPIO1_IO00_GPIO1_IO0		0x41>,
238b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_GPIO1_IO08_GPIO1_IO8		0x41>,
239b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_NAND_READY_B_GPIO3_IO16	0x41>;
240b186b8b6SAlexander Stein	};
241b186b8b6SAlexander Stein
242b186b8b6SAlexander Stein	pinctrl_i2c2: i2c2grp {
243b186b8b6SAlexander Stein		fsl,pins = <MX8MQ_IOMUXC_I2C2_SCL_I2C2_SCL		0x40000067>,
244b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_I2C2_SDA_I2C2_SDA		0x40000067>;
245b186b8b6SAlexander Stein	};
246b186b8b6SAlexander Stein
247b186b8b6SAlexander Stein	pinctrl_i2c2_gpio: i2c2gpiogrp {
248b186b8b6SAlexander Stein		fsl,pins = <MX8MQ_IOMUXC_I2C2_SCL_GPIO5_IO16		0x40000067>,
249b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_I2C2_SDA_GPIO5_IO17		0x40000067>;
250b186b8b6SAlexander Stein	};
251b186b8b6SAlexander Stein
252b186b8b6SAlexander Stein	pinctrl_i2c3: i2c3grp {
253b186b8b6SAlexander Stein		fsl,pins = <MX8MQ_IOMUXC_I2C3_SCL_I2C3_SCL		0x40000067>,
254b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_I2C3_SDA_I2C3_SDA		0x40000067>;
255b186b8b6SAlexander Stein	};
256b186b8b6SAlexander Stein
257b186b8b6SAlexander Stein	pinctrl_i2c3_gpio: i2c3gpiogrp {
258b186b8b6SAlexander Stein		fsl,pins = <MX8MQ_IOMUXC_I2C3_SCL_GPIO5_IO18		0x40000067>,
259b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_I2C3_SDA_GPIO5_IO19		0x40000067>;
260b186b8b6SAlexander Stein	};
261b186b8b6SAlexander Stein
262b186b8b6SAlexander Stein	pinctrl_pwm3: pwm3grp {
263b186b8b6SAlexander Stein		fsl,pins = <MX8MQ_IOMUXC_GPIO1_IO14_PWM3_OUT		0x16>;
264b186b8b6SAlexander Stein	};
265b186b8b6SAlexander Stein
266b186b8b6SAlexander Stein	pinctrl_pwm4: pwm4grp {
267b186b8b6SAlexander Stein		fsl,pins = <MX8MQ_IOMUXC_GPIO1_IO15_PWM4_OUT		0x16>;
268b186b8b6SAlexander Stein	};
269b186b8b6SAlexander Stein
270b186b8b6SAlexander Stein	pinctrl_regotgvbus: reggotgvbusgrp {
271b186b8b6SAlexander Stein		/* USB1 OTG PWR as GPIO */
272b186b8b6SAlexander Stein		fsl,pins = <MX8MQ_IOMUXC_GPIO1_IO12_GPIO1_IO12		0x06>;
273b186b8b6SAlexander Stein	};
274b186b8b6SAlexander Stein
275b186b8b6SAlexander Stein	pinctrl_reg_usdhc2_vmmc: regusdhc2vmmcgrp {
276b186b8b6SAlexander Stein		fsl,pins = <MX8MQ_IOMUXC_SD2_RESET_B_GPIO2_IO19		0xc1>;
277b186b8b6SAlexander Stein	};
278b186b8b6SAlexander Stein
279b186b8b6SAlexander Stein	pinctrl_sai3: sai3grp {
280b186b8b6SAlexander Stein		fsl,pins = <MX8MQ_IOMUXC_SAI3_MCLK_SAI3_MCLK		0xd6>,
281b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_SAI3_RXC_SAI3_RX_BCLK		0xd6>,
282b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_SAI3_RXFS_SAI3_RX_SYNC		0xd6>,
283b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_SAI3_RXD_SAI3_RX_DATA0		0xd6>,
284b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_SAI3_TXFS_SAI3_TX_SYNC		0xd6>,
285b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_SAI3_TXD_SAI3_TX_DATA0		0xd6>,
286b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_SAI3_TXC_SAI3_TX_BCLK		0xd6>;
287b186b8b6SAlexander Stein	};
288b186b8b6SAlexander Stein
289b186b8b6SAlexander Stein	pinctrl_uart1: uart1grp {
290b186b8b6SAlexander Stein		fsl,pins = <MX8MQ_IOMUXC_UART1_RXD_UART1_DCE_RX		0x79>,
291b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_UART1_TXD_UART1_DCE_TX		0x79>;
292b186b8b6SAlexander Stein	};
293b186b8b6SAlexander Stein
294b186b8b6SAlexander Stein	pinctrl_uart2: uart2grp {
295b186b8b6SAlexander Stein		fsl,pins = <MX8MQ_IOMUXC_UART2_RXD_UART2_DCE_RX		0x79>,
296b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_UART2_TXD_UART2_DCE_TX		0x79>;
297b186b8b6SAlexander Stein	};
298b186b8b6SAlexander Stein
299b186b8b6SAlexander Stein	pinctrl_uart3: uart3grp {
300b186b8b6SAlexander Stein		fsl,pins = <MX8MQ_IOMUXC_UART3_RXD_UART3_DCE_RX		0x79>,
301b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_UART3_TXD_UART3_DCE_TX		0x79>;
302b186b8b6SAlexander Stein	};
303b186b8b6SAlexander Stein
304b186b8b6SAlexander Stein	pinctrl_uart4: uart4grp {
305b186b8b6SAlexander Stein		fsl,pins = <MX8MQ_IOMUXC_UART4_RXD_UART4_DCE_RX		0x79>,
306b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_UART4_TXD_UART4_DCE_TX		0x79>;
307b186b8b6SAlexander Stein	};
308b186b8b6SAlexander Stein
309b186b8b6SAlexander Stein	pinctrl_usbcon0: usb0congrp {
310b186b8b6SAlexander Stein		/* ID: floating / high: device, low: host -> use PU */
311b186b8b6SAlexander Stein		fsl,pins = <MX8MQ_IOMUXC_GPIO1_IO10_GPIO1_IO10		0xe6>;
312b186b8b6SAlexander Stein	};
313b186b8b6SAlexander Stein
314b186b8b6SAlexander Stein	pinctrl_usdhc2: usdhc2grp {
315b186b8b6SAlexander Stein		fsl,pins = <MX8MQ_IOMUXC_SD2_CLK_USDHC2_CLK		0x83>,
316b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_SD2_CMD_USDHC2_CMD		0xc3>,
317b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_SD2_DATA0_USDHC2_DATA0		0xc3>,
318b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_SD2_DATA1_USDHC2_DATA1		0xc3>,
319b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_SD2_DATA2_USDHC2_DATA2		0xc3>,
320b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_SD2_DATA3_USDHC2_DATA3		0xc3>,
321b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_GPIO1_IO04_USDHC2_VSELECT	0xc1>;
322b186b8b6SAlexander Stein	};
323b186b8b6SAlexander Stein
324b186b8b6SAlexander Stein	pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp {
325b186b8b6SAlexander Stein		fsl,pins = <MX8MQ_IOMUXC_SD2_CLK_USDHC2_CLK		0x85>,
326b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_SD2_CMD_USDHC2_CMD		0xc5>,
327b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_SD2_DATA0_USDHC2_DATA0		0xc5>,
328b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_SD2_DATA1_USDHC2_DATA1		0xc5>,
329b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_SD2_DATA2_USDHC2_DATA2		0xc5>,
330b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_SD2_DATA3_USDHC2_DATA3		0xc5>,
331b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_GPIO1_IO04_USDHC2_VSELECT	0xc1>;
332b186b8b6SAlexander Stein	};
333b186b8b6SAlexander Stein
334b186b8b6SAlexander Stein	pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp {
335b186b8b6SAlexander Stein		fsl,pins = <MX8MQ_IOMUXC_SD2_CLK_USDHC2_CLK		0x9f>,
336b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_SD2_CMD_USDHC2_CMD		0xc7>,
337b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_SD2_DATA0_USDHC2_DATA0		0xc7>,
338b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_SD2_DATA1_USDHC2_DATA1		0xc7>,
339b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_SD2_DATA2_USDHC2_DATA2		0xc7>,
340b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_SD2_DATA3_USDHC2_DATA3		0xc7>,
341b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_GPIO1_IO04_USDHC2_VSELECT	0xc1>;
342b186b8b6SAlexander Stein	};
343b186b8b6SAlexander Stein
344b186b8b6SAlexander Stein	pinctrl_usdhc2_gpio: usdhc2-gpiogrp {
345b186b8b6SAlexander Stein		fsl,pins = <MX8MQ_IOMUXC_SD2_CD_B_GPIO2_IO12		0x41>;
346b186b8b6SAlexander Stein	};
347b186b8b6SAlexander Stein};
348