xref: /freebsd/sys/contrib/device-tree/src/arm64/freescale/imx8mm-evk.dtsi (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
16be33864SEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
26be33864SEmmanuel Vadot/*
36be33864SEmmanuel Vadot * Copyright 2020 NXP
46be33864SEmmanuel Vadot */
56be33864SEmmanuel Vadot
66be33864SEmmanuel Vadot/dts-v1/;
76be33864SEmmanuel Vadot
8c9ccf3a3SEmmanuel Vadot#include <dt-bindings/phy/phy-imx8-pcie.h>
96be33864SEmmanuel Vadot#include <dt-bindings/usb/pd.h>
106be33864SEmmanuel Vadot#include "imx8mm.dtsi"
116be33864SEmmanuel Vadot
126be33864SEmmanuel Vadot/ {
136be33864SEmmanuel Vadot	chosen {
146be33864SEmmanuel Vadot		stdout-path = &uart2;
156be33864SEmmanuel Vadot	};
166be33864SEmmanuel Vadot
176be33864SEmmanuel Vadot	memory@40000000 {
186be33864SEmmanuel Vadot		device_type = "memory";
196be33864SEmmanuel Vadot		reg = <0x0 0x40000000 0 0x80000000>;
206be33864SEmmanuel Vadot	};
216be33864SEmmanuel Vadot
22f126890aSEmmanuel Vadot	hdmi-connector {
23f126890aSEmmanuel Vadot		compatible = "hdmi-connector";
24f126890aSEmmanuel Vadot		label = "hdmi";
25f126890aSEmmanuel Vadot		type = "a";
26f126890aSEmmanuel Vadot
27f126890aSEmmanuel Vadot		port {
28f126890aSEmmanuel Vadot			hdmi_connector_in: endpoint {
29aa1a8ff2SEmmanuel Vadot				remote-endpoint = <&adv7535_out>;
30f126890aSEmmanuel Vadot			};
31f126890aSEmmanuel Vadot		};
32f126890aSEmmanuel Vadot	};
33f126890aSEmmanuel Vadot
346be33864SEmmanuel Vadot	leds {
356be33864SEmmanuel Vadot		compatible = "gpio-leds";
366be33864SEmmanuel Vadot		pinctrl-names = "default";
376be33864SEmmanuel Vadot		pinctrl-0 = <&pinctrl_gpio_led>;
386be33864SEmmanuel Vadot
396be33864SEmmanuel Vadot		status {
406be33864SEmmanuel Vadot			label = "status";
416be33864SEmmanuel Vadot			gpios = <&gpio3 16 GPIO_ACTIVE_HIGH>;
426be33864SEmmanuel Vadot			default-state = "on";
436be33864SEmmanuel Vadot		};
446be33864SEmmanuel Vadot	};
456be33864SEmmanuel Vadot
46c9ccf3a3SEmmanuel Vadot	pcie0_refclk: pcie0-refclk {
47c9ccf3a3SEmmanuel Vadot		compatible = "fixed-clock";
48c9ccf3a3SEmmanuel Vadot		#clock-cells = <0>;
49c9ccf3a3SEmmanuel Vadot		clock-frequency = <100000000>;
50c9ccf3a3SEmmanuel Vadot	};
51c9ccf3a3SEmmanuel Vadot
52c9ccf3a3SEmmanuel Vadot	reg_pcie0: regulator-pcie {
53c9ccf3a3SEmmanuel Vadot		compatible = "regulator-fixed";
54c9ccf3a3SEmmanuel Vadot		pinctrl-names = "default";
55c9ccf3a3SEmmanuel Vadot		pinctrl-0 = <&pinctrl_pcie0_reg>;
56c9ccf3a3SEmmanuel Vadot		regulator-name = "MPCIE_3V3";
57c9ccf3a3SEmmanuel Vadot		regulator-min-microvolt = <3300000>;
58c9ccf3a3SEmmanuel Vadot		regulator-max-microvolt = <3300000>;
59c9ccf3a3SEmmanuel Vadot		gpio = <&gpio1 5 GPIO_ACTIVE_HIGH>;
60c9ccf3a3SEmmanuel Vadot		enable-active-high;
61c9ccf3a3SEmmanuel Vadot	};
62c9ccf3a3SEmmanuel Vadot
636be33864SEmmanuel Vadot	reg_usdhc2_vmmc: regulator-usdhc2 {
646be33864SEmmanuel Vadot		compatible = "regulator-fixed";
656be33864SEmmanuel Vadot		pinctrl-names = "default";
666be33864SEmmanuel Vadot		pinctrl-0 = <&pinctrl_reg_usdhc2_vmmc>;
676be33864SEmmanuel Vadot		regulator-name = "VSD_3V3";
686be33864SEmmanuel Vadot		regulator-min-microvolt = <3300000>;
696be33864SEmmanuel Vadot		regulator-max-microvolt = <3300000>;
706be33864SEmmanuel Vadot		gpio = <&gpio2 19 GPIO_ACTIVE_HIGH>;
718bab661aSEmmanuel Vadot		off-on-delay-us = <20000>;
726be33864SEmmanuel Vadot		enable-active-high;
736be33864SEmmanuel Vadot	};
746be33864SEmmanuel Vadot
757d0873ebSEmmanuel Vadot	reg_1v5: regulator-1v5 {
767d0873ebSEmmanuel Vadot		compatible = "regulator-fixed";
777d0873ebSEmmanuel Vadot		regulator-name = "VDD_1V5";
787d0873ebSEmmanuel Vadot		regulator-min-microvolt = <1500000>;
797d0873ebSEmmanuel Vadot		regulator-max-microvolt = <1500000>;
807d0873ebSEmmanuel Vadot	};
817d0873ebSEmmanuel Vadot
827d0873ebSEmmanuel Vadot	reg_1v8: regulator-1v8 {
837d0873ebSEmmanuel Vadot		compatible = "regulator-fixed";
847d0873ebSEmmanuel Vadot		regulator-name = "VDD_1V8";
857d0873ebSEmmanuel Vadot		regulator-min-microvolt = <1800000>;
867d0873ebSEmmanuel Vadot		regulator-max-microvolt = <1800000>;
877d0873ebSEmmanuel Vadot	};
887d0873ebSEmmanuel Vadot
89aa1a8ff2SEmmanuel Vadot	reg_vddext_3v3: regulator-vddext-3v3 {
90aa1a8ff2SEmmanuel Vadot		compatible = "regulator-fixed";
91aa1a8ff2SEmmanuel Vadot		regulator-name = "VDDEXT_3V3";
92aa1a8ff2SEmmanuel Vadot		regulator-min-microvolt = <3300000>;
93aa1a8ff2SEmmanuel Vadot		regulator-max-microvolt = <3300000>;
94aa1a8ff2SEmmanuel Vadot	};
95aa1a8ff2SEmmanuel Vadot
96d5b0e70fSEmmanuel Vadot	backlight: backlight {
97d5b0e70fSEmmanuel Vadot		compatible = "pwm-backlight";
98d5b0e70fSEmmanuel Vadot		pwms = <&pwm1 0 5000000 0>;
99d5b0e70fSEmmanuel Vadot		brightness-levels = <0 255>;
100d5b0e70fSEmmanuel Vadot		num-interpolated-steps = <255>;
101d5b0e70fSEmmanuel Vadot		default-brightness-level = <250>;
102d5b0e70fSEmmanuel Vadot	};
103d5b0e70fSEmmanuel Vadot
1045def4c47SEmmanuel Vadot	ir-receiver {
1055def4c47SEmmanuel Vadot		compatible = "gpio-ir-receiver";
1065def4c47SEmmanuel Vadot		gpios = <&gpio1 13 GPIO_ACTIVE_LOW>;
1075def4c47SEmmanuel Vadot		pinctrl-names = "default";
1085def4c47SEmmanuel Vadot		pinctrl-0 = <&pinctrl_ir>;
1095def4c47SEmmanuel Vadot		linux,autosuspend-period = <125>;
1105def4c47SEmmanuel Vadot	};
1115def4c47SEmmanuel Vadot
112b97ee269SEmmanuel Vadot	audio_codec_bt_sco: audio-codec-bt-sco {
113b97ee269SEmmanuel Vadot		compatible = "linux,bt-sco";
114b97ee269SEmmanuel Vadot		#sound-dai-cells = <1>;
115b97ee269SEmmanuel Vadot	};
116b97ee269SEmmanuel Vadot
1176be33864SEmmanuel Vadot	wm8524: audio-codec {
1186be33864SEmmanuel Vadot		#sound-dai-cells = <0>;
1196be33864SEmmanuel Vadot		compatible = "wlf,wm8524";
1206be33864SEmmanuel Vadot		pinctrl-names = "default";
1216be33864SEmmanuel Vadot		pinctrl-0 = <&pinctrl_gpio_wlf>;
1226be33864SEmmanuel Vadot		wlf,mute-gpios = <&gpio5 21 GPIO_ACTIVE_LOW>;
1236be33864SEmmanuel Vadot	};
1246be33864SEmmanuel Vadot
125b97ee269SEmmanuel Vadot	sound-bt-sco {
126b97ee269SEmmanuel Vadot		compatible = "simple-audio-card";
127b97ee269SEmmanuel Vadot		simple-audio-card,name = "bt-sco-audio";
128b97ee269SEmmanuel Vadot		simple-audio-card,format = "dsp_a";
129b97ee269SEmmanuel Vadot		simple-audio-card,bitclock-inversion;
130b97ee269SEmmanuel Vadot		simple-audio-card,frame-master = <&btcpu>;
131b97ee269SEmmanuel Vadot		simple-audio-card,bitclock-master = <&btcpu>;
132b97ee269SEmmanuel Vadot
133b97ee269SEmmanuel Vadot		btcpu: simple-audio-card,cpu {
134b97ee269SEmmanuel Vadot			sound-dai = <&sai2>;
135b97ee269SEmmanuel Vadot			dai-tdm-slot-num = <2>;
136b97ee269SEmmanuel Vadot			dai-tdm-slot-width = <16>;
137b97ee269SEmmanuel Vadot		};
138b97ee269SEmmanuel Vadot
139b97ee269SEmmanuel Vadot		simple-audio-card,codec {
140b97ee269SEmmanuel Vadot			sound-dai = <&audio_codec_bt_sco 1>;
141b97ee269SEmmanuel Vadot		};
142b97ee269SEmmanuel Vadot	};
143b97ee269SEmmanuel Vadot
1446be33864SEmmanuel Vadot	sound-wm8524 {
1456be33864SEmmanuel Vadot		compatible = "simple-audio-card";
1466be33864SEmmanuel Vadot		simple-audio-card,name = "wm8524-audio";
1476be33864SEmmanuel Vadot		simple-audio-card,format = "i2s";
1486be33864SEmmanuel Vadot		simple-audio-card,frame-master = <&cpudai>;
1496be33864SEmmanuel Vadot		simple-audio-card,bitclock-master = <&cpudai>;
1506be33864SEmmanuel Vadot		simple-audio-card,widgets =
1516be33864SEmmanuel Vadot			"Line", "Left Line Out Jack",
1526be33864SEmmanuel Vadot			"Line", "Right Line Out Jack";
1536be33864SEmmanuel Vadot		simple-audio-card,routing =
1546be33864SEmmanuel Vadot			"Left Line Out Jack", "LINEVOUTL",
1556be33864SEmmanuel Vadot			"Right Line Out Jack", "LINEVOUTR";
1566be33864SEmmanuel Vadot
1576be33864SEmmanuel Vadot		cpudai: simple-audio-card,cpu {
1586be33864SEmmanuel Vadot			sound-dai = <&sai3>;
1596be33864SEmmanuel Vadot			dai-tdm-slot-num = <2>;
1606be33864SEmmanuel Vadot			dai-tdm-slot-width = <32>;
1616be33864SEmmanuel Vadot		};
1626be33864SEmmanuel Vadot
1636be33864SEmmanuel Vadot		simple-audio-card,codec {
1646be33864SEmmanuel Vadot			sound-dai = <&wm8524>;
1656be33864SEmmanuel Vadot			clocks = <&clk IMX8MM_CLK_SAI3_ROOT>;
1666be33864SEmmanuel Vadot		};
1676be33864SEmmanuel Vadot	};
16801950c46SEmmanuel Vadot
16901950c46SEmmanuel Vadot	sound-micfil {
17001950c46SEmmanuel Vadot		compatible = "fsl,imx-audio-card";
17101950c46SEmmanuel Vadot		model = "micfil-audio";
17201950c46SEmmanuel Vadot
17301950c46SEmmanuel Vadot		pri-dai-link {
17401950c46SEmmanuel Vadot			link-name = "micfil hifi";
17501950c46SEmmanuel Vadot			format = "i2s";
17601950c46SEmmanuel Vadot
17701950c46SEmmanuel Vadot			cpu {
17801950c46SEmmanuel Vadot				sound-dai = <&micfil>;
17901950c46SEmmanuel Vadot			};
18001950c46SEmmanuel Vadot		};
18101950c46SEmmanuel Vadot	};
18201950c46SEmmanuel Vadot
183*b2d2a78aSEmmanuel Vadot	spdif_out: spdif-out {
184*b2d2a78aSEmmanuel Vadot		compatible = "linux,spdif-dit";
185*b2d2a78aSEmmanuel Vadot		#sound-dai-cells = <0>;
186*b2d2a78aSEmmanuel Vadot	};
187*b2d2a78aSEmmanuel Vadot
188*b2d2a78aSEmmanuel Vadot	spdif_in: spdif-in {
189*b2d2a78aSEmmanuel Vadot		compatible = "linux,spdif-dir";
190*b2d2a78aSEmmanuel Vadot		#sound-dai-cells = <0>;
191*b2d2a78aSEmmanuel Vadot	};
192*b2d2a78aSEmmanuel Vadot
19301950c46SEmmanuel Vadot	sound-spdif {
19401950c46SEmmanuel Vadot		compatible = "fsl,imx-audio-spdif";
19501950c46SEmmanuel Vadot		model = "imx-spdif";
196*b2d2a78aSEmmanuel Vadot		audio-cpu = <&spdif1>;
197*b2d2a78aSEmmanuel Vadot		audio-codec = <&spdif_out>, <&spdif_in>;
19801950c46SEmmanuel Vadot	};
1996be33864SEmmanuel Vadot};
2006be33864SEmmanuel Vadot
2016be33864SEmmanuel Vadot&A53_0 {
2026be33864SEmmanuel Vadot	cpu-supply = <&buck2_reg>;
2036be33864SEmmanuel Vadot};
2046be33864SEmmanuel Vadot
2056be33864SEmmanuel Vadot&A53_1 {
2066be33864SEmmanuel Vadot	cpu-supply = <&buck2_reg>;
2076be33864SEmmanuel Vadot};
2086be33864SEmmanuel Vadot
2096be33864SEmmanuel Vadot&A53_2 {
2106be33864SEmmanuel Vadot	cpu-supply = <&buck2_reg>;
2116be33864SEmmanuel Vadot};
2126be33864SEmmanuel Vadot
2136be33864SEmmanuel Vadot&A53_3 {
2146be33864SEmmanuel Vadot	cpu-supply = <&buck2_reg>;
2156be33864SEmmanuel Vadot};
2166be33864SEmmanuel Vadot
2176be33864SEmmanuel Vadot&fec1 {
2186be33864SEmmanuel Vadot	pinctrl-names = "default";
2196be33864SEmmanuel Vadot	pinctrl-0 = <&pinctrl_fec1>;
2206be33864SEmmanuel Vadot	phy-mode = "rgmii-id";
2216be33864SEmmanuel Vadot	phy-handle = <&ethphy0>;
2226be33864SEmmanuel Vadot	fsl,magic-packet;
2236be33864SEmmanuel Vadot	status = "okay";
2246be33864SEmmanuel Vadot
2256be33864SEmmanuel Vadot	mdio {
2266be33864SEmmanuel Vadot		#address-cells = <1>;
2276be33864SEmmanuel Vadot		#size-cells = <0>;
2286be33864SEmmanuel Vadot
2296be33864SEmmanuel Vadot		ethphy0: ethernet-phy@0 {
2306be33864SEmmanuel Vadot			compatible = "ethernet-phy-ieee802.3-c22";
2316be33864SEmmanuel Vadot			reg = <0>;
2326be33864SEmmanuel Vadot			reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>;
2336be33864SEmmanuel Vadot			reset-assert-us = <10000>;
234e67e8565SEmmanuel Vadot			qca,disable-smarteee;
235e67e8565SEmmanuel Vadot			vddio-supply = <&vddio>;
236e67e8565SEmmanuel Vadot
237e67e8565SEmmanuel Vadot			vddio: vddio-regulator {
238e67e8565SEmmanuel Vadot				regulator-min-microvolt = <1800000>;
239e67e8565SEmmanuel Vadot				regulator-max-microvolt = <1800000>;
240e67e8565SEmmanuel Vadot			};
2416be33864SEmmanuel Vadot		};
2426be33864SEmmanuel Vadot	};
2436be33864SEmmanuel Vadot};
2446be33864SEmmanuel Vadot
2456be33864SEmmanuel Vadot&i2c1 {
2466be33864SEmmanuel Vadot	clock-frequency = <400000>;
2476be33864SEmmanuel Vadot	pinctrl-names = "default";
2486be33864SEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c1>;
2496be33864SEmmanuel Vadot	status = "okay";
2506be33864SEmmanuel Vadot
2516be33864SEmmanuel Vadot	pmic@4b {
2526be33864SEmmanuel Vadot		compatible = "rohm,bd71847";
2536be33864SEmmanuel Vadot		reg = <0x4b>;
2546be33864SEmmanuel Vadot		pinctrl-names = "default";
2556be33864SEmmanuel Vadot		pinctrl-0 = <&pinctrl_pmic>;
2566be33864SEmmanuel Vadot		interrupt-parent = <&gpio1>;
2576be33864SEmmanuel Vadot		interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
2586be33864SEmmanuel Vadot		rohm,reset-snvs-powered;
2596be33864SEmmanuel Vadot
2606be33864SEmmanuel Vadot		#clock-cells = <0>;
261cb7aa33aSEmmanuel Vadot		clocks = <&osc_32k>;
2626be33864SEmmanuel Vadot		clock-output-names = "clk-32k-out";
2636be33864SEmmanuel Vadot
2646be33864SEmmanuel Vadot		regulators {
2656be33864SEmmanuel Vadot			buck1_reg: BUCK1 {
2666be33864SEmmanuel Vadot				regulator-name = "buck1";
2676be33864SEmmanuel Vadot				regulator-min-microvolt = <700000>;
2686be33864SEmmanuel Vadot				regulator-max-microvolt = <1300000>;
2696be33864SEmmanuel Vadot				regulator-boot-on;
2706be33864SEmmanuel Vadot				regulator-always-on;
2716be33864SEmmanuel Vadot				regulator-ramp-delay = <1250>;
2726be33864SEmmanuel Vadot			};
2736be33864SEmmanuel Vadot
2746be33864SEmmanuel Vadot			buck2_reg: BUCK2 {
2756be33864SEmmanuel Vadot				regulator-name = "buck2";
2766be33864SEmmanuel Vadot				regulator-min-microvolt = <700000>;
2776be33864SEmmanuel Vadot				regulator-max-microvolt = <1300000>;
2786be33864SEmmanuel Vadot				regulator-boot-on;
2796be33864SEmmanuel Vadot				regulator-always-on;
2806be33864SEmmanuel Vadot				regulator-ramp-delay = <1250>;
2816be33864SEmmanuel Vadot				rohm,dvs-run-voltage = <1000000>;
2826be33864SEmmanuel Vadot				rohm,dvs-idle-voltage = <900000>;
2836be33864SEmmanuel Vadot			};
2846be33864SEmmanuel Vadot
2856be33864SEmmanuel Vadot			buck3_reg: BUCK3 {
2866be33864SEmmanuel Vadot				// BUCK5 in datasheet
2876be33864SEmmanuel Vadot				regulator-name = "buck3";
2886be33864SEmmanuel Vadot				regulator-min-microvolt = <700000>;
2896be33864SEmmanuel Vadot				regulator-max-microvolt = <1350000>;
2906be33864SEmmanuel Vadot				regulator-boot-on;
2916be33864SEmmanuel Vadot				regulator-always-on;
2926be33864SEmmanuel Vadot			};
2936be33864SEmmanuel Vadot
2946be33864SEmmanuel Vadot			buck4_reg: BUCK4 {
2956be33864SEmmanuel Vadot				// BUCK6 in datasheet
2966be33864SEmmanuel Vadot				regulator-name = "buck4";
2976be33864SEmmanuel Vadot				regulator-min-microvolt = <3000000>;
2986be33864SEmmanuel Vadot				regulator-max-microvolt = <3300000>;
2996be33864SEmmanuel Vadot				regulator-boot-on;
3006be33864SEmmanuel Vadot				regulator-always-on;
3016be33864SEmmanuel Vadot			};
3026be33864SEmmanuel Vadot
3036be33864SEmmanuel Vadot			buck5_reg: BUCK5 {
3046be33864SEmmanuel Vadot				// BUCK7 in datasheet
3056be33864SEmmanuel Vadot				regulator-name = "buck5";
3066be33864SEmmanuel Vadot				regulator-min-microvolt = <1605000>;
3076be33864SEmmanuel Vadot				regulator-max-microvolt = <1995000>;
3086be33864SEmmanuel Vadot				regulator-boot-on;
3096be33864SEmmanuel Vadot				regulator-always-on;
3106be33864SEmmanuel Vadot			};
3116be33864SEmmanuel Vadot
3126be33864SEmmanuel Vadot			buck6_reg: BUCK6 {
3136be33864SEmmanuel Vadot				// BUCK8 in datasheet
3146be33864SEmmanuel Vadot				regulator-name = "buck6";
3156be33864SEmmanuel Vadot				regulator-min-microvolt = <800000>;
3166be33864SEmmanuel Vadot				regulator-max-microvolt = <1400000>;
3176be33864SEmmanuel Vadot				regulator-boot-on;
3186be33864SEmmanuel Vadot				regulator-always-on;
3196be33864SEmmanuel Vadot			};
3206be33864SEmmanuel Vadot
3216be33864SEmmanuel Vadot			ldo1_reg: LDO1 {
3226be33864SEmmanuel Vadot				regulator-name = "ldo1";
3236be33864SEmmanuel Vadot				regulator-min-microvolt = <1600000>;
3246be33864SEmmanuel Vadot				regulator-max-microvolt = <3300000>;
3256be33864SEmmanuel Vadot				regulator-boot-on;
3266be33864SEmmanuel Vadot				regulator-always-on;
3276be33864SEmmanuel Vadot			};
3286be33864SEmmanuel Vadot
3296be33864SEmmanuel Vadot			ldo2_reg: LDO2 {
3306be33864SEmmanuel Vadot				regulator-name = "ldo2";
3316be33864SEmmanuel Vadot				regulator-min-microvolt = <800000>;
3326be33864SEmmanuel Vadot				regulator-max-microvolt = <900000>;
3336be33864SEmmanuel Vadot				regulator-boot-on;
3346be33864SEmmanuel Vadot				regulator-always-on;
3356be33864SEmmanuel Vadot			};
3366be33864SEmmanuel Vadot
3376be33864SEmmanuel Vadot			ldo3_reg: LDO3 {
3386be33864SEmmanuel Vadot				regulator-name = "ldo3";
3396be33864SEmmanuel Vadot				regulator-min-microvolt = <1800000>;
3406be33864SEmmanuel Vadot				regulator-max-microvolt = <3300000>;
3416be33864SEmmanuel Vadot				regulator-boot-on;
3426be33864SEmmanuel Vadot				regulator-always-on;
3436be33864SEmmanuel Vadot			};
3446be33864SEmmanuel Vadot
3456be33864SEmmanuel Vadot			ldo4_reg: LDO4 {
3466be33864SEmmanuel Vadot				regulator-name = "ldo4";
3476be33864SEmmanuel Vadot				regulator-min-microvolt = <900000>;
3486be33864SEmmanuel Vadot				regulator-max-microvolt = <1800000>;
3496be33864SEmmanuel Vadot				regulator-boot-on;
3506be33864SEmmanuel Vadot				regulator-always-on;
3516be33864SEmmanuel Vadot			};
3526be33864SEmmanuel Vadot
3536be33864SEmmanuel Vadot			ldo6_reg: LDO6 {
3546be33864SEmmanuel Vadot				regulator-name = "ldo6";
3556be33864SEmmanuel Vadot				regulator-min-microvolt = <900000>;
3566be33864SEmmanuel Vadot				regulator-max-microvolt = <1800000>;
3576be33864SEmmanuel Vadot				regulator-boot-on;
3586be33864SEmmanuel Vadot				regulator-always-on;
3596be33864SEmmanuel Vadot			};
3606be33864SEmmanuel Vadot		};
3616be33864SEmmanuel Vadot	};
3626be33864SEmmanuel Vadot};
3636be33864SEmmanuel Vadot
3646be33864SEmmanuel Vadot&i2c2 {
3656be33864SEmmanuel Vadot	clock-frequency = <400000>;
3666be33864SEmmanuel Vadot	pinctrl-names = "default";
3676be33864SEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c2>;
3686be33864SEmmanuel Vadot	status = "okay";
3696be33864SEmmanuel Vadot
370f126890aSEmmanuel Vadot	hdmi@3d {
371f126890aSEmmanuel Vadot		compatible = "adi,adv7535";
372aa1a8ff2SEmmanuel Vadot		reg = <0x3d>;
373aa1a8ff2SEmmanuel Vadot		interrupt-parent = <&gpio1>;
374aa1a8ff2SEmmanuel Vadot		interrupts = <9 IRQ_TYPE_EDGE_FALLING>;
375f126890aSEmmanuel Vadot		adi,dsi-lanes = <4>;
376aa1a8ff2SEmmanuel Vadot		avdd-supply = <&buck5_reg>;
377aa1a8ff2SEmmanuel Vadot		dvdd-supply = <&buck5_reg>;
378aa1a8ff2SEmmanuel Vadot		pvdd-supply = <&buck5_reg>;
379aa1a8ff2SEmmanuel Vadot		a2vdd-supply = <&buck5_reg>;
380aa1a8ff2SEmmanuel Vadot		v3p3-supply = <&reg_vddext_3v3>;
381aa1a8ff2SEmmanuel Vadot		v1p2-supply = <&buck5_reg>;
382f126890aSEmmanuel Vadot
383f126890aSEmmanuel Vadot		ports {
384f126890aSEmmanuel Vadot			#address-cells = <1>;
385f126890aSEmmanuel Vadot			#size-cells = <0>;
386f126890aSEmmanuel Vadot
387f126890aSEmmanuel Vadot			port@0 {
388f126890aSEmmanuel Vadot				reg = <0>;
389f126890aSEmmanuel Vadot
390aa1a8ff2SEmmanuel Vadot				adv7535_in: endpoint {
391f126890aSEmmanuel Vadot					remote-endpoint = <&dsi_out>;
392f126890aSEmmanuel Vadot				};
393f126890aSEmmanuel Vadot			};
394f126890aSEmmanuel Vadot
395f126890aSEmmanuel Vadot			port@1 {
396f126890aSEmmanuel Vadot				reg = <1>;
397f126890aSEmmanuel Vadot
398aa1a8ff2SEmmanuel Vadot				adv7535_out: endpoint {
399f126890aSEmmanuel Vadot					remote-endpoint = <&hdmi_connector_in>;
400f126890aSEmmanuel Vadot				};
401f126890aSEmmanuel Vadot			};
402f126890aSEmmanuel Vadot
403f126890aSEmmanuel Vadot		};
404f126890aSEmmanuel Vadot	};
405f126890aSEmmanuel Vadot
4066be33864SEmmanuel Vadot	ptn5110: tcpc@50 {
4077d0873ebSEmmanuel Vadot		compatible = "nxp,ptn5110", "tcpci";
4086be33864SEmmanuel Vadot		pinctrl-names = "default";
4096be33864SEmmanuel Vadot		pinctrl-0 = <&pinctrl_typec1>;
4106be33864SEmmanuel Vadot		reg = <0x50>;
4116be33864SEmmanuel Vadot		interrupt-parent = <&gpio2>;
4120e8011faSEmmanuel Vadot		interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
4136be33864SEmmanuel Vadot		status = "okay";
4146be33864SEmmanuel Vadot
4156be33864SEmmanuel Vadot		typec1_con: connector {
4166be33864SEmmanuel Vadot			compatible = "usb-c-connector";
4176be33864SEmmanuel Vadot			label = "USB-C";
4186be33864SEmmanuel Vadot			power-role = "dual";
4196be33864SEmmanuel Vadot			data-role = "dual";
4206be33864SEmmanuel Vadot			try-power-role = "sink";
4216be33864SEmmanuel Vadot			source-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)>;
4226be33864SEmmanuel Vadot			sink-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)
4236be33864SEmmanuel Vadot				     PDO_VAR(5000, 20000, 3000)>;
4246be33864SEmmanuel Vadot			op-sink-microwatt = <15000000>;
4256be33864SEmmanuel Vadot			self-powered;
4268d13bc63SEmmanuel Vadot
4278d13bc63SEmmanuel Vadot			port {
4288d13bc63SEmmanuel Vadot				typec1_dr_sw: endpoint {
4298d13bc63SEmmanuel Vadot					remote-endpoint = <&usb1_drd_sw>;
4308d13bc63SEmmanuel Vadot				};
4318d13bc63SEmmanuel Vadot			};
4326be33864SEmmanuel Vadot		};
4336be33864SEmmanuel Vadot	};
4346be33864SEmmanuel Vadot};
4356be33864SEmmanuel Vadot
436aa1a8ff2SEmmanuel Vadot
437aa1a8ff2SEmmanuel Vadot&csi {
438aa1a8ff2SEmmanuel Vadot	status = "okay";
439aa1a8ff2SEmmanuel Vadot};
440aa1a8ff2SEmmanuel Vadot
4416be33864SEmmanuel Vadot&i2c3 {
4426be33864SEmmanuel Vadot	clock-frequency = <400000>;
4436be33864SEmmanuel Vadot	pinctrl-names = "default";
4446be33864SEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c3>;
4456be33864SEmmanuel Vadot	status = "okay";
4466be33864SEmmanuel Vadot
4476be33864SEmmanuel Vadot	pca6416: gpio@20 {
448cb7aa33aSEmmanuel Vadot		compatible = "nxp,pca6416";
4496be33864SEmmanuel Vadot		reg = <0x20>;
4506be33864SEmmanuel Vadot		gpio-controller;
4516be33864SEmmanuel Vadot		#gpio-cells = <2>;
4528bab661aSEmmanuel Vadot		vcc-supply = <&buck4_reg>;
4536be33864SEmmanuel Vadot	};
454aa1a8ff2SEmmanuel Vadot
455aa1a8ff2SEmmanuel Vadot	camera@3c {
456aa1a8ff2SEmmanuel Vadot		compatible = "ovti,ov5640";
457aa1a8ff2SEmmanuel Vadot		reg = <0x3c>;
458aa1a8ff2SEmmanuel Vadot		pinctrl-names = "default";
459aa1a8ff2SEmmanuel Vadot		pinctrl-0 = <&pinctrl_camera>;
460aa1a8ff2SEmmanuel Vadot		clocks = <&clk IMX8MM_CLK_CLKO1>;
461aa1a8ff2SEmmanuel Vadot		clock-names = "xclk";
462aa1a8ff2SEmmanuel Vadot		assigned-clocks = <&clk IMX8MM_CLK_CLKO1>;
463aa1a8ff2SEmmanuel Vadot		assigned-clock-parents = <&clk IMX8MM_CLK_24M>;
464aa1a8ff2SEmmanuel Vadot		assigned-clock-rates = <24000000>;
465aa1a8ff2SEmmanuel Vadot		powerdown-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
466aa1a8ff2SEmmanuel Vadot		reset-gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
4677d0873ebSEmmanuel Vadot		DOVDD-supply = <&buck5_reg>;
4687d0873ebSEmmanuel Vadot		AVDD-supply = <&reg_1v8>;
4697d0873ebSEmmanuel Vadot		DVDD-supply = <&reg_1v5>;
470aa1a8ff2SEmmanuel Vadot
471aa1a8ff2SEmmanuel Vadot		port {
472aa1a8ff2SEmmanuel Vadot			ov5640_to_mipi_csi2: endpoint {
473aa1a8ff2SEmmanuel Vadot				remote-endpoint = <&imx8mm_mipi_csi_in>;
474aa1a8ff2SEmmanuel Vadot				clock-lanes = <0>;
475aa1a8ff2SEmmanuel Vadot				data-lanes = <1 2>;
476aa1a8ff2SEmmanuel Vadot			};
477aa1a8ff2SEmmanuel Vadot		};
478aa1a8ff2SEmmanuel Vadot	};
4796be33864SEmmanuel Vadot};
4806be33864SEmmanuel Vadot
481f126890aSEmmanuel Vadot&lcdif {
482f126890aSEmmanuel Vadot	status = "okay";
483f126890aSEmmanuel Vadot};
484f126890aSEmmanuel Vadot
48501950c46SEmmanuel Vadot&micfil {
48601950c46SEmmanuel Vadot	#sound-dai-cells = <0>;
48701950c46SEmmanuel Vadot	pinctrl-names = "default";
48801950c46SEmmanuel Vadot	pinctrl-0 = <&pinctrl_pdm>;
48901950c46SEmmanuel Vadot	assigned-clocks = <&clk IMX8MM_CLK_PDM>;
49001950c46SEmmanuel Vadot	assigned-clock-parents = <&clk IMX8MM_AUDIO_PLL1_OUT>;
49101950c46SEmmanuel Vadot	assigned-clock-rates = <196608000>;
49201950c46SEmmanuel Vadot	status = "okay";
49301950c46SEmmanuel Vadot};
49401950c46SEmmanuel Vadot
495aa1a8ff2SEmmanuel Vadot&mipi_csi {
496aa1a8ff2SEmmanuel Vadot	status = "okay";
497aa1a8ff2SEmmanuel Vadot
498aa1a8ff2SEmmanuel Vadot	ports {
499aa1a8ff2SEmmanuel Vadot		port@0 {
500aa1a8ff2SEmmanuel Vadot			imx8mm_mipi_csi_in: endpoint {
501aa1a8ff2SEmmanuel Vadot				remote-endpoint = <&ov5640_to_mipi_csi2>;
502aa1a8ff2SEmmanuel Vadot				data-lanes = <1 2>;
503aa1a8ff2SEmmanuel Vadot			};
504aa1a8ff2SEmmanuel Vadot		};
505aa1a8ff2SEmmanuel Vadot	};
506aa1a8ff2SEmmanuel Vadot};
507aa1a8ff2SEmmanuel Vadot
508f126890aSEmmanuel Vadot&mipi_dsi {
509f126890aSEmmanuel Vadot	samsung,esc-clock-frequency = <10000000>;
510f126890aSEmmanuel Vadot	status = "okay";
511f126890aSEmmanuel Vadot
512f126890aSEmmanuel Vadot	ports {
513f126890aSEmmanuel Vadot		port@1 {
514f126890aSEmmanuel Vadot			reg = <1>;
515f126890aSEmmanuel Vadot
516f126890aSEmmanuel Vadot			dsi_out: endpoint {
517aa1a8ff2SEmmanuel Vadot				remote-endpoint = <&adv7535_in>;
518f126890aSEmmanuel Vadot				data-lanes = <1 2 3 4>;
519f126890aSEmmanuel Vadot			};
520f126890aSEmmanuel Vadot		};
521f126890aSEmmanuel Vadot	};
522f126890aSEmmanuel Vadot};
523f126890aSEmmanuel Vadot
524c9ccf3a3SEmmanuel Vadot&pcie_phy {
525c9ccf3a3SEmmanuel Vadot	fsl,refclk-pad-mode = <IMX8_PCIE_REFCLK_PAD_INPUT>;
526c9ccf3a3SEmmanuel Vadot	fsl,tx-deemph-gen1 = <0x2d>;
527c9ccf3a3SEmmanuel Vadot	fsl,tx-deemph-gen2 = <0xf>;
528c9ccf3a3SEmmanuel Vadot	clocks = <&pcie0_refclk>;
529c9ccf3a3SEmmanuel Vadot	status = "okay";
530c9ccf3a3SEmmanuel Vadot};
531c9ccf3a3SEmmanuel Vadot
532c9ccf3a3SEmmanuel Vadot&pcie0 {
533c9ccf3a3SEmmanuel Vadot	pinctrl-names = "default";
534c9ccf3a3SEmmanuel Vadot	pinctrl-0 = <&pinctrl_pcie0>;
535c9ccf3a3SEmmanuel Vadot	reset-gpio = <&gpio4 21 GPIO_ACTIVE_LOW>;
536cb7aa33aSEmmanuel Vadot	clocks = <&clk IMX8MM_CLK_PCIE1_ROOT>, <&pcie0_refclk>,
537cb7aa33aSEmmanuel Vadot		 <&clk IMX8MM_CLK_PCIE1_AUX>;
538c9ccf3a3SEmmanuel Vadot	assigned-clocks = <&clk IMX8MM_CLK_PCIE1_AUX>,
539c9ccf3a3SEmmanuel Vadot			  <&clk IMX8MM_CLK_PCIE1_CTRL>;
540c9ccf3a3SEmmanuel Vadot	assigned-clock-rates = <10000000>, <250000000>;
541c9ccf3a3SEmmanuel Vadot	assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_50M>,
542c9ccf3a3SEmmanuel Vadot				 <&clk IMX8MM_SYS_PLL2_250M>;
543c9ccf3a3SEmmanuel Vadot	vpcie-supply = <&reg_pcie0>;
544c9ccf3a3SEmmanuel Vadot	status = "okay";
545c9ccf3a3SEmmanuel Vadot};
546c9ccf3a3SEmmanuel Vadot
547b97ee269SEmmanuel Vadot&sai2 {
548b97ee269SEmmanuel Vadot	#sound-dai-cells = <0>;
549b97ee269SEmmanuel Vadot	pinctrl-names = "default";
550b97ee269SEmmanuel Vadot	pinctrl-0 = <&pinctrl_sai2>;
551b97ee269SEmmanuel Vadot	assigned-clocks = <&clk IMX8MM_CLK_SAI2>;
552b97ee269SEmmanuel Vadot	assigned-clock-parents = <&clk IMX8MM_AUDIO_PLL1_OUT>;
553b97ee269SEmmanuel Vadot	assigned-clock-rates = <24576000>;
554b97ee269SEmmanuel Vadot	status = "okay";
555b97ee269SEmmanuel Vadot};
556b97ee269SEmmanuel Vadot
5576be33864SEmmanuel Vadot&sai3 {
5586be33864SEmmanuel Vadot	pinctrl-names = "default";
5596be33864SEmmanuel Vadot	pinctrl-0 = <&pinctrl_sai3>;
5606be33864SEmmanuel Vadot	assigned-clocks = <&clk IMX8MM_CLK_SAI3>;
5616be33864SEmmanuel Vadot	assigned-clock-parents = <&clk IMX8MM_AUDIO_PLL1_OUT>;
5626be33864SEmmanuel Vadot	assigned-clock-rates = <24576000>;
5636be33864SEmmanuel Vadot	status = "okay";
5646be33864SEmmanuel Vadot};
5656be33864SEmmanuel Vadot
5666be33864SEmmanuel Vadot&snvs_pwrkey {
5676be33864SEmmanuel Vadot	status = "okay";
5686be33864SEmmanuel Vadot};
5696be33864SEmmanuel Vadot
57001950c46SEmmanuel Vadot&spdif1 {
57101950c46SEmmanuel Vadot	pinctrl-names = "default";
57201950c46SEmmanuel Vadot	pinctrl-0 = <&pinctrl_spdif1>;
57301950c46SEmmanuel Vadot	assigned-clocks = <&clk IMX8MM_CLK_SPDIF1>;
57401950c46SEmmanuel Vadot	assigned-clock-parents = <&clk IMX8MM_AUDIO_PLL1_OUT>;
57501950c46SEmmanuel Vadot	assigned-clock-rates = <24576000>;
57601950c46SEmmanuel Vadot	clocks = <&clk IMX8MM_CLK_AUDIO_AHB>, <&clk IMX8MM_CLK_24M>,
57701950c46SEmmanuel Vadot		 <&clk IMX8MM_CLK_SPDIF1>, <&clk IMX8MM_CLK_DUMMY>,
57801950c46SEmmanuel Vadot		 <&clk IMX8MM_CLK_DUMMY>, <&clk IMX8MM_CLK_DUMMY>,
57901950c46SEmmanuel Vadot		 <&clk IMX8MM_CLK_AUDIO_AHB>, <&clk IMX8MM_CLK_DUMMY>,
58001950c46SEmmanuel Vadot		 <&clk IMX8MM_CLK_DUMMY>, <&clk IMX8MM_CLK_DUMMY>,
58101950c46SEmmanuel Vadot		 <&clk IMX8MM_AUDIO_PLL1_OUT>, <&clk IMX8MM_AUDIO_PLL2_OUT>;
58201950c46SEmmanuel Vadot	clock-names = "core", "rxtx0", "rxtx1", "rxtx2", "rxtx3",
58301950c46SEmmanuel Vadot		      "rxtx4", "rxtx5", "rxtx6", "rxtx7", "spba",
58401950c46SEmmanuel Vadot		      "pll8k", "pll11k";
58501950c46SEmmanuel Vadot	status = "okay";
58601950c46SEmmanuel Vadot};
58701950c46SEmmanuel Vadot
5886be33864SEmmanuel Vadot&uart2 { /* console */
5896be33864SEmmanuel Vadot	pinctrl-names = "default";
5906be33864SEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart2>;
5916be33864SEmmanuel Vadot	status = "okay";
5926be33864SEmmanuel Vadot};
5936be33864SEmmanuel Vadot
5948bab661aSEmmanuel Vadot&usbphynop1 {
5958bab661aSEmmanuel Vadot	wakeup-source;
5968bab661aSEmmanuel Vadot};
5978bab661aSEmmanuel Vadot
5986be33864SEmmanuel Vadot&usbotg1 {
5996be33864SEmmanuel Vadot	dr_mode = "otg";
6006be33864SEmmanuel Vadot	hnp-disable;
6016be33864SEmmanuel Vadot	srp-disable;
6026be33864SEmmanuel Vadot	adp-disable;
6036be33864SEmmanuel Vadot	usb-role-switch;
6045956d97fSEmmanuel Vadot	disable-over-current;
6056be33864SEmmanuel Vadot	samsung,picophy-pre-emp-curr-control = <3>;
6066be33864SEmmanuel Vadot	samsung,picophy-dc-vol-level-adjust = <7>;
6076be33864SEmmanuel Vadot	status = "okay";
6086be33864SEmmanuel Vadot
6096be33864SEmmanuel Vadot	port {
6106be33864SEmmanuel Vadot		usb1_drd_sw: endpoint {
6116be33864SEmmanuel Vadot			remote-endpoint = <&typec1_dr_sw>;
6126be33864SEmmanuel Vadot		};
6136be33864SEmmanuel Vadot	};
6146be33864SEmmanuel Vadot};
6156be33864SEmmanuel Vadot
6166be33864SEmmanuel Vadot&usdhc2 {
6176be33864SEmmanuel Vadot	assigned-clocks = <&clk IMX8MM_CLK_USDHC2>;
6186be33864SEmmanuel Vadot	assigned-clock-rates = <200000000>;
6196be33864SEmmanuel Vadot	pinctrl-names = "default", "state_100mhz", "state_200mhz";
6206be33864SEmmanuel Vadot	pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>;
6216be33864SEmmanuel Vadot	pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>;
6226be33864SEmmanuel Vadot	pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>;
6236be33864SEmmanuel Vadot	cd-gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
6246be33864SEmmanuel Vadot	bus-width = <4>;
6256be33864SEmmanuel Vadot	vmmc-supply = <&reg_usdhc2_vmmc>;
6266be33864SEmmanuel Vadot	status = "okay";
6276be33864SEmmanuel Vadot};
6286be33864SEmmanuel Vadot
6296be33864SEmmanuel Vadot&wdog1 {
6306be33864SEmmanuel Vadot	pinctrl-names = "default";
6316be33864SEmmanuel Vadot	pinctrl-0 = <&pinctrl_wdog>;
6326be33864SEmmanuel Vadot	fsl,ext-reset-output;
6336be33864SEmmanuel Vadot	status = "okay";
6346be33864SEmmanuel Vadot};
6356be33864SEmmanuel Vadot
636d5b0e70fSEmmanuel Vadot&pwm1 {
637d5b0e70fSEmmanuel Vadot	pinctrl-names = "default";
638d5b0e70fSEmmanuel Vadot	pinctrl-0 = <&pinctrl_backlight>;
639d5b0e70fSEmmanuel Vadot	status = "okay";
640d5b0e70fSEmmanuel Vadot};
641d5b0e70fSEmmanuel Vadot
6426be33864SEmmanuel Vadot&iomuxc {
6436be33864SEmmanuel Vadot	pinctrl_fec1: fec1grp {
6446be33864SEmmanuel Vadot		fsl,pins = <
6456be33864SEmmanuel Vadot			MX8MM_IOMUXC_ENET_MDC_ENET1_MDC			0x3
6466be33864SEmmanuel Vadot			MX8MM_IOMUXC_ENET_MDIO_ENET1_MDIO		0x3
6476be33864SEmmanuel Vadot			MX8MM_IOMUXC_ENET_TD3_ENET1_RGMII_TD3		0x1f
6486be33864SEmmanuel Vadot			MX8MM_IOMUXC_ENET_TD2_ENET1_RGMII_TD2		0x1f
6496be33864SEmmanuel Vadot			MX8MM_IOMUXC_ENET_TD1_ENET1_RGMII_TD1		0x1f
6506be33864SEmmanuel Vadot			MX8MM_IOMUXC_ENET_TD0_ENET1_RGMII_TD0		0x1f
6516be33864SEmmanuel Vadot			MX8MM_IOMUXC_ENET_RD3_ENET1_RGMII_RD3		0x91
6526be33864SEmmanuel Vadot			MX8MM_IOMUXC_ENET_RD2_ENET1_RGMII_RD2		0x91
6536be33864SEmmanuel Vadot			MX8MM_IOMUXC_ENET_RD1_ENET1_RGMII_RD1		0x91
6546be33864SEmmanuel Vadot			MX8MM_IOMUXC_ENET_RD0_ENET1_RGMII_RD0		0x91
6556be33864SEmmanuel Vadot			MX8MM_IOMUXC_ENET_TXC_ENET1_RGMII_TXC		0x1f
6566be33864SEmmanuel Vadot			MX8MM_IOMUXC_ENET_RXC_ENET1_RGMII_RXC		0x91
6576be33864SEmmanuel Vadot			MX8MM_IOMUXC_ENET_RX_CTL_ENET1_RGMII_RX_CTL	0x91
6586be33864SEmmanuel Vadot			MX8MM_IOMUXC_ENET_TX_CTL_ENET1_RGMII_TX_CTL	0x1f
6596be33864SEmmanuel Vadot			MX8MM_IOMUXC_SAI2_RXC_GPIO4_IO22		0x19
6606be33864SEmmanuel Vadot		>;
6616be33864SEmmanuel Vadot	};
6626be33864SEmmanuel Vadot
6636be33864SEmmanuel Vadot	pinctrl_gpio_led: gpioledgrp {
6646be33864SEmmanuel Vadot		fsl,pins = <
6656be33864SEmmanuel Vadot			MX8MM_IOMUXC_NAND_READY_B_GPIO3_IO16	0x19
6666be33864SEmmanuel Vadot		>;
6676be33864SEmmanuel Vadot	};
6686be33864SEmmanuel Vadot
6695def4c47SEmmanuel Vadot	pinctrl_ir: irgrp {
6705def4c47SEmmanuel Vadot		fsl,pins = <
6715def4c47SEmmanuel Vadot			MX8MM_IOMUXC_GPIO1_IO13_GPIO1_IO13              0x4f
6725def4c47SEmmanuel Vadot		>;
6735def4c47SEmmanuel Vadot	};
6745def4c47SEmmanuel Vadot
6756be33864SEmmanuel Vadot	pinctrl_gpio_wlf: gpiowlfgrp {
6766be33864SEmmanuel Vadot		fsl,pins = <
6776be33864SEmmanuel Vadot			MX8MM_IOMUXC_I2C4_SDA_GPIO5_IO21	0xd6
6786be33864SEmmanuel Vadot		>;
6796be33864SEmmanuel Vadot	};
6806be33864SEmmanuel Vadot
6816be33864SEmmanuel Vadot	pinctrl_i2c1: i2c1grp {
6826be33864SEmmanuel Vadot		fsl,pins = <
6836be33864SEmmanuel Vadot			MX8MM_IOMUXC_I2C1_SCL_I2C1_SCL			0x400001c3
6846be33864SEmmanuel Vadot			MX8MM_IOMUXC_I2C1_SDA_I2C1_SDA			0x400001c3
6856be33864SEmmanuel Vadot		>;
6866be33864SEmmanuel Vadot	};
6876be33864SEmmanuel Vadot
6886be33864SEmmanuel Vadot	pinctrl_i2c2: i2c2grp {
6896be33864SEmmanuel Vadot		fsl,pins = <
6906be33864SEmmanuel Vadot			MX8MM_IOMUXC_I2C2_SCL_I2C2_SCL			0x400001c3
6916be33864SEmmanuel Vadot			MX8MM_IOMUXC_I2C2_SDA_I2C2_SDA			0x400001c3
6926be33864SEmmanuel Vadot		>;
6936be33864SEmmanuel Vadot	};
6946be33864SEmmanuel Vadot
6956be33864SEmmanuel Vadot	pinctrl_i2c3: i2c3grp {
6966be33864SEmmanuel Vadot		fsl,pins = <
6976be33864SEmmanuel Vadot			MX8MM_IOMUXC_I2C3_SCL_I2C3_SCL			0x400001c3
6986be33864SEmmanuel Vadot			MX8MM_IOMUXC_I2C3_SDA_I2C3_SDA			0x400001c3
6996be33864SEmmanuel Vadot		>;
7006be33864SEmmanuel Vadot	};
7016be33864SEmmanuel Vadot
702c9ccf3a3SEmmanuel Vadot	pinctrl_pcie0: pcie0grp {
703c9ccf3a3SEmmanuel Vadot		fsl,pins = <
704c9ccf3a3SEmmanuel Vadot			MX8MM_IOMUXC_I2C4_SCL_PCIE1_CLKREQ_B    0x61
705c9ccf3a3SEmmanuel Vadot			MX8MM_IOMUXC_SAI2_RXFS_GPIO4_IO21       0x41
706c9ccf3a3SEmmanuel Vadot		>;
707c9ccf3a3SEmmanuel Vadot	};
708c9ccf3a3SEmmanuel Vadot
709c9ccf3a3SEmmanuel Vadot	pinctrl_pcie0_reg: pcie0reggrp {
710c9ccf3a3SEmmanuel Vadot		fsl,pins = <
711c9ccf3a3SEmmanuel Vadot			MX8MM_IOMUXC_GPIO1_IO05_GPIO1_IO5       0x41
712c9ccf3a3SEmmanuel Vadot		>;
713c9ccf3a3SEmmanuel Vadot	};
714c9ccf3a3SEmmanuel Vadot
71501950c46SEmmanuel Vadot	pinctrl_pdm: pdmgrp {
71601950c46SEmmanuel Vadot		fsl,pins = <
71701950c46SEmmanuel Vadot			MX8MM_IOMUXC_SAI5_MCLK_SAI5_MCLK        0xd6
71801950c46SEmmanuel Vadot			MX8MM_IOMUXC_SAI5_RXC_PDM_CLK           0xd6
71901950c46SEmmanuel Vadot			MX8MM_IOMUXC_SAI5_RXFS_SAI5_RX_SYNC     0xd6
72001950c46SEmmanuel Vadot			MX8MM_IOMUXC_SAI5_RXD0_PDM_DATA0        0xd6
72101950c46SEmmanuel Vadot			MX8MM_IOMUXC_SAI5_RXD1_PDM_DATA1        0xd6
72201950c46SEmmanuel Vadot			MX8MM_IOMUXC_SAI5_RXD2_PDM_DATA2        0xd6
72301950c46SEmmanuel Vadot			MX8MM_IOMUXC_SAI5_RXD3_PDM_DATA3        0xd6
72401950c46SEmmanuel Vadot		>;
72501950c46SEmmanuel Vadot	};
72601950c46SEmmanuel Vadot
7276be33864SEmmanuel Vadot	pinctrl_pmic: pmicirqgrp {
7286be33864SEmmanuel Vadot		fsl,pins = <
7296be33864SEmmanuel Vadot			MX8MM_IOMUXC_GPIO1_IO03_GPIO1_IO3		0x141
7306be33864SEmmanuel Vadot		>;
7316be33864SEmmanuel Vadot	};
7326be33864SEmmanuel Vadot
7336be33864SEmmanuel Vadot	pinctrl_reg_usdhc2_vmmc: regusdhc2vmmcgrp {
7346be33864SEmmanuel Vadot		fsl,pins = <
7356be33864SEmmanuel Vadot			MX8MM_IOMUXC_SD2_RESET_B_GPIO2_IO19	0x41
7366be33864SEmmanuel Vadot		>;
7376be33864SEmmanuel Vadot	};
7386be33864SEmmanuel Vadot
739b97ee269SEmmanuel Vadot	pinctrl_sai2: sai2grp {
740b97ee269SEmmanuel Vadot		fsl,pins = <
741b97ee269SEmmanuel Vadot			MX8MM_IOMUXC_SAI2_TXC_SAI2_TX_BCLK      0xd6
742b97ee269SEmmanuel Vadot			MX8MM_IOMUXC_SAI2_TXFS_SAI2_TX_SYNC     0xd6
743b97ee269SEmmanuel Vadot			MX8MM_IOMUXC_SAI2_TXD0_SAI2_TX_DATA0    0xd6
744b97ee269SEmmanuel Vadot			MX8MM_IOMUXC_SAI2_RXD0_SAI2_RX_DATA0    0xd6
745b97ee269SEmmanuel Vadot		>;
746b97ee269SEmmanuel Vadot	};
747b97ee269SEmmanuel Vadot
7486be33864SEmmanuel Vadot	pinctrl_sai3: sai3grp {
7496be33864SEmmanuel Vadot		fsl,pins = <
7506be33864SEmmanuel Vadot			MX8MM_IOMUXC_SAI3_TXFS_SAI3_TX_SYNC     0xd6
7516be33864SEmmanuel Vadot			MX8MM_IOMUXC_SAI3_TXC_SAI3_TX_BCLK      0xd6
7526be33864SEmmanuel Vadot			MX8MM_IOMUXC_SAI3_MCLK_SAI3_MCLK        0xd6
7536be33864SEmmanuel Vadot			MX8MM_IOMUXC_SAI3_TXD_SAI3_TX_DATA0     0xd6
7546be33864SEmmanuel Vadot		>;
7556be33864SEmmanuel Vadot	};
7566be33864SEmmanuel Vadot
75701950c46SEmmanuel Vadot	pinctrl_spdif1: spdif1grp {
75801950c46SEmmanuel Vadot		fsl,pins = <
75901950c46SEmmanuel Vadot			MX8MM_IOMUXC_SPDIF_TX_SPDIF1_OUT	0xd6
76001950c46SEmmanuel Vadot			MX8MM_IOMUXC_SPDIF_RX_SPDIF1_IN		0xd6
76101950c46SEmmanuel Vadot		>;
76201950c46SEmmanuel Vadot	};
76301950c46SEmmanuel Vadot
7646be33864SEmmanuel Vadot	pinctrl_typec1: typec1grp {
7656be33864SEmmanuel Vadot		fsl,pins = <
7666be33864SEmmanuel Vadot			MX8MM_IOMUXC_SD1_STROBE_GPIO2_IO11	0x159
7676be33864SEmmanuel Vadot		>;
7686be33864SEmmanuel Vadot	};
7696be33864SEmmanuel Vadot
7706be33864SEmmanuel Vadot	pinctrl_uart2: uart2grp {
7716be33864SEmmanuel Vadot		fsl,pins = <
7726be33864SEmmanuel Vadot			MX8MM_IOMUXC_UART2_RXD_UART2_DCE_RX	0x140
7736be33864SEmmanuel Vadot			MX8MM_IOMUXC_UART2_TXD_UART2_DCE_TX	0x140
7746be33864SEmmanuel Vadot		>;
7756be33864SEmmanuel Vadot	};
7766be33864SEmmanuel Vadot
7776be33864SEmmanuel Vadot	pinctrl_usdhc2_gpio: usdhc2grpgpiogrp {
7786be33864SEmmanuel Vadot		fsl,pins = <
7796be33864SEmmanuel Vadot			MX8MM_IOMUXC_GPIO1_IO15_GPIO1_IO15	0x1c4
7806be33864SEmmanuel Vadot		>;
7816be33864SEmmanuel Vadot	};
7826be33864SEmmanuel Vadot
7836be33864SEmmanuel Vadot	pinctrl_usdhc2: usdhc2grp {
7846be33864SEmmanuel Vadot		fsl,pins = <
7856be33864SEmmanuel Vadot			MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK		0x190
7866be33864SEmmanuel Vadot			MX8MM_IOMUXC_SD2_CMD_USDHC2_CMD		0x1d0
7876be33864SEmmanuel Vadot			MX8MM_IOMUXC_SD2_DATA0_USDHC2_DATA0	0x1d0
7886be33864SEmmanuel Vadot			MX8MM_IOMUXC_SD2_DATA1_USDHC2_DATA1	0x1d0
7896be33864SEmmanuel Vadot			MX8MM_IOMUXC_SD2_DATA2_USDHC2_DATA2	0x1d0
7906be33864SEmmanuel Vadot			MX8MM_IOMUXC_SD2_DATA3_USDHC2_DATA3	0x1d0
7916be33864SEmmanuel Vadot			MX8MM_IOMUXC_GPIO1_IO04_USDHC2_VSELECT	0x1d0
7926be33864SEmmanuel Vadot		>;
7936be33864SEmmanuel Vadot	};
7946be33864SEmmanuel Vadot
7956be33864SEmmanuel Vadot	pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp {
7966be33864SEmmanuel Vadot		fsl,pins = <
7976be33864SEmmanuel Vadot			MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK		0x194
7986be33864SEmmanuel Vadot			MX8MM_IOMUXC_SD2_CMD_USDHC2_CMD		0x1d4
7996be33864SEmmanuel Vadot			MX8MM_IOMUXC_SD2_DATA0_USDHC2_DATA0	0x1d4
8006be33864SEmmanuel Vadot			MX8MM_IOMUXC_SD2_DATA1_USDHC2_DATA1	0x1d4
8016be33864SEmmanuel Vadot			MX8MM_IOMUXC_SD2_DATA2_USDHC2_DATA2	0x1d4
8026be33864SEmmanuel Vadot			MX8MM_IOMUXC_SD2_DATA3_USDHC2_DATA3	0x1d4
8036be33864SEmmanuel Vadot			MX8MM_IOMUXC_GPIO1_IO04_USDHC2_VSELECT	0x1d0
8046be33864SEmmanuel Vadot		>;
8056be33864SEmmanuel Vadot	};
8066be33864SEmmanuel Vadot
8076be33864SEmmanuel Vadot	pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp {
8086be33864SEmmanuel Vadot		fsl,pins = <
8096be33864SEmmanuel Vadot			MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK		0x196
8106be33864SEmmanuel Vadot			MX8MM_IOMUXC_SD2_CMD_USDHC2_CMD		0x1d6
8116be33864SEmmanuel Vadot			MX8MM_IOMUXC_SD2_DATA0_USDHC2_DATA0	0x1d6
8126be33864SEmmanuel Vadot			MX8MM_IOMUXC_SD2_DATA1_USDHC2_DATA1	0x1d6
8136be33864SEmmanuel Vadot			MX8MM_IOMUXC_SD2_DATA2_USDHC2_DATA2	0x1d6
8146be33864SEmmanuel Vadot			MX8MM_IOMUXC_SD2_DATA3_USDHC2_DATA3	0x1d6
8156be33864SEmmanuel Vadot			MX8MM_IOMUXC_GPIO1_IO04_USDHC2_VSELECT	0x1d0
8166be33864SEmmanuel Vadot		>;
8176be33864SEmmanuel Vadot	};
8186be33864SEmmanuel Vadot
8196be33864SEmmanuel Vadot	pinctrl_wdog: wdoggrp {
8206be33864SEmmanuel Vadot		fsl,pins = <
8215def4c47SEmmanuel Vadot			MX8MM_IOMUXC_GPIO1_IO02_WDOG1_WDOG_B	0x166
8226be33864SEmmanuel Vadot		>;
8236be33864SEmmanuel Vadot	};
824d5b0e70fSEmmanuel Vadot
825d5b0e70fSEmmanuel Vadot	pinctrl_backlight: backlightgrp {
826d5b0e70fSEmmanuel Vadot		fsl,pins = <
827d5b0e70fSEmmanuel Vadot			MX8MM_IOMUXC_GPIO1_IO01_PWM1_OUT	0x06
828d5b0e70fSEmmanuel Vadot		>;
829d5b0e70fSEmmanuel Vadot	};
830aa1a8ff2SEmmanuel Vadot
831aa1a8ff2SEmmanuel Vadot	pinctrl_camera: cameragrp {
832aa1a8ff2SEmmanuel Vadot		fsl,pins = <
833aa1a8ff2SEmmanuel Vadot			MX8MM_IOMUXC_GPIO1_IO06_GPIO1_IO6		0x19
834aa1a8ff2SEmmanuel Vadot			MX8MM_IOMUXC_GPIO1_IO07_GPIO1_IO7		0x19
835aa1a8ff2SEmmanuel Vadot			MX8MM_IOMUXC_GPIO1_IO14_CCMSRCGPCMIX_CLKO1	0x59
836aa1a8ff2SEmmanuel Vadot		>;
837aa1a8ff2SEmmanuel Vadot	};
8386be33864SEmmanuel Vadot};
839