xref: /linux/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi (revision ab93e0dd72c37d378dd936f031ffb83ff2bd87ce)
1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Copyright 2020 NXP
4 */
5
6/dts-v1/;
7
8#include <dt-bindings/phy/phy-imx8-pcie.h>
9#include <dt-bindings/usb/pd.h>
10#include "imx8mm.dtsi"
11
12/ {
13	chosen {
14		stdout-path = &uart2;
15	};
16
17	memory@40000000 {
18		device_type = "memory";
19		reg = <0x0 0x40000000 0 0x80000000>;
20	};
21
22	hdmi-connector {
23		compatible = "hdmi-connector";
24		label = "hdmi";
25		type = "a";
26
27		port {
28			hdmi_connector_in: endpoint {
29				remote-endpoint = <&adv7535_out>;
30			};
31		};
32	};
33
34	leds {
35		compatible = "gpio-leds";
36		pinctrl-names = "default";
37		pinctrl-0 = <&pinctrl_gpio_led>;
38
39		status {
40			label = "status";
41			gpios = <&gpio3 16 GPIO_ACTIVE_HIGH>;
42			default-state = "on";
43		};
44	};
45
46	pcie0_refclk: pcie0-refclk {
47		compatible = "fixed-clock";
48		#clock-cells = <0>;
49		clock-frequency = <100000000>;
50	};
51
52	reg_pcie0: regulator-pcie {
53		compatible = "regulator-fixed";
54		pinctrl-names = "default";
55		pinctrl-0 = <&pinctrl_pcie0_reg>;
56		regulator-name = "MPCIE_3V3";
57		regulator-min-microvolt = <3300000>;
58		regulator-max-microvolt = <3300000>;
59		gpio = <&gpio1 5 GPIO_ACTIVE_HIGH>;
60		enable-active-high;
61	};
62
63	reg_usdhc2_vmmc: regulator-usdhc2 {
64		compatible = "regulator-fixed";
65		pinctrl-names = "default";
66		pinctrl-0 = <&pinctrl_reg_usdhc2_vmmc>;
67		regulator-name = "VSD_3V3";
68		regulator-min-microvolt = <3300000>;
69		regulator-max-microvolt = <3300000>;
70		gpio = <&gpio2 19 GPIO_ACTIVE_HIGH>;
71		off-on-delay-us = <20000>;
72		enable-active-high;
73	};
74
75	reg_1v5: regulator-1v5 {
76		compatible = "regulator-fixed";
77		regulator-name = "VDD_1V5";
78		regulator-min-microvolt = <1500000>;
79		regulator-max-microvolt = <1500000>;
80	};
81
82	reg_1v8: regulator-1v8 {
83		compatible = "regulator-fixed";
84		regulator-name = "VDD_1V8";
85		regulator-min-microvolt = <1800000>;
86		regulator-max-microvolt = <1800000>;
87	};
88
89	reg_vddext_3v3: regulator-vddext-3v3 {
90		compatible = "regulator-fixed";
91		regulator-name = "VDDEXT_3V3";
92		regulator-min-microvolt = <3300000>;
93		regulator-max-microvolt = <3300000>;
94	};
95
96	backlight: backlight {
97		compatible = "pwm-backlight";
98		pwms = <&pwm1 0 5000000 0>;
99		brightness-levels = <0 255>;
100		num-interpolated-steps = <255>;
101		default-brightness-level = <250>;
102	};
103
104	ir-receiver {
105		compatible = "gpio-ir-receiver";
106		gpios = <&gpio1 13 GPIO_ACTIVE_LOW>;
107		pinctrl-names = "default";
108		pinctrl-0 = <&pinctrl_ir>;
109		linux,autosuspend-period = <125>;
110	};
111
112	audio_codec_bt_sco: audio-codec-bt-sco {
113		compatible = "linux,bt-sco";
114		#sound-dai-cells = <1>;
115	};
116
117	wm8524: audio-codec {
118		#sound-dai-cells = <0>;
119		compatible = "wlf,wm8524";
120		pinctrl-names = "default";
121		pinctrl-0 = <&pinctrl_gpio_wlf>;
122		wlf,mute-gpios = <&gpio5 21 GPIO_ACTIVE_LOW>;
123	};
124
125	sound-bt-sco {
126		compatible = "simple-audio-card";
127		simple-audio-card,name = "bt-sco-audio";
128		simple-audio-card,format = "dsp_a";
129		simple-audio-card,bitclock-inversion;
130		simple-audio-card,frame-master = <&btcpu>;
131		simple-audio-card,bitclock-master = <&btcpu>;
132
133		btcpu: simple-audio-card,cpu {
134			sound-dai = <&sai2>;
135			dai-tdm-slot-num = <2>;
136			dai-tdm-slot-width = <16>;
137		};
138
139		simple-audio-card,codec {
140			sound-dai = <&audio_codec_bt_sco 1>;
141		};
142	};
143
144	sound-wm8524 {
145		compatible = "simple-audio-card";
146		simple-audio-card,name = "wm8524-audio";
147		simple-audio-card,format = "i2s";
148		simple-audio-card,frame-master = <&cpudai>;
149		simple-audio-card,bitclock-master = <&cpudai>;
150		simple-audio-card,widgets =
151			"Line", "Left Line Out Jack",
152			"Line", "Right Line Out Jack";
153		simple-audio-card,routing =
154			"Left Line Out Jack", "LINEVOUTL",
155			"Right Line Out Jack", "LINEVOUTR";
156
157		cpudai: simple-audio-card,cpu {
158			sound-dai = <&sai3>;
159			dai-tdm-slot-num = <2>;
160			dai-tdm-slot-width = <32>;
161		};
162
163		simple-audio-card,codec {
164			sound-dai = <&wm8524>;
165			clocks = <&clk IMX8MM_CLK_SAI3_ROOT>;
166		};
167	};
168
169	sound-micfil {
170		compatible = "fsl,imx-audio-card";
171		model = "micfil-audio";
172
173		pri-dai-link {
174			link-name = "micfil hifi";
175			format = "i2s";
176
177			cpu {
178				sound-dai = <&micfil>;
179			};
180		};
181	};
182
183	spdif_out: spdif-out {
184		compatible = "linux,spdif-dit";
185		#sound-dai-cells = <0>;
186	};
187
188	spdif_in: spdif-in {
189		compatible = "linux,spdif-dir";
190		#sound-dai-cells = <0>;
191	};
192
193	sound-spdif {
194		compatible = "fsl,imx-audio-spdif";
195		model = "imx-spdif";
196		audio-cpu = <&spdif1>;
197		audio-codec = <&spdif_out>, <&spdif_in>;
198	};
199};
200
201&A53_0 {
202	cpu-supply = <&buck2_reg>;
203};
204
205&A53_1 {
206	cpu-supply = <&buck2_reg>;
207};
208
209&A53_2 {
210	cpu-supply = <&buck2_reg>;
211};
212
213&A53_3 {
214	cpu-supply = <&buck2_reg>;
215};
216
217&fec1 {
218	pinctrl-names = "default";
219	pinctrl-0 = <&pinctrl_fec1>;
220	phy-mode = "rgmii-id";
221	phy-handle = <&ethphy0>;
222	fsl,magic-packet;
223	status = "okay";
224
225	mdio {
226		#address-cells = <1>;
227		#size-cells = <0>;
228
229		ethphy0: ethernet-phy@0 {
230			compatible = "ethernet-phy-ieee802.3-c22";
231			reg = <0>;
232			reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>;
233			reset-assert-us = <10000>;
234			qca,disable-smarteee;
235			vddio-supply = <&vddio>;
236
237			vddio: vddio-regulator {
238				regulator-min-microvolt = <1800000>;
239				regulator-max-microvolt = <1800000>;
240			};
241		};
242	};
243};
244
245&i2c1 {
246	clock-frequency = <400000>;
247	pinctrl-names = "default";
248	pinctrl-0 = <&pinctrl_i2c1>;
249	status = "okay";
250
251	pmic@4b {
252		compatible = "rohm,bd71847";
253		reg = <0x4b>;
254		pinctrl-names = "default";
255		pinctrl-0 = <&pinctrl_pmic>;
256		interrupt-parent = <&gpio1>;
257		interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
258		rohm,reset-snvs-powered;
259
260		#clock-cells = <0>;
261		clocks = <&osc_32k>;
262		clock-output-names = "clk-32k-out";
263
264		regulators {
265			buck1_reg: BUCK1 {
266				regulator-name = "buck1";
267				regulator-min-microvolt = <700000>;
268				regulator-max-microvolt = <1300000>;
269				regulator-boot-on;
270				regulator-always-on;
271				regulator-ramp-delay = <1250>;
272			};
273
274			buck2_reg: BUCK2 {
275				regulator-name = "buck2";
276				regulator-min-microvolt = <700000>;
277				regulator-max-microvolt = <1300000>;
278				regulator-boot-on;
279				regulator-always-on;
280				regulator-ramp-delay = <1250>;
281				rohm,dvs-run-voltage = <1000000>;
282				rohm,dvs-idle-voltage = <900000>;
283			};
284
285			buck3_reg: BUCK3 {
286				// BUCK5 in datasheet
287				regulator-name = "buck3";
288				regulator-min-microvolt = <700000>;
289				regulator-max-microvolt = <1350000>;
290				regulator-boot-on;
291				regulator-always-on;
292			};
293
294			buck4_reg: BUCK4 {
295				// BUCK6 in datasheet
296				regulator-name = "buck4";
297				regulator-min-microvolt = <3000000>;
298				regulator-max-microvolt = <3300000>;
299				regulator-boot-on;
300				regulator-always-on;
301			};
302
303			buck5_reg: BUCK5 {
304				// BUCK7 in datasheet
305				regulator-name = "buck5";
306				regulator-min-microvolt = <1605000>;
307				regulator-max-microvolt = <1995000>;
308				regulator-boot-on;
309				regulator-always-on;
310			};
311
312			buck6_reg: BUCK6 {
313				// BUCK8 in datasheet
314				regulator-name = "buck6";
315				regulator-min-microvolt = <800000>;
316				regulator-max-microvolt = <1400000>;
317				regulator-boot-on;
318				regulator-always-on;
319			};
320
321			ldo1_reg: LDO1 {
322				regulator-name = "ldo1";
323				regulator-min-microvolt = <1600000>;
324				regulator-max-microvolt = <3300000>;
325				regulator-boot-on;
326				regulator-always-on;
327			};
328
329			ldo2_reg: LDO2 {
330				regulator-name = "ldo2";
331				regulator-min-microvolt = <800000>;
332				regulator-max-microvolt = <900000>;
333				regulator-boot-on;
334				regulator-always-on;
335			};
336
337			ldo3_reg: LDO3 {
338				regulator-name = "ldo3";
339				regulator-min-microvolt = <1800000>;
340				regulator-max-microvolt = <3300000>;
341				regulator-boot-on;
342				regulator-always-on;
343			};
344
345			ldo4_reg: LDO4 {
346				regulator-name = "ldo4";
347				regulator-min-microvolt = <900000>;
348				regulator-max-microvolt = <1800000>;
349				regulator-boot-on;
350				regulator-always-on;
351			};
352
353			ldo6_reg: LDO6 {
354				regulator-name = "ldo6";
355				regulator-min-microvolt = <900000>;
356				regulator-max-microvolt = <1800000>;
357				regulator-boot-on;
358				regulator-always-on;
359			};
360		};
361	};
362};
363
364&i2c2 {
365	clock-frequency = <400000>;
366	pinctrl-names = "default";
367	pinctrl-0 = <&pinctrl_i2c2>;
368	status = "okay";
369
370	hdmi@3d {
371		compatible = "adi,adv7535";
372		reg = <0x3d>;
373		interrupt-parent = <&gpio1>;
374		interrupts = <9 IRQ_TYPE_EDGE_FALLING>;
375		adi,dsi-lanes = <4>;
376		avdd-supply = <&buck5_reg>;
377		dvdd-supply = <&buck5_reg>;
378		pvdd-supply = <&buck5_reg>;
379		a2vdd-supply = <&buck5_reg>;
380		v3p3-supply = <&reg_vddext_3v3>;
381		v1p2-supply = <&buck5_reg>;
382
383		ports {
384			#address-cells = <1>;
385			#size-cells = <0>;
386
387			port@0 {
388				reg = <0>;
389
390				adv7535_in: endpoint {
391					remote-endpoint = <&dsi_out>;
392				};
393			};
394
395			port@1 {
396				reg = <1>;
397
398				adv7535_out: endpoint {
399					remote-endpoint = <&hdmi_connector_in>;
400				};
401			};
402
403		};
404	};
405
406	ptn5110: tcpc@50 {
407		compatible = "nxp,ptn5110", "tcpci";
408		pinctrl-names = "default";
409		pinctrl-0 = <&pinctrl_typec1>;
410		reg = <0x50>;
411		interrupt-parent = <&gpio2>;
412		interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
413		status = "okay";
414
415		typec1_con: connector {
416			compatible = "usb-c-connector";
417			label = "USB-C";
418			power-role = "dual";
419			data-role = "dual";
420			try-power-role = "sink";
421			source-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)>;
422			sink-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)
423				     PDO_VAR(5000, 20000, 3000)>;
424			op-sink-microwatt = <15000000>;
425			self-powered;
426
427			port {
428				typec1_dr_sw: endpoint {
429					remote-endpoint = <&usb1_drd_sw>;
430				};
431			};
432		};
433	};
434};
435
436
437&csi {
438	status = "okay";
439};
440
441&i2c3 {
442	clock-frequency = <400000>;
443	pinctrl-names = "default";
444	pinctrl-0 = <&pinctrl_i2c3>;
445	status = "okay";
446
447	pca6416: gpio@20 {
448		compatible = "nxp,pca6416";
449		reg = <0x20>;
450		gpio-controller;
451		#gpio-cells = <2>;
452		vcc-supply = <&buck4_reg>;
453	};
454
455	camera@3c {
456		compatible = "ovti,ov5640";
457		reg = <0x3c>;
458		pinctrl-names = "default";
459		pinctrl-0 = <&pinctrl_camera>;
460		clocks = <&clk IMX8MM_CLK_CLKO1>;
461		clock-names = "xclk";
462		assigned-clocks = <&clk IMX8MM_CLK_CLKO1>;
463		assigned-clock-parents = <&clk IMX8MM_CLK_24M>;
464		assigned-clock-rates = <24000000>;
465		powerdown-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
466		reset-gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
467		DOVDD-supply = <&buck5_reg>;
468		AVDD-supply = <&reg_1v8>;
469		DVDD-supply = <&reg_1v5>;
470
471		port {
472			ov5640_to_mipi_csi2: endpoint {
473				remote-endpoint = <&imx8mm_mipi_csi_in>;
474				clock-lanes = <0>;
475				data-lanes = <1 2>;
476			};
477		};
478	};
479};
480
481&lcdif {
482	status = "okay";
483};
484
485&micfil {
486	#sound-dai-cells = <0>;
487	pinctrl-names = "default";
488	pinctrl-0 = <&pinctrl_pdm>;
489	assigned-clocks = <&clk IMX8MM_CLK_PDM>;
490	assigned-clock-parents = <&clk IMX8MM_AUDIO_PLL1_OUT>;
491	assigned-clock-rates = <196608000>;
492	status = "okay";
493};
494
495&mipi_csi {
496	status = "okay";
497
498	ports {
499		port@0 {
500			imx8mm_mipi_csi_in: endpoint {
501				remote-endpoint = <&ov5640_to_mipi_csi2>;
502				data-lanes = <1 2>;
503			};
504		};
505	};
506};
507
508&mipi_dsi {
509	samsung,esc-clock-frequency = <10000000>;
510	status = "okay";
511
512	ports {
513		port@1 {
514			reg = <1>;
515
516			dsi_out: endpoint {
517				remote-endpoint = <&adv7535_in>;
518				data-lanes = <1 2 3 4>;
519			};
520		};
521	};
522};
523
524&pcie_phy {
525	fsl,refclk-pad-mode = <IMX8_PCIE_REFCLK_PAD_INPUT>;
526	fsl,tx-deemph-gen1 = <0x2d>;
527	fsl,tx-deemph-gen2 = <0xf>;
528	clocks = <&pcie0_refclk>;
529	status = "okay";
530};
531
532&pcie0 {
533	pinctrl-names = "default";
534	pinctrl-0 = <&pinctrl_pcie0>;
535	reset-gpio = <&gpio4 21 GPIO_ACTIVE_LOW>;
536	clocks = <&clk IMX8MM_CLK_PCIE1_ROOT>, <&pcie0_refclk>,
537		 <&clk IMX8MM_CLK_PCIE1_AUX>;
538	assigned-clocks = <&clk IMX8MM_CLK_PCIE1_AUX>,
539			  <&clk IMX8MM_CLK_PCIE1_CTRL>;
540	assigned-clock-rates = <10000000>, <250000000>;
541	assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_50M>,
542				 <&clk IMX8MM_SYS_PLL2_250M>;
543	vpcie-supply = <&reg_pcie0>;
544	status = "okay";
545};
546
547&pcie0_ep {
548	pinctrl-names = "default";
549	pinctrl-0 = <&pinctrl_pcie0>;
550	clocks = <&clk IMX8MM_CLK_PCIE1_ROOT>, <&pcie0_refclk>,
551		 <&clk IMX8MM_CLK_PCIE1_AUX>;
552	assigned-clocks = <&clk IMX8MM_CLK_PCIE1_AUX>,
553			  <&clk IMX8MM_CLK_PCIE1_CTRL>;
554	assigned-clock-rates = <10000000>, <250000000>;
555	assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_50M>,
556				 <&clk IMX8MM_SYS_PLL2_250M>;
557	status = "disabled";
558};
559
560&sai2 {
561	#sound-dai-cells = <0>;
562	pinctrl-names = "default";
563	pinctrl-0 = <&pinctrl_sai2>;
564	assigned-clocks = <&clk IMX8MM_CLK_SAI2>;
565	assigned-clock-parents = <&clk IMX8MM_AUDIO_PLL1_OUT>;
566	assigned-clock-rates = <24576000>;
567	status = "okay";
568};
569
570&sai3 {
571	pinctrl-names = "default";
572	pinctrl-0 = <&pinctrl_sai3>;
573	assigned-clocks = <&clk IMX8MM_CLK_SAI3>;
574	assigned-clock-parents = <&clk IMX8MM_AUDIO_PLL1_OUT>;
575	assigned-clock-rates = <24576000>;
576	status = "okay";
577};
578
579&snvs_pwrkey {
580	status = "okay";
581};
582
583&spdif1 {
584	pinctrl-names = "default";
585	pinctrl-0 = <&pinctrl_spdif1>;
586	assigned-clocks = <&clk IMX8MM_CLK_SPDIF1>;
587	assigned-clock-parents = <&clk IMX8MM_AUDIO_PLL1_OUT>;
588	assigned-clock-rates = <24576000>;
589	clocks = <&clk IMX8MM_CLK_AUDIO_AHB>, <&clk IMX8MM_CLK_24M>,
590		 <&clk IMX8MM_CLK_SPDIF1>, <&clk IMX8MM_CLK_DUMMY>,
591		 <&clk IMX8MM_CLK_DUMMY>, <&clk IMX8MM_CLK_DUMMY>,
592		 <&clk IMX8MM_CLK_AUDIO_AHB>, <&clk IMX8MM_CLK_DUMMY>,
593		 <&clk IMX8MM_CLK_DUMMY>, <&clk IMX8MM_CLK_DUMMY>,
594		 <&clk IMX8MM_AUDIO_PLL1_OUT>, <&clk IMX8MM_AUDIO_PLL2_OUT>;
595	clock-names = "core", "rxtx0", "rxtx1", "rxtx2", "rxtx3",
596		      "rxtx4", "rxtx5", "rxtx6", "rxtx7", "spba",
597		      "pll8k", "pll11k";
598	status = "okay";
599};
600
601&uart2 { /* console */
602	pinctrl-names = "default";
603	pinctrl-0 = <&pinctrl_uart2>;
604	status = "okay";
605};
606
607&usbphynop1 {
608	wakeup-source;
609};
610
611&usbotg1 {
612	dr_mode = "otg";
613	hnp-disable;
614	srp-disable;
615	adp-disable;
616	usb-role-switch;
617	disable-over-current;
618	samsung,picophy-pre-emp-curr-control = <3>;
619	samsung,picophy-dc-vol-level-adjust = <7>;
620	status = "okay";
621
622	port {
623		usb1_drd_sw: endpoint {
624			remote-endpoint = <&typec1_dr_sw>;
625		};
626	};
627};
628
629&usdhc2 {
630	assigned-clocks = <&clk IMX8MM_CLK_USDHC2>;
631	assigned-clock-rates = <200000000>;
632	pinctrl-names = "default", "state_100mhz", "state_200mhz";
633	pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>;
634	pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>;
635	pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>;
636	cd-gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
637	bus-width = <4>;
638	vmmc-supply = <&reg_usdhc2_vmmc>;
639	status = "okay";
640};
641
642&wdog1 {
643	pinctrl-names = "default";
644	pinctrl-0 = <&pinctrl_wdog>;
645	fsl,ext-reset-output;
646	status = "okay";
647};
648
649&pwm1 {
650	pinctrl-names = "default";
651	pinctrl-0 = <&pinctrl_backlight>;
652	status = "okay";
653};
654
655&iomuxc {
656	pinctrl_fec1: fec1grp {
657		fsl,pins = <
658			MX8MM_IOMUXC_ENET_MDC_ENET1_MDC			0x3
659			MX8MM_IOMUXC_ENET_MDIO_ENET1_MDIO		0x3
660			MX8MM_IOMUXC_ENET_TD3_ENET1_RGMII_TD3		0x1f
661			MX8MM_IOMUXC_ENET_TD2_ENET1_RGMII_TD2		0x1f
662			MX8MM_IOMUXC_ENET_TD1_ENET1_RGMII_TD1		0x1f
663			MX8MM_IOMUXC_ENET_TD0_ENET1_RGMII_TD0		0x1f
664			MX8MM_IOMUXC_ENET_RD3_ENET1_RGMII_RD3		0x91
665			MX8MM_IOMUXC_ENET_RD2_ENET1_RGMII_RD2		0x91
666			MX8MM_IOMUXC_ENET_RD1_ENET1_RGMII_RD1		0x91
667			MX8MM_IOMUXC_ENET_RD0_ENET1_RGMII_RD0		0x91
668			MX8MM_IOMUXC_ENET_TXC_ENET1_RGMII_TXC		0x1f
669			MX8MM_IOMUXC_ENET_RXC_ENET1_RGMII_RXC		0x91
670			MX8MM_IOMUXC_ENET_RX_CTL_ENET1_RGMII_RX_CTL	0x91
671			MX8MM_IOMUXC_ENET_TX_CTL_ENET1_RGMII_TX_CTL	0x1f
672			MX8MM_IOMUXC_SAI2_RXC_GPIO4_IO22		0x19
673		>;
674	};
675
676	pinctrl_gpio_led: gpioledgrp {
677		fsl,pins = <
678			MX8MM_IOMUXC_NAND_READY_B_GPIO3_IO16	0x19
679		>;
680	};
681
682	pinctrl_ir: irgrp {
683		fsl,pins = <
684			MX8MM_IOMUXC_GPIO1_IO13_GPIO1_IO13              0x4f
685		>;
686	};
687
688	pinctrl_gpio_wlf: gpiowlfgrp {
689		fsl,pins = <
690			MX8MM_IOMUXC_I2C4_SDA_GPIO5_IO21	0xd6
691		>;
692	};
693
694	pinctrl_i2c1: i2c1grp {
695		fsl,pins = <
696			MX8MM_IOMUXC_I2C1_SCL_I2C1_SCL			0x400001c3
697			MX8MM_IOMUXC_I2C1_SDA_I2C1_SDA			0x400001c3
698		>;
699	};
700
701	pinctrl_i2c2: i2c2grp {
702		fsl,pins = <
703			MX8MM_IOMUXC_I2C2_SCL_I2C2_SCL			0x400001c3
704			MX8MM_IOMUXC_I2C2_SDA_I2C2_SDA			0x400001c3
705		>;
706	};
707
708	pinctrl_i2c3: i2c3grp {
709		fsl,pins = <
710			MX8MM_IOMUXC_I2C3_SCL_I2C3_SCL			0x400001c3
711			MX8MM_IOMUXC_I2C3_SDA_I2C3_SDA			0x400001c3
712		>;
713	};
714
715	pinctrl_pcie0: pcie0grp {
716		fsl,pins = <
717			MX8MM_IOMUXC_I2C4_SCL_PCIE1_CLKREQ_B    0x61
718			MX8MM_IOMUXC_SAI2_RXFS_GPIO4_IO21       0x41
719		>;
720	};
721
722	pinctrl_pcie0_reg: pcie0reggrp {
723		fsl,pins = <
724			MX8MM_IOMUXC_GPIO1_IO05_GPIO1_IO5       0x41
725		>;
726	};
727
728	pinctrl_pdm: pdmgrp {
729		fsl,pins = <
730			MX8MM_IOMUXC_SAI5_MCLK_SAI5_MCLK        0xd6
731			MX8MM_IOMUXC_SAI5_RXC_PDM_CLK           0xd6
732			MX8MM_IOMUXC_SAI5_RXFS_SAI5_RX_SYNC     0xd6
733			MX8MM_IOMUXC_SAI5_RXD0_PDM_DATA0        0xd6
734			MX8MM_IOMUXC_SAI5_RXD1_PDM_DATA1        0xd6
735			MX8MM_IOMUXC_SAI5_RXD2_PDM_DATA2        0xd6
736			MX8MM_IOMUXC_SAI5_RXD3_PDM_DATA3        0xd6
737		>;
738	};
739
740	pinctrl_pmic: pmicirqgrp {
741		fsl,pins = <
742			MX8MM_IOMUXC_GPIO1_IO03_GPIO1_IO3		0x141
743		>;
744	};
745
746	pinctrl_reg_usdhc2_vmmc: regusdhc2vmmcgrp {
747		fsl,pins = <
748			MX8MM_IOMUXC_SD2_RESET_B_GPIO2_IO19	0x41
749		>;
750	};
751
752	pinctrl_sai2: sai2grp {
753		fsl,pins = <
754			MX8MM_IOMUXC_SAI2_TXC_SAI2_TX_BCLK      0xd6
755			MX8MM_IOMUXC_SAI2_TXFS_SAI2_TX_SYNC     0xd6
756			MX8MM_IOMUXC_SAI2_TXD0_SAI2_TX_DATA0    0xd6
757			MX8MM_IOMUXC_SAI2_RXD0_SAI2_RX_DATA0    0xd6
758		>;
759	};
760
761	pinctrl_sai3: sai3grp {
762		fsl,pins = <
763			MX8MM_IOMUXC_SAI3_TXFS_SAI3_TX_SYNC     0xd6
764			MX8MM_IOMUXC_SAI3_TXC_SAI3_TX_BCLK      0xd6
765			MX8MM_IOMUXC_SAI3_MCLK_SAI3_MCLK        0xd6
766			MX8MM_IOMUXC_SAI3_TXD_SAI3_TX_DATA0     0xd6
767		>;
768	};
769
770	pinctrl_spdif1: spdif1grp {
771		fsl,pins = <
772			MX8MM_IOMUXC_SPDIF_TX_SPDIF1_OUT	0xd6
773			MX8MM_IOMUXC_SPDIF_RX_SPDIF1_IN		0xd6
774		>;
775	};
776
777	pinctrl_typec1: typec1grp {
778		fsl,pins = <
779			MX8MM_IOMUXC_SD1_STROBE_GPIO2_IO11	0x159
780		>;
781	};
782
783	pinctrl_uart2: uart2grp {
784		fsl,pins = <
785			MX8MM_IOMUXC_UART2_RXD_UART2_DCE_RX	0x140
786			MX8MM_IOMUXC_UART2_TXD_UART2_DCE_TX	0x140
787		>;
788	};
789
790	pinctrl_usdhc2_gpio: usdhc2grpgpiogrp {
791		fsl,pins = <
792			MX8MM_IOMUXC_GPIO1_IO15_GPIO1_IO15	0x1c4
793		>;
794	};
795
796	pinctrl_usdhc2: usdhc2grp {
797		fsl,pins = <
798			MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK		0x190
799			MX8MM_IOMUXC_SD2_CMD_USDHC2_CMD		0x1d0
800			MX8MM_IOMUXC_SD2_DATA0_USDHC2_DATA0	0x1d0
801			MX8MM_IOMUXC_SD2_DATA1_USDHC2_DATA1	0x1d0
802			MX8MM_IOMUXC_SD2_DATA2_USDHC2_DATA2	0x1d0
803			MX8MM_IOMUXC_SD2_DATA3_USDHC2_DATA3	0x1d0
804			MX8MM_IOMUXC_GPIO1_IO04_USDHC2_VSELECT	0x1d0
805		>;
806	};
807
808	pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp {
809		fsl,pins = <
810			MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK		0x194
811			MX8MM_IOMUXC_SD2_CMD_USDHC2_CMD		0x1d4
812			MX8MM_IOMUXC_SD2_DATA0_USDHC2_DATA0	0x1d4
813			MX8MM_IOMUXC_SD2_DATA1_USDHC2_DATA1	0x1d4
814			MX8MM_IOMUXC_SD2_DATA2_USDHC2_DATA2	0x1d4
815			MX8MM_IOMUXC_SD2_DATA3_USDHC2_DATA3	0x1d4
816			MX8MM_IOMUXC_GPIO1_IO04_USDHC2_VSELECT	0x1d0
817		>;
818	};
819
820	pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp {
821		fsl,pins = <
822			MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK		0x196
823			MX8MM_IOMUXC_SD2_CMD_USDHC2_CMD		0x1d6
824			MX8MM_IOMUXC_SD2_DATA0_USDHC2_DATA0	0x1d6
825			MX8MM_IOMUXC_SD2_DATA1_USDHC2_DATA1	0x1d6
826			MX8MM_IOMUXC_SD2_DATA2_USDHC2_DATA2	0x1d6
827			MX8MM_IOMUXC_SD2_DATA3_USDHC2_DATA3	0x1d6
828			MX8MM_IOMUXC_GPIO1_IO04_USDHC2_VSELECT	0x1d0
829		>;
830	};
831
832	pinctrl_wdog: wdoggrp {
833		fsl,pins = <
834			MX8MM_IOMUXC_GPIO1_IO02_WDOG1_WDOG_B	0x166
835		>;
836	};
837
838	pinctrl_backlight: backlightgrp {
839		fsl,pins = <
840			MX8MM_IOMUXC_GPIO1_IO01_PWM1_OUT	0x06
841		>;
842	};
843
844	pinctrl_camera: cameragrp {
845		fsl,pins = <
846			MX8MM_IOMUXC_GPIO1_IO06_GPIO1_IO6		0x19
847			MX8MM_IOMUXC_GPIO1_IO07_GPIO1_IO7		0x19
848			MX8MM_IOMUXC_GPIO1_IO14_CCMSRCGPCMIX_CLKO1	0x59
849		>;
850	};
851};
852