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