1*418d1d84SAlexander Stein// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2*418d1d84SAlexander Stein/*
3*418d1d84SAlexander Stein * Copyright 2021-2022 TQ-Systems GmbH
4*418d1d84SAlexander Stein * Author: Alexander Stein <alexander.stein@tq-group.com>
5*418d1d84SAlexander Stein */
6*418d1d84SAlexander Stein
7*418d1d84SAlexander Stein/dts-v1/;
8*418d1d84SAlexander Stein
9*418d1d84SAlexander Stein#include <dt-bindings/leds/common.h>
10*418d1d84SAlexander Stein#include <dt-bindings/net/ti-dp83867.h>
11*418d1d84SAlexander Stein#include <dt-bindings/pwm/pwm.h>
12*418d1d84SAlexander Stein#include "imx8mp-tqma8mpql.dtsi"
13*418d1d84SAlexander Stein
14*418d1d84SAlexander Stein/ {
15*418d1d84SAlexander Stein	model = "TQ-Systems i.MX8MPlus TQMa8MPxL on MBa8MPxL";
16*418d1d84SAlexander Stein	compatible = "tq,imx8mp-tqma8mpql-mba8mpxl", "tq,imx8mp-tqma8mpql", "fsl,imx8mp";
17*418d1d84SAlexander Stein
18*418d1d84SAlexander Stein	chosen {
19*418d1d84SAlexander Stein		stdout-path = &uart4;
20*418d1d84SAlexander Stein	};
21*418d1d84SAlexander Stein
22*418d1d84SAlexander Stein	iio-hwmon {
23*418d1d84SAlexander Stein		compatible = "iio-hwmon";
24*418d1d84SAlexander Stein		io-channels = <&adc 0>, <&adc 1>;
25*418d1d84SAlexander Stein	};
26*418d1d84SAlexander Stein
27*418d1d84SAlexander Stein	aliases {
28*418d1d84SAlexander Stein		mmc0 = &usdhc3;
29*418d1d84SAlexander Stein		mmc1 = &usdhc2;
30*418d1d84SAlexander Stein		mmc2 = &usdhc1;
31*418d1d84SAlexander Stein		rtc0 = &pcf85063;
32*418d1d84SAlexander Stein		rtc1 = &snvs_rtc;
33*418d1d84SAlexander Stein		spi0 = &flexspi;
34*418d1d84SAlexander Stein		spi1 = &ecspi1;
35*418d1d84SAlexander Stein		spi2 = &ecspi2;
36*418d1d84SAlexander Stein		spi3 = &ecspi3;
37*418d1d84SAlexander Stein	};
38*418d1d84SAlexander Stein
39*418d1d84SAlexander Stein	backlight_lvds: backlight {
40*418d1d84SAlexander Stein		compatible = "pwm-backlight";
41*418d1d84SAlexander Stein		pinctrl-names = "default";
42*418d1d84SAlexander Stein		pinctrl-0 = <&pinctrl_backlight>;
43*418d1d84SAlexander Stein		pwms = <&pwm2 0 5000000 0>;
44*418d1d84SAlexander Stein		brightness-levels = <0 4 8 16 32 64 128 255>;
45*418d1d84SAlexander Stein		default-brightness-level = <7>;
46*418d1d84SAlexander Stein		power-supply = <&reg_vcc_12v0>;
47*418d1d84SAlexander Stein		enable-gpios = <&gpio3 19 GPIO_ACTIVE_HIGH>;
48*418d1d84SAlexander Stein		status = "disabled";
49*418d1d84SAlexander Stein	};
50*418d1d84SAlexander Stein
51*418d1d84SAlexander Stein	gpio-keys {
52*418d1d84SAlexander Stein		compatible = "gpio-keys";
53*418d1d84SAlexander Stein		pinctrl-names = "default";
54*418d1d84SAlexander Stein		pinctrl-0 = <&pinctrl_gpiobutton>;
55*418d1d84SAlexander Stein		autorepeat;
56*418d1d84SAlexander Stein
57*418d1d84SAlexander Stein		switch-1 {
58*418d1d84SAlexander Stein			label = "S12";
59*418d1d84SAlexander Stein			linux,code = <BTN_0>;
60*418d1d84SAlexander Stein			gpios = <&gpio5 26 GPIO_ACTIVE_LOW>;
61*418d1d84SAlexander Stein		};
62*418d1d84SAlexander Stein
63*418d1d84SAlexander Stein		switch-2 {
64*418d1d84SAlexander Stein			label = "S13";
65*418d1d84SAlexander Stein			linux,code = <BTN_1>;
66*418d1d84SAlexander Stein			gpios = <&gpio5 27 GPIO_ACTIVE_LOW>;
67*418d1d84SAlexander Stein		};
68*418d1d84SAlexander Stein	};
69*418d1d84SAlexander Stein
70*418d1d84SAlexander Stein	gpio-leds {
71*418d1d84SAlexander Stein		compatible = "gpio-leds";
72*418d1d84SAlexander Stein		pinctrl-names = "default";
73*418d1d84SAlexander Stein		pinctrl-0 = <&pinctrl_gpioled>;
74*418d1d84SAlexander Stein
75*418d1d84SAlexander Stein		led-0 {
76*418d1d84SAlexander Stein			color = <LED_COLOR_ID_GREEN>;
77*418d1d84SAlexander Stein			function = LED_FUNCTION_STATUS;
78*418d1d84SAlexander Stein			function-enumerator = <0>;
79*418d1d84SAlexander Stein			gpios = <&gpio5 5 GPIO_ACTIVE_HIGH>;
80*418d1d84SAlexander Stein			linux,default-trigger = "default-on";
81*418d1d84SAlexander Stein		};
82*418d1d84SAlexander Stein
83*418d1d84SAlexander Stein		led-1 {
84*418d1d84SAlexander Stein			color = <LED_COLOR_ID_GREEN>;
85*418d1d84SAlexander Stein			function = LED_FUNCTION_HEARTBEAT;
86*418d1d84SAlexander Stein			gpios = <&gpio5 4 GPIO_ACTIVE_HIGH>;
87*418d1d84SAlexander Stein			linux,default-trigger = "heartbeat";
88*418d1d84SAlexander Stein		};
89*418d1d84SAlexander Stein
90*418d1d84SAlexander Stein		led-2 {
91*418d1d84SAlexander Stein			color = <LED_COLOR_ID_YELLOW>;
92*418d1d84SAlexander Stein			function = LED_FUNCTION_STATUS;
93*418d1d84SAlexander Stein			function-enumerator = <1>;
94*418d1d84SAlexander Stein			gpios = <&gpio5 3 GPIO_ACTIVE_HIGH>;
95*418d1d84SAlexander Stein		};
96*418d1d84SAlexander Stein	};
97*418d1d84SAlexander Stein
98*418d1d84SAlexander Stein	display: display {
99*418d1d84SAlexander Stein		/*
100*418d1d84SAlexander Stein		 * Display is not fixed, so compatible has to be added from
101*418d1d84SAlexander Stein		 * DT overlay
102*418d1d84SAlexander Stein		 */
103*418d1d84SAlexander Stein		pinctrl-names = "default";
104*418d1d84SAlexander Stein		pinctrl-0 = <&pinctrl_lvdsdisplay>;
105*418d1d84SAlexander Stein		power-supply = <&reg_vcc_3v3>;
106*418d1d84SAlexander Stein		enable-gpios = <&gpio3 20 GPIO_ACTIVE_HIGH>;
107*418d1d84SAlexander Stein		backlight = <&backlight_lvds>;
108*418d1d84SAlexander Stein		status = "disabled";
109*418d1d84SAlexander Stein	};
110*418d1d84SAlexander Stein
111*418d1d84SAlexander Stein	reg_usdhc2_vmmc: regulator-usdhc2 {
112*418d1d84SAlexander Stein		compatible = "regulator-fixed";
113*418d1d84SAlexander Stein		pinctrl-names = "default";
114*418d1d84SAlexander Stein		pinctrl-0 = <&pinctrl_reg_usdhc2_vmmc>;
115*418d1d84SAlexander Stein		regulator-name = "VSD_3V3";
116*418d1d84SAlexander Stein		regulator-min-microvolt = <3300000>;
117*418d1d84SAlexander Stein		regulator-max-microvolt = <3300000>;
118*418d1d84SAlexander Stein		gpio = <&gpio2 19 GPIO_ACTIVE_HIGH>;
119*418d1d84SAlexander Stein		enable-active-high;
120*418d1d84SAlexander Stein		startup-delay-us = <100>;
121*418d1d84SAlexander Stein		off-on-delay-us = <12000>;
122*418d1d84SAlexander Stein	};
123*418d1d84SAlexander Stein
124*418d1d84SAlexander Stein	reg_vcc_12v0: regulator-12v0 {
125*418d1d84SAlexander Stein		compatible = "regulator-fixed";
126*418d1d84SAlexander Stein		pinctrl-names = "default";
127*418d1d84SAlexander Stein		pinctrl-0 = <&pinctrl_reg12v0>;
128*418d1d84SAlexander Stein		regulator-name = "VCC_12V0";
129*418d1d84SAlexander Stein		regulator-min-microvolt = <12000000>;
130*418d1d84SAlexander Stein		regulator-max-microvolt = <12000000>;
131*418d1d84SAlexander Stein		gpio = <&gpio2 6 GPIO_ACTIVE_HIGH>;
132*418d1d84SAlexander Stein		enable-active-high;
133*418d1d84SAlexander Stein	};
134*418d1d84SAlexander Stein
135*418d1d84SAlexander Stein	reg_vcc_3v3: regulator-3v3 {
136*418d1d84SAlexander Stein		compatible = "regulator-fixed";
137*418d1d84SAlexander Stein		regulator-name = "VCC_3V3";
138*418d1d84SAlexander Stein		regulator-min-microvolt = <3300000>;
139*418d1d84SAlexander Stein		regulator-max-microvolt = <3300000>;
140*418d1d84SAlexander Stein	};
141*418d1d84SAlexander Stein
142*418d1d84SAlexander Stein	reserved-memory {
143*418d1d84SAlexander Stein		#address-cells = <2>;
144*418d1d84SAlexander Stein		#size-cells = <2>;
145*418d1d84SAlexander Stein		ranges;
146*418d1d84SAlexander Stein
147*418d1d84SAlexander Stein		ocram: ocram@900000 {
148*418d1d84SAlexander Stein			no-map;
149*418d1d84SAlexander Stein			reg = <0 0x900000 0 0x70000>;
150*418d1d84SAlexander Stein		};
151*418d1d84SAlexander Stein
152*418d1d84SAlexander Stein		/* global autoconfigured region for contiguous allocations */
153*418d1d84SAlexander Stein		linux,cma {
154*418d1d84SAlexander Stein			compatible = "shared-dma-pool";
155*418d1d84SAlexander Stein			reusable;
156*418d1d84SAlexander Stein			size = <0 0x38000000>;
157*418d1d84SAlexander Stein			alloc-ranges = <0 0x40000000 0 0xB0000000>;
158*418d1d84SAlexander Stein			linux,cma-default;
159*418d1d84SAlexander Stein		};
160*418d1d84SAlexander Stein	};
161*418d1d84SAlexander Stein};
162*418d1d84SAlexander Stein
163*418d1d84SAlexander Stein&ecspi1 {
164*418d1d84SAlexander Stein	pinctrl-names = "default";
165*418d1d84SAlexander Stein	pinctrl-0 = <&pinctrl_ecspi1>;
166*418d1d84SAlexander Stein	cs-gpios = <&gpio5 9 GPIO_ACTIVE_LOW>;
167*418d1d84SAlexander Stein	status = "okay";
168*418d1d84SAlexander Stein};
169*418d1d84SAlexander Stein
170*418d1d84SAlexander Stein&ecspi2 {
171*418d1d84SAlexander Stein	pinctrl-names = "default";
172*418d1d84SAlexander Stein	pinctrl-0 = <&pinctrl_ecspi2>;
173*418d1d84SAlexander Stein	cs-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>;
174*418d1d84SAlexander Stein	status = "okay";
175*418d1d84SAlexander Stein};
176*418d1d84SAlexander Stein
177*418d1d84SAlexander Stein&ecspi3 {
178*418d1d84SAlexander Stein	pinctrl-names = "default";
179*418d1d84SAlexander Stein	pinctrl-0 = <&pinctrl_ecspi3>;
180*418d1d84SAlexander Stein	cs-gpios = <&gpio5 25 GPIO_ACTIVE_LOW>;
181*418d1d84SAlexander Stein	status = "okay";
182*418d1d84SAlexander Stein
183*418d1d84SAlexander Stein	adc: adc@0 {
184*418d1d84SAlexander Stein		reg = <0>;
185*418d1d84SAlexander Stein		compatible = "microchip,mcp3202";
186*418d1d84SAlexander Stein		/* 100 ksps * 18 */
187*418d1d84SAlexander Stein		spi-max-frequency = <1800000>;
188*418d1d84SAlexander Stein		vref-supply = <&reg_vcc_3v3>;
189*418d1d84SAlexander Stein		#io-channel-cells = <1>;
190*418d1d84SAlexander Stein	};
191*418d1d84SAlexander Stein};
192*418d1d84SAlexander Stein
193*418d1d84SAlexander Stein&eqos {
194*418d1d84SAlexander Stein	pinctrl-names = "default";
195*418d1d84SAlexander Stein	pinctrl-0 = <&pinctrl_eqos>, <&pinctrl_eqos_phy>;
196*418d1d84SAlexander Stein	phy-mode = "rgmii-id";
197*418d1d84SAlexander Stein	phy-handle = <&ethphy3>;
198*418d1d84SAlexander Stein	status = "okay";
199*418d1d84SAlexander Stein
200*418d1d84SAlexander Stein	mdio {
201*418d1d84SAlexander Stein		compatible = "snps,dwmac-mdio";
202*418d1d84SAlexander Stein		#address-cells = <1>;
203*418d1d84SAlexander Stein		#size-cells = <0>;
204*418d1d84SAlexander Stein
205*418d1d84SAlexander Stein		ethphy3: ethernet-phy@3 {
206*418d1d84SAlexander Stein			compatible = "ethernet-phy-ieee802.3-c22";
207*418d1d84SAlexander Stein			reg = <3>;
208*418d1d84SAlexander Stein			ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
209*418d1d84SAlexander Stein			ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
210*418d1d84SAlexander Stein			ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
211*418d1d84SAlexander Stein			ti,dp83867-rxctrl-strap-quirk;
212*418d1d84SAlexander Stein			ti,clk-output-sel = <DP83867_CLK_O_SEL_OFF>;
213*418d1d84SAlexander Stein			reset-gpios = <&gpio4 2 GPIO_ACTIVE_LOW>;
214*418d1d84SAlexander Stein			reset-assert-us = <500000>;
215*418d1d84SAlexander Stein			reset-deassert-us = <50000>;
216*418d1d84SAlexander Stein			enet-phy-lane-no-swap;
217*418d1d84SAlexander Stein			interrupt-parent = <&gpio4>;
218*418d1d84SAlexander Stein			interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
219*418d1d84SAlexander Stein		};
220*418d1d84SAlexander Stein	};
221*418d1d84SAlexander Stein};
222*418d1d84SAlexander Stein
223*418d1d84SAlexander Stein&fec {
224*418d1d84SAlexander Stein	pinctrl-names = "default";
225*418d1d84SAlexander Stein	pinctrl-0 = <&pinctrl_fec>, <&pinctrl_fec_phy>;
226*418d1d84SAlexander Stein	phy-mode = "rgmii-id";
227*418d1d84SAlexander Stein	phy-handle = <&ethphy0>;
228*418d1d84SAlexander Stein	fsl,magic-packet;
229*418d1d84SAlexander Stein	status = "okay";
230*418d1d84SAlexander Stein
231*418d1d84SAlexander Stein	mdio {
232*418d1d84SAlexander Stein		#address-cells = <1>;
233*418d1d84SAlexander Stein		#size-cells = <0>;
234*418d1d84SAlexander Stein
235*418d1d84SAlexander Stein		ethphy0: ethernet-phy@0 {
236*418d1d84SAlexander Stein			compatible = "ethernet-phy-ieee802.3-c22";
237*418d1d84SAlexander Stein			reg = <0>;
238*418d1d84SAlexander Stein			ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
239*418d1d84SAlexander Stein			ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
240*418d1d84SAlexander Stein			ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
241*418d1d84SAlexander Stein			ti,dp83867-rxctrl-strap-quirk;
242*418d1d84SAlexander Stein			ti,clk-output-sel = <DP83867_CLK_O_SEL_OFF>;
243*418d1d84SAlexander Stein			reset-gpios = <&gpio4 0 GPIO_ACTIVE_LOW>;
244*418d1d84SAlexander Stein			reset-assert-us = <500000>;
245*418d1d84SAlexander Stein			reset-deassert-us = <50000>;
246*418d1d84SAlexander Stein			enet-phy-lane-no-swap;
247*418d1d84SAlexander Stein			interrupt-parent = <&gpio4>;
248*418d1d84SAlexander Stein			interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
249*418d1d84SAlexander Stein		};
250*418d1d84SAlexander Stein	};
251*418d1d84SAlexander Stein};
252*418d1d84SAlexander Stein
253*418d1d84SAlexander Stein&flexcan1 {
254*418d1d84SAlexander Stein	pinctrl-names = "default";
255*418d1d84SAlexander Stein	pinctrl-0 = <&pinctrl_flexcan1>;
256*418d1d84SAlexander Stein	xceiver-supply = <&reg_vcc_3v3>;
257*418d1d84SAlexander Stein	status = "okay";
258*418d1d84SAlexander Stein};
259*418d1d84SAlexander Stein
260*418d1d84SAlexander Stein&flexcan2 {
261*418d1d84SAlexander Stein	pinctrl-names = "default";
262*418d1d84SAlexander Stein	pinctrl-0 = <&pinctrl_flexcan2>;
263*418d1d84SAlexander Stein	xceiver-supply = <&reg_vcc_3v3>;
264*418d1d84SAlexander Stein	status = "okay";
265*418d1d84SAlexander Stein};
266*418d1d84SAlexander Stein
267*418d1d84SAlexander Stein&gpio1 {
268*418d1d84SAlexander Stein	pinctrl-names = "default";
269*418d1d84SAlexander Stein	pinctrl-0 = <&pinctrl_gpio1>;
270*418d1d84SAlexander Stein
271*418d1d84SAlexander Stein	gpio-line-names = "GPO1", "GPO0", "", "GPO3",
272*418d1d84SAlexander Stein			  "", "", "GPO2", "GPI0",
273*418d1d84SAlexander Stein			  "PMIC_IRQ", "GPI1", "OTG_ID", "USB_HUB_RST#",
274*418d1d84SAlexander Stein			  "OTG_PWR", "", "GPI2", "GPI3",
275*418d1d84SAlexander Stein			  "", "", "", "",
276*418d1d84SAlexander Stein			  "", "", "", "",
277*418d1d84SAlexander Stein			  "", "", "", "",
278*418d1d84SAlexander Stein			  "", "", "", "";
279*418d1d84SAlexander Stein};
280*418d1d84SAlexander Stein
281*418d1d84SAlexander Stein&gpio2 {
282*418d1d84SAlexander Stein	pinctrl-names = "default";
283*418d1d84SAlexander Stein	pinctrl-0 = <&pinctrl_hoggpio2>;
284*418d1d84SAlexander Stein
285*418d1d84SAlexander Stein	gpio-line-names = "", "", "", "",
286*418d1d84SAlexander Stein			  "", "", "VCC12V_EN", "PERST#",
287*418d1d84SAlexander Stein			  "", "", "CLKREQ#", "PEWAKE#",
288*418d1d84SAlexander Stein			  "USDHC2_CD", "", "", "",
289*418d1d84SAlexander Stein			  "", "", "", "V_SD3V3_EN",
290*418d1d84SAlexander Stein			  "", "", "", "",
291*418d1d84SAlexander Stein			  "", "", "", "",
292*418d1d84SAlexander Stein			  "", "", "", "";
293*418d1d84SAlexander Stein
294*418d1d84SAlexander Stein	perst-hog {
295*418d1d84SAlexander Stein		gpio-hog;
296*418d1d84SAlexander Stein		gpios = <7 0>;
297*418d1d84SAlexander Stein		output-high;
298*418d1d84SAlexander Stein		line-name = "PERST#";
299*418d1d84SAlexander Stein	};
300*418d1d84SAlexander Stein
301*418d1d84SAlexander Stein	clkreq-hog {
302*418d1d84SAlexander Stein		gpio-hog;
303*418d1d84SAlexander Stein		gpios = <10 0>;
304*418d1d84SAlexander Stein		input;
305*418d1d84SAlexander Stein		line-name = "CLKREQ#";
306*418d1d84SAlexander Stein	};
307*418d1d84SAlexander Stein
308*418d1d84SAlexander Stein	pewake-hog {
309*418d1d84SAlexander Stein		gpio-hog;
310*418d1d84SAlexander Stein		gpios = <11 0>;
311*418d1d84SAlexander Stein		input;
312*418d1d84SAlexander Stein		line-name = "PEWAKE#";
313*418d1d84SAlexander Stein	};
314*418d1d84SAlexander Stein};
315*418d1d84SAlexander Stein
316*418d1d84SAlexander Stein&gpio3 {
317*418d1d84SAlexander Stein	gpio-line-names = "", "", "", "",
318*418d1d84SAlexander Stein			  "", "", "", "",
319*418d1d84SAlexander Stein			  "", "", "", "",
320*418d1d84SAlexander Stein			  "", "", "LVDS0_RESET#", "",
321*418d1d84SAlexander Stein			  "", "", "", "LVDS0_BLT_EN",
322*418d1d84SAlexander Stein			  "LVDS0_PWR_EN", "", "", "",
323*418d1d84SAlexander Stein			  "", "", "", "",
324*418d1d84SAlexander Stein			  "", "", "", "";
325*418d1d84SAlexander Stein};
326*418d1d84SAlexander Stein
327*418d1d84SAlexander Stein&gpio4 {
328*418d1d84SAlexander Stein	pinctrl-names = "default";
329*418d1d84SAlexander Stein	pinctrl-0 = <&pinctrl_gpio4>;
330*418d1d84SAlexander Stein
331*418d1d84SAlexander Stein	gpio-line-names = "ENET0_RST#", "ENET0_INT#", "ENET1_RST#", "ENET1_INT#",
332*418d1d84SAlexander Stein			  "", "", "", "",
333*418d1d84SAlexander Stein			  "", "", "", "",
334*418d1d84SAlexander Stein			  "", "", "", "",
335*418d1d84SAlexander Stein			  "", "", "DP_IRQ", "DSI_EN",
336*418d1d84SAlexander Stein			  "HDMI_OC#", "TEMP_EVENT#", "PCIE_CLK_OE#", "",
337*418d1d84SAlexander Stein			  "", "", "", "FAN_PWR",
338*418d1d84SAlexander Stein			  "RTC_EVENT#", "CODEC_RST#", "", "";
339*418d1d84SAlexander Stein};
340*418d1d84SAlexander Stein
341*418d1d84SAlexander Stein&gpio5 {
342*418d1d84SAlexander Stein	gpio-line-names = "", "", "", "LED2",
343*418d1d84SAlexander Stein			  "LED1", "LED0", "CSI0_RESET#", "CSI0_SYNC",
344*418d1d84SAlexander Stein			  "CSI0_TRIGGER", "CSI0_ENABLE", "", "",
345*418d1d84SAlexander Stein			  "", "ECSPI2_SS0", "", "",
346*418d1d84SAlexander Stein			  "", "", "", "",
347*418d1d84SAlexander Stein			  "", "", "", "",
348*418d1d84SAlexander Stein			  "", "ECSPI3_SS0", "SWITCH_A", "SWITCH_B",
349*418d1d84SAlexander Stein			  "", "", "", "";
350*418d1d84SAlexander Stein};
351*418d1d84SAlexander Stein
352*418d1d84SAlexander Stein&i2c2 {
353*418d1d84SAlexander Stein	clock-frequency = <384000>;
354*418d1d84SAlexander Stein	pinctrl-names = "default", "gpio";
355*418d1d84SAlexander Stein	pinctrl-0 = <&pinctrl_i2c2>;
356*418d1d84SAlexander Stein	pinctrl-1 = <&pinctrl_i2c2_gpio>;
357*418d1d84SAlexander Stein	scl-gpios = <&gpio5 16 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
358*418d1d84SAlexander Stein	sda-gpios = <&gpio5 17 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
359*418d1d84SAlexander Stein	status = "okay";
360*418d1d84SAlexander Stein
361*418d1d84SAlexander Stein	/* NXP SE97BTP with temperature sensor + eeprom */
362*418d1d84SAlexander Stein	se97_1c: temperature-sensor-eeprom@1c {
363*418d1d84SAlexander Stein		compatible = "nxp,se97", "jedec,jc-42.4-temp";
364*418d1d84SAlexander Stein		reg = <0x1c>;
365*418d1d84SAlexander Stein	};
366*418d1d84SAlexander Stein
367*418d1d84SAlexander Stein	at24c02_54: eeprom@54 {
368*418d1d84SAlexander Stein		compatible = "nxp,se97b", "atmel,24c02";
369*418d1d84SAlexander Stein		reg = <0x54>;
370*418d1d84SAlexander Stein		pagesize = <16>;
371*418d1d84SAlexander Stein		vcc-supply = <&reg_vcc_3v3>;
372*418d1d84SAlexander Stein	};
373*418d1d84SAlexander Stein};
374*418d1d84SAlexander Stein
375*418d1d84SAlexander Stein&i2c4 {
376*418d1d84SAlexander Stein	clock-frequency = <384000>;
377*418d1d84SAlexander Stein	pinctrl-names = "default", "gpio";
378*418d1d84SAlexander Stein	pinctrl-0 = <&pinctrl_i2c4>;
379*418d1d84SAlexander Stein	pinctrl-1 = <&pinctrl_i2c4_gpio>;
380*418d1d84SAlexander Stein	scl-gpios = <&gpio5 20 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
381*418d1d84SAlexander Stein	sda-gpios = <&gpio5 21 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
382*418d1d84SAlexander Stein	status = "okay";
383*418d1d84SAlexander Stein};
384*418d1d84SAlexander Stein
385*418d1d84SAlexander Stein&i2c6 {
386*418d1d84SAlexander Stein	clock-frequency = <384000>;
387*418d1d84SAlexander Stein	pinctrl-names = "default", "gpio";
388*418d1d84SAlexander Stein	pinctrl-0 = <&pinctrl_i2c6>;
389*418d1d84SAlexander Stein	pinctrl-1 = <&pinctrl_i2c6_gpio>;
390*418d1d84SAlexander Stein	scl-gpios = <&gpio2 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
391*418d1d84SAlexander Stein	sda-gpios = <&gpio2 3 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
392*418d1d84SAlexander Stein	status = "okay";
393*418d1d84SAlexander Stein};
394*418d1d84SAlexander Stein
395*418d1d84SAlexander Stein&pcf85063 {
396*418d1d84SAlexander Stein	/* RTC_EVENT# is connected on MBa8MPxL */
397*418d1d84SAlexander Stein	interrupt-parent = <&gpio4>;
398*418d1d84SAlexander Stein	interrupts = <28 IRQ_TYPE_EDGE_FALLING>;
399*418d1d84SAlexander Stein};
400*418d1d84SAlexander Stein
401*418d1d84SAlexander Stein&pwm2 {
402*418d1d84SAlexander Stein	pinctrl-names = "default";
403*418d1d84SAlexander Stein	pinctrl-0 = <&pinctrl_pwm2>;
404*418d1d84SAlexander Stein	status = "disabled";
405*418d1d84SAlexander Stein};
406*418d1d84SAlexander Stein
407*418d1d84SAlexander Stein&pwm3 {
408*418d1d84SAlexander Stein	pinctrl-names = "default";
409*418d1d84SAlexander Stein	pinctrl-0 = <&pinctrl_pwm3>;
410*418d1d84SAlexander Stein	status = "okay";
411*418d1d84SAlexander Stein};
412*418d1d84SAlexander Stein
413*418d1d84SAlexander Stein&snvs_pwrkey {
414*418d1d84SAlexander Stein	status = "okay";
415*418d1d84SAlexander Stein};
416*418d1d84SAlexander Stein
417*418d1d84SAlexander Stein&uart1 {
418*418d1d84SAlexander Stein	pinctrl-names = "default";
419*418d1d84SAlexander Stein	pinctrl-0 = <&pinctrl_uart1>;
420*418d1d84SAlexander Stein	assigned-clocks = <&clk IMX8MP_CLK_UART1>;
421*418d1d84SAlexander Stein	assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_80M>;
422*418d1d84SAlexander Stein	status = "okay";
423*418d1d84SAlexander Stein};
424*418d1d84SAlexander Stein
425*418d1d84SAlexander Stein&uart2 {
426*418d1d84SAlexander Stein	pinctrl-names = "default";
427*418d1d84SAlexander Stein	pinctrl-0 = <&pinctrl_uart2>;
428*418d1d84SAlexander Stein	assigned-clocks = <&clk IMX8MP_CLK_UART2>;
429*418d1d84SAlexander Stein	assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_80M>;
430*418d1d84SAlexander Stein	status = "okay";
431*418d1d84SAlexander Stein};
432*418d1d84SAlexander Stein
433*418d1d84SAlexander Stein&uart3 {
434*418d1d84SAlexander Stein	pinctrl-names = "default";
435*418d1d84SAlexander Stein	pinctrl-0 = <&pinctrl_uart3>;
436*418d1d84SAlexander Stein	assigned-clocks = <&clk IMX8MP_CLK_UART3>;
437*418d1d84SAlexander Stein	assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_80M>;
438*418d1d84SAlexander Stein	status = "okay";
439*418d1d84SAlexander Stein};
440*418d1d84SAlexander Stein
441*418d1d84SAlexander Stein&uart4 {
442*418d1d84SAlexander Stein	/* console */
443*418d1d84SAlexander Stein	pinctrl-names = "default";
444*418d1d84SAlexander Stein	pinctrl-0 = <&pinctrl_uart4>;
445*418d1d84SAlexander Stein	status = "okay";
446*418d1d84SAlexander Stein};
447*418d1d84SAlexander Stein
448*418d1d84SAlexander Stein&usdhc2 {
449*418d1d84SAlexander Stein	pinctrl-names = "default", "state_100mhz", "state_200mhz";
450*418d1d84SAlexander Stein	pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>;
451*418d1d84SAlexander Stein	pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>;
452*418d1d84SAlexander Stein	pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>;
453*418d1d84SAlexander Stein	cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
454*418d1d84SAlexander Stein	vmmc-supply = <&reg_usdhc2_vmmc>;
455*418d1d84SAlexander Stein	no-mmc;
456*418d1d84SAlexander Stein	no-sdio;
457*418d1d84SAlexander Stein	disable-wp;
458*418d1d84SAlexander Stein	bus-width = <4>;
459*418d1d84SAlexander Stein	status = "okay";
460*418d1d84SAlexander Stein};
461*418d1d84SAlexander Stein
462*418d1d84SAlexander Stein&iomuxc {
463*418d1d84SAlexander Stein	pinctrl_backlight: backlightgrp {
464*418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_SAI5_RXFS__GPIO3_IO19		0x14>;
465*418d1d84SAlexander Stein	};
466*418d1d84SAlexander Stein
467*418d1d84SAlexander Stein	pinctrl_flexcan1: flexcan1grp {
468*418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_SAI5_RXD1__CAN1_TX		0x150>,
469*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SAI5_RXD2__CAN1_RX		0x150>;
470*418d1d84SAlexander Stein	};
471*418d1d84SAlexander Stein
472*418d1d84SAlexander Stein	pinctrl_flexcan2: flexcan2grp {
473*418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_SAI5_RXD3__CAN2_TX		0x150>,
474*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SAI5_MCLK__CAN2_RX		0x150>;
475*418d1d84SAlexander Stein	};
476*418d1d84SAlexander Stein
477*418d1d84SAlexander Stein	/* only on X57, primary used as CSI0 control signals */
478*418d1d84SAlexander Stein	pinctrl_ecspi1: ecspi1grp {
479*418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_ECSPI1_MISO__ECSPI1_MISO	0x1c0>,
480*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_ECSPI1_MOSI__ECSPI1_MOSI	0x1c0>,
481*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_ECSPI1_SCLK__ECSPI1_SCLK	0x1c0>,
482*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_ECSPI1_SS0__GPIO5_IO09		0x1c0>;
483*418d1d84SAlexander Stein	};
484*418d1d84SAlexander Stein
485*418d1d84SAlexander Stein	/* on X63 and optionally on X57, can also be used as CSI1 control signals */
486*418d1d84SAlexander Stein	pinctrl_ecspi2: ecspi2grp {
487*418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_ECSPI2_MISO__ECSPI2_MISO	0x1c0>,
488*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_ECSPI2_MOSI__ECSPI2_MOSI	0x1c0>,
489*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_ECSPI2_SCLK__ECSPI2_SCLK	0x1c0>,
490*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_ECSPI2_SS0__GPIO5_IO13		0x1c0>;
491*418d1d84SAlexander Stein	};
492*418d1d84SAlexander Stein
493*418d1d84SAlexander Stein	pinctrl_ecspi3: ecspi3grp {
494*418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_UART1_TXD__ECSPI3_MOSI		0x1c0>,
495*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_UART1_RXD__ECSPI3_SCLK		0x1c0>,
496*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_UART2_RXD__ECSPI3_MISO		0x1c0>,
497*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_UART2_TXD__GPIO5_IO25		0x1c0>;
498*418d1d84SAlexander Stein	};
499*418d1d84SAlexander Stein
500*418d1d84SAlexander Stein	pinctrl_eqos: eqosgrp {
501*418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_ENET_MDC__ENET_QOS_MDC				0x40000044>,
502*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_ENET_MDIO__ENET_QOS_MDIO			0x40000044>,
503*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_ENET_RD0__ENET_QOS_RGMII_RD0			0x90>,
504*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_ENET_RD1__ENET_QOS_RGMII_RD1			0x90>,
505*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_ENET_RD2__ENET_QOS_RGMII_RD2			0x90>,
506*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_ENET_RD3__ENET_QOS_RGMII_RD3			0x90>,
507*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_ENET_RXC__CCM_ENET_QOS_CLOCK_GENERATE_RX_CLK	0x90>,
508*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_ENET_RX_CTL__ENET_QOS_RGMII_RX_CTL		0x90>,
509*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_ENET_TD0__ENET_QOS_RGMII_TD0			0x12>,
510*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_ENET_TD1__ENET_QOS_RGMII_TD1			0x12>,
511*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_ENET_TD2__ENET_QOS_RGMII_TD2			0x12>,
512*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_ENET_TD3__ENET_QOS_RGMII_TD3			0x12>,
513*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_ENET_TX_CTL__ENET_QOS_RGMII_TX_CTL		0x12>,
514*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_ENET_TXC__CCM_ENET_QOS_CLOCK_GENERATE_TX_CLK	0x14>;
515*418d1d84SAlexander Stein	};
516*418d1d84SAlexander Stein
517*418d1d84SAlexander Stein	pinctrl_eqos_event: eqosevtgrp {
518*418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_SAI2_RXD0__ENET_QOS_1588_EVENT2_OUT		0x100>,
519*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SAI2_TXD0__ENET_QOS_1588_EVENT2_IN		0x1c0>;
520*418d1d84SAlexander Stein	};
521*418d1d84SAlexander Stein
522*418d1d84SAlexander Stein	pinctrl_eqos_phy: eqosphygrp {
523*418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_SAI1_RXD0__GPIO4_IO02				0x100>,
524*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SAI1_RXD1__GPIO4_IO03				0x1c0>;
525*418d1d84SAlexander Stein	};
526*418d1d84SAlexander Stein
527*418d1d84SAlexander Stein	pinctrl_fec: fecgrp {
528*418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_SAI1_RXD2__ENET1_MDC		0x40000044>,
529*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SAI1_RXD3__ENET1_MDIO		0x40000044>,
530*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SAI1_RXD4__ENET1_RGMII_RD0	0x90>,
531*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SAI1_RXD5__ENET1_RGMII_RD1	0x90>,
532*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SAI1_RXD6__ENET1_RGMII_RD2	0x90>,
533*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SAI1_RXD7__ENET1_RGMII_RD3	0x90>,
534*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SAI1_TXC__ENET1_RGMII_RXC	0x90>,
535*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SAI1_TXFS__ENET1_RGMII_RX_CTL	0x90>,
536*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SAI1_TXD0__ENET1_RGMII_TD0	0x12>,
537*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SAI1_TXD1__ENET1_RGMII_TD1	0x12>,
538*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SAI1_TXD2__ENET1_RGMII_TD2	0x12>,
539*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SAI1_TXD3__ENET1_RGMII_TD3	0x12>,
540*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SAI1_TXD4__ENET1_RGMII_TX_CTL	0x12>,
541*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SAI1_TXD5__ENET1_RGMII_TXC	0x14>;
542*418d1d84SAlexander Stein	};
543*418d1d84SAlexander Stein
544*418d1d84SAlexander Stein	pinctrl_fec_event: fecevtgrp {
545*418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_SAI1_RXFS__ENET1_1588_EVENT0_IN	0x100>,
546*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SAI1_RXC__ENET1_1588_EVENT0_OUT	0x1c0>;
547*418d1d84SAlexander Stein	};
548*418d1d84SAlexander Stein
549*418d1d84SAlexander Stein	pinctrl_fec_phy: fecphygrp {
550*418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_SAI1_RXFS__GPIO4_IO00		0x100>,
551*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SAI1_RXC__GPIO4_IO01		0x1c0>;
552*418d1d84SAlexander Stein	};
553*418d1d84SAlexander Stein
554*418d1d84SAlexander Stein	pinctrl_fec_phyalt: fecphyaltgrp {
555*418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_SAI2_TXFS__GPIO4_IO24		0x180>,
556*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SAI2_TXC__GPIO4_IO25		0x180>;
557*418d1d84SAlexander Stein	};
558*418d1d84SAlexander Stein
559*418d1d84SAlexander Stein	pinctrl_gpiobutton: gpiobuttongrp {
560*418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_UART3_RXD__GPIO5_IO26		0x10>,
561*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_UART3_TXD__GPIO5_IO27		0x10>;
562*418d1d84SAlexander Stein	};
563*418d1d84SAlexander Stein
564*418d1d84SAlexander Stein	pinctrl_gpioled: gpioledgrp {
565*418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_SPDIF_EXT_CLK__GPIO5_IO05	0x14>,
566*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SPDIF_RX__GPIO5_IO04		0x14>,
567*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SPDIF_TX__GPIO5_IO03		0x14>;
568*418d1d84SAlexander Stein	};
569*418d1d84SAlexander Stein
570*418d1d84SAlexander Stein	pinctrl_gpio1: gpio1grp {
571*418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_GPIO1_IO00__GPIO1_IO00		0x10>,
572*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_GPIO1_IO01__GPIO1_IO01		0x10>,
573*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_GPIO1_IO03__GPIO1_IO03		0x10>,
574*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_GPIO1_IO06__GPIO1_IO06		0x10>,
575*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_GPIO1_IO07__GPIO1_IO07		0x80>,
576*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_GPIO1_IO09__GPIO1_IO09		0x80>,
577*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_GPIO1_IO14__GPIO1_IO14		0x80>,
578*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_GPIO1_IO15__GPIO1_IO15		0x80>;
579*418d1d84SAlexander Stein	};
580*418d1d84SAlexander Stein
581*418d1d84SAlexander Stein	pinctrl_gpio4: gpio4grp {
582*418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_SAI1_MCLK__GPIO4_IO20		0x180>,
583*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SAI2_RXC__GPIO4_IO22		0x180>;
584*418d1d84SAlexander Stein	};
585*418d1d84SAlexander Stein
586*418d1d84SAlexander Stein	pinctrl_hdmi: hdmigrp {
587*418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_HDMI_DDC_SCL__HDMIMIX_HDMI_SCL	0x400001c2>,
588*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_HDMI_DDC_SDA__HDMIMIX_HDMI_SDA	0x400001c2>,
589*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_HDMI_HPD__HDMIMIX_HDMI_HPD	0x40000010>,
590*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_HDMI_CEC__HDMIMIX_HDMI_CEC	0x40000010>;
591*418d1d84SAlexander Stein	};
592*418d1d84SAlexander Stein
593*418d1d84SAlexander Stein	pinctrl_hoggpio2: hoggpio2grp {
594*418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_SD1_DATA5__GPIO2_IO07		0x140>,
595*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SD1_RESET_B__GPIO2_IO10	0x140>,
596*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SD1_STROBE__GPIO2_IO11		0x140>;
597*418d1d84SAlexander Stein	};
598*418d1d84SAlexander Stein
599*418d1d84SAlexander Stein	pinctrl_i2c2: i2c2grp {
600*418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_I2C2_SCL__I2C2_SCL		0x400001e2>,
601*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_I2C2_SDA__I2C2_SDA		0x400001e2>;
602*418d1d84SAlexander Stein	};
603*418d1d84SAlexander Stein
604*418d1d84SAlexander Stein	pinctrl_i2c2_gpio: i2c2-gpiogrp {
605*418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_I2C2_SCL__GPIO5_IO16		0x400001e2>,
606*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_I2C2_SDA__GPIO5_IO17		0x400001e2>;
607*418d1d84SAlexander Stein	};
608*418d1d84SAlexander Stein
609*418d1d84SAlexander Stein	pinctrl_i2c4: i2c4grp {
610*418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_I2C4_SCL__I2C4_SCL		0x400001e2>,
611*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_I2C4_SDA__I2C4_SDA		0x400001e2>;
612*418d1d84SAlexander Stein	};
613*418d1d84SAlexander Stein
614*418d1d84SAlexander Stein	pinctrl_i2c4_gpio: i2c4-gpiogrp {
615*418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_I2C4_SCL__GPIO5_IO20		0x400001e2>,
616*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_I2C4_SDA__GPIO5_IO21		0x400001e2>;
617*418d1d84SAlexander Stein	};
618*418d1d84SAlexander Stein
619*418d1d84SAlexander Stein	pinctrl_i2c6: i2c6grp {
620*418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_SD1_DATA0__I2C6_SCL		0x400001e2>,
621*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SD1_DATA1__I2C6_SDA		0x400001e2>;
622*418d1d84SAlexander Stein	};
623*418d1d84SAlexander Stein
624*418d1d84SAlexander Stein	pinctrl_i2c6_gpio: i2c6-gpiogrp {
625*418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_SD1_DATA0__GPIO2_IO02		0x400001e2>,
626*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SD1_DATA1__GPIO2_IO03		0x400001e2>;
627*418d1d84SAlexander Stein	};
628*418d1d84SAlexander Stein
629*418d1d84SAlexander Stein	pinctrl_lvdsdisplay: lvdsdisplaygrp {
630*418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_SAI5_RXC__GPIO3_IO20		0x10>; /* Power enable */
631*418d1d84SAlexander Stein	};
632*418d1d84SAlexander Stein
633*418d1d84SAlexander Stein	/* LVDS Backlight */
634*418d1d84SAlexander Stein	pinctrl_pwm2: pwm2grp {
635*418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_SAI5_RXD0__PWM2_OUT		0x14>;
636*418d1d84SAlexander Stein	};
637*418d1d84SAlexander Stein
638*418d1d84SAlexander Stein	/* FAN */
639*418d1d84SAlexander Stein	pinctrl_pwm3: pwm3grp {
640*418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_I2C3_SDA__PWM3_OUT		0x14>;
641*418d1d84SAlexander Stein	};
642*418d1d84SAlexander Stein
643*418d1d84SAlexander Stein	pinctrl_reg12v0: reg12v0grp {
644*418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_SD1_DATA4__GPIO2_IO06		0x140>; /* VCC12V enable */
645*418d1d84SAlexander Stein	};
646*418d1d84SAlexander Stein
647*418d1d84SAlexander Stein	/* X61 */
648*418d1d84SAlexander Stein	pinctrl_uart1: uart1grp {
649*418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_SD1_CLK__UART1_DCE_TX		0x140>,
650*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SD1_CMD__UART1_DCE_RX		0x140>;
651*418d1d84SAlexander Stein	};
652*418d1d84SAlexander Stein
653*418d1d84SAlexander Stein	/* X61 */
654*418d1d84SAlexander Stein	pinctrl_uart2: uart2grp {
655*418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_SD1_DATA2__UART2_DCE_TX	0x140>,
656*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SD1_DATA3__UART2_DCE_RX	0x140>;
657*418d1d84SAlexander Stein	};
658*418d1d84SAlexander Stein
659*418d1d84SAlexander Stein	pinctrl_uart3: uart3grp {
660*418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_SD1_DATA6__UART3_DCE_TX	0x140>,
661*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SD1_DATA7__UART3_DCE_RX	0x140>;
662*418d1d84SAlexander Stein	};
663*418d1d84SAlexander Stein
664*418d1d84SAlexander Stein	pinctrl_uart4: uart4grp {
665*418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_UART4_RXD__UART4_DCE_RX	0x140>,
666*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_UART4_TXD__UART4_DCE_TX	0x140>;
667*418d1d84SAlexander Stein	};
668*418d1d84SAlexander Stein
669*418d1d84SAlexander Stein	pinctrl_usdhc2: usdhc2grp {
670*418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_SD2_CLK__USDHC2_CLK		0x192>,
671*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SD2_CMD__USDHC2_CMD		0x1d2>,
672*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SD2_DATA0__USDHC2_DATA0	0x1d2>,
673*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SD2_DATA1__USDHC2_DATA1	0x1d2>,
674*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SD2_DATA2__USDHC2_DATA2	0x1d2>,
675*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3	0x1d2>,
676*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_GPIO1_IO04__USDHC2_VSELECT	0xc0>;
677*418d1d84SAlexander Stein	};
678*418d1d84SAlexander Stein
679*418d1d84SAlexander Stein	pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp {
680*418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_SD2_CLK__USDHC2_CLK		0x194>,
681*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SD2_CMD__USDHC2_CMD		0x1d4>,
682*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SD2_DATA0__USDHC2_DATA0	0x1d4>,
683*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SD2_DATA1__USDHC2_DATA1	0x1d4>,
684*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SD2_DATA2__USDHC2_DATA2	0x1d4>,
685*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3	0x1d4>,
686*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_GPIO1_IO04__USDHC2_VSELECT	0xc0>;
687*418d1d84SAlexander Stein	};
688*418d1d84SAlexander Stein
689*418d1d84SAlexander Stein	pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp {
690*418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_SD2_CLK__USDHC2_CLK		0x194>,
691*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SD2_CMD__USDHC2_CMD		0x1d4>,
692*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SD2_DATA0__USDHC2_DATA0	0x1d4>,
693*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SD2_DATA1__USDHC2_DATA1	0x1d4>,
694*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SD2_DATA2__USDHC2_DATA2	0x1d4>,
695*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3	0x1d4>,
696*418d1d84SAlexander Stein			   <MX8MP_IOMUXC_GPIO1_IO04__USDHC2_VSELECT	0xc0>;
697*418d1d84SAlexander Stein	};
698*418d1d84SAlexander Stein
699*418d1d84SAlexander Stein	pinctrl_usdhc2_gpio: usdhc2-gpiogrp {
700*418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_SD2_CD_B__GPIO2_IO12		0x1c0>;
701*418d1d84SAlexander Stein	};
702*418d1d84SAlexander Stein};
703