xref: /linux/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mpxl.dts (revision fb4f0b69565eef4a13cf3b8534dbc0b8b5505c52)
1418d1d84SAlexander Stein// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2418d1d84SAlexander Stein/*
3418d1d84SAlexander Stein * Copyright 2021-2022 TQ-Systems GmbH
4418d1d84SAlexander Stein * Author: Alexander Stein <alexander.stein@tq-group.com>
5418d1d84SAlexander Stein */
6418d1d84SAlexander Stein
7418d1d84SAlexander Stein/dts-v1/;
8418d1d84SAlexander Stein
9418d1d84SAlexander Stein#include <dt-bindings/leds/common.h>
10418d1d84SAlexander Stein#include <dt-bindings/net/ti-dp83867.h>
11418d1d84SAlexander Stein#include <dt-bindings/pwm/pwm.h>
12418d1d84SAlexander Stein#include "imx8mp-tqma8mpql.dtsi"
13418d1d84SAlexander Stein
14418d1d84SAlexander Stein/ {
15418d1d84SAlexander Stein	model = "TQ-Systems i.MX8MPlus TQMa8MPxL on MBa8MPxL";
16418d1d84SAlexander Stein	compatible = "tq,imx8mp-tqma8mpql-mba8mpxl", "tq,imx8mp-tqma8mpql", "fsl,imx8mp";
17418d1d84SAlexander Stein
18418d1d84SAlexander Stein	chosen {
19418d1d84SAlexander Stein		stdout-path = &uart4;
20418d1d84SAlexander Stein	};
21418d1d84SAlexander Stein
22418d1d84SAlexander Stein	iio-hwmon {
23418d1d84SAlexander Stein		compatible = "iio-hwmon";
24418d1d84SAlexander Stein		io-channels = <&adc 0>, <&adc 1>;
25418d1d84SAlexander Stein	};
26418d1d84SAlexander Stein
27418d1d84SAlexander Stein	aliases {
28418d1d84SAlexander Stein		mmc0 = &usdhc3;
29418d1d84SAlexander Stein		mmc1 = &usdhc2;
30418d1d84SAlexander Stein		mmc2 = &usdhc1;
31418d1d84SAlexander Stein		rtc0 = &pcf85063;
32418d1d84SAlexander Stein		rtc1 = &snvs_rtc;
33418d1d84SAlexander Stein		spi0 = &flexspi;
34418d1d84SAlexander Stein		spi1 = &ecspi1;
35418d1d84SAlexander Stein		spi2 = &ecspi2;
36418d1d84SAlexander Stein		spi3 = &ecspi3;
37418d1d84SAlexander Stein	};
38418d1d84SAlexander Stein
39418d1d84SAlexander Stein	backlight_lvds: backlight {
40418d1d84SAlexander Stein		compatible = "pwm-backlight";
41418d1d84SAlexander Stein		pinctrl-names = "default";
42418d1d84SAlexander Stein		pinctrl-0 = <&pinctrl_backlight>;
43418d1d84SAlexander Stein		pwms = <&pwm2 0 5000000 0>;
44418d1d84SAlexander Stein		brightness-levels = <0 4 8 16 32 64 128 255>;
45418d1d84SAlexander Stein		default-brightness-level = <7>;
46418d1d84SAlexander Stein		power-supply = <&reg_vcc_12v0>;
47418d1d84SAlexander Stein		enable-gpios = <&gpio3 19 GPIO_ACTIVE_HIGH>;
48418d1d84SAlexander Stein		status = "disabled";
49418d1d84SAlexander Stein	};
50418d1d84SAlexander Stein
51418d1d84SAlexander Stein	gpio-keys {
52418d1d84SAlexander Stein		compatible = "gpio-keys";
53418d1d84SAlexander Stein		pinctrl-names = "default";
54418d1d84SAlexander Stein		pinctrl-0 = <&pinctrl_gpiobutton>;
55418d1d84SAlexander Stein		autorepeat;
56418d1d84SAlexander Stein
57418d1d84SAlexander Stein		switch-1 {
58418d1d84SAlexander Stein			label = "S12";
59418d1d84SAlexander Stein			linux,code = <BTN_0>;
60418d1d84SAlexander Stein			gpios = <&gpio5 26 GPIO_ACTIVE_LOW>;
61418d1d84SAlexander Stein		};
62418d1d84SAlexander Stein
63418d1d84SAlexander Stein		switch-2 {
64418d1d84SAlexander Stein			label = "S13";
65418d1d84SAlexander Stein			linux,code = <BTN_1>;
66418d1d84SAlexander Stein			gpios = <&gpio5 27 GPIO_ACTIVE_LOW>;
67418d1d84SAlexander Stein		};
68418d1d84SAlexander Stein	};
69418d1d84SAlexander Stein
70418d1d84SAlexander Stein	gpio-leds {
71418d1d84SAlexander Stein		compatible = "gpio-leds";
72418d1d84SAlexander Stein		pinctrl-names = "default";
73418d1d84SAlexander Stein		pinctrl-0 = <&pinctrl_gpioled>;
74418d1d84SAlexander Stein
75418d1d84SAlexander Stein		led-0 {
76418d1d84SAlexander Stein			color = <LED_COLOR_ID_GREEN>;
77418d1d84SAlexander Stein			function = LED_FUNCTION_STATUS;
78418d1d84SAlexander Stein			function-enumerator = <0>;
79418d1d84SAlexander Stein			gpios = <&gpio5 5 GPIO_ACTIVE_HIGH>;
80418d1d84SAlexander Stein			linux,default-trigger = "default-on";
81418d1d84SAlexander Stein		};
82418d1d84SAlexander Stein
83418d1d84SAlexander Stein		led-1 {
84418d1d84SAlexander Stein			color = <LED_COLOR_ID_GREEN>;
85418d1d84SAlexander Stein			function = LED_FUNCTION_HEARTBEAT;
86418d1d84SAlexander Stein			gpios = <&gpio5 4 GPIO_ACTIVE_HIGH>;
87418d1d84SAlexander Stein			linux,default-trigger = "heartbeat";
88418d1d84SAlexander Stein		};
89418d1d84SAlexander Stein
90418d1d84SAlexander Stein		led-2 {
91418d1d84SAlexander Stein			color = <LED_COLOR_ID_YELLOW>;
92418d1d84SAlexander Stein			function = LED_FUNCTION_STATUS;
93418d1d84SAlexander Stein			function-enumerator = <1>;
94418d1d84SAlexander Stein			gpios = <&gpio5 3 GPIO_ACTIVE_HIGH>;
95418d1d84SAlexander Stein		};
96418d1d84SAlexander Stein	};
97418d1d84SAlexander Stein
98418d1d84SAlexander Stein	display: display {
99418d1d84SAlexander Stein		/*
100418d1d84SAlexander Stein		 * Display is not fixed, so compatible has to be added from
101418d1d84SAlexander Stein		 * DT overlay
102418d1d84SAlexander Stein		 */
103418d1d84SAlexander Stein		pinctrl-names = "default";
104418d1d84SAlexander Stein		pinctrl-0 = <&pinctrl_lvdsdisplay>;
105418d1d84SAlexander Stein		power-supply = <&reg_vcc_3v3>;
106418d1d84SAlexander Stein		enable-gpios = <&gpio3 20 GPIO_ACTIVE_HIGH>;
107418d1d84SAlexander Stein		backlight = <&backlight_lvds>;
108418d1d84SAlexander Stein		status = "disabled";
109418d1d84SAlexander Stein	};
110418d1d84SAlexander Stein
111418d1d84SAlexander Stein	reg_usdhc2_vmmc: regulator-usdhc2 {
112418d1d84SAlexander Stein		compatible = "regulator-fixed";
113418d1d84SAlexander Stein		pinctrl-names = "default";
114418d1d84SAlexander Stein		pinctrl-0 = <&pinctrl_reg_usdhc2_vmmc>;
115418d1d84SAlexander Stein		regulator-name = "VSD_3V3";
116418d1d84SAlexander Stein		regulator-min-microvolt = <3300000>;
117418d1d84SAlexander Stein		regulator-max-microvolt = <3300000>;
118418d1d84SAlexander Stein		gpio = <&gpio2 19 GPIO_ACTIVE_HIGH>;
119418d1d84SAlexander Stein		enable-active-high;
120418d1d84SAlexander Stein		startup-delay-us = <100>;
121418d1d84SAlexander Stein		off-on-delay-us = <12000>;
122418d1d84SAlexander Stein	};
123418d1d84SAlexander Stein
124418d1d84SAlexander Stein	reg_vcc_12v0: regulator-12v0 {
125418d1d84SAlexander Stein		compatible = "regulator-fixed";
126418d1d84SAlexander Stein		pinctrl-names = "default";
127418d1d84SAlexander Stein		pinctrl-0 = <&pinctrl_reg12v0>;
128418d1d84SAlexander Stein		regulator-name = "VCC_12V0";
129418d1d84SAlexander Stein		regulator-min-microvolt = <12000000>;
130418d1d84SAlexander Stein		regulator-max-microvolt = <12000000>;
131418d1d84SAlexander Stein		gpio = <&gpio2 6 GPIO_ACTIVE_HIGH>;
132418d1d84SAlexander Stein		enable-active-high;
133418d1d84SAlexander Stein	};
134418d1d84SAlexander Stein
135418d1d84SAlexander Stein	reg_vcc_3v3: regulator-3v3 {
136418d1d84SAlexander Stein		compatible = "regulator-fixed";
137418d1d84SAlexander Stein		regulator-name = "VCC_3V3";
138418d1d84SAlexander Stein		regulator-min-microvolt = <3300000>;
139418d1d84SAlexander Stein		regulator-max-microvolt = <3300000>;
140418d1d84SAlexander Stein	};
141418d1d84SAlexander Stein
142*fb4f0b69SAlexander Stein	reg_vcc_5v0: regulator-5v0 {
143*fb4f0b69SAlexander Stein		compatible = "regulator-fixed";
144*fb4f0b69SAlexander Stein		regulator-name = "VCC_5V0";
145*fb4f0b69SAlexander Stein		regulator-min-microvolt = <5000000>;
146*fb4f0b69SAlexander Stein		regulator-max-microvolt = <5000000>;
147*fb4f0b69SAlexander Stein	};
148*fb4f0b69SAlexander Stein
149418d1d84SAlexander Stein	reserved-memory {
150418d1d84SAlexander Stein		#address-cells = <2>;
151418d1d84SAlexander Stein		#size-cells = <2>;
152418d1d84SAlexander Stein		ranges;
153418d1d84SAlexander Stein
154418d1d84SAlexander Stein		ocram: ocram@900000 {
155418d1d84SAlexander Stein			no-map;
156418d1d84SAlexander Stein			reg = <0 0x900000 0 0x70000>;
157418d1d84SAlexander Stein		};
158418d1d84SAlexander Stein
159418d1d84SAlexander Stein		/* global autoconfigured region for contiguous allocations */
160418d1d84SAlexander Stein		linux,cma {
161418d1d84SAlexander Stein			compatible = "shared-dma-pool";
162418d1d84SAlexander Stein			reusable;
163418d1d84SAlexander Stein			size = <0 0x38000000>;
164418d1d84SAlexander Stein			alloc-ranges = <0 0x40000000 0 0xB0000000>;
165418d1d84SAlexander Stein			linux,cma-default;
166418d1d84SAlexander Stein		};
167418d1d84SAlexander Stein	};
168418d1d84SAlexander Stein};
169418d1d84SAlexander Stein
170418d1d84SAlexander Stein&ecspi1 {
171418d1d84SAlexander Stein	pinctrl-names = "default";
172418d1d84SAlexander Stein	pinctrl-0 = <&pinctrl_ecspi1>;
173418d1d84SAlexander Stein	cs-gpios = <&gpio5 9 GPIO_ACTIVE_LOW>;
174418d1d84SAlexander Stein	status = "okay";
175418d1d84SAlexander Stein};
176418d1d84SAlexander Stein
177418d1d84SAlexander Stein&ecspi2 {
178418d1d84SAlexander Stein	pinctrl-names = "default";
179418d1d84SAlexander Stein	pinctrl-0 = <&pinctrl_ecspi2>;
180418d1d84SAlexander Stein	cs-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>;
181418d1d84SAlexander Stein	status = "okay";
182418d1d84SAlexander Stein};
183418d1d84SAlexander Stein
184418d1d84SAlexander Stein&ecspi3 {
185418d1d84SAlexander Stein	pinctrl-names = "default";
186418d1d84SAlexander Stein	pinctrl-0 = <&pinctrl_ecspi3>;
187418d1d84SAlexander Stein	cs-gpios = <&gpio5 25 GPIO_ACTIVE_LOW>;
188418d1d84SAlexander Stein	status = "okay";
189418d1d84SAlexander Stein
190418d1d84SAlexander Stein	adc: adc@0 {
191418d1d84SAlexander Stein		reg = <0>;
192418d1d84SAlexander Stein		compatible = "microchip,mcp3202";
193418d1d84SAlexander Stein		/* 100 ksps * 18 */
194418d1d84SAlexander Stein		spi-max-frequency = <1800000>;
195418d1d84SAlexander Stein		vref-supply = <&reg_vcc_3v3>;
196418d1d84SAlexander Stein		#io-channel-cells = <1>;
197418d1d84SAlexander Stein	};
198418d1d84SAlexander Stein};
199418d1d84SAlexander Stein
200418d1d84SAlexander Stein&eqos {
201418d1d84SAlexander Stein	pinctrl-names = "default";
202418d1d84SAlexander Stein	pinctrl-0 = <&pinctrl_eqos>, <&pinctrl_eqos_phy>;
203418d1d84SAlexander Stein	phy-mode = "rgmii-id";
204418d1d84SAlexander Stein	phy-handle = <&ethphy3>;
205418d1d84SAlexander Stein	status = "okay";
206418d1d84SAlexander Stein
207418d1d84SAlexander Stein	mdio {
208418d1d84SAlexander Stein		compatible = "snps,dwmac-mdio";
209418d1d84SAlexander Stein		#address-cells = <1>;
210418d1d84SAlexander Stein		#size-cells = <0>;
211418d1d84SAlexander Stein
212418d1d84SAlexander Stein		ethphy3: ethernet-phy@3 {
213418d1d84SAlexander Stein			compatible = "ethernet-phy-ieee802.3-c22";
214418d1d84SAlexander Stein			reg = <3>;
215418d1d84SAlexander Stein			ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
216418d1d84SAlexander Stein			ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
217418d1d84SAlexander Stein			ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
218418d1d84SAlexander Stein			ti,dp83867-rxctrl-strap-quirk;
219418d1d84SAlexander Stein			ti,clk-output-sel = <DP83867_CLK_O_SEL_OFF>;
220418d1d84SAlexander Stein			reset-gpios = <&gpio4 2 GPIO_ACTIVE_LOW>;
221418d1d84SAlexander Stein			reset-assert-us = <500000>;
222418d1d84SAlexander Stein			reset-deassert-us = <50000>;
223418d1d84SAlexander Stein			enet-phy-lane-no-swap;
224418d1d84SAlexander Stein			interrupt-parent = <&gpio4>;
225418d1d84SAlexander Stein			interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
226418d1d84SAlexander Stein		};
227418d1d84SAlexander Stein	};
228418d1d84SAlexander Stein};
229418d1d84SAlexander Stein
230418d1d84SAlexander Stein&fec {
231418d1d84SAlexander Stein	pinctrl-names = "default";
232418d1d84SAlexander Stein	pinctrl-0 = <&pinctrl_fec>, <&pinctrl_fec_phy>;
233418d1d84SAlexander Stein	phy-mode = "rgmii-id";
234418d1d84SAlexander Stein	phy-handle = <&ethphy0>;
235418d1d84SAlexander Stein	fsl,magic-packet;
236418d1d84SAlexander Stein	status = "okay";
237418d1d84SAlexander Stein
238418d1d84SAlexander Stein	mdio {
239418d1d84SAlexander Stein		#address-cells = <1>;
240418d1d84SAlexander Stein		#size-cells = <0>;
241418d1d84SAlexander Stein
242418d1d84SAlexander Stein		ethphy0: ethernet-phy@0 {
243418d1d84SAlexander Stein			compatible = "ethernet-phy-ieee802.3-c22";
244418d1d84SAlexander Stein			reg = <0>;
245418d1d84SAlexander Stein			ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
246418d1d84SAlexander Stein			ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
247418d1d84SAlexander Stein			ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
248418d1d84SAlexander Stein			ti,dp83867-rxctrl-strap-quirk;
249418d1d84SAlexander Stein			ti,clk-output-sel = <DP83867_CLK_O_SEL_OFF>;
250418d1d84SAlexander Stein			reset-gpios = <&gpio4 0 GPIO_ACTIVE_LOW>;
251418d1d84SAlexander Stein			reset-assert-us = <500000>;
252418d1d84SAlexander Stein			reset-deassert-us = <50000>;
253418d1d84SAlexander Stein			enet-phy-lane-no-swap;
254418d1d84SAlexander Stein			interrupt-parent = <&gpio4>;
255418d1d84SAlexander Stein			interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
256418d1d84SAlexander Stein		};
257418d1d84SAlexander Stein	};
258418d1d84SAlexander Stein};
259418d1d84SAlexander Stein
260418d1d84SAlexander Stein&flexcan1 {
261418d1d84SAlexander Stein	pinctrl-names = "default";
262418d1d84SAlexander Stein	pinctrl-0 = <&pinctrl_flexcan1>;
263418d1d84SAlexander Stein	xceiver-supply = <&reg_vcc_3v3>;
264418d1d84SAlexander Stein	status = "okay";
265418d1d84SAlexander Stein};
266418d1d84SAlexander Stein
267418d1d84SAlexander Stein&flexcan2 {
268418d1d84SAlexander Stein	pinctrl-names = "default";
269418d1d84SAlexander Stein	pinctrl-0 = <&pinctrl_flexcan2>;
270418d1d84SAlexander Stein	xceiver-supply = <&reg_vcc_3v3>;
271418d1d84SAlexander Stein	status = "okay";
272418d1d84SAlexander Stein};
273418d1d84SAlexander Stein
274418d1d84SAlexander Stein&gpio1 {
275418d1d84SAlexander Stein	pinctrl-names = "default";
276418d1d84SAlexander Stein	pinctrl-0 = <&pinctrl_gpio1>;
277418d1d84SAlexander Stein
278418d1d84SAlexander Stein	gpio-line-names = "GPO1", "GPO0", "", "GPO3",
279418d1d84SAlexander Stein			  "", "", "GPO2", "GPI0",
280418d1d84SAlexander Stein			  "PMIC_IRQ", "GPI1", "OTG_ID", "USB_HUB_RST#",
281418d1d84SAlexander Stein			  "OTG_PWR", "", "GPI2", "GPI3",
282418d1d84SAlexander Stein			  "", "", "", "",
283418d1d84SAlexander Stein			  "", "", "", "",
284418d1d84SAlexander Stein			  "", "", "", "",
285418d1d84SAlexander Stein			  "", "", "", "";
286418d1d84SAlexander Stein};
287418d1d84SAlexander Stein
288418d1d84SAlexander Stein&gpio2 {
289418d1d84SAlexander Stein	pinctrl-names = "default";
290418d1d84SAlexander Stein	pinctrl-0 = <&pinctrl_hoggpio2>;
291418d1d84SAlexander Stein
292418d1d84SAlexander Stein	gpio-line-names = "", "", "", "",
293418d1d84SAlexander Stein			  "", "", "VCC12V_EN", "PERST#",
294418d1d84SAlexander Stein			  "", "", "CLKREQ#", "PEWAKE#",
295418d1d84SAlexander Stein			  "USDHC2_CD", "", "", "",
296418d1d84SAlexander Stein			  "", "", "", "V_SD3V3_EN",
297418d1d84SAlexander Stein			  "", "", "", "",
298418d1d84SAlexander Stein			  "", "", "", "",
299418d1d84SAlexander Stein			  "", "", "", "";
300418d1d84SAlexander Stein
301418d1d84SAlexander Stein	perst-hog {
302418d1d84SAlexander Stein		gpio-hog;
303418d1d84SAlexander Stein		gpios = <7 0>;
304418d1d84SAlexander Stein		output-high;
305418d1d84SAlexander Stein		line-name = "PERST#";
306418d1d84SAlexander Stein	};
307418d1d84SAlexander Stein
308418d1d84SAlexander Stein	clkreq-hog {
309418d1d84SAlexander Stein		gpio-hog;
310418d1d84SAlexander Stein		gpios = <10 0>;
311418d1d84SAlexander Stein		input;
312418d1d84SAlexander Stein		line-name = "CLKREQ#";
313418d1d84SAlexander Stein	};
314418d1d84SAlexander Stein
315418d1d84SAlexander Stein	pewake-hog {
316418d1d84SAlexander Stein		gpio-hog;
317418d1d84SAlexander Stein		gpios = <11 0>;
318418d1d84SAlexander Stein		input;
319418d1d84SAlexander Stein		line-name = "PEWAKE#";
320418d1d84SAlexander Stein	};
321418d1d84SAlexander Stein};
322418d1d84SAlexander Stein
323418d1d84SAlexander Stein&gpio3 {
324418d1d84SAlexander Stein	gpio-line-names = "", "", "", "",
325418d1d84SAlexander Stein			  "", "", "", "",
326418d1d84SAlexander Stein			  "", "", "", "",
327418d1d84SAlexander Stein			  "", "", "LVDS0_RESET#", "",
328418d1d84SAlexander Stein			  "", "", "", "LVDS0_BLT_EN",
329418d1d84SAlexander Stein			  "LVDS0_PWR_EN", "", "", "",
330418d1d84SAlexander Stein			  "", "", "", "",
331418d1d84SAlexander Stein			  "", "", "", "";
332418d1d84SAlexander Stein};
333418d1d84SAlexander Stein
334418d1d84SAlexander Stein&gpio4 {
335418d1d84SAlexander Stein	pinctrl-names = "default";
336418d1d84SAlexander Stein	pinctrl-0 = <&pinctrl_gpio4>;
337418d1d84SAlexander Stein
338418d1d84SAlexander Stein	gpio-line-names = "ENET0_RST#", "ENET0_INT#", "ENET1_RST#", "ENET1_INT#",
339418d1d84SAlexander Stein			  "", "", "", "",
340418d1d84SAlexander Stein			  "", "", "", "",
341418d1d84SAlexander Stein			  "", "", "", "",
342418d1d84SAlexander Stein			  "", "", "DP_IRQ", "DSI_EN",
343418d1d84SAlexander Stein			  "HDMI_OC#", "TEMP_EVENT#", "PCIE_CLK_OE#", "",
344418d1d84SAlexander Stein			  "", "", "", "FAN_PWR",
345418d1d84SAlexander Stein			  "RTC_EVENT#", "CODEC_RST#", "", "";
346418d1d84SAlexander Stein};
347418d1d84SAlexander Stein
348418d1d84SAlexander Stein&gpio5 {
349418d1d84SAlexander Stein	gpio-line-names = "", "", "", "LED2",
350418d1d84SAlexander Stein			  "LED1", "LED0", "CSI0_RESET#", "CSI0_SYNC",
351418d1d84SAlexander Stein			  "CSI0_TRIGGER", "CSI0_ENABLE", "", "",
352418d1d84SAlexander Stein			  "", "ECSPI2_SS0", "", "",
353418d1d84SAlexander Stein			  "", "", "", "",
354418d1d84SAlexander Stein			  "", "", "", "",
355418d1d84SAlexander Stein			  "", "ECSPI3_SS0", "SWITCH_A", "SWITCH_B",
356418d1d84SAlexander Stein			  "", "", "", "";
357418d1d84SAlexander Stein};
358418d1d84SAlexander Stein
359418d1d84SAlexander Stein&i2c2 {
360418d1d84SAlexander Stein	clock-frequency = <384000>;
361418d1d84SAlexander Stein	pinctrl-names = "default", "gpio";
362418d1d84SAlexander Stein	pinctrl-0 = <&pinctrl_i2c2>;
363418d1d84SAlexander Stein	pinctrl-1 = <&pinctrl_i2c2_gpio>;
364418d1d84SAlexander Stein	scl-gpios = <&gpio5 16 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
365418d1d84SAlexander Stein	sda-gpios = <&gpio5 17 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
366418d1d84SAlexander Stein	status = "okay";
367418d1d84SAlexander Stein
368418d1d84SAlexander Stein	/* NXP SE97BTP with temperature sensor + eeprom */
369418d1d84SAlexander Stein	se97_1c: temperature-sensor-eeprom@1c {
370418d1d84SAlexander Stein		compatible = "nxp,se97", "jedec,jc-42.4-temp";
371418d1d84SAlexander Stein		reg = <0x1c>;
372418d1d84SAlexander Stein	};
373418d1d84SAlexander Stein
374418d1d84SAlexander Stein	at24c02_54: eeprom@54 {
375418d1d84SAlexander Stein		compatible = "nxp,se97b", "atmel,24c02";
376418d1d84SAlexander Stein		reg = <0x54>;
377418d1d84SAlexander Stein		pagesize = <16>;
378418d1d84SAlexander Stein		vcc-supply = <&reg_vcc_3v3>;
379418d1d84SAlexander Stein	};
380418d1d84SAlexander Stein};
381418d1d84SAlexander Stein
382418d1d84SAlexander Stein&i2c4 {
383418d1d84SAlexander Stein	clock-frequency = <384000>;
384418d1d84SAlexander Stein	pinctrl-names = "default", "gpio";
385418d1d84SAlexander Stein	pinctrl-0 = <&pinctrl_i2c4>;
386418d1d84SAlexander Stein	pinctrl-1 = <&pinctrl_i2c4_gpio>;
387418d1d84SAlexander Stein	scl-gpios = <&gpio5 20 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
388418d1d84SAlexander Stein	sda-gpios = <&gpio5 21 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
389418d1d84SAlexander Stein	status = "okay";
390418d1d84SAlexander Stein};
391418d1d84SAlexander Stein
392418d1d84SAlexander Stein&i2c6 {
393418d1d84SAlexander Stein	clock-frequency = <384000>;
394418d1d84SAlexander Stein	pinctrl-names = "default", "gpio";
395418d1d84SAlexander Stein	pinctrl-0 = <&pinctrl_i2c6>;
396418d1d84SAlexander Stein	pinctrl-1 = <&pinctrl_i2c6_gpio>;
397418d1d84SAlexander Stein	scl-gpios = <&gpio2 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
398418d1d84SAlexander Stein	sda-gpios = <&gpio2 3 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
399418d1d84SAlexander Stein	status = "okay";
400418d1d84SAlexander Stein};
401418d1d84SAlexander Stein
402418d1d84SAlexander Stein&pcf85063 {
403418d1d84SAlexander Stein	/* RTC_EVENT# is connected on MBa8MPxL */
404418d1d84SAlexander Stein	interrupt-parent = <&gpio4>;
405418d1d84SAlexander Stein	interrupts = <28 IRQ_TYPE_EDGE_FALLING>;
406418d1d84SAlexander Stein};
407418d1d84SAlexander Stein
408418d1d84SAlexander Stein&pwm2 {
409418d1d84SAlexander Stein	pinctrl-names = "default";
410418d1d84SAlexander Stein	pinctrl-0 = <&pinctrl_pwm2>;
411418d1d84SAlexander Stein	status = "disabled";
412418d1d84SAlexander Stein};
413418d1d84SAlexander Stein
414418d1d84SAlexander Stein&pwm3 {
415418d1d84SAlexander Stein	pinctrl-names = "default";
416418d1d84SAlexander Stein	pinctrl-0 = <&pinctrl_pwm3>;
417418d1d84SAlexander Stein	status = "okay";
418418d1d84SAlexander Stein};
419418d1d84SAlexander Stein
420418d1d84SAlexander Stein&snvs_pwrkey {
421418d1d84SAlexander Stein	status = "okay";
422418d1d84SAlexander Stein};
423418d1d84SAlexander Stein
424418d1d84SAlexander Stein&uart1 {
425418d1d84SAlexander Stein	pinctrl-names = "default";
426418d1d84SAlexander Stein	pinctrl-0 = <&pinctrl_uart1>;
427418d1d84SAlexander Stein	assigned-clocks = <&clk IMX8MP_CLK_UART1>;
428418d1d84SAlexander Stein	assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_80M>;
429418d1d84SAlexander Stein	status = "okay";
430418d1d84SAlexander Stein};
431418d1d84SAlexander Stein
432418d1d84SAlexander Stein&uart2 {
433418d1d84SAlexander Stein	pinctrl-names = "default";
434418d1d84SAlexander Stein	pinctrl-0 = <&pinctrl_uart2>;
435418d1d84SAlexander Stein	assigned-clocks = <&clk IMX8MP_CLK_UART2>;
436418d1d84SAlexander Stein	assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_80M>;
437418d1d84SAlexander Stein	status = "okay";
438418d1d84SAlexander Stein};
439418d1d84SAlexander Stein
440418d1d84SAlexander Stein&uart3 {
441418d1d84SAlexander Stein	pinctrl-names = "default";
442418d1d84SAlexander Stein	pinctrl-0 = <&pinctrl_uart3>;
443418d1d84SAlexander Stein	assigned-clocks = <&clk IMX8MP_CLK_UART3>;
444418d1d84SAlexander Stein	assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_80M>;
445418d1d84SAlexander Stein	status = "okay";
446418d1d84SAlexander Stein};
447418d1d84SAlexander Stein
448418d1d84SAlexander Stein&uart4 {
449418d1d84SAlexander Stein	/* console */
450418d1d84SAlexander Stein	pinctrl-names = "default";
451418d1d84SAlexander Stein	pinctrl-0 = <&pinctrl_uart4>;
452418d1d84SAlexander Stein	status = "okay";
453418d1d84SAlexander Stein};
454418d1d84SAlexander Stein
455*fb4f0b69SAlexander Stein&usb3_0 {
456*fb4f0b69SAlexander Stein	pinctrl-names = "default";
457*fb4f0b69SAlexander Stein	pinctrl-0 = <&pinctrl_usb0>;
458*fb4f0b69SAlexander Stein	fsl,over-current-active-low;
459*fb4f0b69SAlexander Stein	status = "okay";
460*fb4f0b69SAlexander Stein};
461*fb4f0b69SAlexander Stein
462*fb4f0b69SAlexander Stein&usb3_phy0 {
463*fb4f0b69SAlexander Stein	vbus-supply = <&reg_vcc_5v0>;
464*fb4f0b69SAlexander Stein	status = "okay";
465*fb4f0b69SAlexander Stein};
466*fb4f0b69SAlexander Stein
467*fb4f0b69SAlexander Stein&usb_dwc3_0 {
468*fb4f0b69SAlexander Stein	/* dual role is implemented, but not a full featured OTG */
469*fb4f0b69SAlexander Stein	hnp-disable;
470*fb4f0b69SAlexander Stein	srp-disable;
471*fb4f0b69SAlexander Stein	adp-disable;
472*fb4f0b69SAlexander Stein	dr_mode = "otg";
473*fb4f0b69SAlexander Stein	usb-role-switch;
474*fb4f0b69SAlexander Stein	role-switch-default-mode = "peripheral";
475*fb4f0b69SAlexander Stein	status = "okay";
476*fb4f0b69SAlexander Stein
477*fb4f0b69SAlexander Stein	connector {
478*fb4f0b69SAlexander Stein		compatible = "gpio-usb-b-connector", "usb-b-connector";
479*fb4f0b69SAlexander Stein		type = "micro";
480*fb4f0b69SAlexander Stein		label = "X29";
481*fb4f0b69SAlexander Stein		pinctrl-names = "default";
482*fb4f0b69SAlexander Stein		pinctrl-0 = <&pinctrl_usbcon0>;
483*fb4f0b69SAlexander Stein		id-gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
484*fb4f0b69SAlexander Stein	};
485*fb4f0b69SAlexander Stein};
486*fb4f0b69SAlexander Stein
487418d1d84SAlexander Stein&usdhc2 {
488418d1d84SAlexander Stein	pinctrl-names = "default", "state_100mhz", "state_200mhz";
489418d1d84SAlexander Stein	pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>;
490418d1d84SAlexander Stein	pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>;
491418d1d84SAlexander Stein	pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>;
492418d1d84SAlexander Stein	cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
493418d1d84SAlexander Stein	vmmc-supply = <&reg_usdhc2_vmmc>;
494418d1d84SAlexander Stein	no-mmc;
495418d1d84SAlexander Stein	no-sdio;
496418d1d84SAlexander Stein	disable-wp;
497418d1d84SAlexander Stein	bus-width = <4>;
498418d1d84SAlexander Stein	status = "okay";
499418d1d84SAlexander Stein};
500418d1d84SAlexander Stein
501418d1d84SAlexander Stein&iomuxc {
502418d1d84SAlexander Stein	pinctrl_backlight: backlightgrp {
503418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_SAI5_RXFS__GPIO3_IO19		0x14>;
504418d1d84SAlexander Stein	};
505418d1d84SAlexander Stein
506418d1d84SAlexander Stein	pinctrl_flexcan1: flexcan1grp {
507418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_SAI5_RXD1__CAN1_TX		0x150>,
508418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SAI5_RXD2__CAN1_RX		0x150>;
509418d1d84SAlexander Stein	};
510418d1d84SAlexander Stein
511418d1d84SAlexander Stein	pinctrl_flexcan2: flexcan2grp {
512418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_SAI5_RXD3__CAN2_TX		0x150>,
513418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SAI5_MCLK__CAN2_RX		0x150>;
514418d1d84SAlexander Stein	};
515418d1d84SAlexander Stein
516418d1d84SAlexander Stein	/* only on X57, primary used as CSI0 control signals */
517418d1d84SAlexander Stein	pinctrl_ecspi1: ecspi1grp {
518418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_ECSPI1_MISO__ECSPI1_MISO	0x1c0>,
519418d1d84SAlexander Stein			   <MX8MP_IOMUXC_ECSPI1_MOSI__ECSPI1_MOSI	0x1c0>,
520418d1d84SAlexander Stein			   <MX8MP_IOMUXC_ECSPI1_SCLK__ECSPI1_SCLK	0x1c0>,
521418d1d84SAlexander Stein			   <MX8MP_IOMUXC_ECSPI1_SS0__GPIO5_IO09		0x1c0>;
522418d1d84SAlexander Stein	};
523418d1d84SAlexander Stein
524418d1d84SAlexander Stein	/* on X63 and optionally on X57, can also be used as CSI1 control signals */
525418d1d84SAlexander Stein	pinctrl_ecspi2: ecspi2grp {
526418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_ECSPI2_MISO__ECSPI2_MISO	0x1c0>,
527418d1d84SAlexander Stein			   <MX8MP_IOMUXC_ECSPI2_MOSI__ECSPI2_MOSI	0x1c0>,
528418d1d84SAlexander Stein			   <MX8MP_IOMUXC_ECSPI2_SCLK__ECSPI2_SCLK	0x1c0>,
529418d1d84SAlexander Stein			   <MX8MP_IOMUXC_ECSPI2_SS0__GPIO5_IO13		0x1c0>;
530418d1d84SAlexander Stein	};
531418d1d84SAlexander Stein
532418d1d84SAlexander Stein	pinctrl_ecspi3: ecspi3grp {
533418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_UART1_TXD__ECSPI3_MOSI		0x1c0>,
534418d1d84SAlexander Stein			   <MX8MP_IOMUXC_UART1_RXD__ECSPI3_SCLK		0x1c0>,
535418d1d84SAlexander Stein			   <MX8MP_IOMUXC_UART2_RXD__ECSPI3_MISO		0x1c0>,
536418d1d84SAlexander Stein			   <MX8MP_IOMUXC_UART2_TXD__GPIO5_IO25		0x1c0>;
537418d1d84SAlexander Stein	};
538418d1d84SAlexander Stein
539418d1d84SAlexander Stein	pinctrl_eqos: eqosgrp {
540418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_ENET_MDC__ENET_QOS_MDC				0x40000044>,
541418d1d84SAlexander Stein			   <MX8MP_IOMUXC_ENET_MDIO__ENET_QOS_MDIO			0x40000044>,
542418d1d84SAlexander Stein			   <MX8MP_IOMUXC_ENET_RD0__ENET_QOS_RGMII_RD0			0x90>,
543418d1d84SAlexander Stein			   <MX8MP_IOMUXC_ENET_RD1__ENET_QOS_RGMII_RD1			0x90>,
544418d1d84SAlexander Stein			   <MX8MP_IOMUXC_ENET_RD2__ENET_QOS_RGMII_RD2			0x90>,
545418d1d84SAlexander Stein			   <MX8MP_IOMUXC_ENET_RD3__ENET_QOS_RGMII_RD3			0x90>,
546418d1d84SAlexander Stein			   <MX8MP_IOMUXC_ENET_RXC__CCM_ENET_QOS_CLOCK_GENERATE_RX_CLK	0x90>,
547418d1d84SAlexander Stein			   <MX8MP_IOMUXC_ENET_RX_CTL__ENET_QOS_RGMII_RX_CTL		0x90>,
548418d1d84SAlexander Stein			   <MX8MP_IOMUXC_ENET_TD0__ENET_QOS_RGMII_TD0			0x12>,
549418d1d84SAlexander Stein			   <MX8MP_IOMUXC_ENET_TD1__ENET_QOS_RGMII_TD1			0x12>,
550418d1d84SAlexander Stein			   <MX8MP_IOMUXC_ENET_TD2__ENET_QOS_RGMII_TD2			0x12>,
551418d1d84SAlexander Stein			   <MX8MP_IOMUXC_ENET_TD3__ENET_QOS_RGMII_TD3			0x12>,
552418d1d84SAlexander Stein			   <MX8MP_IOMUXC_ENET_TX_CTL__ENET_QOS_RGMII_TX_CTL		0x12>,
553418d1d84SAlexander Stein			   <MX8MP_IOMUXC_ENET_TXC__CCM_ENET_QOS_CLOCK_GENERATE_TX_CLK	0x14>;
554418d1d84SAlexander Stein	};
555418d1d84SAlexander Stein
556418d1d84SAlexander Stein	pinctrl_eqos_event: eqosevtgrp {
557418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_SAI2_RXD0__ENET_QOS_1588_EVENT2_OUT		0x100>,
558418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SAI2_TXD0__ENET_QOS_1588_EVENT2_IN		0x1c0>;
559418d1d84SAlexander Stein	};
560418d1d84SAlexander Stein
561418d1d84SAlexander Stein	pinctrl_eqos_phy: eqosphygrp {
562418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_SAI1_RXD0__GPIO4_IO02				0x100>,
563418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SAI1_RXD1__GPIO4_IO03				0x1c0>;
564418d1d84SAlexander Stein	};
565418d1d84SAlexander Stein
566418d1d84SAlexander Stein	pinctrl_fec: fecgrp {
567418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_SAI1_RXD2__ENET1_MDC		0x40000044>,
568418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SAI1_RXD3__ENET1_MDIO		0x40000044>,
569418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SAI1_RXD4__ENET1_RGMII_RD0	0x90>,
570418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SAI1_RXD5__ENET1_RGMII_RD1	0x90>,
571418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SAI1_RXD6__ENET1_RGMII_RD2	0x90>,
572418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SAI1_RXD7__ENET1_RGMII_RD3	0x90>,
573418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SAI1_TXC__ENET1_RGMII_RXC	0x90>,
574418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SAI1_TXFS__ENET1_RGMII_RX_CTL	0x90>,
575418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SAI1_TXD0__ENET1_RGMII_TD0	0x12>,
576418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SAI1_TXD1__ENET1_RGMII_TD1	0x12>,
577418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SAI1_TXD2__ENET1_RGMII_TD2	0x12>,
578418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SAI1_TXD3__ENET1_RGMII_TD3	0x12>,
579418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SAI1_TXD4__ENET1_RGMII_TX_CTL	0x12>,
580418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SAI1_TXD5__ENET1_RGMII_TXC	0x14>;
581418d1d84SAlexander Stein	};
582418d1d84SAlexander Stein
583418d1d84SAlexander Stein	pinctrl_fec_event: fecevtgrp {
584418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_SAI1_RXFS__ENET1_1588_EVENT0_IN	0x100>,
585418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SAI1_RXC__ENET1_1588_EVENT0_OUT	0x1c0>;
586418d1d84SAlexander Stein	};
587418d1d84SAlexander Stein
588418d1d84SAlexander Stein	pinctrl_fec_phy: fecphygrp {
589418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_SAI1_RXFS__GPIO4_IO00		0x100>,
590418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SAI1_RXC__GPIO4_IO01		0x1c0>;
591418d1d84SAlexander Stein	};
592418d1d84SAlexander Stein
593418d1d84SAlexander Stein	pinctrl_fec_phyalt: fecphyaltgrp {
594418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_SAI2_TXFS__GPIO4_IO24		0x180>,
595418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SAI2_TXC__GPIO4_IO25		0x180>;
596418d1d84SAlexander Stein	};
597418d1d84SAlexander Stein
598418d1d84SAlexander Stein	pinctrl_gpiobutton: gpiobuttongrp {
599418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_UART3_RXD__GPIO5_IO26		0x10>,
600418d1d84SAlexander Stein			   <MX8MP_IOMUXC_UART3_TXD__GPIO5_IO27		0x10>;
601418d1d84SAlexander Stein	};
602418d1d84SAlexander Stein
603418d1d84SAlexander Stein	pinctrl_gpioled: gpioledgrp {
604418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_SPDIF_EXT_CLK__GPIO5_IO05	0x14>,
605418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SPDIF_RX__GPIO5_IO04		0x14>,
606418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SPDIF_TX__GPIO5_IO03		0x14>;
607418d1d84SAlexander Stein	};
608418d1d84SAlexander Stein
609418d1d84SAlexander Stein	pinctrl_gpio1: gpio1grp {
610418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_GPIO1_IO00__GPIO1_IO00		0x10>,
611418d1d84SAlexander Stein			   <MX8MP_IOMUXC_GPIO1_IO01__GPIO1_IO01		0x10>,
612418d1d84SAlexander Stein			   <MX8MP_IOMUXC_GPIO1_IO03__GPIO1_IO03		0x10>,
613418d1d84SAlexander Stein			   <MX8MP_IOMUXC_GPIO1_IO06__GPIO1_IO06		0x10>,
614418d1d84SAlexander Stein			   <MX8MP_IOMUXC_GPIO1_IO07__GPIO1_IO07		0x80>,
615418d1d84SAlexander Stein			   <MX8MP_IOMUXC_GPIO1_IO09__GPIO1_IO09		0x80>,
616418d1d84SAlexander Stein			   <MX8MP_IOMUXC_GPIO1_IO14__GPIO1_IO14		0x80>,
617418d1d84SAlexander Stein			   <MX8MP_IOMUXC_GPIO1_IO15__GPIO1_IO15		0x80>;
618418d1d84SAlexander Stein	};
619418d1d84SAlexander Stein
620418d1d84SAlexander Stein	pinctrl_gpio4: gpio4grp {
621418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_SAI1_MCLK__GPIO4_IO20		0x180>,
622418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SAI2_RXC__GPIO4_IO22		0x180>;
623418d1d84SAlexander Stein	};
624418d1d84SAlexander Stein
625418d1d84SAlexander Stein	pinctrl_hdmi: hdmigrp {
626418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_HDMI_DDC_SCL__HDMIMIX_HDMI_SCL	0x400001c2>,
627418d1d84SAlexander Stein			   <MX8MP_IOMUXC_HDMI_DDC_SDA__HDMIMIX_HDMI_SDA	0x400001c2>,
628418d1d84SAlexander Stein			   <MX8MP_IOMUXC_HDMI_HPD__HDMIMIX_HDMI_HPD	0x40000010>,
629418d1d84SAlexander Stein			   <MX8MP_IOMUXC_HDMI_CEC__HDMIMIX_HDMI_CEC	0x40000010>;
630418d1d84SAlexander Stein	};
631418d1d84SAlexander Stein
632418d1d84SAlexander Stein	pinctrl_hoggpio2: hoggpio2grp {
633418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_SD1_DATA5__GPIO2_IO07		0x140>,
634418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SD1_RESET_B__GPIO2_IO10	0x140>,
635418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SD1_STROBE__GPIO2_IO11		0x140>;
636418d1d84SAlexander Stein	};
637418d1d84SAlexander Stein
638418d1d84SAlexander Stein	pinctrl_i2c2: i2c2grp {
639418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_I2C2_SCL__I2C2_SCL		0x400001e2>,
640418d1d84SAlexander Stein			   <MX8MP_IOMUXC_I2C2_SDA__I2C2_SDA		0x400001e2>;
641418d1d84SAlexander Stein	};
642418d1d84SAlexander Stein
643418d1d84SAlexander Stein	pinctrl_i2c2_gpio: i2c2-gpiogrp {
644418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_I2C2_SCL__GPIO5_IO16		0x400001e2>,
645418d1d84SAlexander Stein			   <MX8MP_IOMUXC_I2C2_SDA__GPIO5_IO17		0x400001e2>;
646418d1d84SAlexander Stein	};
647418d1d84SAlexander Stein
648418d1d84SAlexander Stein	pinctrl_i2c4: i2c4grp {
649418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_I2C4_SCL__I2C4_SCL		0x400001e2>,
650418d1d84SAlexander Stein			   <MX8MP_IOMUXC_I2C4_SDA__I2C4_SDA		0x400001e2>;
651418d1d84SAlexander Stein	};
652418d1d84SAlexander Stein
653418d1d84SAlexander Stein	pinctrl_i2c4_gpio: i2c4-gpiogrp {
654418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_I2C4_SCL__GPIO5_IO20		0x400001e2>,
655418d1d84SAlexander Stein			   <MX8MP_IOMUXC_I2C4_SDA__GPIO5_IO21		0x400001e2>;
656418d1d84SAlexander Stein	};
657418d1d84SAlexander Stein
658418d1d84SAlexander Stein	pinctrl_i2c6: i2c6grp {
659418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_SD1_DATA0__I2C6_SCL		0x400001e2>,
660418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SD1_DATA1__I2C6_SDA		0x400001e2>;
661418d1d84SAlexander Stein	};
662418d1d84SAlexander Stein
663418d1d84SAlexander Stein	pinctrl_i2c6_gpio: i2c6-gpiogrp {
664418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_SD1_DATA0__GPIO2_IO02		0x400001e2>,
665418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SD1_DATA1__GPIO2_IO03		0x400001e2>;
666418d1d84SAlexander Stein	};
667418d1d84SAlexander Stein
668418d1d84SAlexander Stein	pinctrl_lvdsdisplay: lvdsdisplaygrp {
669418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_SAI5_RXC__GPIO3_IO20		0x10>; /* Power enable */
670418d1d84SAlexander Stein	};
671418d1d84SAlexander Stein
672418d1d84SAlexander Stein	/* LVDS Backlight */
673418d1d84SAlexander Stein	pinctrl_pwm2: pwm2grp {
674418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_SAI5_RXD0__PWM2_OUT		0x14>;
675418d1d84SAlexander Stein	};
676418d1d84SAlexander Stein
677418d1d84SAlexander Stein	/* FAN */
678418d1d84SAlexander Stein	pinctrl_pwm3: pwm3grp {
679418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_I2C3_SDA__PWM3_OUT		0x14>;
680418d1d84SAlexander Stein	};
681418d1d84SAlexander Stein
682418d1d84SAlexander Stein	pinctrl_reg12v0: reg12v0grp {
683418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_SD1_DATA4__GPIO2_IO06		0x140>; /* VCC12V enable */
684418d1d84SAlexander Stein	};
685418d1d84SAlexander Stein
686418d1d84SAlexander Stein	/* X61 */
687418d1d84SAlexander Stein	pinctrl_uart1: uart1grp {
688418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_SD1_CLK__UART1_DCE_TX		0x140>,
689418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SD1_CMD__UART1_DCE_RX		0x140>;
690418d1d84SAlexander Stein	};
691418d1d84SAlexander Stein
692418d1d84SAlexander Stein	/* X61 */
693418d1d84SAlexander Stein	pinctrl_uart2: uart2grp {
694418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_SD1_DATA2__UART2_DCE_TX	0x140>,
695418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SD1_DATA3__UART2_DCE_RX	0x140>;
696418d1d84SAlexander Stein	};
697418d1d84SAlexander Stein
698418d1d84SAlexander Stein	pinctrl_uart3: uart3grp {
699418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_SD1_DATA6__UART3_DCE_TX	0x140>,
700418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SD1_DATA7__UART3_DCE_RX	0x140>;
701418d1d84SAlexander Stein	};
702418d1d84SAlexander Stein
703418d1d84SAlexander Stein	pinctrl_uart4: uart4grp {
704418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_UART4_RXD__UART4_DCE_RX	0x140>,
705418d1d84SAlexander Stein			   <MX8MP_IOMUXC_UART4_TXD__UART4_DCE_TX	0x140>;
706418d1d84SAlexander Stein	};
707418d1d84SAlexander Stein
708*fb4f0b69SAlexander Stein	pinctrl_usb0: usb0grp {
709*fb4f0b69SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_GPIO1_IO13__USB1_OTG_OC	0x1c0>,
710*fb4f0b69SAlexander Stein			   <MX8MP_IOMUXC_GPIO1_IO12__USB1_OTG_PWR	0x1c0>;
711*fb4f0b69SAlexander Stein	};
712*fb4f0b69SAlexander Stein
713*fb4f0b69SAlexander Stein	pinctrl_usbcon0: usb0congrp {
714*fb4f0b69SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_GPIO1_IO10__GPIO1_IO10		0x1c0>;
715*fb4f0b69SAlexander Stein	};
716*fb4f0b69SAlexander Stein
717418d1d84SAlexander Stein	pinctrl_usdhc2: usdhc2grp {
718418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_SD2_CLK__USDHC2_CLK		0x192>,
719418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SD2_CMD__USDHC2_CMD		0x1d2>,
720418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SD2_DATA0__USDHC2_DATA0	0x1d2>,
721418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SD2_DATA1__USDHC2_DATA1	0x1d2>,
722418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SD2_DATA2__USDHC2_DATA2	0x1d2>,
723418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3	0x1d2>,
724418d1d84SAlexander Stein			   <MX8MP_IOMUXC_GPIO1_IO04__USDHC2_VSELECT	0xc0>;
725418d1d84SAlexander Stein	};
726418d1d84SAlexander Stein
727418d1d84SAlexander Stein	pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp {
728418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_SD2_CLK__USDHC2_CLK		0x194>,
729418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SD2_CMD__USDHC2_CMD		0x1d4>,
730418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SD2_DATA0__USDHC2_DATA0	0x1d4>,
731418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SD2_DATA1__USDHC2_DATA1	0x1d4>,
732418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SD2_DATA2__USDHC2_DATA2	0x1d4>,
733418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3	0x1d4>,
734418d1d84SAlexander Stein			   <MX8MP_IOMUXC_GPIO1_IO04__USDHC2_VSELECT	0xc0>;
735418d1d84SAlexander Stein	};
736418d1d84SAlexander Stein
737418d1d84SAlexander Stein	pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp {
738418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_SD2_CLK__USDHC2_CLK		0x194>,
739418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SD2_CMD__USDHC2_CMD		0x1d4>,
740418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SD2_DATA0__USDHC2_DATA0	0x1d4>,
741418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SD2_DATA1__USDHC2_DATA1	0x1d4>,
742418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SD2_DATA2__USDHC2_DATA2	0x1d4>,
743418d1d84SAlexander Stein			   <MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3	0x1d4>,
744418d1d84SAlexander Stein			   <MX8MP_IOMUXC_GPIO1_IO04__USDHC2_VSELECT	0xc0>;
745418d1d84SAlexander Stein	};
746418d1d84SAlexander Stein
747418d1d84SAlexander Stein	pinctrl_usdhc2_gpio: usdhc2-gpiogrp {
748418d1d84SAlexander Stein		fsl,pins = <MX8MP_IOMUXC_SD2_CD_B__GPIO2_IO12		0x1c0>;
749418d1d84SAlexander Stein	};
750418d1d84SAlexander Stein};
751