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>;
27*f43027eaSAlexander Stein		id-gpios = <&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>,
1081a9629f7SMarek Vasut		 <&pcie0_refclk>,
109b186b8b6SAlexander Stein		 <&clk IMX8MQ_CLK_PCIE1_PHY>,
1101a9629f7SMarek Vasut		 <&clk IMX8MQ_CLK_PCIE1_AUX>;
111b186b8b6SAlexander Stein	status = "okay";
112b186b8b6SAlexander Stein};
113b186b8b6SAlexander Stein
114b186b8b6SAlexander Stein/*
115b186b8b6SAlexander Stein * miniPCIe, also usable for cards with USB. Therefore configure the reset as
116b186b8b6SAlexander Stein * static gpio hog.
117b186b8b6SAlexander Stein */
118b186b8b6SAlexander Stein&pcie1 {
119b186b8b6SAlexander Stein	clocks = <&clk IMX8MQ_CLK_PCIE2_ROOT>,
1201a9629f7SMarek Vasut		 <&pcie1_refclk>,
121b186b8b6SAlexander Stein		 <&clk IMX8MQ_CLK_PCIE2_PHY>,
1221a9629f7SMarek Vasut		 <&clk IMX8MQ_CLK_PCIE2_AUX>;
123b186b8b6SAlexander Stein	status = "okay";
124b186b8b6SAlexander Stein};
125b186b8b6SAlexander Stein
126b186b8b6SAlexander Stein&sai3 {
127b186b8b6SAlexander Stein	assigned-clocks = <&clk IMX8MQ_CLK_SAI3>;
128b186b8b6SAlexander Stein	assigned-clock-parents = <&clk IMX8MQ_AUDIO_PLL1_OUT>;
129b186b8b6SAlexander Stein	clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3", "pll8k", "pll11k";
130b186b8b6SAlexander Stein	clocks = <&clk IMX8MQ_CLK_SAI3_IPG>, <&clk IMX8MQ_CLK_DUMMY>,
131b186b8b6SAlexander Stein		<&clk IMX8MQ_CLK_SAI3_ROOT>, <&clk IMX8MQ_CLK_DUMMY>,
132b186b8b6SAlexander Stein		<&clk IMX8MQ_CLK_DUMMY>, <&clk IMX8MQ_AUDIO_PLL1_OUT>,
133b186b8b6SAlexander Stein		<&clk IMX8MQ_AUDIO_PLL2_OUT>;
134b186b8b6SAlexander Stein};
135b186b8b6SAlexander Stein
136b186b8b6SAlexander Stein&tlv320aic3x04 {
137b186b8b6SAlexander Stein	clock-names = "mclk";
138b186b8b6SAlexander Stein	clocks = <&clk IMX8MQ_CLK_SAI3_ROOT>;
139b186b8b6SAlexander Stein};
140b186b8b6SAlexander Stein
141b186b8b6SAlexander Stein&uart1 {
142b186b8b6SAlexander Stein	assigned-clocks = <&clk IMX8MQ_CLK_UART1>;
143b186b8b6SAlexander Stein	assigned-clock-parents = <&clk IMX8MQ_SYS1_PLL_80M>;
144b186b8b6SAlexander Stein};
145b186b8b6SAlexander Stein
146b186b8b6SAlexander Stein&uart2 {
147b186b8b6SAlexander Stein	assigned-clocks = <&clk IMX8MQ_CLK_UART2>;
148b186b8b6SAlexander Stein	assigned-clock-parents = <&clk IMX8MQ_SYS1_PLL_80M>;
149b186b8b6SAlexander Stein};
150b186b8b6SAlexander Stein
151b186b8b6SAlexander Stein/* console */
152b186b8b6SAlexander Stein&uart3 {
153b186b8b6SAlexander Stein	assigned-clocks = <&clk IMX8MQ_CLK_UART3>;
154b186b8b6SAlexander Stein	assigned-clock-parents = <&clk IMX8MQ_CLK_25M>;
155b186b8b6SAlexander Stein};
156b186b8b6SAlexander Stein
157b186b8b6SAlexander Stein&usb3_phy0 {
158b186b8b6SAlexander Stein	vbus-supply = <&reg_otg_vbus>;
159b186b8b6SAlexander Stein	status = "okay";
160b186b8b6SAlexander Stein};
161b186b8b6SAlexander Stein
162b186b8b6SAlexander Stein&usb_dwc3_0 {
163b186b8b6SAlexander Stein	/* we implement dual role but not full featured OTG */
164b186b8b6SAlexander Stein	extcon = <&extcon_usbotg>;
165b186b8b6SAlexander Stein	hnp-disable;
166b186b8b6SAlexander Stein	srp-disable;
167b186b8b6SAlexander Stein	adp-disable;
168b186b8b6SAlexander Stein	dr_mode = "otg";
169b186b8b6SAlexander Stein	status = "okay";
170b186b8b6SAlexander Stein};
171b186b8b6SAlexander Stein
172b186b8b6SAlexander Stein&usb3_phy1 {
173b186b8b6SAlexander Stein	status = "okay";
174b186b8b6SAlexander Stein};
175b186b8b6SAlexander Stein
176b186b8b6SAlexander Stein&usb_dwc3_1 {
177b186b8b6SAlexander Stein	status = "okay";
178b186b8b6SAlexander Stein	dr_mode = "host";
179b186b8b6SAlexander Stein};
180b186b8b6SAlexander Stein
181b186b8b6SAlexander Stein&wdog1 {
182b186b8b6SAlexander Stein	pinctrl-names = "default";
183b186b8b6SAlexander Stein	pinctrl-0 = <&pinctrl_wdog>;
184b186b8b6SAlexander Stein	fsl,ext-reset-output;
185b186b8b6SAlexander Stein	status = "okay";
186b186b8b6SAlexander Stein};
187b186b8b6SAlexander Stein
188b186b8b6SAlexander Stein&iomuxc {
189b186b8b6SAlexander Stein	pinctrl_ecspi1: ecspi1grp {
190b186b8b6SAlexander Stein		fsl,pins = <MX8MQ_IOMUXC_ECSPI1_SCLK_ECSPI1_SCLK	0x0000004e>,
191b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_ECSPI1_MOSI_ECSPI1_MOSI	0x0000004e>,
192b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_ECSPI1_MISO_ECSPI1_MISO	0x0000004e>,
193b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_ECSPI1_SS0_GPIO5_IO9		0x0000004e>;
194b186b8b6SAlexander Stein	};
195b186b8b6SAlexander Stein
196b186b8b6SAlexander Stein	pinctrl_ecspi2: ecspi2grp {
197b186b8b6SAlexander Stein		fsl,pins = <MX8MQ_IOMUXC_ECSPI2_SCLK_ECSPI2_SCLK	0x0000004e>,
198b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_ECSPI2_MOSI_ECSPI2_MOSI	0x0000004e>,
199b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_ECSPI2_MISO_ECSPI2_MISO	0x0000004e>,
200b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_ECSPI2_SS0_GPIO5_IO13		0x0000004e>;
201b186b8b6SAlexander Stein	};
202b186b8b6SAlexander Stein
203b186b8b6SAlexander Stein	pinctrl_expander: expandergrp {
204b186b8b6SAlexander Stein		fsl,pins = <MX8MQ_IOMUXC_GPIO1_IO09_GPIO1_IO9		0xd6>;
205b186b8b6SAlexander Stein	};
206b186b8b6SAlexander Stein
207b186b8b6SAlexander Stein	pinctrl_fec1: fec1grp {
208b186b8b6SAlexander Stein		fsl,pins = <MX8MQ_IOMUXC_ENET_MDC_ENET1_MDC		0x3>,
209b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_ENET_MDIO_ENET1_MDIO		0x23>,
210b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_ENET_TD3_ENET1_RGMII_TD3	0x1f>,
211b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_ENET_TD2_ENET1_RGMII_TD2	0x1f>,
212b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_ENET_TD1_ENET1_RGMII_TD1	0x1f>,
213b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_ENET_TD0_ENET1_RGMII_TD0	0x1f>,
214b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_ENET_RD3_ENET1_RGMII_RD3	0x91>,
215b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_ENET_RD2_ENET1_RGMII_RD2	0x91>,
216b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_ENET_RD1_ENET1_RGMII_RD1	0x91>,
217b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_ENET_RD0_ENET1_RGMII_RD0	0x91>,
218b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_ENET_TXC_ENET1_RGMII_TXC	0x1f>,
219b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_ENET_RXC_ENET1_RGMII_RXC	0x91>,
220b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_ENET_RX_CTL_ENET1_RGMII_RX_CTL	0x91>,
221b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_ENET_TX_CTL_ENET1_RGMII_TX_CTL	0x1f>;
222b186b8b6SAlexander Stein	};
223b186b8b6SAlexander Stein
224b186b8b6SAlexander Stein	pinctrl_gpiobutton: gpiobuttongrp {
225b186b8b6SAlexander Stein		fsl,pins = <MX8MQ_IOMUXC_GPIO1_IO05_GPIO1_IO5		0x41>,
226b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_GPIO1_IO07_GPIO1_IO7		0x41>,
227b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_NAND_WE_B_GPIO3_IO17		0x41>;
228b186b8b6SAlexander Stein	};
229b186b8b6SAlexander Stein
230b186b8b6SAlexander Stein	pinctrl_gpioled: gpioledgrp {
231b186b8b6SAlexander Stein		fsl,pins = <MX8MQ_IOMUXC_GPIO1_IO00_GPIO1_IO0		0x41>,
232b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_GPIO1_IO08_GPIO1_IO8		0x41>,
233b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_NAND_READY_B_GPIO3_IO16	0x41>;
234b186b8b6SAlexander Stein	};
235b186b8b6SAlexander Stein
236b186b8b6SAlexander Stein	pinctrl_i2c2: i2c2grp {
237b186b8b6SAlexander Stein		fsl,pins = <MX8MQ_IOMUXC_I2C2_SCL_I2C2_SCL		0x40000067>,
238b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_I2C2_SDA_I2C2_SDA		0x40000067>;
239b186b8b6SAlexander Stein	};
240b186b8b6SAlexander Stein
241b186b8b6SAlexander Stein	pinctrl_i2c2_gpio: i2c2gpiogrp {
242b186b8b6SAlexander Stein		fsl,pins = <MX8MQ_IOMUXC_I2C2_SCL_GPIO5_IO16		0x40000067>,
243b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_I2C2_SDA_GPIO5_IO17		0x40000067>;
244b186b8b6SAlexander Stein	};
245b186b8b6SAlexander Stein
246b186b8b6SAlexander Stein	pinctrl_i2c3: i2c3grp {
247b186b8b6SAlexander Stein		fsl,pins = <MX8MQ_IOMUXC_I2C3_SCL_I2C3_SCL		0x40000067>,
248b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_I2C3_SDA_I2C3_SDA		0x40000067>;
249b186b8b6SAlexander Stein	};
250b186b8b6SAlexander Stein
251b186b8b6SAlexander Stein	pinctrl_i2c3_gpio: i2c3gpiogrp {
252b186b8b6SAlexander Stein		fsl,pins = <MX8MQ_IOMUXC_I2C3_SCL_GPIO5_IO18		0x40000067>,
253b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_I2C3_SDA_GPIO5_IO19		0x40000067>;
254b186b8b6SAlexander Stein	};
255b186b8b6SAlexander Stein
256b186b8b6SAlexander Stein	pinctrl_pwm3: pwm3grp {
257b186b8b6SAlexander Stein		fsl,pins = <MX8MQ_IOMUXC_GPIO1_IO14_PWM3_OUT		0x16>;
258b186b8b6SAlexander Stein	};
259b186b8b6SAlexander Stein
260b186b8b6SAlexander Stein	pinctrl_pwm4: pwm4grp {
261b186b8b6SAlexander Stein		fsl,pins = <MX8MQ_IOMUXC_GPIO1_IO15_PWM4_OUT		0x16>;
262b186b8b6SAlexander Stein	};
263b186b8b6SAlexander Stein
264b186b8b6SAlexander Stein	pinctrl_regotgvbus: reggotgvbusgrp {
265b186b8b6SAlexander Stein		/* USB1 OTG PWR as GPIO */
266b186b8b6SAlexander Stein		fsl,pins = <MX8MQ_IOMUXC_GPIO1_IO12_GPIO1_IO12		0x06>;
267b186b8b6SAlexander Stein	};
268b186b8b6SAlexander Stein
269b186b8b6SAlexander Stein	pinctrl_reg_usdhc2_vmmc: regusdhc2vmmcgrp {
270b186b8b6SAlexander Stein		fsl,pins = <MX8MQ_IOMUXC_SD2_RESET_B_GPIO2_IO19		0xc1>;
271b186b8b6SAlexander Stein	};
272b186b8b6SAlexander Stein
273b186b8b6SAlexander Stein	pinctrl_sai3: sai3grp {
274b186b8b6SAlexander Stein		fsl,pins = <MX8MQ_IOMUXC_SAI3_MCLK_SAI3_MCLK		0xd6>,
275b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_SAI3_RXC_SAI3_RX_BCLK		0xd6>,
276b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_SAI3_RXFS_SAI3_RX_SYNC		0xd6>,
277b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_SAI3_RXD_SAI3_RX_DATA0		0xd6>,
278b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_SAI3_TXFS_SAI3_TX_SYNC		0xd6>,
279b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_SAI3_TXD_SAI3_TX_DATA0		0xd6>,
280b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_SAI3_TXC_SAI3_TX_BCLK		0xd6>;
281b186b8b6SAlexander Stein	};
282b186b8b6SAlexander Stein
283b186b8b6SAlexander Stein	pinctrl_uart1: uart1grp {
284b186b8b6SAlexander Stein		fsl,pins = <MX8MQ_IOMUXC_UART1_RXD_UART1_DCE_RX		0x79>,
285b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_UART1_TXD_UART1_DCE_TX		0x79>;
286b186b8b6SAlexander Stein	};
287b186b8b6SAlexander Stein
288b186b8b6SAlexander Stein	pinctrl_uart2: uart2grp {
289b186b8b6SAlexander Stein		fsl,pins = <MX8MQ_IOMUXC_UART2_RXD_UART2_DCE_RX		0x79>,
290b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_UART2_TXD_UART2_DCE_TX		0x79>;
291b186b8b6SAlexander Stein	};
292b186b8b6SAlexander Stein
293b186b8b6SAlexander Stein	pinctrl_uart3: uart3grp {
294b186b8b6SAlexander Stein		fsl,pins = <MX8MQ_IOMUXC_UART3_RXD_UART3_DCE_RX		0x79>,
295b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_UART3_TXD_UART3_DCE_TX		0x79>;
296b186b8b6SAlexander Stein	};
297b186b8b6SAlexander Stein
298b186b8b6SAlexander Stein	pinctrl_uart4: uart4grp {
299b186b8b6SAlexander Stein		fsl,pins = <MX8MQ_IOMUXC_UART4_RXD_UART4_DCE_RX		0x79>,
300b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_UART4_TXD_UART4_DCE_TX		0x79>;
301b186b8b6SAlexander Stein	};
302b186b8b6SAlexander Stein
303b186b8b6SAlexander Stein	pinctrl_usbcon0: usb0congrp {
304b186b8b6SAlexander Stein		/* ID: floating / high: device, low: host -> use PU */
305b186b8b6SAlexander Stein		fsl,pins = <MX8MQ_IOMUXC_GPIO1_IO10_GPIO1_IO10		0xe6>;
306b186b8b6SAlexander Stein	};
307b186b8b6SAlexander Stein
308b186b8b6SAlexander Stein	pinctrl_usdhc2: usdhc2grp {
309b186b8b6SAlexander Stein		fsl,pins = <MX8MQ_IOMUXC_SD2_CLK_USDHC2_CLK		0x83>,
310b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_SD2_CMD_USDHC2_CMD		0xc3>,
311b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_SD2_DATA0_USDHC2_DATA0		0xc3>,
312b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_SD2_DATA1_USDHC2_DATA1		0xc3>,
313b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_SD2_DATA2_USDHC2_DATA2		0xc3>,
314b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_SD2_DATA3_USDHC2_DATA3		0xc3>,
315b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_GPIO1_IO04_USDHC2_VSELECT	0xc1>;
316b186b8b6SAlexander Stein	};
317b186b8b6SAlexander Stein
318b186b8b6SAlexander Stein	pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp {
319b186b8b6SAlexander Stein		fsl,pins = <MX8MQ_IOMUXC_SD2_CLK_USDHC2_CLK		0x85>,
320b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_SD2_CMD_USDHC2_CMD		0xc5>,
321b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_SD2_DATA0_USDHC2_DATA0		0xc5>,
322b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_SD2_DATA1_USDHC2_DATA1		0xc5>,
323b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_SD2_DATA2_USDHC2_DATA2		0xc5>,
324b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_SD2_DATA3_USDHC2_DATA3		0xc5>,
325b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_GPIO1_IO04_USDHC2_VSELECT	0xc1>;
326b186b8b6SAlexander Stein	};
327b186b8b6SAlexander Stein
328b186b8b6SAlexander Stein	pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp {
329b186b8b6SAlexander Stein		fsl,pins = <MX8MQ_IOMUXC_SD2_CLK_USDHC2_CLK		0x9f>,
330b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_SD2_CMD_USDHC2_CMD		0xc7>,
331b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_SD2_DATA0_USDHC2_DATA0		0xc7>,
332b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_SD2_DATA1_USDHC2_DATA1		0xc7>,
333b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_SD2_DATA2_USDHC2_DATA2		0xc7>,
334b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_SD2_DATA3_USDHC2_DATA3		0xc7>,
335b186b8b6SAlexander Stein			   <MX8MQ_IOMUXC_GPIO1_IO04_USDHC2_VSELECT	0xc1>;
336b186b8b6SAlexander Stein	};
337b186b8b6SAlexander Stein
338b186b8b6SAlexander Stein	pinctrl_usdhc2_gpio: usdhc2-gpiogrp {
339b186b8b6SAlexander Stein		fsl,pins = <MX8MQ_IOMUXC_SD2_CD_B_GPIO2_IO12		0x41>;
340b186b8b6SAlexander Stein	};
341b186b8b6SAlexander Stein};
342