xref: /freebsd/sys/contrib/device-tree/src/arm64/freescale/imx8mn-evk.dtsi (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
1c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2c66ec88fSEmmanuel Vadot/*
3c66ec88fSEmmanuel Vadot * Copyright 2019 NXP
4c66ec88fSEmmanuel Vadot */
5c66ec88fSEmmanuel Vadot
6c66ec88fSEmmanuel Vadot#include <dt-bindings/usb/pd.h>
7c66ec88fSEmmanuel Vadot#include "imx8mn.dtsi"
8c66ec88fSEmmanuel Vadot
9c66ec88fSEmmanuel Vadot/ {
10c66ec88fSEmmanuel Vadot	chosen {
11c66ec88fSEmmanuel Vadot		stdout-path = &uart2;
12c66ec88fSEmmanuel Vadot	};
13c66ec88fSEmmanuel Vadot
14c66ec88fSEmmanuel Vadot	gpio-leds {
15c66ec88fSEmmanuel Vadot		compatible = "gpio-leds";
16c66ec88fSEmmanuel Vadot		pinctrl-names = "default";
17c66ec88fSEmmanuel Vadot		pinctrl-0 = <&pinctrl_gpio_led>;
18c66ec88fSEmmanuel Vadot
19c66ec88fSEmmanuel Vadot		status {
20c66ec88fSEmmanuel Vadot			label = "yellow:status";
21c66ec88fSEmmanuel Vadot			gpios = <&gpio3 16 GPIO_ACTIVE_HIGH>;
22c66ec88fSEmmanuel Vadot			default-state = "on";
23c66ec88fSEmmanuel Vadot		};
24c66ec88fSEmmanuel Vadot	};
25c66ec88fSEmmanuel Vadot
26aa1a8ff2SEmmanuel Vadot	hdmi-connector {
27aa1a8ff2SEmmanuel Vadot		compatible = "hdmi-connector";
28aa1a8ff2SEmmanuel Vadot		label = "hdmi";
29aa1a8ff2SEmmanuel Vadot		type = "a";
30aa1a8ff2SEmmanuel Vadot
31aa1a8ff2SEmmanuel Vadot		port {
32aa1a8ff2SEmmanuel Vadot			hdmi_connector_in: endpoint {
337d0873ebSEmmanuel Vadot				remote-endpoint = <&adv7535_out>;
34aa1a8ff2SEmmanuel Vadot			};
35aa1a8ff2SEmmanuel Vadot		};
36aa1a8ff2SEmmanuel Vadot	};
37aa1a8ff2SEmmanuel Vadot
38c66ec88fSEmmanuel Vadot	memory@40000000 {
39c66ec88fSEmmanuel Vadot		device_type = "memory";
40c66ec88fSEmmanuel Vadot		reg = <0x0 0x40000000 0 0x80000000>;
41c66ec88fSEmmanuel Vadot	};
42c66ec88fSEmmanuel Vadot
43c66ec88fSEmmanuel Vadot	reg_usdhc2_vmmc: regulator-usdhc2 {
44c66ec88fSEmmanuel Vadot		compatible = "regulator-fixed";
45c66ec88fSEmmanuel Vadot		pinctrl-names = "default";
46c66ec88fSEmmanuel Vadot		pinctrl-0 = <&pinctrl_reg_usdhc2_vmmc>;
47c66ec88fSEmmanuel Vadot		regulator-name = "VSD_3V3";
48c66ec88fSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
49c66ec88fSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
50c66ec88fSEmmanuel Vadot		gpio = <&gpio2 19 GPIO_ACTIVE_HIGH>;
518bab661aSEmmanuel Vadot		off-on-delay-us = <12000>;
52c66ec88fSEmmanuel Vadot		enable-active-high;
53c66ec88fSEmmanuel Vadot	};
545def4c47SEmmanuel Vadot
557d0873ebSEmmanuel Vadot	reg_1v5: regulator-1v5 {
567d0873ebSEmmanuel Vadot		compatible = "regulator-fixed";
577d0873ebSEmmanuel Vadot		regulator-name = "VDD_1V5";
587d0873ebSEmmanuel Vadot		regulator-min-microvolt = <1500000>;
597d0873ebSEmmanuel Vadot		regulator-max-microvolt = <1500000>;
607d0873ebSEmmanuel Vadot	};
617d0873ebSEmmanuel Vadot
627d0873ebSEmmanuel Vadot	reg_1v8: regulator-1v8 {
637d0873ebSEmmanuel Vadot		compatible = "regulator-fixed";
647d0873ebSEmmanuel Vadot		regulator-name = "VDD_1V8";
657d0873ebSEmmanuel Vadot		regulator-min-microvolt = <1800000>;
667d0873ebSEmmanuel Vadot		regulator-max-microvolt = <1800000>;
677d0873ebSEmmanuel Vadot	};
687d0873ebSEmmanuel Vadot
697d0873ebSEmmanuel Vadot	reg_vddext_3v3: regulator-vddext-3v3 {
707d0873ebSEmmanuel Vadot		compatible = "regulator-fixed";
717d0873ebSEmmanuel Vadot		regulator-name = "VDDEXT_3V3";
727d0873ebSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
737d0873ebSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
747d0873ebSEmmanuel Vadot	};
757d0873ebSEmmanuel Vadot
765def4c47SEmmanuel Vadot	ir-receiver {
775def4c47SEmmanuel Vadot		compatible = "gpio-ir-receiver";
785def4c47SEmmanuel Vadot		gpios = <&gpio1 13 GPIO_ACTIVE_LOW>;
795def4c47SEmmanuel Vadot		pinctrl-names = "default";
805def4c47SEmmanuel Vadot		pinctrl-0 = <&pinctrl_ir>;
815def4c47SEmmanuel Vadot		linux,autosuspend-period = <125>;
825def4c47SEmmanuel Vadot	};
835def4c47SEmmanuel Vadot
84b97ee269SEmmanuel Vadot	audio_codec_bt_sco: audio-codec-bt-sco {
85b97ee269SEmmanuel Vadot		compatible = "linux,bt-sco";
86b97ee269SEmmanuel Vadot		#sound-dai-cells = <1>;
87b97ee269SEmmanuel Vadot	};
88b97ee269SEmmanuel Vadot
895def4c47SEmmanuel Vadot	wm8524: audio-codec {
905def4c47SEmmanuel Vadot		#sound-dai-cells = <0>;
915def4c47SEmmanuel Vadot		compatible = "wlf,wm8524";
925def4c47SEmmanuel Vadot		pinctrl-names = "default";
935def4c47SEmmanuel Vadot		pinctrl-0 = <&pinctrl_gpio_wlf>;
945def4c47SEmmanuel Vadot		wlf,mute-gpios = <&gpio5 21 GPIO_ACTIVE_LOW>;
955def4c47SEmmanuel Vadot	};
965def4c47SEmmanuel Vadot
97b97ee269SEmmanuel Vadot	sound-bt-sco {
98b97ee269SEmmanuel Vadot		compatible = "simple-audio-card";
99b97ee269SEmmanuel Vadot		simple-audio-card,name = "bt-sco-audio";
100b97ee269SEmmanuel Vadot		simple-audio-card,format = "dsp_a";
101b97ee269SEmmanuel Vadot		simple-audio-card,bitclock-inversion;
102b97ee269SEmmanuel Vadot		simple-audio-card,frame-master = <&btcpu>;
103b97ee269SEmmanuel Vadot		simple-audio-card,bitclock-master = <&btcpu>;
104b97ee269SEmmanuel Vadot
105b97ee269SEmmanuel Vadot		btcpu: simple-audio-card,cpu {
106b97ee269SEmmanuel Vadot			sound-dai = <&sai2>;
107b97ee269SEmmanuel Vadot			dai-tdm-slot-num = <2>;
108b97ee269SEmmanuel Vadot			dai-tdm-slot-width = <16>;
109b97ee269SEmmanuel Vadot		};
110b97ee269SEmmanuel Vadot
111b97ee269SEmmanuel Vadot		simple-audio-card,codec {
112b97ee269SEmmanuel Vadot			sound-dai = <&audio_codec_bt_sco 1>;
113b97ee269SEmmanuel Vadot		};
114b97ee269SEmmanuel Vadot	};
115b97ee269SEmmanuel Vadot
1165def4c47SEmmanuel Vadot	sound-wm8524 {
1175def4c47SEmmanuel Vadot		compatible = "fsl,imx-audio-wm8524";
1185def4c47SEmmanuel Vadot		model = "wm8524-audio";
1195def4c47SEmmanuel Vadot		audio-cpu = <&sai3>;
1205def4c47SEmmanuel Vadot		audio-codec = <&wm8524>;
1215def4c47SEmmanuel Vadot		audio-asrc = <&easrc>;
1225def4c47SEmmanuel Vadot		audio-routing =
1235def4c47SEmmanuel Vadot			"Line Out Jack", "LINEVOUTL",
1245def4c47SEmmanuel Vadot			"Line Out Jack", "LINEVOUTR";
1255def4c47SEmmanuel Vadot	};
1265def4c47SEmmanuel Vadot
127*b2d2a78aSEmmanuel Vadot	spdif_out: spdif-out {
128*b2d2a78aSEmmanuel Vadot		compatible = "linux,spdif-dit";
129*b2d2a78aSEmmanuel Vadot		#sound-dai-cells = <0>;
130*b2d2a78aSEmmanuel Vadot	};
131*b2d2a78aSEmmanuel Vadot
132*b2d2a78aSEmmanuel Vadot	spdif_in: spdif-in {
133*b2d2a78aSEmmanuel Vadot		compatible = "linux,spdif-dir";
134*b2d2a78aSEmmanuel Vadot		#sound-dai-cells = <0>;
135*b2d2a78aSEmmanuel Vadot	};
136*b2d2a78aSEmmanuel Vadot
1375def4c47SEmmanuel Vadot	sound-spdif {
1385def4c47SEmmanuel Vadot		compatible = "fsl,imx-audio-spdif";
1395def4c47SEmmanuel Vadot		model = "imx-spdif";
140*b2d2a78aSEmmanuel Vadot		audio-cpu = <&spdif1>;
141*b2d2a78aSEmmanuel Vadot		audio-codec = <&spdif_out>, <&spdif_in>;
1425def4c47SEmmanuel Vadot	};
14301950c46SEmmanuel Vadot
14401950c46SEmmanuel Vadot	sound-micfil {
14501950c46SEmmanuel Vadot		compatible = "fsl,imx-audio-card";
14601950c46SEmmanuel Vadot		model = "micfil-audio";
14701950c46SEmmanuel Vadot
14801950c46SEmmanuel Vadot		pri-dai-link {
14901950c46SEmmanuel Vadot			link-name = "micfil hifi";
15001950c46SEmmanuel Vadot			format = "i2s";
15101950c46SEmmanuel Vadot
15201950c46SEmmanuel Vadot			cpu {
15301950c46SEmmanuel Vadot				sound-dai = <&micfil>;
15401950c46SEmmanuel Vadot			};
15501950c46SEmmanuel Vadot		};
15601950c46SEmmanuel Vadot	};
1575def4c47SEmmanuel Vadot};
1585def4c47SEmmanuel Vadot
1595def4c47SEmmanuel Vadot&easrc {
1605def4c47SEmmanuel Vadot	fsl,asrc-rate = <48000>;
1615def4c47SEmmanuel Vadot	status = "okay";
162c66ec88fSEmmanuel Vadot};
163c66ec88fSEmmanuel Vadot
164c66ec88fSEmmanuel Vadot&fec1 {
165c66ec88fSEmmanuel Vadot	pinctrl-names = "default";
166c66ec88fSEmmanuel Vadot	pinctrl-0 = <&pinctrl_fec1>;
167c66ec88fSEmmanuel Vadot	phy-mode = "rgmii-id";
168c66ec88fSEmmanuel Vadot	phy-handle = <&ethphy0>;
169c66ec88fSEmmanuel Vadot	fsl,magic-packet;
170c66ec88fSEmmanuel Vadot	status = "okay";
171c66ec88fSEmmanuel Vadot
172c66ec88fSEmmanuel Vadot	mdio {
173c66ec88fSEmmanuel Vadot		#address-cells = <1>;
174c66ec88fSEmmanuel Vadot		#size-cells = <0>;
175c66ec88fSEmmanuel Vadot
176c66ec88fSEmmanuel Vadot		ethphy0: ethernet-phy@0 {
177c66ec88fSEmmanuel Vadot			compatible = "ethernet-phy-ieee802.3-c22";
178c66ec88fSEmmanuel Vadot			reg = <0>;
179e67e8565SEmmanuel Vadot			reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>;
180e67e8565SEmmanuel Vadot			reset-assert-us = <10000>;
181e67e8565SEmmanuel Vadot			qca,disable-smarteee;
182e67e8565SEmmanuel Vadot			vddio-supply = <&vddio>;
183e67e8565SEmmanuel Vadot
184e67e8565SEmmanuel Vadot			vddio: vddio-regulator {
185e67e8565SEmmanuel Vadot				regulator-min-microvolt = <1800000>;
186e67e8565SEmmanuel Vadot				regulator-max-microvolt = <1800000>;
187e67e8565SEmmanuel Vadot			};
188c66ec88fSEmmanuel Vadot		};
189c66ec88fSEmmanuel Vadot	};
190c66ec88fSEmmanuel Vadot};
191c66ec88fSEmmanuel Vadot
192d5b0e70fSEmmanuel Vadot&flexspi {
193d5b0e70fSEmmanuel Vadot	pinctrl-names = "default";
194d5b0e70fSEmmanuel Vadot	pinctrl-0 = <&pinctrl_flexspi>;
195d5b0e70fSEmmanuel Vadot	status = "okay";
196d5b0e70fSEmmanuel Vadot
197d5b0e70fSEmmanuel Vadot	flash0: flash@0 {
198d5b0e70fSEmmanuel Vadot		compatible = "jedec,spi-nor";
199d5b0e70fSEmmanuel Vadot		reg = <0>;
200d5b0e70fSEmmanuel Vadot		#address-cells = <1>;
201d5b0e70fSEmmanuel Vadot		#size-cells = <1>;
202d5b0e70fSEmmanuel Vadot		spi-max-frequency = <166000000>;
203d5b0e70fSEmmanuel Vadot		spi-tx-bus-width = <4>;
204d5b0e70fSEmmanuel Vadot		spi-rx-bus-width = <4>;
205d5b0e70fSEmmanuel Vadot	};
206d5b0e70fSEmmanuel Vadot};
207d5b0e70fSEmmanuel Vadot
208c66ec88fSEmmanuel Vadot&i2c1 {
209c66ec88fSEmmanuel Vadot	clock-frequency = <400000>;
210c66ec88fSEmmanuel Vadot	pinctrl-names = "default";
211c66ec88fSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c1>;
212c66ec88fSEmmanuel Vadot	status = "okay";
213c66ec88fSEmmanuel Vadot};
214c66ec88fSEmmanuel Vadot
215c66ec88fSEmmanuel Vadot&i2c2 {
216c66ec88fSEmmanuel Vadot	clock-frequency = <400000>;
2178bab661aSEmmanuel Vadot	pinctrl-names = "default", "gpio";
218c66ec88fSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c2>;
2198bab661aSEmmanuel Vadot	pinctrl-1 = <&pinctrl_i2c2_gpio>;
220aa1a8ff2SEmmanuel Vadot	scl-gpios = <&gpio5 16 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
221aa1a8ff2SEmmanuel Vadot	sda-gpios = <&gpio5 17 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
222c66ec88fSEmmanuel Vadot	status = "okay";
223c66ec88fSEmmanuel Vadot
224aa1a8ff2SEmmanuel Vadot	hdmi@3d {
225aa1a8ff2SEmmanuel Vadot		compatible = "adi,adv7535";
2267d0873ebSEmmanuel Vadot		reg = <0x3d>;
2277d0873ebSEmmanuel Vadot		interrupt-parent = <&gpio1>;
2287d0873ebSEmmanuel Vadot		interrupts = <9 IRQ_TYPE_EDGE_FALLING>;
229aa1a8ff2SEmmanuel Vadot		adi,dsi-lanes = <4>;
2307d0873ebSEmmanuel Vadot		v3p3-supply = <&reg_vddext_3v3>;
231aa1a8ff2SEmmanuel Vadot
232aa1a8ff2SEmmanuel Vadot		ports {
233aa1a8ff2SEmmanuel Vadot			#address-cells = <1>;
234aa1a8ff2SEmmanuel Vadot			#size-cells = <0>;
235aa1a8ff2SEmmanuel Vadot
236aa1a8ff2SEmmanuel Vadot			port@0 {
237aa1a8ff2SEmmanuel Vadot				reg = <0>;
238aa1a8ff2SEmmanuel Vadot
2397d0873ebSEmmanuel Vadot				adv7535_in: endpoint {
240aa1a8ff2SEmmanuel Vadot					remote-endpoint = <&dsi_out>;
241aa1a8ff2SEmmanuel Vadot				};
242aa1a8ff2SEmmanuel Vadot			};
243aa1a8ff2SEmmanuel Vadot
244aa1a8ff2SEmmanuel Vadot			port@1 {
245aa1a8ff2SEmmanuel Vadot				reg = <1>;
246aa1a8ff2SEmmanuel Vadot
2477d0873ebSEmmanuel Vadot				adv7535_out: endpoint {
248aa1a8ff2SEmmanuel Vadot					remote-endpoint = <&hdmi_connector_in>;
249aa1a8ff2SEmmanuel Vadot				};
250aa1a8ff2SEmmanuel Vadot			};
251aa1a8ff2SEmmanuel Vadot
252aa1a8ff2SEmmanuel Vadot		};
253aa1a8ff2SEmmanuel Vadot	};
254aa1a8ff2SEmmanuel Vadot
255c66ec88fSEmmanuel Vadot	ptn5110: tcpc@50 {
2567d0873ebSEmmanuel Vadot		compatible = "nxp,ptn5110", "tcpci";
257c66ec88fSEmmanuel Vadot		pinctrl-names = "default";
258c66ec88fSEmmanuel Vadot		pinctrl-0 = <&pinctrl_typec1>;
259c66ec88fSEmmanuel Vadot		reg = <0x50>;
260c66ec88fSEmmanuel Vadot		interrupt-parent = <&gpio2>;
261c66ec88fSEmmanuel Vadot		interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
262c66ec88fSEmmanuel Vadot		status = "okay";
263c66ec88fSEmmanuel Vadot
264c66ec88fSEmmanuel Vadot		typec1_con: connector {
265c66ec88fSEmmanuel Vadot			compatible = "usb-c-connector";
266c66ec88fSEmmanuel Vadot			label = "USB-C";
267c66ec88fSEmmanuel Vadot			power-role = "dual";
268c66ec88fSEmmanuel Vadot			data-role = "dual";
269c66ec88fSEmmanuel Vadot			try-power-role = "sink";
270c66ec88fSEmmanuel Vadot			source-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)>;
271c66ec88fSEmmanuel Vadot			sink-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)
272c66ec88fSEmmanuel Vadot				     PDO_VAR(5000, 20000, 3000)>;
273c66ec88fSEmmanuel Vadot			op-sink-microwatt = <15000000>;
274c66ec88fSEmmanuel Vadot			self-powered;
2758d13bc63SEmmanuel Vadot
2768d13bc63SEmmanuel Vadot			port {
2778d13bc63SEmmanuel Vadot				typec1_dr_sw: endpoint {
2788d13bc63SEmmanuel Vadot					remote-endpoint = <&usb1_drd_sw>;
2798d13bc63SEmmanuel Vadot				};
2808d13bc63SEmmanuel Vadot			};
281c66ec88fSEmmanuel Vadot		};
282c66ec88fSEmmanuel Vadot	};
283c66ec88fSEmmanuel Vadot};
284c66ec88fSEmmanuel Vadot
285c66ec88fSEmmanuel Vadot&i2c3 {
286c66ec88fSEmmanuel Vadot	clock-frequency = <400000>;
2878bab661aSEmmanuel Vadot	pinctrl-names = "default", "gpio";
288c66ec88fSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c3>;
2898bab661aSEmmanuel Vadot	pinctrl-1 = <&pinctrl_i2c3_gpio>;
2908bab661aSEmmanuel Vadot	scl-gpios = <&gpio5 18 GPIO_ACTIVE_HIGH>;
2918bab661aSEmmanuel Vadot	sda-gpios = <&gpio5 19 GPIO_ACTIVE_HIGH>;
292c66ec88fSEmmanuel Vadot	status = "okay";
293c66ec88fSEmmanuel Vadot
294c66ec88fSEmmanuel Vadot	pca6416: gpio@20 {
295c66ec88fSEmmanuel Vadot		compatible = "ti,tca6416";
296c66ec88fSEmmanuel Vadot		reg = <0x20>;
297c66ec88fSEmmanuel Vadot		gpio-controller;
298c66ec88fSEmmanuel Vadot		#gpio-cells = <2>;
299c66ec88fSEmmanuel Vadot	};
300aa1a8ff2SEmmanuel Vadot
301aa1a8ff2SEmmanuel Vadot	camera@3c {
302aa1a8ff2SEmmanuel Vadot		compatible = "ovti,ov5640";
303aa1a8ff2SEmmanuel Vadot		reg = <0x3c>;
304aa1a8ff2SEmmanuel Vadot		pinctrl-names = "default";
305aa1a8ff2SEmmanuel Vadot		pinctrl-0 = <&pinctrl_camera>;
306aa1a8ff2SEmmanuel Vadot		clocks = <&clk IMX8MN_CLK_CLKO1>;
307aa1a8ff2SEmmanuel Vadot		clock-names = "xclk";
308aa1a8ff2SEmmanuel Vadot		assigned-clocks = <&clk IMX8MN_CLK_CLKO1>;
309aa1a8ff2SEmmanuel Vadot		assigned-clock-parents = <&clk IMX8MN_CLK_24M>;
310aa1a8ff2SEmmanuel Vadot		assigned-clock-rates = <24000000>;
311aa1a8ff2SEmmanuel Vadot		powerdown-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
312aa1a8ff2SEmmanuel Vadot		reset-gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
3137d0873ebSEmmanuel Vadot		AVDD-supply = <&reg_1v8>;
3147d0873ebSEmmanuel Vadot		DVDD-supply = <&reg_1v5>;
315aa1a8ff2SEmmanuel Vadot
316aa1a8ff2SEmmanuel Vadot		port {
317aa1a8ff2SEmmanuel Vadot			ov5640_to_mipi_csi2: endpoint {
318aa1a8ff2SEmmanuel Vadot				remote-endpoint = <&imx8mn_mipi_csi_in>;
319aa1a8ff2SEmmanuel Vadot				clock-lanes = <0>;
320aa1a8ff2SEmmanuel Vadot				data-lanes = <1 2>;
321aa1a8ff2SEmmanuel Vadot			};
322aa1a8ff2SEmmanuel Vadot		};
323aa1a8ff2SEmmanuel Vadot	};
324aa1a8ff2SEmmanuel Vadot};
325aa1a8ff2SEmmanuel Vadot
326aa1a8ff2SEmmanuel Vadot&isi {
327aa1a8ff2SEmmanuel Vadot	status = "okay";
328aa1a8ff2SEmmanuel Vadot};
329aa1a8ff2SEmmanuel Vadot
33001950c46SEmmanuel Vadot&micfil {
33101950c46SEmmanuel Vadot	#sound-dai-cells = <0>;
33201950c46SEmmanuel Vadot	pinctrl-names = "default";
33301950c46SEmmanuel Vadot	pinctrl-0 = <&pinctrl_pdm>;
33401950c46SEmmanuel Vadot	assigned-clocks = <&clk IMX8MN_CLK_PDM>;
33501950c46SEmmanuel Vadot	assigned-clock-parents = <&clk IMX8MN_AUDIO_PLL1_OUT>;
33601950c46SEmmanuel Vadot	assigned-clock-rates = <196608000>;
33701950c46SEmmanuel Vadot	status = "okay";
33801950c46SEmmanuel Vadot};
33901950c46SEmmanuel Vadot
340aa1a8ff2SEmmanuel Vadot&mipi_csi {
341aa1a8ff2SEmmanuel Vadot	status = "okay";
342aa1a8ff2SEmmanuel Vadot
343aa1a8ff2SEmmanuel Vadot	ports {
344aa1a8ff2SEmmanuel Vadot		port@0 {
345aa1a8ff2SEmmanuel Vadot			imx8mn_mipi_csi_in: endpoint {
346aa1a8ff2SEmmanuel Vadot				remote-endpoint = <&ov5640_to_mipi_csi2>;
347aa1a8ff2SEmmanuel Vadot				data-lanes = <1 2>;
348aa1a8ff2SEmmanuel Vadot			};
349aa1a8ff2SEmmanuel Vadot		};
350aa1a8ff2SEmmanuel Vadot	};
351aa1a8ff2SEmmanuel Vadot};
352aa1a8ff2SEmmanuel Vadot
353aa1a8ff2SEmmanuel Vadot&lcdif {
354aa1a8ff2SEmmanuel Vadot	status = "okay";
355aa1a8ff2SEmmanuel Vadot};
356aa1a8ff2SEmmanuel Vadot
357aa1a8ff2SEmmanuel Vadot&mipi_dsi {
358aa1a8ff2SEmmanuel Vadot	samsung,esc-clock-frequency = <10000000>;
359aa1a8ff2SEmmanuel Vadot	status = "okay";
360aa1a8ff2SEmmanuel Vadot
361aa1a8ff2SEmmanuel Vadot	ports {
362aa1a8ff2SEmmanuel Vadot		port@1 {
363aa1a8ff2SEmmanuel Vadot			reg = <1>;
364aa1a8ff2SEmmanuel Vadot
365aa1a8ff2SEmmanuel Vadot			dsi_out: endpoint {
3667d0873ebSEmmanuel Vadot				remote-endpoint = <&adv7535_in>;
367aa1a8ff2SEmmanuel Vadot				data-lanes = <1 2 3 4>;
368aa1a8ff2SEmmanuel Vadot			};
369aa1a8ff2SEmmanuel Vadot		};
370aa1a8ff2SEmmanuel Vadot	};
371c66ec88fSEmmanuel Vadot};
372c66ec88fSEmmanuel Vadot
373b97ee269SEmmanuel Vadot&sai2 {
374b97ee269SEmmanuel Vadot	#sound-dai-cells = <0>;
375b97ee269SEmmanuel Vadot	pinctrl-names = "default";
376b97ee269SEmmanuel Vadot	pinctrl-0 = <&pinctrl_sai2>;
377b97ee269SEmmanuel Vadot	assigned-clocks = <&clk IMX8MN_CLK_SAI2>;
378b97ee269SEmmanuel Vadot	assigned-clock-parents = <&clk IMX8MN_AUDIO_PLL1_OUT>;
379b97ee269SEmmanuel Vadot	assigned-clock-rates = <24576000>;
380b97ee269SEmmanuel Vadot	status = "okay";
381b97ee269SEmmanuel Vadot};
382b97ee269SEmmanuel Vadot
3835def4c47SEmmanuel Vadot&sai3 {
3845def4c47SEmmanuel Vadot	pinctrl-names = "default";
3855def4c47SEmmanuel Vadot	pinctrl-0 = <&pinctrl_sai3>;
3865def4c47SEmmanuel Vadot	assigned-clocks = <&clk IMX8MN_CLK_SAI3>;
3875def4c47SEmmanuel Vadot	assigned-clock-parents = <&clk IMX8MN_AUDIO_PLL1_OUT>;
3885def4c47SEmmanuel Vadot	assigned-clock-rates = <24576000>;
3895def4c47SEmmanuel Vadot	fsl,sai-mclk-direction-output;
3905def4c47SEmmanuel Vadot	status = "okay";
3915def4c47SEmmanuel Vadot};
3925def4c47SEmmanuel Vadot
393c66ec88fSEmmanuel Vadot&snvs_pwrkey {
394c66ec88fSEmmanuel Vadot	status = "okay";
395c66ec88fSEmmanuel Vadot};
396c66ec88fSEmmanuel Vadot
3975def4c47SEmmanuel Vadot&spdif1 {
3985def4c47SEmmanuel Vadot	pinctrl-names = "default";
3995def4c47SEmmanuel Vadot	pinctrl-0 = <&pinctrl_spdif1>;
4005def4c47SEmmanuel Vadot	assigned-clocks = <&clk IMX8MN_CLK_SPDIF1>;
4015def4c47SEmmanuel Vadot	assigned-clock-parents = <&clk IMX8MN_AUDIO_PLL1_OUT>;
4025def4c47SEmmanuel Vadot	assigned-clock-rates = <24576000>;
4035def4c47SEmmanuel Vadot	status = "okay";
4045def4c47SEmmanuel Vadot};
4055def4c47SEmmanuel Vadot
4068bab661aSEmmanuel Vadot&uart1 { /* BT */
4078bab661aSEmmanuel Vadot	pinctrl-names = "default";
4088bab661aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart1>;
4098bab661aSEmmanuel Vadot	assigned-clocks = <&clk IMX8MN_CLK_UART1>;
4108bab661aSEmmanuel Vadot	assigned-clock-parents = <&clk IMX8MN_SYS_PLL1_80M>;
4118bab661aSEmmanuel Vadot	uart-has-rtscts;
4128bab661aSEmmanuel Vadot	status = "okay";
4138bab661aSEmmanuel Vadot};
4148bab661aSEmmanuel Vadot
415c66ec88fSEmmanuel Vadot&uart2 { /* console */
416c66ec88fSEmmanuel Vadot	pinctrl-names = "default";
417c66ec88fSEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart2>;
418c66ec88fSEmmanuel Vadot	status = "okay";
419c66ec88fSEmmanuel Vadot};
420c66ec88fSEmmanuel Vadot
421d5b0e70fSEmmanuel Vadot&uart3 {
422d5b0e70fSEmmanuel Vadot	pinctrl-names = "default";
423d5b0e70fSEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart3>;
424d5b0e70fSEmmanuel Vadot	assigned-clocks = <&clk IMX8MN_CLK_UART3>;
425d5b0e70fSEmmanuel Vadot	assigned-clock-parents = <&clk IMX8MN_SYS_PLL1_80M>;
426d5b0e70fSEmmanuel Vadot	uart-has-rtscts;
427d5b0e70fSEmmanuel Vadot	status = "okay";
428d5b0e70fSEmmanuel Vadot};
429d5b0e70fSEmmanuel Vadot
4308bab661aSEmmanuel Vadot&usbphynop1 {
4318bab661aSEmmanuel Vadot	wakeup-source;
4328bab661aSEmmanuel Vadot};
4338bab661aSEmmanuel Vadot
434c66ec88fSEmmanuel Vadot&usbotg1 {
435c66ec88fSEmmanuel Vadot	dr_mode = "otg";
436c66ec88fSEmmanuel Vadot	hnp-disable;
437c66ec88fSEmmanuel Vadot	srp-disable;
438c66ec88fSEmmanuel Vadot	adp-disable;
439c66ec88fSEmmanuel Vadot	usb-role-switch;
4405956d97fSEmmanuel Vadot	disable-over-current;
4416be33864SEmmanuel Vadot	samsung,picophy-pre-emp-curr-control = <3>;
4426be33864SEmmanuel Vadot	samsung,picophy-dc-vol-level-adjust = <7>;
443c66ec88fSEmmanuel Vadot	status = "okay";
444c66ec88fSEmmanuel Vadot
445c66ec88fSEmmanuel Vadot	port {
446c66ec88fSEmmanuel Vadot		usb1_drd_sw: endpoint {
447c66ec88fSEmmanuel Vadot			remote-endpoint = <&typec1_dr_sw>;
448c66ec88fSEmmanuel Vadot		};
449c66ec88fSEmmanuel Vadot	};
450c66ec88fSEmmanuel Vadot};
451c66ec88fSEmmanuel Vadot
452c66ec88fSEmmanuel Vadot&usdhc2 {
453c66ec88fSEmmanuel Vadot	assigned-clocks = <&clk IMX8MN_CLK_USDHC2>;
454c66ec88fSEmmanuel Vadot	assigned-clock-rates = <200000000>;
455c66ec88fSEmmanuel Vadot	pinctrl-names = "default", "state_100mhz", "state_200mhz";
456c66ec88fSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>;
457c66ec88fSEmmanuel Vadot	pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>;
458c66ec88fSEmmanuel Vadot	pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>;
459c66ec88fSEmmanuel Vadot	cd-gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
460c66ec88fSEmmanuel Vadot	bus-width = <4>;
461c66ec88fSEmmanuel Vadot	vmmc-supply = <&reg_usdhc2_vmmc>;
462c66ec88fSEmmanuel Vadot	status = "okay";
463c66ec88fSEmmanuel Vadot};
464c66ec88fSEmmanuel Vadot
465c66ec88fSEmmanuel Vadot&usdhc3 {
466c66ec88fSEmmanuel Vadot	assigned-clocks = <&clk IMX8MN_CLK_USDHC3_ROOT>;
467c66ec88fSEmmanuel Vadot	assigned-clock-rates = <400000000>;
468c66ec88fSEmmanuel Vadot	pinctrl-names = "default", "state_100mhz", "state_200mhz";
469c66ec88fSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usdhc3>;
470c66ec88fSEmmanuel Vadot	pinctrl-1 = <&pinctrl_usdhc3_100mhz>;
471c66ec88fSEmmanuel Vadot	pinctrl-2 = <&pinctrl_usdhc3_200mhz>;
472c66ec88fSEmmanuel Vadot	bus-width = <8>;
473c66ec88fSEmmanuel Vadot	non-removable;
474c66ec88fSEmmanuel Vadot	status = "okay";
475c66ec88fSEmmanuel Vadot};
476c66ec88fSEmmanuel Vadot
477c66ec88fSEmmanuel Vadot&wdog1 {
478c66ec88fSEmmanuel Vadot	pinctrl-names = "default";
479c66ec88fSEmmanuel Vadot	pinctrl-0 = <&pinctrl_wdog>;
480c66ec88fSEmmanuel Vadot	fsl,ext-reset-output;
481c66ec88fSEmmanuel Vadot	status = "okay";
482c66ec88fSEmmanuel Vadot};
483c66ec88fSEmmanuel Vadot
484c66ec88fSEmmanuel Vadot&iomuxc {
485aa1a8ff2SEmmanuel Vadot	pinctrl_camera: cameragrp {
486aa1a8ff2SEmmanuel Vadot		fsl,pins = <
487aa1a8ff2SEmmanuel Vadot			MX8MN_IOMUXC_GPIO1_IO06_GPIO1_IO6		0x19
488aa1a8ff2SEmmanuel Vadot			MX8MN_IOMUXC_GPIO1_IO07_GPIO1_IO7		0x19
489aa1a8ff2SEmmanuel Vadot			MX8MN_IOMUXC_GPIO1_IO14_CCMSRCGPCMIX_CLKO1	0x59
490aa1a8ff2SEmmanuel Vadot		>;
491aa1a8ff2SEmmanuel Vadot	};
492aa1a8ff2SEmmanuel Vadot
493c66ec88fSEmmanuel Vadot	pinctrl_fec1: fec1grp {
494c66ec88fSEmmanuel Vadot		fsl,pins = <
495c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_ENET_MDC_ENET1_MDC		0x3
496c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_ENET_MDIO_ENET1_MDIO	0x3
497c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_ENET_TD3_ENET1_RGMII_TD3	0x1f
498c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_ENET_TD2_ENET1_RGMII_TD2	0x1f
499c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_ENET_TD1_ENET1_RGMII_TD1	0x1f
500c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_ENET_TD0_ENET1_RGMII_TD0	0x1f
501c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_ENET_RD3_ENET1_RGMII_RD3	0x91
502c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_ENET_RD2_ENET1_RGMII_RD2	0x91
503c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_ENET_RD1_ENET1_RGMII_RD1	0x91
504c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_ENET_RD0_ENET1_RGMII_RD0	0x91
505c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_ENET_TXC_ENET1_RGMII_TXC	0x1f
506c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_ENET_RXC_ENET1_RGMII_RXC	0x91
507c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_ENET_RX_CTL_ENET1_RGMII_RX_CTL	0x91
508c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_ENET_TX_CTL_ENET1_RGMII_TX_CTL	0x1f
509c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_SAI2_RXC_GPIO4_IO22	0x19
510c66ec88fSEmmanuel Vadot		>;
511c66ec88fSEmmanuel Vadot	};
512c66ec88fSEmmanuel Vadot
513d5b0e70fSEmmanuel Vadot	pinctrl_flexspi: flexspigrp {
514d5b0e70fSEmmanuel Vadot		fsl,pins = <
515d5b0e70fSEmmanuel Vadot			MX8MN_IOMUXC_NAND_ALE_QSPI_A_SCLK               0x1c2
516d5b0e70fSEmmanuel Vadot			MX8MN_IOMUXC_NAND_CE0_B_QSPI_A_SS0_B            0x82
517d5b0e70fSEmmanuel Vadot			MX8MN_IOMUXC_NAND_DATA00_QSPI_A_DATA0           0x82
518d5b0e70fSEmmanuel Vadot			MX8MN_IOMUXC_NAND_DATA01_QSPI_A_DATA1           0x82
519d5b0e70fSEmmanuel Vadot			MX8MN_IOMUXC_NAND_DATA02_QSPI_A_DATA2           0x82
520d5b0e70fSEmmanuel Vadot			MX8MN_IOMUXC_NAND_DATA03_QSPI_A_DATA3           0x82
521d5b0e70fSEmmanuel Vadot		>;
522d5b0e70fSEmmanuel Vadot	};
523d5b0e70fSEmmanuel Vadot
524c66ec88fSEmmanuel Vadot	pinctrl_gpio_led: gpioledgrp {
525c66ec88fSEmmanuel Vadot		fsl,pins = <
526c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_NAND_READY_B_GPIO3_IO16	0x19
527c66ec88fSEmmanuel Vadot		>;
528c66ec88fSEmmanuel Vadot	};
529c66ec88fSEmmanuel Vadot
5305def4c47SEmmanuel Vadot	pinctrl_gpio_wlf: gpiowlfgrp {
5315def4c47SEmmanuel Vadot		fsl,pins = <
5325def4c47SEmmanuel Vadot			MX8MN_IOMUXC_I2C4_SDA_GPIO5_IO21	0xd6
5335def4c47SEmmanuel Vadot		>;
5345def4c47SEmmanuel Vadot	};
5355def4c47SEmmanuel Vadot
5365def4c47SEmmanuel Vadot	pinctrl_ir: irgrp {
5375def4c47SEmmanuel Vadot		fsl,pins = <
5385def4c47SEmmanuel Vadot			MX8MN_IOMUXC_GPIO1_IO13_GPIO1_IO13              0x4f
5395def4c47SEmmanuel Vadot		>;
5405def4c47SEmmanuel Vadot	};
5415def4c47SEmmanuel Vadot
542c66ec88fSEmmanuel Vadot	pinctrl_i2c1: i2c1grp {
543c66ec88fSEmmanuel Vadot		fsl,pins = <
544c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_I2C1_SCL_I2C1_SCL		0x400001c3
545c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_I2C1_SDA_I2C1_SDA		0x400001c3
546c66ec88fSEmmanuel Vadot		>;
547c66ec88fSEmmanuel Vadot	};
548c66ec88fSEmmanuel Vadot
549c66ec88fSEmmanuel Vadot	pinctrl_i2c2: i2c2grp {
550c66ec88fSEmmanuel Vadot		fsl,pins = <
551c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_I2C2_SCL_I2C2_SCL		0x400001c3
552c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_I2C2_SDA_I2C2_SDA		0x400001c3
553c66ec88fSEmmanuel Vadot		>;
554c66ec88fSEmmanuel Vadot	};
555c66ec88fSEmmanuel Vadot
556fac71e4eSEmmanuel Vadot	pinctrl_i2c2_gpio: i2c2gpiogrp {
5578bab661aSEmmanuel Vadot		fsl,pins = <
5588bab661aSEmmanuel Vadot			MX8MN_IOMUXC_I2C2_SCL_GPIO5_IO16	0x1c3
5598bab661aSEmmanuel Vadot			MX8MN_IOMUXC_I2C2_SDA_GPIO5_IO17	0x1c3
5608bab661aSEmmanuel Vadot		>;
5618bab661aSEmmanuel Vadot	};
5628bab661aSEmmanuel Vadot
563c66ec88fSEmmanuel Vadot	pinctrl_i2c3: i2c3grp {
564c66ec88fSEmmanuel Vadot		fsl,pins = <
565c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_I2C3_SCL_I2C3_SCL		0x400001c3
566c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_I2C3_SDA_I2C3_SDA		0x400001c3
567c66ec88fSEmmanuel Vadot		>;
568c66ec88fSEmmanuel Vadot	};
569c66ec88fSEmmanuel Vadot
570fac71e4eSEmmanuel Vadot	pinctrl_i2c3_gpio: i2c3gpiogrp {
5718bab661aSEmmanuel Vadot		fsl,pins = <
5728bab661aSEmmanuel Vadot			MX8MN_IOMUXC_I2C3_SCL_GPIO5_IO18	0x1c3
5738bab661aSEmmanuel Vadot			MX8MN_IOMUXC_I2C3_SDA_GPIO5_IO19	0x1c3
5748bab661aSEmmanuel Vadot		>;
5758bab661aSEmmanuel Vadot	};
5768bab661aSEmmanuel Vadot
57701950c46SEmmanuel Vadot	pinctrl_pdm: pdmgrp {
57801950c46SEmmanuel Vadot		fsl,pins = <
57901950c46SEmmanuel Vadot			MX8MN_IOMUXC_SAI5_MCLK_SAI5_MCLK	0xd6
58001950c46SEmmanuel Vadot			MX8MN_IOMUXC_SAI5_RXC_PDM_CLK		0xd6
58101950c46SEmmanuel Vadot			MX8MN_IOMUXC_SAI5_RXFS_SAI5_RX_SYNC	0xd6
58201950c46SEmmanuel Vadot			MX8MN_IOMUXC_SAI5_RXD0_PDM_BIT_STREAM0	0xd6
58301950c46SEmmanuel Vadot			MX8MN_IOMUXC_SAI5_RXD1_PDM_BIT_STREAM1	0xd6
58401950c46SEmmanuel Vadot			MX8MN_IOMUXC_SAI5_RXD2_PDM_BIT_STREAM2	0xd6
58501950c46SEmmanuel Vadot			MX8MN_IOMUXC_SAI5_RXD3_PDM_BIT_STREAM3	0xd6
58601950c46SEmmanuel Vadot		>;
58701950c46SEmmanuel Vadot	};
58801950c46SEmmanuel Vadot
5896be33864SEmmanuel Vadot	pinctrl_pmic: pmicirqgrp {
590c66ec88fSEmmanuel Vadot		fsl,pins = <
5916be33864SEmmanuel Vadot			MX8MN_IOMUXC_GPIO1_IO03_GPIO1_IO3	0x141
592c66ec88fSEmmanuel Vadot		>;
593c66ec88fSEmmanuel Vadot	};
594c66ec88fSEmmanuel Vadot
5956be33864SEmmanuel Vadot	pinctrl_reg_usdhc2_vmmc: regusdhc2vmmcgrp {
596c66ec88fSEmmanuel Vadot		fsl,pins = <
597c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_SD2_RESET_B_GPIO2_IO19	0x41
598c66ec88fSEmmanuel Vadot		>;
599c66ec88fSEmmanuel Vadot	};
600c66ec88fSEmmanuel Vadot
601b97ee269SEmmanuel Vadot	pinctrl_sai2: sai2grp {
602b97ee269SEmmanuel Vadot		fsl,pins = <
603b97ee269SEmmanuel Vadot			MX8MN_IOMUXC_SAI2_TXC_SAI2_TX_BCLK      0xd6
604b97ee269SEmmanuel Vadot			MX8MN_IOMUXC_SAI2_TXFS_SAI2_TX_SYNC     0xd6
605b97ee269SEmmanuel Vadot			MX8MN_IOMUXC_SAI2_TXD0_SAI2_TX_DATA0    0xd6
606b97ee269SEmmanuel Vadot			MX8MN_IOMUXC_SAI2_RXD0_SAI2_RX_DATA0    0xd6
607b97ee269SEmmanuel Vadot		>;
608b97ee269SEmmanuel Vadot	};
609b97ee269SEmmanuel Vadot
6105def4c47SEmmanuel Vadot	pinctrl_sai3: sai3grp {
6115def4c47SEmmanuel Vadot		fsl,pins = <
6125def4c47SEmmanuel Vadot			MX8MN_IOMUXC_SAI3_TXFS_SAI3_TX_SYNC     0xd6
6135def4c47SEmmanuel Vadot			MX8MN_IOMUXC_SAI3_TXC_SAI3_TX_BCLK      0xd6
6145def4c47SEmmanuel Vadot			MX8MN_IOMUXC_SAI3_MCLK_SAI3_MCLK        0xd6
6155def4c47SEmmanuel Vadot			MX8MN_IOMUXC_SAI3_TXD_SAI3_TX_DATA0     0xd6
6165def4c47SEmmanuel Vadot		>;
6175def4c47SEmmanuel Vadot	};
6185def4c47SEmmanuel Vadot
6195def4c47SEmmanuel Vadot	pinctrl_spdif1: spdif1grp {
6205def4c47SEmmanuel Vadot		fsl,pins = <
6215def4c47SEmmanuel Vadot			MX8MN_IOMUXC_SPDIF_TX_SPDIF1_OUT	0xd6
6225def4c47SEmmanuel Vadot			MX8MN_IOMUXC_SPDIF_RX_SPDIF1_IN		0xd6
6235def4c47SEmmanuel Vadot		>;
6245def4c47SEmmanuel Vadot	};
6255def4c47SEmmanuel Vadot
626c66ec88fSEmmanuel Vadot	pinctrl_typec1: typec1grp {
627c66ec88fSEmmanuel Vadot		fsl,pins = <
628c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_SD1_STROBE_GPIO2_IO11	0x159
629c66ec88fSEmmanuel Vadot		>;
630c66ec88fSEmmanuel Vadot	};
631c66ec88fSEmmanuel Vadot
6328bab661aSEmmanuel Vadot	pinctrl_uart1: uart1grp {
6338bab661aSEmmanuel Vadot		fsl,pins = <
6348bab661aSEmmanuel Vadot			MX8MN_IOMUXC_UART1_RXD_UART1_DCE_RX	0x140
6358bab661aSEmmanuel Vadot			MX8MN_IOMUXC_UART1_TXD_UART1_DCE_TX	0x140
6368bab661aSEmmanuel Vadot			MX8MN_IOMUXC_UART3_RXD_UART1_DCE_CTS_B	0x140
6378bab661aSEmmanuel Vadot			MX8MN_IOMUXC_UART3_TXD_UART1_DCE_RTS_B	0x140
6388bab661aSEmmanuel Vadot		>;
6398bab661aSEmmanuel Vadot	};
6408bab661aSEmmanuel Vadot
641c66ec88fSEmmanuel Vadot	pinctrl_uart2: uart2grp {
642c66ec88fSEmmanuel Vadot		fsl,pins = <
643c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_UART2_RXD_UART2_DCE_RX	0x140
644c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_UART2_TXD_UART2_DCE_TX	0x140
645c66ec88fSEmmanuel Vadot		>;
646c66ec88fSEmmanuel Vadot	};
647c66ec88fSEmmanuel Vadot
648d5b0e70fSEmmanuel Vadot	pinctrl_uart3: uart3grp {
649d5b0e70fSEmmanuel Vadot		fsl,pins = <
650d5b0e70fSEmmanuel Vadot			MX8MN_IOMUXC_ECSPI1_SCLK_UART3_DCE_RX		0x140
651d5b0e70fSEmmanuel Vadot			MX8MN_IOMUXC_ECSPI1_MOSI_UART3_DCE_TX		0x140
652d5b0e70fSEmmanuel Vadot			MX8MN_IOMUXC_ECSPI1_SS0_UART3_DCE_RTS_B	0x140
653d5b0e70fSEmmanuel Vadot			MX8MN_IOMUXC_ECSPI1_MISO_UART3_DCE_CTS_B	0x140
654d5b0e70fSEmmanuel Vadot		>;
655d5b0e70fSEmmanuel Vadot	};
656d5b0e70fSEmmanuel Vadot
6576be33864SEmmanuel Vadot	pinctrl_usdhc2_gpio: usdhc2gpiogrp {
658c66ec88fSEmmanuel Vadot		fsl,pins = <
659c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_GPIO1_IO15_GPIO1_IO15	0x1c4
660c66ec88fSEmmanuel Vadot		>;
661c66ec88fSEmmanuel Vadot	};
662c66ec88fSEmmanuel Vadot
663c66ec88fSEmmanuel Vadot	pinctrl_usdhc2: usdhc2grp {
664c66ec88fSEmmanuel Vadot		fsl,pins = <
665c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_SD2_CLK_USDHC2_CLK		0x190
666c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_SD2_CMD_USDHC2_CMD		0x1d0
667c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_SD2_DATA0_USDHC2_DATA0	0x1d0
668c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_SD2_DATA1_USDHC2_DATA1	0x1d0
669c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_SD2_DATA2_USDHC2_DATA2	0x1d0
670c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_SD2_DATA3_USDHC2_DATA3	0x1d0
671c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_GPIO1_IO04_USDHC2_VSELECT	0x1d0
672c66ec88fSEmmanuel Vadot		>;
673c66ec88fSEmmanuel Vadot	};
674c66ec88fSEmmanuel Vadot
6756be33864SEmmanuel Vadot	pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp {
676c66ec88fSEmmanuel Vadot		fsl,pins = <
677c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_SD2_CLK_USDHC2_CLK		0x194
678c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_SD2_CMD_USDHC2_CMD		0x1d4
679c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_SD2_DATA0_USDHC2_DATA0	0x1d4
680c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_SD2_DATA1_USDHC2_DATA1	0x1d4
681c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_SD2_DATA2_USDHC2_DATA2	0x1d4
682c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_SD2_DATA3_USDHC2_DATA3	0x1d4
683c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_GPIO1_IO04_USDHC2_VSELECT	0x1d0
684c66ec88fSEmmanuel Vadot		>;
685c66ec88fSEmmanuel Vadot	};
686c66ec88fSEmmanuel Vadot
6876be33864SEmmanuel Vadot	pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp {
688c66ec88fSEmmanuel Vadot		fsl,pins = <
689c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_SD2_CLK_USDHC2_CLK		0x196
690c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_SD2_CMD_USDHC2_CMD		0x1d6
691c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_SD2_DATA0_USDHC2_DATA0	0x1d6
692c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_SD2_DATA1_USDHC2_DATA1	0x1d6
693c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_SD2_DATA2_USDHC2_DATA2	0x1d6
694c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_SD2_DATA3_USDHC2_DATA3	0x1d6
695c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_GPIO1_IO04_USDHC2_VSELECT	0x1d0
696c66ec88fSEmmanuel Vadot		>;
697c66ec88fSEmmanuel Vadot	};
698c66ec88fSEmmanuel Vadot
699c66ec88fSEmmanuel Vadot	pinctrl_usdhc3: usdhc3grp {
700c66ec88fSEmmanuel Vadot		fsl,pins = <
701c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_NAND_WE_B_USDHC3_CLK		0x40000190
702c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_NAND_WP_B_USDHC3_CMD		0x1d0
703c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_NAND_DATA04_USDHC3_DATA0		0x1d0
704c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_NAND_DATA05_USDHC3_DATA1		0x1d0
705c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_NAND_DATA06_USDHC3_DATA2		0x1d0
706c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_NAND_DATA07_USDHC3_DATA3		0x1d0
707c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_NAND_RE_B_USDHC3_DATA4		0x1d0
708c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_NAND_CE2_B_USDHC3_DATA5		0x1d0
709c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_NAND_CE3_B_USDHC3_DATA6		0x1d0
710c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_NAND_CLE_USDHC3_DATA7		0x1d0
711c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_NAND_CE1_B_USDHC3_STROBE		0x190
712c66ec88fSEmmanuel Vadot		>;
713c66ec88fSEmmanuel Vadot	};
714c66ec88fSEmmanuel Vadot
7156be33864SEmmanuel Vadot	pinctrl_usdhc3_100mhz: usdhc3-100mhzgrp {
716c66ec88fSEmmanuel Vadot		fsl,pins = <
717c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_NAND_WE_B_USDHC3_CLK		0x40000194
718c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_NAND_WP_B_USDHC3_CMD		0x1d4
719c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_NAND_DATA04_USDHC3_DATA0		0x1d4
720c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_NAND_DATA05_USDHC3_DATA1		0x1d4
721c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_NAND_DATA06_USDHC3_DATA2		0x1d4
722c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_NAND_DATA07_USDHC3_DATA3		0x1d4
723c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_NAND_RE_B_USDHC3_DATA4		0x1d4
724c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_NAND_CE2_B_USDHC3_DATA5		0x1d4
725c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_NAND_CE3_B_USDHC3_DATA6		0x1d4
726c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_NAND_CLE_USDHC3_DATA7		0x1d4
727c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_NAND_CE1_B_USDHC3_STROBE		0x194
728c66ec88fSEmmanuel Vadot		>;
729c66ec88fSEmmanuel Vadot	};
730c66ec88fSEmmanuel Vadot
7316be33864SEmmanuel Vadot	pinctrl_usdhc3_200mhz: usdhc3-200mhzgrp {
732c66ec88fSEmmanuel Vadot		fsl,pins = <
733c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_NAND_WE_B_USDHC3_CLK		0x40000196
734c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_NAND_WP_B_USDHC3_CMD		0x1d6
735c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_NAND_DATA04_USDHC3_DATA0		0x1d6
736c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_NAND_DATA05_USDHC3_DATA1		0x1d6
737c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_NAND_DATA06_USDHC3_DATA2		0x1d6
738c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_NAND_DATA07_USDHC3_DATA3		0x1d6
739c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_NAND_RE_B_USDHC3_DATA4		0x1d6
740c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_NAND_CE2_B_USDHC3_DATA5		0x1d6
741c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_NAND_CE3_B_USDHC3_DATA6		0x1d6
742c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_NAND_CLE_USDHC3_DATA7		0x1d6
743c66ec88fSEmmanuel Vadot			MX8MN_IOMUXC_NAND_CE1_B_USDHC3_STROBE		0x196
744c66ec88fSEmmanuel Vadot		>;
745c66ec88fSEmmanuel Vadot	};
746c66ec88fSEmmanuel Vadot
747c66ec88fSEmmanuel Vadot	pinctrl_wdog: wdoggrp {
748c66ec88fSEmmanuel Vadot		fsl,pins = <
7495def4c47SEmmanuel Vadot			MX8MN_IOMUXC_GPIO1_IO02_WDOG1_WDOG_B		0x166
750c66ec88fSEmmanuel Vadot		>;
751c66ec88fSEmmanuel Vadot	};
752c66ec88fSEmmanuel Vadot};
753