16a57f224SMarcel Ziswiler// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
26a57f224SMarcel Ziswiler/*
36a57f224SMarcel Ziswiler * Copyright 2022 Toradex
46a57f224SMarcel Ziswiler */
56a57f224SMarcel Ziswiler
694bbd9d3SMarcel Ziswiler#include <dt-bindings/phy/phy-imx8-pcie.h>
794bbd9d3SMarcel Ziswiler#include <dt-bindings/pwm/pwm.h>
86a57f224SMarcel Ziswiler#include "imx8mm.dtsi"
96a57f224SMarcel Ziswiler
106a57f224SMarcel Ziswiler/ {
116a57f224SMarcel Ziswiler	chosen {
126a57f224SMarcel Ziswiler		stdout-path = &uart1;
136a57f224SMarcel Ziswiler	};
146a57f224SMarcel Ziswiler
156a57f224SMarcel Ziswiler	aliases {
166a57f224SMarcel Ziswiler		rtc0 = &rtc_i2c;
176a57f224SMarcel Ziswiler		rtc1 = &snvs_rtc;
186a57f224SMarcel Ziswiler	};
196a57f224SMarcel Ziswiler
206a57f224SMarcel Ziswiler	backlight: backlight {
216a57f224SMarcel Ziswiler		compatible = "pwm-backlight";
226a57f224SMarcel Ziswiler		brightness-levels = <0 45 63 88 119 158 203 255>;
236a57f224SMarcel Ziswiler		default-brightness-level = <4>;
246a57f224SMarcel Ziswiler		/* Verdin I2S_2_D_OUT (DSI_1_BKL_EN/DSI_1_BKL_EN_LVDS, SODIMM 46) */
256a57f224SMarcel Ziswiler		enable-gpios = <&gpio3 24 GPIO_ACTIVE_HIGH>;
266a57f224SMarcel Ziswiler		pinctrl-names = "default";
276a57f224SMarcel Ziswiler		pinctrl-0 = <&pinctrl_i2s_2_d_out_dsi_1_bkl_en>;
286a57f224SMarcel Ziswiler		power-supply = <&reg_3p3v>;
296a57f224SMarcel Ziswiler		/* Verdin PWM_3_DSI/PWM_3_DSI_LVDS (SODIMM 19) */
306a57f224SMarcel Ziswiler		pwms = <&pwm1 0 6666667 PWM_POLARITY_INVERTED>;
316a57f224SMarcel Ziswiler		status = "disabled";
326a57f224SMarcel Ziswiler	};
336a57f224SMarcel Ziswiler
346a57f224SMarcel Ziswiler	/* Fixed clock dedicated to SPI CAN controller */
35be1e3dfeSAndrejs Cainikovs	clk40m: oscillator {
366a57f224SMarcel Ziswiler		compatible = "fixed-clock";
376a57f224SMarcel Ziswiler		#clock-cells = <0>;
38be1e3dfeSAndrejs Cainikovs		clock-frequency = <40000000>;
396a57f224SMarcel Ziswiler	};
406a57f224SMarcel Ziswiler
416a57f224SMarcel Ziswiler	gpio-keys {
426a57f224SMarcel Ziswiler		compatible = "gpio-keys";
436a57f224SMarcel Ziswiler		pinctrl-names = "default";
446a57f224SMarcel Ziswiler		pinctrl-0 = <&pinctrl_gpio_keys>;
456a57f224SMarcel Ziswiler
46b803d15eSKrzysztof Kozlowski		key-wakeup {
476a57f224SMarcel Ziswiler			debounce-interval = <10>;
486a57f224SMarcel Ziswiler			/* Verdin CTRL_WAKE1_MICO# (SODIMM 252) */
496a57f224SMarcel Ziswiler			gpios = <&gpio4 28 GPIO_ACTIVE_LOW>;
506a57f224SMarcel Ziswiler			label = "Wake-Up";
516a57f224SMarcel Ziswiler			linux,code = <KEY_WAKEUP>;
526a57f224SMarcel Ziswiler			wakeup-source;
536a57f224SMarcel Ziswiler		};
546a57f224SMarcel Ziswiler	};
556a57f224SMarcel Ziswiler
5663a71a90SPhilippe Schenker	hdmi_connector: hdmi-connector {
5763a71a90SPhilippe Schenker		compatible = "hdmi-connector";
5863a71a90SPhilippe Schenker		ddc-i2c-bus = <&i2c2>;
591eea795bSStefan Eichenberger		/* Verdin PWM_3_DSI (SODIMM 19) */
601eea795bSStefan Eichenberger		hpd-gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>;
6163a71a90SPhilippe Schenker		label = "hdmi";
621eea795bSStefan Eichenberger		pinctrl-names = "default";
631eea795bSStefan Eichenberger		pinctrl-0 = <&pinctrl_pwm_3_dsi_hpd_gpio>;
6463a71a90SPhilippe Schenker		type = "a";
6563a71a90SPhilippe Schenker		status = "disabled";
6663a71a90SPhilippe Schenker	};
6763a71a90SPhilippe Schenker
68ac2ac9ffSMarcel Ziswiler	panel_lvds: panel-lvds {
69ac2ac9ffSMarcel Ziswiler		compatible = "panel-lvds";
70ac2ac9ffSMarcel Ziswiler		backlight = <&backlight>;
71ac2ac9ffSMarcel Ziswiler		data-mapping = "vesa-24";
72ac2ac9ffSMarcel Ziswiler		status = "disabled";
73ac2ac9ffSMarcel Ziswiler	};
74ac2ac9ffSMarcel Ziswiler
756a57f224SMarcel Ziswiler	/* Carrier Board Supplies */
766a57f224SMarcel Ziswiler	reg_1p8v: regulator-1p8v {
776a57f224SMarcel Ziswiler		compatible = "regulator-fixed";
786a57f224SMarcel Ziswiler		regulator-max-microvolt = <1800000>;
796a57f224SMarcel Ziswiler		regulator-min-microvolt = <1800000>;
806a57f224SMarcel Ziswiler		regulator-name = "+V1.8_SW";
816a57f224SMarcel Ziswiler	};
826a57f224SMarcel Ziswiler
836a57f224SMarcel Ziswiler	reg_3p3v: regulator-3p3v {
846a57f224SMarcel Ziswiler		compatible = "regulator-fixed";
856a57f224SMarcel Ziswiler		regulator-max-microvolt = <3300000>;
866a57f224SMarcel Ziswiler		regulator-min-microvolt = <3300000>;
876a57f224SMarcel Ziswiler		regulator-name = "+V3.3_SW";
886a57f224SMarcel Ziswiler	};
896a57f224SMarcel Ziswiler
906a57f224SMarcel Ziswiler	reg_5p0v: regulator-5p0v {
916a57f224SMarcel Ziswiler		compatible = "regulator-fixed";
926a57f224SMarcel Ziswiler		regulator-max-microvolt = <5000000>;
936a57f224SMarcel Ziswiler		regulator-min-microvolt = <5000000>;
946a57f224SMarcel Ziswiler		regulator-name = "+V5_SW";
956a57f224SMarcel Ziswiler	};
966a57f224SMarcel Ziswiler
976a57f224SMarcel Ziswiler	/* Non PMIC On-module Supplies */
986a57f224SMarcel Ziswiler	reg_ethphy: regulator-ethphy {
996a57f224SMarcel Ziswiler		compatible = "regulator-fixed";
1006a57f224SMarcel Ziswiler		enable-active-high;
1016a57f224SMarcel Ziswiler		gpio = <&gpio2 20 GPIO_ACTIVE_HIGH>; /* PMIC_EN_ETH */
102130c1f43SPeng Fan		off-on-delay-us = <500000>;
1036a57f224SMarcel Ziswiler		pinctrl-names = "default";
1046a57f224SMarcel Ziswiler		pinctrl-0 = <&pinctrl_reg_eth>;
10539c95d0cSPhilippe Schenker		regulator-always-on;
1066a57f224SMarcel Ziswiler		regulator-boot-on;
1076a57f224SMarcel Ziswiler		regulator-max-microvolt = <3300000>;
1086a57f224SMarcel Ziswiler		regulator-min-microvolt = <3300000>;
10997a07703SMarcel Ziswiler		regulator-name = "On-module +V3.3_ETH";
1106a57f224SMarcel Ziswiler		startup-delay-us = <200000>;
1116a57f224SMarcel Ziswiler	};
1126a57f224SMarcel Ziswiler
1136a57f224SMarcel Ziswiler	reg_usb_otg1_vbus: regulator-usb-otg1 {
1146a57f224SMarcel Ziswiler		compatible = "regulator-fixed";
1156a57f224SMarcel Ziswiler		enable-active-high;
1166a57f224SMarcel Ziswiler		/* Verdin USB_1_EN (SODIMM 155) */
1176a57f224SMarcel Ziswiler		gpio = <&gpio1 12 GPIO_ACTIVE_HIGH>;
1186a57f224SMarcel Ziswiler		pinctrl-names = "default";
1196a57f224SMarcel Ziswiler		pinctrl-0 = <&pinctrl_reg_usb1_en>;
1206a57f224SMarcel Ziswiler		regulator-max-microvolt = <5000000>;
1216a57f224SMarcel Ziswiler		regulator-min-microvolt = <5000000>;
12297a07703SMarcel Ziswiler		regulator-name = "USB_1_EN";
1236a57f224SMarcel Ziswiler	};
1246a57f224SMarcel Ziswiler
1256a57f224SMarcel Ziswiler	reg_usb_otg2_vbus: regulator-usb-otg2 {
1266a57f224SMarcel Ziswiler		compatible = "regulator-fixed";
1276a57f224SMarcel Ziswiler		enable-active-high;
1286a57f224SMarcel Ziswiler		/* Verdin USB_2_EN (SODIMM 185) */
1296a57f224SMarcel Ziswiler		gpio = <&gpio1 14 GPIO_ACTIVE_HIGH>;
1306a57f224SMarcel Ziswiler		pinctrl-names = "default";
1316a57f224SMarcel Ziswiler		pinctrl-0 = <&pinctrl_reg_usb2_en>;
1326a57f224SMarcel Ziswiler		regulator-max-microvolt = <5000000>;
1336a57f224SMarcel Ziswiler		regulator-min-microvolt = <5000000>;
13497a07703SMarcel Ziswiler		regulator-name = "USB_2_EN";
1356a57f224SMarcel Ziswiler	};
1366a57f224SMarcel Ziswiler
1376a57f224SMarcel Ziswiler	reg_usdhc2_vmmc: regulator-usdhc2 {
1386a57f224SMarcel Ziswiler		compatible = "regulator-fixed";
1396a57f224SMarcel Ziswiler		enable-active-high;
1406a57f224SMarcel Ziswiler		/* Verdin SD_1_PWR_EN (SODIMM 76) */
1416a57f224SMarcel Ziswiler		gpio = <&gpio3 5 GPIO_ACTIVE_HIGH>;
142130c1f43SPeng Fan		off-on-delay-us = <100000>;
1436a57f224SMarcel Ziswiler		pinctrl-names = "default";
1446a57f224SMarcel Ziswiler		pinctrl-0 = <&pinctrl_usdhc2_pwr_en>;
1456a57f224SMarcel Ziswiler		regulator-max-microvolt = <3300000>;
1466a57f224SMarcel Ziswiler		regulator-min-microvolt = <3300000>;
1476a57f224SMarcel Ziswiler		regulator-name = "+V3.3_SD";
1486a57f224SMarcel Ziswiler		startup-delay-us = <2000>;
1496a57f224SMarcel Ziswiler	};
1506a57f224SMarcel Ziswiler
1516a57f224SMarcel Ziswiler	reserved-memory {
1526a57f224SMarcel Ziswiler		#address-cells = <2>;
1536a57f224SMarcel Ziswiler		#size-cells = <2>;
1546a57f224SMarcel Ziswiler		ranges;
1556a57f224SMarcel Ziswiler
1566a57f224SMarcel Ziswiler		/* Use the kernel configuration settings instead */
1576a57f224SMarcel Ziswiler		/delete-node/ linux,cma;
1586a57f224SMarcel Ziswiler	};
1596a57f224SMarcel Ziswiler};
1606a57f224SMarcel Ziswiler
1616a57f224SMarcel Ziswiler&A53_0 {
1626a57f224SMarcel Ziswiler	cpu-supply = <&reg_vdd_arm>;
1636a57f224SMarcel Ziswiler};
1646a57f224SMarcel Ziswiler
1656a57f224SMarcel Ziswiler&A53_1 {
1666a57f224SMarcel Ziswiler	cpu-supply = <&reg_vdd_arm>;
1676a57f224SMarcel Ziswiler};
1686a57f224SMarcel Ziswiler
1696a57f224SMarcel Ziswiler&A53_2 {
1706a57f224SMarcel Ziswiler	cpu-supply = <&reg_vdd_arm>;
1716a57f224SMarcel Ziswiler};
1726a57f224SMarcel Ziswiler
1736a57f224SMarcel Ziswiler&A53_3 {
1746a57f224SMarcel Ziswiler	cpu-supply = <&reg_vdd_arm>;
1756a57f224SMarcel Ziswiler};
1766a57f224SMarcel Ziswiler
177a242ef5fSPhilippe Schenker&cpu_alert0 {
178a242ef5fSPhilippe Schenker	temperature = <95000>;
179a242ef5fSPhilippe Schenker};
180a242ef5fSPhilippe Schenker
181a242ef5fSPhilippe Schenker&cpu_crit0 {
182a242ef5fSPhilippe Schenker	temperature = <105000>;
183a242ef5fSPhilippe Schenker};
184a242ef5fSPhilippe Schenker
1856a57f224SMarcel Ziswiler&ddrc {
1866a57f224SMarcel Ziswiler	operating-points-v2 = <&ddrc_opp_table>;
1876a57f224SMarcel Ziswiler
1886a57f224SMarcel Ziswiler	ddrc_opp_table: opp-table {
1896a57f224SMarcel Ziswiler		compatible = "operating-points-v2";
1906a57f224SMarcel Ziswiler
1910c068a36SMarek Vasut		opp-25000000 {
1926a57f224SMarcel Ziswiler			opp-hz = /bits/ 64 <25000000>;
1936a57f224SMarcel Ziswiler		};
1946a57f224SMarcel Ziswiler
1950c068a36SMarek Vasut		opp-100000000 {
1966a57f224SMarcel Ziswiler			opp-hz = /bits/ 64 <100000000>;
1976a57f224SMarcel Ziswiler		};
1986a57f224SMarcel Ziswiler
1990c068a36SMarek Vasut		opp-750000000 {
2006a57f224SMarcel Ziswiler			opp-hz = /bits/ 64 <750000000>;
2016a57f224SMarcel Ziswiler		};
2026a57f224SMarcel Ziswiler	};
2036a57f224SMarcel Ziswiler};
2046a57f224SMarcel Ziswiler
2056a57f224SMarcel Ziswiler/* Verdin SPI_1 */
2066a57f224SMarcel Ziswiler&ecspi2 {
2076a57f224SMarcel Ziswiler	#address-cells = <1>;
2086a57f224SMarcel Ziswiler	#size-cells = <0>;
2096a57f224SMarcel Ziswiler	cs-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>;
2106a57f224SMarcel Ziswiler	pinctrl-names = "default";
2116a57f224SMarcel Ziswiler	pinctrl-0 = <&pinctrl_ecspi2>;
2126a57f224SMarcel Ziswiler};
2136a57f224SMarcel Ziswiler
2146a57f224SMarcel Ziswiler/* Verdin CAN_1 (On-module) */
2156a57f224SMarcel Ziswiler&ecspi3 {
2166a57f224SMarcel Ziswiler	#address-cells = <1>;
2176a57f224SMarcel Ziswiler	#size-cells = <0>;
2186a57f224SMarcel Ziswiler	cs-gpios = <&gpio5 25 GPIO_ACTIVE_LOW>;
2196a57f224SMarcel Ziswiler	pinctrl-names = "default";
2206a57f224SMarcel Ziswiler	pinctrl-0 = <&pinctrl_ecspi3>;
2216a57f224SMarcel Ziswiler	status = "okay";
2226a57f224SMarcel Ziswiler
2236a57f224SMarcel Ziswiler	can1: can@0 {
2246a57f224SMarcel Ziswiler		compatible = "microchip,mcp251xfd";
225be1e3dfeSAndrejs Cainikovs		clocks = <&clk40m>;
226e9f130e0SAndrejs Cainikovs		interrupts-extended = <&gpio1 6 IRQ_TYPE_LEVEL_LOW>;
2276a57f224SMarcel Ziswiler		pinctrl-names = "default";
2286a57f224SMarcel Ziswiler		pinctrl-0 = <&pinctrl_can1_int>;
2296a57f224SMarcel Ziswiler		reg = <0>;
2306a57f224SMarcel Ziswiler		spi-max-frequency = <8500000>;
2316a57f224SMarcel Ziswiler	};
2326a57f224SMarcel Ziswiler};
2336a57f224SMarcel Ziswiler
2346a57f224SMarcel Ziswiler/* Verdin ETH_1 (On-module PHY) */
2356a57f224SMarcel Ziswiler&fec1 {
2366a57f224SMarcel Ziswiler	fsl,magic-packet;
2376a57f224SMarcel Ziswiler	phy-handle = <&ethphy0>;
2386a57f224SMarcel Ziswiler	phy-mode = "rgmii-id";
2396a57f224SMarcel Ziswiler	phy-supply = <&reg_ethphy>;
2406a57f224SMarcel Ziswiler	pinctrl-names = "default", "sleep";
2416a57f224SMarcel Ziswiler	pinctrl-0 = <&pinctrl_fec1>;
2426a57f224SMarcel Ziswiler	pinctrl-1 = <&pinctrl_fec1_sleep>;
2436a57f224SMarcel Ziswiler
2446a57f224SMarcel Ziswiler	mdio {
2456a57f224SMarcel Ziswiler		#address-cells = <1>;
2466a57f224SMarcel Ziswiler		#size-cells = <0>;
2476a57f224SMarcel Ziswiler
2486a57f224SMarcel Ziswiler		ethphy0: ethernet-phy@7 {
2496a57f224SMarcel Ziswiler			compatible = "ethernet-phy-ieee802.3-c22";
2506a57f224SMarcel Ziswiler			interrupt-parent = <&gpio1>;
2516a57f224SMarcel Ziswiler			interrupts = <10 IRQ_TYPE_LEVEL_LOW>;
2526a57f224SMarcel Ziswiler			micrel,led-mode = <0>;
2536a57f224SMarcel Ziswiler			reg = <7>;
2546a57f224SMarcel Ziswiler		};
2556a57f224SMarcel Ziswiler	};
2566a57f224SMarcel Ziswiler};
2576a57f224SMarcel Ziswiler
2586a57f224SMarcel Ziswiler/* Verdin QSPI_1 */
2596a57f224SMarcel Ziswiler&flexspi {
2606a57f224SMarcel Ziswiler	pinctrl-names = "default";
2616a57f224SMarcel Ziswiler	pinctrl-0 = <&pinctrl_flexspi0>;
2626a57f224SMarcel Ziswiler};
2636a57f224SMarcel Ziswiler
2646a57f224SMarcel Ziswiler&gpio1 {
2656a57f224SMarcel Ziswiler	gpio-line-names = "SODIMM_216",
2666a57f224SMarcel Ziswiler			  "SODIMM_19",
2676a57f224SMarcel Ziswiler			  "",
2686a57f224SMarcel Ziswiler			  "",
2696a57f224SMarcel Ziswiler			  "",
2706a57f224SMarcel Ziswiler			  "",
2716a57f224SMarcel Ziswiler			  "",
2726a57f224SMarcel Ziswiler			  "",
2736a57f224SMarcel Ziswiler			  "SODIMM_220",
2746a57f224SMarcel Ziswiler			  "SODIMM_222",
2756a57f224SMarcel Ziswiler			  "",
2766a57f224SMarcel Ziswiler			  "SODIMM_218",
2776a57f224SMarcel Ziswiler			  "SODIMM_155",
2786a57f224SMarcel Ziswiler			  "SODIMM_157",
2796a57f224SMarcel Ziswiler			  "SODIMM_185",
2806a57f224SMarcel Ziswiler			  "SODIMM_187";
2816a57f224SMarcel Ziswiler};
2826a57f224SMarcel Ziswiler
2836a57f224SMarcel Ziswiler&gpio2 {
2846a57f224SMarcel Ziswiler	gpio-line-names = "",
2856a57f224SMarcel Ziswiler			  "",
2866a57f224SMarcel Ziswiler			  "",
2876a57f224SMarcel Ziswiler			  "",
2886a57f224SMarcel Ziswiler			  "",
2896a57f224SMarcel Ziswiler			  "",
2906a57f224SMarcel Ziswiler			  "",
2916a57f224SMarcel Ziswiler			  "",
2926a57f224SMarcel Ziswiler			  "",
2936a57f224SMarcel Ziswiler			  "",
2946a57f224SMarcel Ziswiler			  "",
2956a57f224SMarcel Ziswiler			  "",
2966a57f224SMarcel Ziswiler			  "SODIMM_84",
2976a57f224SMarcel Ziswiler			  "SODIMM_78",
2986a57f224SMarcel Ziswiler			  "SODIMM_74",
2996a57f224SMarcel Ziswiler			  "SODIMM_80",
3006a57f224SMarcel Ziswiler			  "SODIMM_82",
3016a57f224SMarcel Ziswiler			  "SODIMM_70",
3026a57f224SMarcel Ziswiler			  "SODIMM_72";
3036a57f224SMarcel Ziswiler};
3046a57f224SMarcel Ziswiler
3056a57f224SMarcel Ziswiler&gpio5 {
3066a57f224SMarcel Ziswiler	gpio-line-names = "SODIMM_131",
3076a57f224SMarcel Ziswiler			  "",
3086a57f224SMarcel Ziswiler			  "SODIMM_91",
3096a57f224SMarcel Ziswiler			  "SODIMM_16",
3106a57f224SMarcel Ziswiler			  "SODIMM_15",
3116a57f224SMarcel Ziswiler			  "SODIMM_208",
3126a57f224SMarcel Ziswiler			  "SODIMM_137",
3136a57f224SMarcel Ziswiler			  "SODIMM_139",
3146a57f224SMarcel Ziswiler			  "SODIMM_141",
3156a57f224SMarcel Ziswiler			  "SODIMM_143",
3166a57f224SMarcel Ziswiler			  "SODIMM_196",
3176a57f224SMarcel Ziswiler			  "SODIMM_200",
3186a57f224SMarcel Ziswiler			  "SODIMM_198",
3196a57f224SMarcel Ziswiler			  "SODIMM_202",
3206a57f224SMarcel Ziswiler			  "",
3216a57f224SMarcel Ziswiler			  "",
3226a57f224SMarcel Ziswiler			  "SODIMM_55",
3236a57f224SMarcel Ziswiler			  "SODIMM_53",
3246a57f224SMarcel Ziswiler			  "SODIMM_95",
3256a57f224SMarcel Ziswiler			  "SODIMM_93",
3266a57f224SMarcel Ziswiler			  "SODIMM_14",
3276a57f224SMarcel Ziswiler			  "SODIMM_12",
3286a57f224SMarcel Ziswiler			  "",
3296a57f224SMarcel Ziswiler			  "",
3306a57f224SMarcel Ziswiler			  "",
3316a57f224SMarcel Ziswiler			  "",
3326a57f224SMarcel Ziswiler			  "SODIMM_210",
3336a57f224SMarcel Ziswiler			  "SODIMM_212",
3346a57f224SMarcel Ziswiler			  "SODIMM_151",
3356a57f224SMarcel Ziswiler			  "SODIMM_153";
3366a57f224SMarcel Ziswiler
3379847725eSMarcel Ziswiler	ctrl-sleep-moci-hog {
3386a57f224SMarcel Ziswiler		gpio-hog;
3396a57f224SMarcel Ziswiler		/* Verdin CTRL_SLEEP_MOCI# (SODIMM 256) */
3406a57f224SMarcel Ziswiler		gpios = <1 GPIO_ACTIVE_HIGH>;
3416a57f224SMarcel Ziswiler		line-name = "CTRL_SLEEP_MOCI#";
3426a57f224SMarcel Ziswiler		output-high;
3436a57f224SMarcel Ziswiler		pinctrl-names = "default";
3446a57f224SMarcel Ziswiler		pinctrl-0 = <&pinctrl_ctrl_sleep_moci>;
3456a57f224SMarcel Ziswiler	};
3466a57f224SMarcel Ziswiler};
3476a57f224SMarcel Ziswiler
3486a57f224SMarcel Ziswiler/* On-module I2C */
3496a57f224SMarcel Ziswiler&i2c1 {
3506a57f224SMarcel Ziswiler	clock-frequency = <400000>;
3516a57f224SMarcel Ziswiler	pinctrl-names = "default", "gpio";
3526a57f224SMarcel Ziswiler	pinctrl-0 = <&pinctrl_i2c1>;
3536a57f224SMarcel Ziswiler	pinctrl-1 = <&pinctrl_i2c1_gpio>;
3546a57f224SMarcel Ziswiler	scl-gpios = <&gpio5 14 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
3556a57f224SMarcel Ziswiler	sda-gpios = <&gpio5 15 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
3566a57f224SMarcel Ziswiler	status = "okay";
3576a57f224SMarcel Ziswiler
3586a57f224SMarcel Ziswiler	pca9450: pmic@25 {
3596a57f224SMarcel Ziswiler		compatible = "nxp,pca9450a";
3606a57f224SMarcel Ziswiler		interrupt-parent = <&gpio1>;
3616a57f224SMarcel Ziswiler		/* PMIC PCA9450 PMIC_nINT GPIO1_IO3 */
3626a57f224SMarcel Ziswiler		interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
3636a57f224SMarcel Ziswiler		pinctrl-names = "default";
3646a57f224SMarcel Ziswiler		pinctrl-0 = <&pinctrl_pmic>;
3656a57f224SMarcel Ziswiler		reg = <0x25>;
3666a57f224SMarcel Ziswiler
36779c1c850SMarcel Ziswiler		/*
36879c1c850SMarcel Ziswiler		 * The bootloader is expected to switch on the I2C level shifter for the TLA2024 ADC
36979c1c850SMarcel Ziswiler		 * behind this PMIC.
37079c1c850SMarcel Ziswiler		 */
37179c1c850SMarcel Ziswiler
3726a57f224SMarcel Ziswiler		regulators {
3736a57f224SMarcel Ziswiler			reg_vdd_soc: BUCK1 {
3746a57f224SMarcel Ziswiler				nxp,dvs-run-voltage = <850000>;
3756a57f224SMarcel Ziswiler				nxp,dvs-standby-voltage = <800000>;
3766a57f224SMarcel Ziswiler				regulator-always-on;
3776a57f224SMarcel Ziswiler				regulator-boot-on;
3786a57f224SMarcel Ziswiler				regulator-max-microvolt = <850000>;
3796a57f224SMarcel Ziswiler				regulator-min-microvolt = <800000>;
38097a07703SMarcel Ziswiler				regulator-name = "On-module +VDD_SOC (BUCK1)";
3816a57f224SMarcel Ziswiler				regulator-ramp-delay = <3125>;
3826a57f224SMarcel Ziswiler			};
3836a57f224SMarcel Ziswiler
3846a57f224SMarcel Ziswiler			reg_vdd_arm: BUCK2 {
3856a57f224SMarcel Ziswiler				nxp,dvs-run-voltage = <950000>;
3866a57f224SMarcel Ziswiler				nxp,dvs-standby-voltage = <850000>;
3876a57f224SMarcel Ziswiler				regulator-always-on;
3886a57f224SMarcel Ziswiler				regulator-boot-on;
389b5a76cb3SPhilippe Schenker				regulator-max-microvolt = <1050000>;
390b5a76cb3SPhilippe Schenker				regulator-min-microvolt = <805000>;
39197a07703SMarcel Ziswiler				regulator-name = "On-module +VDD_ARM (BUCK2)";
3926a57f224SMarcel Ziswiler				regulator-ramp-delay = <3125>;
3936a57f224SMarcel Ziswiler			};
3946a57f224SMarcel Ziswiler
3956a57f224SMarcel Ziswiler			reg_vdd_dram: BUCK3 {
3966a57f224SMarcel Ziswiler				regulator-always-on;
3976a57f224SMarcel Ziswiler				regulator-boot-on;
398b5a76cb3SPhilippe Schenker				regulator-max-microvolt = <1000000>;
399b5a76cb3SPhilippe Schenker				regulator-min-microvolt = <805000>;
40097a07703SMarcel Ziswiler				regulator-name = "On-module +VDD_GPU_VPU_DDR (BUCK3)";
4016a57f224SMarcel Ziswiler			};
4026a57f224SMarcel Ziswiler
4036a57f224SMarcel Ziswiler			reg_vdd_3v3: BUCK4 {
4046a57f224SMarcel Ziswiler				regulator-always-on;
4056a57f224SMarcel Ziswiler				regulator-boot-on;
4066a57f224SMarcel Ziswiler				regulator-max-microvolt = <3300000>;
4076a57f224SMarcel Ziswiler				regulator-min-microvolt = <3300000>;
40897a07703SMarcel Ziswiler				regulator-name = "On-module +V3.3 (BUCK4)";
4096a57f224SMarcel Ziswiler			};
4106a57f224SMarcel Ziswiler
4116a57f224SMarcel Ziswiler			reg_vdd_1v8: BUCK5 {
4126a57f224SMarcel Ziswiler				regulator-always-on;
4136a57f224SMarcel Ziswiler				regulator-boot-on;
4146a57f224SMarcel Ziswiler				regulator-max-microvolt = <1800000>;
4156a57f224SMarcel Ziswiler				regulator-min-microvolt = <1800000>;
41697a07703SMarcel Ziswiler				regulator-name = "PWR_1V8_MOCI (BUCK5)";
4176a57f224SMarcel Ziswiler			};
4186a57f224SMarcel Ziswiler
4196a57f224SMarcel Ziswiler			reg_nvcc_dram: BUCK6 {
4206a57f224SMarcel Ziswiler				regulator-always-on;
4216a57f224SMarcel Ziswiler				regulator-boot-on;
4226a57f224SMarcel Ziswiler				regulator-max-microvolt = <1100000>;
4236a57f224SMarcel Ziswiler				regulator-min-microvolt = <1100000>;
42497a07703SMarcel Ziswiler				regulator-name = "On-module +VDD_DDR (BUCK6)";
4256a57f224SMarcel Ziswiler			};
4266a57f224SMarcel Ziswiler
4276a57f224SMarcel Ziswiler			reg_nvcc_snvs: LDO1 {
4286a57f224SMarcel Ziswiler				regulator-always-on;
4296a57f224SMarcel Ziswiler				regulator-boot-on;
4306a57f224SMarcel Ziswiler				regulator-max-microvolt = <1800000>;
4316a57f224SMarcel Ziswiler				regulator-min-microvolt = <1800000>;
43297a07703SMarcel Ziswiler				regulator-name = "On-module +V1.8_SNVS (LDO1)";
4336a57f224SMarcel Ziswiler			};
4346a57f224SMarcel Ziswiler
4356a57f224SMarcel Ziswiler			reg_vdd_snvs: LDO2 {
4366a57f224SMarcel Ziswiler				regulator-always-on;
4376a57f224SMarcel Ziswiler				regulator-boot-on;
438b5a76cb3SPhilippe Schenker				regulator-max-microvolt = <800000>;
4396a57f224SMarcel Ziswiler				regulator-min-microvolt = <800000>;
44097a07703SMarcel Ziswiler				regulator-name = "On-module +V0.8_SNVS (LDO2)";
4416a57f224SMarcel Ziswiler			};
4426a57f224SMarcel Ziswiler
4436a57f224SMarcel Ziswiler			reg_vdda: LDO3 {
4446a57f224SMarcel Ziswiler				regulator-always-on;
4456a57f224SMarcel Ziswiler				regulator-boot-on;
4466a57f224SMarcel Ziswiler				regulator-max-microvolt = <1800000>;
4476a57f224SMarcel Ziswiler				regulator-min-microvolt = <1800000>;
44897a07703SMarcel Ziswiler				regulator-name = "On-module +V1.8A (LDO3)";
4496a57f224SMarcel Ziswiler			};
4506a57f224SMarcel Ziswiler
4516a57f224SMarcel Ziswiler			reg_vdd_phy: LDO4 {
4526a57f224SMarcel Ziswiler				regulator-always-on;
4536a57f224SMarcel Ziswiler				regulator-boot-on;
4546a57f224SMarcel Ziswiler				regulator-max-microvolt = <900000>;
4556a57f224SMarcel Ziswiler				regulator-min-microvolt = <900000>;
45697a07703SMarcel Ziswiler				regulator-name = "On-module +V0.9_MIPI (LDO4)";
4576a57f224SMarcel Ziswiler			};
4586a57f224SMarcel Ziswiler
4596a57f224SMarcel Ziswiler			reg_nvcc_sd: LDO5 {
4606a57f224SMarcel Ziswiler				regulator-max-microvolt = <3300000>;
4616a57f224SMarcel Ziswiler				regulator-min-microvolt = <1800000>;
46297a07703SMarcel Ziswiler				regulator-name = "On-module +V3.3_1.8_SD (LDO5)";
4636a57f224SMarcel Ziswiler			};
4646a57f224SMarcel Ziswiler		};
4656a57f224SMarcel Ziswiler	};
4666a57f224SMarcel Ziswiler
4676a57f224SMarcel Ziswiler	rtc_i2c: rtc@32 {
4686a57f224SMarcel Ziswiler		compatible = "epson,rx8130";
4696a57f224SMarcel Ziswiler		reg = <0x32>;
4706a57f224SMarcel Ziswiler	};
4716a57f224SMarcel Ziswiler
4726a57f224SMarcel Ziswiler	adc@49 {
4736a57f224SMarcel Ziswiler		compatible = "ti,ads1015";
4746a57f224SMarcel Ziswiler		reg = <0x49>;
4756a57f224SMarcel Ziswiler		#address-cells = <1>;
4766a57f224SMarcel Ziswiler		#size-cells = <0>;
4776a57f224SMarcel Ziswiler
4786a57f224SMarcel Ziswiler		/* Verdin I2C_1 (ADC_4 - ADC_3) */
4796a57f224SMarcel Ziswiler		channel@0 {
4806a57f224SMarcel Ziswiler			reg = <0>;
4816a57f224SMarcel Ziswiler			ti,datarate = <4>;
4826a57f224SMarcel Ziswiler			ti,gain = <2>;
4836a57f224SMarcel Ziswiler		};
4846a57f224SMarcel Ziswiler
4856a57f224SMarcel Ziswiler		/* Verdin I2C_1 (ADC_4 - ADC_1) */
4866a57f224SMarcel Ziswiler		channel@1 {
4876a57f224SMarcel Ziswiler			reg = <1>;
4886a57f224SMarcel Ziswiler			ti,datarate = <4>;
4896a57f224SMarcel Ziswiler			ti,gain = <2>;
4906a57f224SMarcel Ziswiler		};
4916a57f224SMarcel Ziswiler
4926a57f224SMarcel Ziswiler		/* Verdin I2C_1 (ADC_3 - ADC_1) */
4936a57f224SMarcel Ziswiler		channel@2 {
4946a57f224SMarcel Ziswiler			reg = <2>;
4956a57f224SMarcel Ziswiler			ti,datarate = <4>;
4966a57f224SMarcel Ziswiler			ti,gain = <2>;
4976a57f224SMarcel Ziswiler		};
4986a57f224SMarcel Ziswiler
4996a57f224SMarcel Ziswiler		/* Verdin I2C_1 (ADC_2 - ADC_1) */
5006a57f224SMarcel Ziswiler		channel@3 {
5016a57f224SMarcel Ziswiler			reg = <3>;
5026a57f224SMarcel Ziswiler			ti,datarate = <4>;
5036a57f224SMarcel Ziswiler			ti,gain = <2>;
5046a57f224SMarcel Ziswiler		};
5056a57f224SMarcel Ziswiler
5066a57f224SMarcel Ziswiler		/* Verdin I2C_1 ADC_4 */
5076a57f224SMarcel Ziswiler		channel@4 {
5086a57f224SMarcel Ziswiler			reg = <4>;
5096a57f224SMarcel Ziswiler			ti,datarate = <4>;
5106a57f224SMarcel Ziswiler			ti,gain = <2>;
5116a57f224SMarcel Ziswiler		};
5126a57f224SMarcel Ziswiler
5136a57f224SMarcel Ziswiler		/* Verdin I2C_1 ADC_3 */
5146a57f224SMarcel Ziswiler		channel@5 {
5156a57f224SMarcel Ziswiler			reg = <5>;
5166a57f224SMarcel Ziswiler			ti,datarate = <4>;
5176a57f224SMarcel Ziswiler			ti,gain = <2>;
5186a57f224SMarcel Ziswiler		};
5196a57f224SMarcel Ziswiler
5206a57f224SMarcel Ziswiler		/* Verdin I2C_1 ADC_2 */
5216a57f224SMarcel Ziswiler		channel@6 {
5226a57f224SMarcel Ziswiler			reg = <6>;
5236a57f224SMarcel Ziswiler			ti,datarate = <4>;
5246a57f224SMarcel Ziswiler			ti,gain = <2>;
5256a57f224SMarcel Ziswiler		};
5266a57f224SMarcel Ziswiler
5276a57f224SMarcel Ziswiler		/* Verdin I2C_1 ADC_1 */
5286a57f224SMarcel Ziswiler		channel@7 {
5296a57f224SMarcel Ziswiler			reg = <7>;
5306a57f224SMarcel Ziswiler			ti,datarate = <4>;
5316a57f224SMarcel Ziswiler			ti,gain = <2>;
5326a57f224SMarcel Ziswiler		};
5336a57f224SMarcel Ziswiler	};
5346a57f224SMarcel Ziswiler
5356a57f224SMarcel Ziswiler	eeprom@50 {
5366a57f224SMarcel Ziswiler		compatible = "st,24c02";
5376a57f224SMarcel Ziswiler		pagesize = <16>;
5386a57f224SMarcel Ziswiler		reg = <0x50>;
5396a57f224SMarcel Ziswiler	};
5406a57f224SMarcel Ziswiler};
5416a57f224SMarcel Ziswiler
5426a57f224SMarcel Ziswiler/* Verdin I2C_2_DSI */
5436a57f224SMarcel Ziswiler&i2c2 {
5446a57f224SMarcel Ziswiler	clock-frequency = <10000>;
5456a57f224SMarcel Ziswiler	pinctrl-names = "default", "gpio";
5466a57f224SMarcel Ziswiler	pinctrl-0 = <&pinctrl_i2c2>;
5476a57f224SMarcel Ziswiler	pinctrl-1 = <&pinctrl_i2c2_gpio>;
5486a57f224SMarcel Ziswiler	scl-gpios = <&gpio5 16 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
5496a57f224SMarcel Ziswiler	sda-gpios = <&gpio5 17 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
5506a57f224SMarcel Ziswiler	status = "disabled";
5516a57f224SMarcel Ziswiler};
5526a57f224SMarcel Ziswiler
5536a57f224SMarcel Ziswiler/* Verdin I2C_3_HDMI N/A */
5546a57f224SMarcel Ziswiler
5556a57f224SMarcel Ziswiler/* Verdin I2C_4_CSI */
5566a57f224SMarcel Ziswiler&i2c3 {
5576a57f224SMarcel Ziswiler	clock-frequency = <400000>;
5586a57f224SMarcel Ziswiler	pinctrl-names = "default", "gpio";
5596a57f224SMarcel Ziswiler	pinctrl-0 = <&pinctrl_i2c3>;
5606a57f224SMarcel Ziswiler	pinctrl-1 = <&pinctrl_i2c3_gpio>;
5616a57f224SMarcel Ziswiler	scl-gpios = <&gpio5 18 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
5626a57f224SMarcel Ziswiler	sda-gpios = <&gpio5 19 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
5636a57f224SMarcel Ziswiler};
5646a57f224SMarcel Ziswiler
5656a57f224SMarcel Ziswiler/* Verdin I2C_1 */
5666a57f224SMarcel Ziswiler&i2c4 {
5676a57f224SMarcel Ziswiler	clock-frequency = <400000>;
5686a57f224SMarcel Ziswiler	pinctrl-names = "default", "gpio";
5696a57f224SMarcel Ziswiler	pinctrl-0 = <&pinctrl_i2c4>;
5706a57f224SMarcel Ziswiler	pinctrl-1 = <&pinctrl_i2c4_gpio>;
5716a57f224SMarcel Ziswiler	scl-gpios = <&gpio5 20 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
5726a57f224SMarcel Ziswiler	sda-gpios = <&gpio5 21 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
5736a57f224SMarcel Ziswiler
5746a57f224SMarcel Ziswiler	gpio_expander_21: gpio-expander@21 {
5756a57f224SMarcel Ziswiler		compatible = "nxp,pcal6416";
5766a57f224SMarcel Ziswiler		#gpio-cells = <2>;
5776a57f224SMarcel Ziswiler		gpio-controller;
5786a57f224SMarcel Ziswiler		reg = <0x21>;
5796a57f224SMarcel Ziswiler		vcc-supply = <&reg_3p3v>;
5806a57f224SMarcel Ziswiler		status = "disabled";
5816a57f224SMarcel Ziswiler	};
5826a57f224SMarcel Ziswiler
5838728c63cSMarcel Ziswiler	lvds_ti_sn65dsi84: bridge@2c {
5848728c63cSMarcel Ziswiler		compatible = "ti,sn65dsi84";
5856a57f224SMarcel Ziswiler		/* Verdin GPIO_9_DSI (SN65DSI84 IRQ, SODIMM 17, unused) */
5866a57f224SMarcel Ziswiler		/* Verdin GPIO_10_DSI (SODIMM 21) */
5876a57f224SMarcel Ziswiler		enable-gpios = <&gpio3 3 GPIO_ACTIVE_HIGH>;
5886a57f224SMarcel Ziswiler		pinctrl-names = "default";
5896a57f224SMarcel Ziswiler		pinctrl-0 = <&pinctrl_gpio_10_dsi>;
5906a57f224SMarcel Ziswiler		reg = <0x2c>;
5916a57f224SMarcel Ziswiler		status = "disabled";
5926a57f224SMarcel Ziswiler	};
5936a57f224SMarcel Ziswiler
5946a57f224SMarcel Ziswiler	/* Current measurement into module VCC */
5956a57f224SMarcel Ziswiler	hwmon: hwmon@40 {
5966a57f224SMarcel Ziswiler		compatible = "ti,ina219";
5976a57f224SMarcel Ziswiler		reg = <0x40>;
5986a57f224SMarcel Ziswiler		shunt-resistor = <10000>;
5996a57f224SMarcel Ziswiler		status = "disabled";
6006a57f224SMarcel Ziswiler	};
6016a57f224SMarcel Ziswiler
6026a57f224SMarcel Ziswiler	hdmi_lontium_lt8912: hdmi@48 {
6036a57f224SMarcel Ziswiler		compatible = "lontium,lt8912b";
6046a57f224SMarcel Ziswiler		pinctrl-names = "default";
6051eea795bSStefan Eichenberger		pinctrl-0 = <&pinctrl_gpio_10_dsi>;
6066a57f224SMarcel Ziswiler		reg = <0x48>;
6076a57f224SMarcel Ziswiler		/* Verdin GPIO_9_DSI (LT8912 INT, SODIMM 17, unused) */
6086a57f224SMarcel Ziswiler		/* Verdin GPIO_10_DSI (SODIMM 21) */
6096a57f224SMarcel Ziswiler		reset-gpios = <&gpio3 3 GPIO_ACTIVE_LOW>;
6106a57f224SMarcel Ziswiler		status = "disabled";
6116a57f224SMarcel Ziswiler	};
6126a57f224SMarcel Ziswiler
6136a57f224SMarcel Ziswiler	atmel_mxt_ts: touch@4a {
6146a57f224SMarcel Ziswiler		compatible = "atmel,maxtouch";
61598e4f193SMarcel Ziswiler		/*
61698e4f193SMarcel Ziswiler		 * Verdin GPIO_9_DSI
617909c3951SMarcel Ziswiler		 * (TOUCH_INT#, SODIMM 17, also routed to SN65DSI84 IRQ albeit currently unused)
61898e4f193SMarcel Ziswiler		 */
6196a57f224SMarcel Ziswiler		interrupt-parent = <&gpio3>;
6206a57f224SMarcel Ziswiler		interrupts = <15 IRQ_TYPE_EDGE_FALLING>;
6216a57f224SMarcel Ziswiler		pinctrl-names = "default";
6226a57f224SMarcel Ziswiler		pinctrl-0 = <&pinctrl_gpio_9_dsi>, <&pinctrl_i2s_2_bclk_touch_reset>;
6236a57f224SMarcel Ziswiler		reg = <0x4a>;
6246a57f224SMarcel Ziswiler		/* Verdin I2S_2_BCLK (TOUCH_RESET#, SODIMM 42) */
62590974f65SMarcel Ziswiler		reset-gpios = <&gpio3 23 GPIO_ACTIVE_LOW>;
6266a57f224SMarcel Ziswiler		status = "disabled";
6276a57f224SMarcel Ziswiler	};
6286a57f224SMarcel Ziswiler
6296a57f224SMarcel Ziswiler	/* Temperature sensor on carrier board */
6306a57f224SMarcel Ziswiler	hwmon_temp: sensor@4f {
6316a57f224SMarcel Ziswiler		compatible = "ti,tmp75c";
6326a57f224SMarcel Ziswiler		reg = <0x4f>;
6336a57f224SMarcel Ziswiler		status = "disabled";
6346a57f224SMarcel Ziswiler	};
6356a57f224SMarcel Ziswiler
6366a57f224SMarcel Ziswiler	/* EEPROM on display adapter (MIPI DSI Display Adapter) */
6376a57f224SMarcel Ziswiler	eeprom_display_adapter: eeprom@50 {
6386a57f224SMarcel Ziswiler		compatible = "st,24c02";
6396a57f224SMarcel Ziswiler		pagesize = <16>;
6406a57f224SMarcel Ziswiler		reg = <0x50>;
6416a57f224SMarcel Ziswiler		status = "disabled";
6426a57f224SMarcel Ziswiler	};
6436a57f224SMarcel Ziswiler
6446a57f224SMarcel Ziswiler	/* EEPROM on carrier board */
6456a57f224SMarcel Ziswiler	eeprom_carrier_board: eeprom@57 {
6466a57f224SMarcel Ziswiler		compatible = "st,24c02";
6476a57f224SMarcel Ziswiler		pagesize = <16>;
6486a57f224SMarcel Ziswiler		reg = <0x57>;
6496a57f224SMarcel Ziswiler		status = "disabled";
6506a57f224SMarcel Ziswiler	};
6516a57f224SMarcel Ziswiler};
6526a57f224SMarcel Ziswiler
6536a57f224SMarcel Ziswiler/* Verdin PCIE_1 */
6546a57f224SMarcel Ziswiler&pcie0 {
6556a57f224SMarcel Ziswiler	assigned-clocks = <&clk IMX8MM_CLK_PCIE1_AUX>,
6566a57f224SMarcel Ziswiler			  <&clk IMX8MM_CLK_PCIE1_CTRL>;
6576a57f224SMarcel Ziswiler	assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_50M>,
6586a57f224SMarcel Ziswiler				 <&clk IMX8MM_SYS_PLL2_250M>;
6596a57f224SMarcel Ziswiler	assigned-clock-rates = <10000000>, <250000000>;
6606a57f224SMarcel Ziswiler	pinctrl-names = "default";
6616a57f224SMarcel Ziswiler	pinctrl-0 = <&pinctrl_pcie0>;
6626a57f224SMarcel Ziswiler	/* PCIE_1_RESET# (SODIMM 244) */
6636a57f224SMarcel Ziswiler	reset-gpio = <&gpio3 19 GPIO_ACTIVE_LOW>;
6646a57f224SMarcel Ziswiler};
6656a57f224SMarcel Ziswiler
6666a57f224SMarcel Ziswiler&pcie_phy {
6676a57f224SMarcel Ziswiler	clocks = <&clk IMX8MM_CLK_PCIE1_PHY>;
6688fb7256aSMarcel Ziswiler	clock-names = "ref";
6696a57f224SMarcel Ziswiler	fsl,clkreq-unsupported;
6706a57f224SMarcel Ziswiler	fsl,refclk-pad-mode = <IMX8_PCIE_REFCLK_PAD_OUTPUT>;
6716a57f224SMarcel Ziswiler	fsl,tx-deemph-gen1 = <0x2d>;
6726a57f224SMarcel Ziswiler	fsl,tx-deemph-gen2 = <0xf>;
6736a57f224SMarcel Ziswiler};
6746a57f224SMarcel Ziswiler
6756a57f224SMarcel Ziswiler/* Verdin PWM_3_DSI */
6766a57f224SMarcel Ziswiler&pwm1 {
6776a57f224SMarcel Ziswiler	pinctrl-names = "default";
6786a57f224SMarcel Ziswiler	pinctrl-0 = <&pinctrl_pwm_1>;
6796a57f224SMarcel Ziswiler	#pwm-cells = <3>;
6806a57f224SMarcel Ziswiler};
6816a57f224SMarcel Ziswiler
6826a57f224SMarcel Ziswiler/* Verdin PWM_1 */
6836a57f224SMarcel Ziswiler&pwm2 {
6846a57f224SMarcel Ziswiler	pinctrl-names = "default";
6856a57f224SMarcel Ziswiler	pinctrl-0 = <&pinctrl_pwm_2>;
6866a57f224SMarcel Ziswiler	#pwm-cells = <3>;
6876a57f224SMarcel Ziswiler};
6886a57f224SMarcel Ziswiler
6896a57f224SMarcel Ziswiler/* Verdin PWM_2 */
6906a57f224SMarcel Ziswiler&pwm3 {
6916a57f224SMarcel Ziswiler	pinctrl-names = "default";
6926a57f224SMarcel Ziswiler	pinctrl-0 = <&pinctrl_pwm_3>;
6936a57f224SMarcel Ziswiler	#pwm-cells = <3>;
6946a57f224SMarcel Ziswiler};
6956a57f224SMarcel Ziswiler
696473b34b8SMarcel Ziswiler/* Verdin I2S_1 */
6976a57f224SMarcel Ziswiler&sai2 {
6986a57f224SMarcel Ziswiler	#sound-dai-cells = <0>;
6996a57f224SMarcel Ziswiler	assigned-clock-parents = <&clk IMX8MM_AUDIO_PLL1_OUT>;
7006a57f224SMarcel Ziswiler	assigned-clock-rates = <24576000>;
7016a57f224SMarcel Ziswiler	assigned-clocks = <&clk IMX8MM_CLK_SAI2>;
7026a57f224SMarcel Ziswiler	pinctrl-names = "default";
7036a57f224SMarcel Ziswiler	pinctrl-0 = <&pinctrl_sai2>;
7046a57f224SMarcel Ziswiler};
7056a57f224SMarcel Ziswiler
7066a57f224SMarcel Ziswiler&snvs_pwrkey {
7076a57f224SMarcel Ziswiler	status = "okay";
7086a57f224SMarcel Ziswiler};
7096a57f224SMarcel Ziswiler
7106a57f224SMarcel Ziswiler/* Verdin UART_3, used as the Linux console */
7116a57f224SMarcel Ziswiler&uart1 {
7126a57f224SMarcel Ziswiler	pinctrl-names = "default";
7136a57f224SMarcel Ziswiler	pinctrl-0 = <&pinctrl_uart1>;
7146a57f224SMarcel Ziswiler};
7156a57f224SMarcel Ziswiler
7166a57f224SMarcel Ziswiler/* Verdin UART_1 */
7176a57f224SMarcel Ziswiler&uart2 {
7186a57f224SMarcel Ziswiler	pinctrl-names = "default";
7196a57f224SMarcel Ziswiler	pinctrl-0 = <&pinctrl_uart2>;
7206a57f224SMarcel Ziswiler	uart-has-rtscts;
7216a57f224SMarcel Ziswiler};
7226a57f224SMarcel Ziswiler
7236a57f224SMarcel Ziswiler/* Verdin UART_2 */
7246a57f224SMarcel Ziswiler&uart3 {
7256a57f224SMarcel Ziswiler	pinctrl-names = "default";
7266a57f224SMarcel Ziswiler	pinctrl-0 = <&pinctrl_uart3>;
7276a57f224SMarcel Ziswiler	uart-has-rtscts;
7286a57f224SMarcel Ziswiler};
7296a57f224SMarcel Ziswiler
7306a57f224SMarcel Ziswiler/*
73198e4f193SMarcel Ziswiler * Verdin UART_4
7326a57f224SMarcel Ziswiler * Resource allocated to M4 by default, must not be accessed from Cortex-A35 or you get an OOPS
7336a57f224SMarcel Ziswiler */
7346a57f224SMarcel Ziswiler&uart4 {
7356a57f224SMarcel Ziswiler	pinctrl-names = "default";
7366a57f224SMarcel Ziswiler	pinctrl-0 = <&pinctrl_uart4>;
7376a57f224SMarcel Ziswiler};
7386a57f224SMarcel Ziswiler
7396a57f224SMarcel Ziswiler/* Verdin USB_1 */
7406a57f224SMarcel Ziswiler&usbotg1 {
7416a57f224SMarcel Ziswiler	adp-disable;
7426a57f224SMarcel Ziswiler	dr_mode = "otg";
7436a57f224SMarcel Ziswiler	hnp-disable;
7446a57f224SMarcel Ziswiler	samsung,picophy-dc-vol-level-adjust = <7>;
7456a57f224SMarcel Ziswiler	samsung,picophy-pre-emp-curr-control = <3>;
7466a57f224SMarcel Ziswiler	srp-disable;
7476a57f224SMarcel Ziswiler	vbus-supply = <&reg_usb_otg1_vbus>;
7486a57f224SMarcel Ziswiler};
7496a57f224SMarcel Ziswiler
7506a57f224SMarcel Ziswiler/* Verdin USB_2 */
7516a57f224SMarcel Ziswiler&usbotg2 {
7526a57f224SMarcel Ziswiler	dr_mode = "host";
7536a57f224SMarcel Ziswiler	samsung,picophy-dc-vol-level-adjust = <7>;
7546a57f224SMarcel Ziswiler	samsung,picophy-pre-emp-curr-control = <3>;
7556a57f224SMarcel Ziswiler	vbus-supply = <&reg_usb_otg2_vbus>;
7566a57f224SMarcel Ziswiler};
7576a57f224SMarcel Ziswiler
7586a57f224SMarcel Ziswiler&usbphynop1 {
7596a57f224SMarcel Ziswiler	vcc-supply = <&reg_vdd_3v3>;
7606a57f224SMarcel Ziswiler};
7616a57f224SMarcel Ziswiler
7626a57f224SMarcel Ziswiler&usbphynop2 {
7632fa24aa7SPhilippe Schenker	power-domains = <&pgc_otg2>;
7646a57f224SMarcel Ziswiler	vcc-supply = <&reg_vdd_3v3>;
7656a57f224SMarcel Ziswiler};
7666a57f224SMarcel Ziswiler
7676a57f224SMarcel Ziswiler/* On-module eMMC */
7686a57f224SMarcel Ziswiler&usdhc1 {
7696a57f224SMarcel Ziswiler	bus-width = <8>;
7706a57f224SMarcel Ziswiler	keep-power-in-suspend;
7716a57f224SMarcel Ziswiler	non-removable;
7726a57f224SMarcel Ziswiler	pinctrl-names = "default", "state_100mhz", "state_200mhz";
7736a57f224SMarcel Ziswiler	pinctrl-0 = <&pinctrl_usdhc1>;
7746a57f224SMarcel Ziswiler	pinctrl-1 = <&pinctrl_usdhc1_100mhz>;
7756a57f224SMarcel Ziswiler	pinctrl-2 = <&pinctrl_usdhc1_200mhz>;
7766a57f224SMarcel Ziswiler	status = "okay";
7776a57f224SMarcel Ziswiler};
7786a57f224SMarcel Ziswiler
7796a57f224SMarcel Ziswiler/* Verdin SD_1 */
7806a57f224SMarcel Ziswiler&usdhc2 {
7816a57f224SMarcel Ziswiler	bus-width = <4>;
7826a57f224SMarcel Ziswiler	cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
7836a57f224SMarcel Ziswiler	disable-wp;
7844f6b5de9SMarcel Ziswiler	pinctrl-names = "default", "state_100mhz", "state_200mhz", "sleep";
7856a57f224SMarcel Ziswiler	pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_cd>;
7866a57f224SMarcel Ziswiler	pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_cd>;
7876a57f224SMarcel Ziswiler	pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_cd>;
7884f6b5de9SMarcel Ziswiler	pinctrl-3 = <&pinctrl_usdhc2_sleep>, <&pinctrl_usdhc2_cd_sleep>;
7896a57f224SMarcel Ziswiler	vmmc-supply = <&reg_usdhc2_vmmc>;
7906a57f224SMarcel Ziswiler};
7916a57f224SMarcel Ziswiler
7926a57f224SMarcel Ziswiler&wdog1 {
7936a57f224SMarcel Ziswiler	fsl,ext-reset-output;
7946a57f224SMarcel Ziswiler	pinctrl-names = "default";
7956a57f224SMarcel Ziswiler	pinctrl-0 = <&pinctrl_wdog>;
7966a57f224SMarcel Ziswiler	status = "okay";
7976a57f224SMarcel Ziswiler};
7986a57f224SMarcel Ziswiler
7996a57f224SMarcel Ziswiler&iomuxc {
8006a57f224SMarcel Ziswiler	pinctrl-names = "default";
8016a57f224SMarcel Ziswiler	pinctrl-0 = <&pinctrl_gpio1>, <&pinctrl_gpio2>,
8026a57f224SMarcel Ziswiler		    <&pinctrl_gpio3>, <&pinctrl_gpio4>,
8036a57f224SMarcel Ziswiler		    <&pinctrl_gpio7>, <&pinctrl_gpio8>,
8046a57f224SMarcel Ziswiler		    <&pinctrl_gpio_hog1>, <&pinctrl_gpio_hog2>, <&pinctrl_gpio_hog3>,
8056a57f224SMarcel Ziswiler		    <&pinctrl_pmic_tpm_ena>;
8066a57f224SMarcel Ziswiler
8076a57f224SMarcel Ziswiler	pinctrl_can1_int: can1intgrp {
8086a57f224SMarcel Ziswiler		fsl,pins =
80960f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_GPIO1_IO06_GPIO1_IO6		0x146>;	/* CAN_1_SPI_INT#_1.8V */
8106a57f224SMarcel Ziswiler	};
8116a57f224SMarcel Ziswiler
8126a57f224SMarcel Ziswiler	pinctrl_can2_int: can2intgrp {
8136a57f224SMarcel Ziswiler		fsl,pins =
81460f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_GPIO1_IO07_GPIO1_IO7		0x106>;	/* CAN_2_SPI_INT#_1.8V, unused */
8156a57f224SMarcel Ziswiler	};
8166a57f224SMarcel Ziswiler
8176a57f224SMarcel Ziswiler	pinctrl_ctrl_sleep_moci: ctrlsleepmocigrp {
8186a57f224SMarcel Ziswiler		fsl,pins =
81960f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI3_TXD_GPIO5_IO1		0x106>;	/* SODIMM 256 */
8206a57f224SMarcel Ziswiler	};
8216a57f224SMarcel Ziswiler
8226a57f224SMarcel Ziswiler	pinctrl_ecspi2: ecspi2grp {
8236a57f224SMarcel Ziswiler		fsl,pins =
82460f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_ECSPI2_MISO_ECSPI2_MISO		0x6>,	/* SODIMM 198 */
825593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_ECSPI2_MOSI_ECSPI2_MOSI		0x6>,	/* SODIMM 200 */
826593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_ECSPI2_SCLK_ECSPI2_SCLK		0x6>,	/* SODIMM 196 */
82760f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_ECSPI2_SS0_GPIO5_IO13		0x6>;	/* SODIMM 202 */
8286a57f224SMarcel Ziswiler	};
8296a57f224SMarcel Ziswiler
8306a57f224SMarcel Ziswiler	pinctrl_ecspi3: ecspi3grp {
8316a57f224SMarcel Ziswiler		fsl,pins =
832593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_GPIO1_IO05_GPIO1_IO5		0x146>,	/* CAN_2_SPI_CS#_1.8V */
83360f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_UART1_RXD_ECSPI3_SCLK		0x6>,	/* CAN_SPI_SCK_1.8V */
83460f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_UART1_TXD_ECSPI3_MOSI		0x6>,	/* CAN_SPI_MOSI_1.8V */
83560f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_UART2_RXD_ECSPI3_MISO		0x6>,	/* CAN_SPI_MISO_1.8V */
836593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_UART2_TXD_GPIO5_IO25		0x6>;	/* CAN_1_SPI_CS_1.8V# */
8376a57f224SMarcel Ziswiler	};
8386a57f224SMarcel Ziswiler
8396a57f224SMarcel Ziswiler	pinctrl_fec1: fec1grp {
8406a57f224SMarcel Ziswiler		fsl,pins =
8416a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_ENET_MDC_ENET1_MDC		0x3>,
8426a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_ENET_MDIO_ENET1_MDIO		0x3>,
8436a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_ENET_RD0_ENET1_RGMII_RD0		0x91>,
844593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_ENET_RD1_ENET1_RGMII_RD1		0x91>,
845593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_ENET_RD2_ENET1_RGMII_RD2		0x91>,
846593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_ENET_RD3_ENET1_RGMII_RD3		0x91>,
8476a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_ENET_RXC_ENET1_RGMII_RXC		0x91>,
8486a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_ENET_RX_CTL_ENET1_RGMII_RX_CTL	0x91>,
849593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_ENET_TD0_ENET1_RGMII_TD0		0x1f>,
850593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_ENET_TD1_ENET1_RGMII_TD1		0x1f>,
851593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_ENET_TD2_ENET1_RGMII_TD2		0x1f>,
852593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_ENET_TD3_ENET1_RGMII_TD3		0x1f>,
853593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_ENET_TXC_ENET1_RGMII_TXC		0x1f>,
8546a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_ENET_TX_CTL_ENET1_RGMII_TX_CTL	0x1f>,
85560f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_GPIO1_IO10_GPIO1_IO10		0x146>;
8566a57f224SMarcel Ziswiler	};
8576a57f224SMarcel Ziswiler
8586a57f224SMarcel Ziswiler	pinctrl_fec1_sleep: fec1-sleepgrp {
8596a57f224SMarcel Ziswiler		fsl,pins =
8606a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_ENET_MDC_ENET1_MDC		0x3>,
8616a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_ENET_MDIO_ENET1_MDIO		0x3>,
8626a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_ENET_RD0_ENET1_RGMII_RD0		0x91>,
863593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_ENET_RD1_ENET1_RGMII_RD1		0x91>,
864593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_ENET_RD2_ENET1_RGMII_RD2		0x91>,
865593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_ENET_RD3_ENET1_RGMII_RD3		0x91>,
8666a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_ENET_RXC_ENET1_RGMII_RXC		0x91>,
8676a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_ENET_RX_CTL_ENET1_RGMII_RX_CTL	0x91>,
868593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_ENET_TD0_GPIO1_IO21		0x1f>,
869593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_ENET_TD1_GPIO1_IO20		0x1f>,
870593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_ENET_TD2_GPIO1_IO19		0x1f>,
871593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_ENET_TD3_GPIO1_IO18		0x1f>,
872593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_ENET_TXC_GPIO1_IO23		0x1f>,
8736a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_ENET_TX_CTL_GPIO1_IO22		0x1f>,
87460f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_GPIO1_IO10_GPIO1_IO10		0x106>;
8756a57f224SMarcel Ziswiler	};
8766a57f224SMarcel Ziswiler
8776a57f224SMarcel Ziswiler	pinctrl_flexspi0: flexspi0grp {
8786a57f224SMarcel Ziswiler		fsl,pins =
87960f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_ALE_QSPI_A_SCLK		0x106>,	/* SODIMM 52 */
88060f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_CE0_B_QSPI_A_SS0_B		0x106>,	/* SODIMM 54 */
88160f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_CE1_B_QSPI_A_SS1_B		0x106>,	/* SODIMM 64 */
88260f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_DATA00_QSPI_A_DATA0		0x106>,	/* SODIMM 56 */
88360f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_DATA01_QSPI_A_DATA1		0x106>,	/* SODIMM 58 */
88460f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_DATA02_QSPI_A_DATA2		0x106>,	/* SODIMM 60 */
885593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_DATA03_QSPI_A_DATA3		0x106>,	/* SODIMM 62 */
886593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_DQS_QSPI_A_DQS		0x106>;	/* SODIMM 66 */
8876a57f224SMarcel Ziswiler	};
8886a57f224SMarcel Ziswiler
8896a57f224SMarcel Ziswiler	pinctrl_gpio1: gpio1grp {
8906a57f224SMarcel Ziswiler		fsl,pins =
89160f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_CE3_B_GPIO3_IO4		0x106>;	/* SODIMM 206 */
8926a57f224SMarcel Ziswiler	};
8936a57f224SMarcel Ziswiler
8946a57f224SMarcel Ziswiler	pinctrl_gpio2: gpio2grp {
8956a57f224SMarcel Ziswiler		fsl,pins =
89660f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SPDIF_EXT_CLK_GPIO5_IO5		0x106>;	/* SODIMM 208 */
8976a57f224SMarcel Ziswiler	};
8986a57f224SMarcel Ziswiler
8996a57f224SMarcel Ziswiler	pinctrl_gpio3: gpio3grp {
9006a57f224SMarcel Ziswiler		fsl,pins =
90160f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_UART3_RXD_GPIO5_IO26		0x106>;	/* SODIMM 210 */
9026a57f224SMarcel Ziswiler	};
9036a57f224SMarcel Ziswiler
9046a57f224SMarcel Ziswiler	pinctrl_gpio4: gpio4grp {
9056a57f224SMarcel Ziswiler		fsl,pins =
90660f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_UART3_TXD_GPIO5_IO27		0x106>;	/* SODIMM 212 */
9076a57f224SMarcel Ziswiler	};
9086a57f224SMarcel Ziswiler
9096a57f224SMarcel Ziswiler	pinctrl_gpio5: gpio5grp {
9106a57f224SMarcel Ziswiler		fsl,pins =
91160f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_GPIO1_IO00_GPIO1_IO0		0x106>;	/* SODIMM 216 */
9126a57f224SMarcel Ziswiler	};
9136a57f224SMarcel Ziswiler
9146a57f224SMarcel Ziswiler	pinctrl_gpio6: gpio6grp {
9156a57f224SMarcel Ziswiler		fsl,pins =
91660f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_GPIO1_IO11_GPIO1_IO11		0x106>;	/* SODIMM 218 */
9176a57f224SMarcel Ziswiler	};
9186a57f224SMarcel Ziswiler
9196a57f224SMarcel Ziswiler	pinctrl_gpio7: gpio7grp {
9206a57f224SMarcel Ziswiler		fsl,pins =
92160f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_GPIO1_IO08_GPIO1_IO8		0x106>;	/* SODIMM 220 */
9226a57f224SMarcel Ziswiler	};
9236a57f224SMarcel Ziswiler
9246a57f224SMarcel Ziswiler	pinctrl_gpio8: gpio8grp {
9256a57f224SMarcel Ziswiler		fsl,pins =
92660f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_GPIO1_IO09_GPIO1_IO9		0x106>;	/* SODIMM 222 */
9276a57f224SMarcel Ziswiler	};
9286a57f224SMarcel Ziswiler
9296a57f224SMarcel Ziswiler	/* Verdin GPIO_9_DSI (pulled-up as active-low) */
9306a57f224SMarcel Ziswiler	pinctrl_gpio_9_dsi: gpio9dsigrp {
9316a57f224SMarcel Ziswiler		fsl,pins =
932*83936d4eSMax Krummenacher			<MX8MM_IOMUXC_NAND_RE_B_GPIO3_IO15		0x1c6>;	/* SODIMM 17 */
9336a57f224SMarcel Ziswiler	};
9346a57f224SMarcel Ziswiler
93560f01b5bSMarcel Ziswiler	/* Verdin GPIO_10_DSI (pulled-up as active-low) */
9366a57f224SMarcel Ziswiler	pinctrl_gpio_10_dsi: gpio10dsigrp {
9376a57f224SMarcel Ziswiler		fsl,pins =
93860f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_CE2_B_GPIO3_IO3		0x146>;	/* SODIMM 21 */
9396a57f224SMarcel Ziswiler	};
9406a57f224SMarcel Ziswiler
9416a57f224SMarcel Ziswiler	pinctrl_gpio_hog1: gpiohog1grp {
9426a57f224SMarcel Ziswiler		fsl,pins =
94360f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI1_MCLK_GPIO4_IO20		0x106>,	/* SODIMM 88 */
94460f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI1_RXC_GPIO4_IO1		0x106>,	/* SODIMM 90 */
94560f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI1_RXD0_GPIO4_IO2		0x106>,	/* SODIMM 92 */
94660f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI1_RXD1_GPIO4_IO3		0x106>,	/* SODIMM 94 */
94760f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI1_RXD2_GPIO4_IO4		0x106>,	/* SODIMM 96 */
94860f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI1_RXD3_GPIO4_IO5		0x106>,	/* SODIMM 100 */
94960f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI1_RXFS_GPIO4_IO0		0x106>,	/* SODIMM 102 */
95060f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI1_TXC_GPIO4_IO11		0x106>,	/* SODIMM 104 */
95160f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI1_TXD0_GPIO4_IO12		0x106>,	/* SODIMM 106 */
95260f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI1_TXD1_GPIO4_IO13		0x106>,	/* SODIMM 108 */
95360f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI1_TXD2_GPIO4_IO14		0x106>,	/* SODIMM 112 */
95460f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI1_TXD3_GPIO4_IO15		0x106>,	/* SODIMM 114 */
95560f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI1_TXD4_GPIO4_IO16		0x106>,	/* SODIMM 116 */
95660f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI1_TXD6_GPIO4_IO18		0x106>,	/* SODIMM 118 */
95760f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI1_TXFS_GPIO4_IO10		0x106>;	/* SODIMM 120 */
9586a57f224SMarcel Ziswiler	};
9596a57f224SMarcel Ziswiler
9606a57f224SMarcel Ziswiler	pinctrl_gpio_hog2: gpiohog2grp {
9616a57f224SMarcel Ziswiler		fsl,pins =
96260f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI3_MCLK_GPIO5_IO2		0x106>;	/* SODIMM 91 */
9636a57f224SMarcel Ziswiler	};
9646a57f224SMarcel Ziswiler
9656a57f224SMarcel Ziswiler	pinctrl_gpio_hog3: gpiohog3grp {
9666a57f224SMarcel Ziswiler		fsl,pins =
96760f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_GPIO1_IO13_GPIO1_IO13		0x146>,	/* SODIMM 157 */
96860f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_GPIO1_IO15_GPIO1_IO15		0x146>;	/* SODIMM 187 */
9696a57f224SMarcel Ziswiler	};
9706a57f224SMarcel Ziswiler
9716a57f224SMarcel Ziswiler	pinctrl_gpio_keys: gpiokeysgrp {
9726a57f224SMarcel Ziswiler		fsl,pins =
97360f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI3_RXFS_GPIO4_IO28		0x146>;	/* SODIMM 252 */
9746a57f224SMarcel Ziswiler	};
9756a57f224SMarcel Ziswiler
9766a57f224SMarcel Ziswiler	/* On-module I2C */
9776a57f224SMarcel Ziswiler	pinctrl_i2c1: i2c1grp {
9786a57f224SMarcel Ziswiler		fsl,pins =
97960f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_I2C1_SCL_I2C1_SCL			0x40000146>,	/* PMIC_I2C_SCL */
98060f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_I2C1_SDA_I2C1_SDA			0x40000146>;	/* PMIC_I2C_SDA */
9816a57f224SMarcel Ziswiler	};
9826a57f224SMarcel Ziswiler
9836a57f224SMarcel Ziswiler	pinctrl_i2c1_gpio: i2c1gpiogrp {
9846a57f224SMarcel Ziswiler		fsl,pins =
98560f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_I2C1_SCL_GPIO5_IO14		0x146>,	/* PMIC_I2C_SCL */
98660f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_I2C1_SDA_GPIO5_IO15		0x146>;	/* PMIC_I2C_SDA */
9876a57f224SMarcel Ziswiler	};
9886a57f224SMarcel Ziswiler
9896a57f224SMarcel Ziswiler	/* Verdin I2C_4_CSI */
9906a57f224SMarcel Ziswiler	pinctrl_i2c2: i2c2grp {
9916a57f224SMarcel Ziswiler		fsl,pins =
99260f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_I2C2_SCL_I2C2_SCL			0x40000146>,	/* SODIMM 55 */
99360f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_I2C2_SDA_I2C2_SDA			0x40000146>;	/* SODIMM 53 */
9946a57f224SMarcel Ziswiler	};
9956a57f224SMarcel Ziswiler
9966a57f224SMarcel Ziswiler	pinctrl_i2c2_gpio: i2c2gpiogrp {
9976a57f224SMarcel Ziswiler		fsl,pins =
99860f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_I2C2_SCL_GPIO5_IO16		0x146>,	/* SODIMM 55 */
99960f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_I2C2_SDA_GPIO5_IO17		0x146>;	/* SODIMM 53 */
10006a57f224SMarcel Ziswiler	};
10016a57f224SMarcel Ziswiler
10026a57f224SMarcel Ziswiler	/* Verdin I2C_2_DSI */
10036a57f224SMarcel Ziswiler	pinctrl_i2c3: i2c3grp {
10046a57f224SMarcel Ziswiler		fsl,pins =
100560f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_I2C3_SCL_I2C3_SCL			0x40000146>,	/* SODIMM 95 */
100660f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_I2C3_SDA_I2C3_SDA			0x40000146>;	/* SODIMM 93 */
10076a57f224SMarcel Ziswiler	};
10086a57f224SMarcel Ziswiler
10096a57f224SMarcel Ziswiler	pinctrl_i2c3_gpio: i2c3gpiogrp {
10106a57f224SMarcel Ziswiler		fsl,pins =
101160f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_I2C3_SCL_GPIO5_IO18		0x146>,	/* SODIMM 95 */
101260f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_I2C3_SDA_GPIO5_IO19		0x146>;	/* SODIMM 93 */
10136a57f224SMarcel Ziswiler	};
10146a57f224SMarcel Ziswiler
10156a57f224SMarcel Ziswiler	/* Verdin I2C_1 */
10166a57f224SMarcel Ziswiler	pinctrl_i2c4: i2c4grp {
10176a57f224SMarcel Ziswiler		fsl,pins =
101860f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_I2C4_SCL_I2C4_SCL			0x40000146>,	/* SODIMM 14 */
101960f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_I2C4_SDA_I2C4_SDA			0x40000146>;	/* SODIMM 12 */
10206a57f224SMarcel Ziswiler	};
10216a57f224SMarcel Ziswiler
10226a57f224SMarcel Ziswiler	pinctrl_i2c4_gpio: i2c4gpiogrp {
10236a57f224SMarcel Ziswiler		fsl,pins =
102460f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_I2C4_SCL_GPIO5_IO20		0x146>,	/* SODIMM 14 */
102560f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_I2C4_SDA_GPIO5_IO21		0x146>;	/* SODIMM 12 */
10266a57f224SMarcel Ziswiler	};
10276a57f224SMarcel Ziswiler
10286a57f224SMarcel Ziswiler	/* Verdin I2S_2_BCLK (TOUCH_RESET#) */
10296a57f224SMarcel Ziswiler	pinctrl_i2s_2_bclk_touch_reset: i2s2bclktouchresetgrp {
10306a57f224SMarcel Ziswiler		fsl,pins =
103160f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI5_RXD2_GPIO3_IO23		0x6>;	/* SODIMM 42 */
10326a57f224SMarcel Ziswiler	};
10336a57f224SMarcel Ziswiler
10346a57f224SMarcel Ziswiler	/* Verdin I2S_2_D_OUT shared with SAI5 */
10356a57f224SMarcel Ziswiler	pinctrl_i2s_2_d_out_dsi_1_bkl_en: i2s2doutdsi1bklengrp {
10366a57f224SMarcel Ziswiler		fsl,pins =
103760f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI5_RXD3_GPIO3_IO24		0x6>;	/* SODIMM 46 */
10386a57f224SMarcel Ziswiler	};
10396a57f224SMarcel Ziswiler
10406a57f224SMarcel Ziswiler	pinctrl_pcie0: pcie0grp {
10416a57f224SMarcel Ziswiler		fsl,pins =
10426a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SAI5_RXFS_GPIO3_IO19		0x6>,	/* SODIMM 244 */
10436a57f224SMarcel Ziswiler			/* PMIC_EN_PCIe_CLK, unused */
10446a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD2_RESET_B_GPIO2_IO19		0x6>;
10456a57f224SMarcel Ziswiler	};
10466a57f224SMarcel Ziswiler
10476a57f224SMarcel Ziswiler	pinctrl_pmic: pmicirqgrp {
10486a57f224SMarcel Ziswiler		fsl,pins =
104960f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_GPIO1_IO03_GPIO1_IO3		0x141>;	/* PMIC_INT# */
10506a57f224SMarcel Ziswiler	};
10516a57f224SMarcel Ziswiler
10526a57f224SMarcel Ziswiler	/* Verdin PWM_3_DSI shared with GPIO1_IO1 */
10536a57f224SMarcel Ziswiler	pinctrl_pwm_1: pwm1grp {
10546a57f224SMarcel Ziswiler		fsl,pins =
10556a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_GPIO1_IO01_PWM1_OUT		0x6>;	/* SODIMM 19 */
10566a57f224SMarcel Ziswiler	};
10576a57f224SMarcel Ziswiler
10586a57f224SMarcel Ziswiler	pinctrl_pwm_2: pwm2grp {
10596a57f224SMarcel Ziswiler		fsl,pins =
10606a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SPDIF_RX_PWM2_OUT			0x6>;	/* SODIMM 15 */
10616a57f224SMarcel Ziswiler	};
10626a57f224SMarcel Ziswiler
10636a57f224SMarcel Ziswiler	pinctrl_pwm_3: pwm3grp {
10646a57f224SMarcel Ziswiler		fsl,pins =
10656a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SPDIF_TX_PWM3_OUT			0x6>;	/* SODIMM 16 */
10666a57f224SMarcel Ziswiler	};
10676a57f224SMarcel Ziswiler
10686a57f224SMarcel Ziswiler	/* Verdin PWM_3_DSI (pulled-down as active-high) shared with PWM1_OUT */
10696a57f224SMarcel Ziswiler	pinctrl_pwm_3_dsi_hpd_gpio: pwm3dsihpdgpiogrp {
10706a57f224SMarcel Ziswiler		fsl,pins =
107160f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_GPIO1_IO01_GPIO1_IO1		0x106>;	/* SODIMM 19 */
10726a57f224SMarcel Ziswiler	};
10736a57f224SMarcel Ziswiler
10746a57f224SMarcel Ziswiler	pinctrl_reg_eth: regethgrp {
10756a57f224SMarcel Ziswiler		fsl,pins =
107660f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SD2_WP_GPIO2_IO20			0x146>;	/* PMIC_EN_ETH */
10776a57f224SMarcel Ziswiler	};
10786a57f224SMarcel Ziswiler
10796a57f224SMarcel Ziswiler	pinctrl_reg_usb1_en: regusb1engrp {
10806a57f224SMarcel Ziswiler		fsl,pins =
108160f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_GPIO1_IO12_GPIO1_IO12		0x106>;	/* SODIMM 155 */
10826a57f224SMarcel Ziswiler	};
10836a57f224SMarcel Ziswiler
10846a57f224SMarcel Ziswiler	pinctrl_reg_usb2_en: regusb2engrp {
10856a57f224SMarcel Ziswiler		fsl,pins =
108660f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_GPIO1_IO14_GPIO1_IO14		0x106>;	/* SODIMM 185 */
10876a57f224SMarcel Ziswiler	};
10886a57f224SMarcel Ziswiler
10896a57f224SMarcel Ziswiler	pinctrl_sai2: sai2grp {
10906a57f224SMarcel Ziswiler		fsl,pins =
109160f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI2_MCLK_SAI2_MCLK		0x6>,	/* SODIMM 38 */
1092593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI2_TXC_SAI2_TX_BCLK		0x6>,	/* SODIMM 30 */
1093593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI2_TXFS_SAI2_TX_SYNC		0x6>,	/* SODIMM 32 */
109460f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI2_RXD0_SAI2_RX_DATA0		0x6>,	/* SODIMM 36 */
109560f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI2_TXD0_SAI2_TX_DATA0		0x6>;	/* SODIMM 34 */
10966a57f224SMarcel Ziswiler	};
10976a57f224SMarcel Ziswiler
10986a57f224SMarcel Ziswiler	pinctrl_sai5: sai5grp {
10996a57f224SMarcel Ziswiler		fsl,pins =
110060f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI5_RXD0_SAI5_RX_DATA0		0x6>,	/* SODIMM 48 */
110160f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI5_RXD1_SAI5_TX_SYNC		0x6>,	/* SODIMM 44 */
110260f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI5_RXD2_SAI5_TX_BCLK		0x6>,	/* SODIMM 42 */
110360f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI5_RXD3_SAI5_TX_DATA0		0x6>;	/* SODIMM 46 */
11046a57f224SMarcel Ziswiler	};
11056a57f224SMarcel Ziswiler
11066a57f224SMarcel Ziswiler	/* control signal for optional ATTPM20P or SE050 */
11076a57f224SMarcel Ziswiler	pinctrl_pmic_tpm_ena: pmictpmenagrp {
11086a57f224SMarcel Ziswiler		fsl,pins =
110960f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI1_TXD7_GPIO4_IO19		0x106>;	/* PMIC_TPM_ENA */
11106a57f224SMarcel Ziswiler	};
11116a57f224SMarcel Ziswiler
11126a57f224SMarcel Ziswiler	pinctrl_tsp: tspgrp {
11136a57f224SMarcel Ziswiler		fsl,pins =
111460f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI1_RXD4_GPIO4_IO6		0x6>,	/* SODIMM 148 */
111560f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI1_RXD5_GPIO4_IO7		0x6>,	/* SODIMM 152 */
111660f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI1_RXD6_GPIO4_IO8		0x6>,	/* SODIMM 154 */
111760f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI1_RXD7_GPIO4_IO9		0x146>,	/* SODIMM 174 */
111860f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI1_TXD5_GPIO4_IO17		0x6>;	/* SODIMM 150 */
11196a57f224SMarcel Ziswiler	};
11206a57f224SMarcel Ziswiler
11216a57f224SMarcel Ziswiler	pinctrl_uart1: uart1grp {
11226a57f224SMarcel Ziswiler		fsl,pins =
1123593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI2_RXC_UART1_DCE_RX		0x146>,	/* SODIMM 147 */
1124593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI2_RXFS_UART1_DCE_TX		0x146>;	/* SODIMM 149 */
11256a57f224SMarcel Ziswiler	};
11266a57f224SMarcel Ziswiler
11276a57f224SMarcel Ziswiler	pinctrl_uart2: uart2grp {
11286a57f224SMarcel Ziswiler		fsl,pins =
112960f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI3_RXC_UART2_DCE_CTS_B		0x146>,	/* SODIMM 133 */
1130593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI3_RXD_UART2_DCE_RTS_B		0x146>,	/* SODIMM 135 */
1131593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI3_TXC_UART2_DCE_TX		0x146>,	/* SODIMM 131 */
1132593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI3_TXFS_UART2_DCE_RX		0x146>;	/* SODIMM 129 */
11336a57f224SMarcel Ziswiler	};
11346a57f224SMarcel Ziswiler
11356a57f224SMarcel Ziswiler	pinctrl_uart3: uart3grp {
11366a57f224SMarcel Ziswiler		fsl,pins =
113760f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_ECSPI1_MISO_UART3_DCE_CTS_B	0x146>,	/* SODIMM 141 */
1138593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_ECSPI1_MOSI_UART3_DCE_TX		0x146>,	/* SODIMM 139 */
1139593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_ECSPI1_SCLK_UART3_DCE_RX		0x146>,	/* SODIMM 137 */
114060f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_ECSPI1_SS0_UART3_DCE_RTS_B	0x146>;	/* SODIMM 143 */
11416a57f224SMarcel Ziswiler	};
11426a57f224SMarcel Ziswiler
11436a57f224SMarcel Ziswiler	pinctrl_uart4: uart4grp {
11446a57f224SMarcel Ziswiler		fsl,pins =
114560f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_UART4_RXD_UART4_DCE_RX		0x146>,	/* SODIMM 151 */
114660f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_UART4_TXD_UART4_DCE_TX		0x146>;	/* SODIMM 153 */
11476a57f224SMarcel Ziswiler	};
11486a57f224SMarcel Ziswiler
11496a57f224SMarcel Ziswiler	pinctrl_usdhc1: usdhc1grp {
11506a57f224SMarcel Ziswiler		fsl,pins =
11516a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_CLK_USDHC1_CLK		0x190>,
11526a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_CMD_USDHC1_CMD		0x1d0>,
11536a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_DATA0_USDHC1_DATA0		0x1d0>,
11546a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_DATA1_USDHC1_DATA1		0x1d0>,
11556a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_DATA2_USDHC1_DATA2		0x1d0>,
11566a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_DATA3_USDHC1_DATA3		0x1d0>,
11576a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_DATA4_USDHC1_DATA4		0x1d0>,
11586a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_DATA5_USDHC1_DATA5		0x1d0>,
11596a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_DATA6_USDHC1_DATA6		0x1d0>,
11606a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_DATA7_USDHC1_DATA7		0x1d0>,
11616a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_RESET_B_USDHC1_RESET_B	0x1d1>,
11626a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_STROBE_USDHC1_STROBE		0x190>;
11636a57f224SMarcel Ziswiler	};
11646a57f224SMarcel Ziswiler
11656a57f224SMarcel Ziswiler	pinctrl_usdhc1_100mhz: usdhc1-100mhzgrp {
11666a57f224SMarcel Ziswiler		fsl,pins =
11676a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_CLK_USDHC1_CLK		0x194>,
11686a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_CMD_USDHC1_CMD		0x1d4>,
11696a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_DATA0_USDHC1_DATA0		0x1d4>,
11706a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_DATA1_USDHC1_DATA1		0x1d4>,
11716a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_DATA2_USDHC1_DATA2		0x1d4>,
11726a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_DATA3_USDHC1_DATA3		0x1d4>,
11736a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_DATA4_USDHC1_DATA4		0x1d4>,
11746a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_DATA5_USDHC1_DATA5		0x1d4>,
11756a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_DATA6_USDHC1_DATA6		0x1d4>,
11766a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_DATA7_USDHC1_DATA7		0x1d4>,
11776a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_RESET_B_USDHC1_RESET_B	0x1d1>,
11786a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_STROBE_USDHC1_STROBE		0x194>;
11796a57f224SMarcel Ziswiler	};
11806a57f224SMarcel Ziswiler
11816a57f224SMarcel Ziswiler	pinctrl_usdhc1_200mhz: usdhc1-200mhzgrp {
11826a57f224SMarcel Ziswiler		fsl,pins =
11836a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_CLK_USDHC1_CLK		0x196>,
11846a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_CMD_USDHC1_CMD		0x1d6>,
11856a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_DATA0_USDHC1_DATA0		0x1d6>,
11866a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_DATA1_USDHC1_DATA1		0x1d6>,
11876a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_DATA2_USDHC1_DATA2		0x1d6>,
11886a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_DATA3_USDHC1_DATA3		0x1d6>,
11896a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_DATA4_USDHC1_DATA4		0x1d6>,
11906a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_DATA5_USDHC1_DATA5		0x1d6>,
11916a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_DATA6_USDHC1_DATA6		0x1d6>,
11926a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_DATA7_USDHC1_DATA7		0x1d6>,
11936a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_RESET_B_USDHC1_RESET_B	0x1d1>,
11946a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_STROBE_USDHC1_STROBE		0x196>;
11956a57f224SMarcel Ziswiler	};
11966a57f224SMarcel Ziswiler
11976a57f224SMarcel Ziswiler	pinctrl_usdhc2_cd: usdhc2cdgrp {
11986a57f224SMarcel Ziswiler		fsl,pins =
119960f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SD2_CD_B_GPIO2_IO12		0x6>;	/* SODIMM 84 */
12006a57f224SMarcel Ziswiler	};
12016a57f224SMarcel Ziswiler
12024f6b5de9SMarcel Ziswiler	pinctrl_usdhc2_cd_sleep: usdhc2cdslpgrp {
12034f6b5de9SMarcel Ziswiler		fsl,pins =
12044f6b5de9SMarcel Ziswiler			<MX8MM_IOMUXC_SD2_CD_B_GPIO2_IO12		0x0>;	/* SODIMM 84 */
12054f6b5de9SMarcel Ziswiler	};
12064f6b5de9SMarcel Ziswiler
12076a57f224SMarcel Ziswiler	pinctrl_usdhc2_pwr_en: usdhc2pwrengrp {
12086a57f224SMarcel Ziswiler		fsl,pins =
120960f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_CLE_GPIO3_IO5		0x6>;	/* SODIMM 76 */
12106a57f224SMarcel Ziswiler	};
12116a57f224SMarcel Ziswiler
1212f84ccff6SMarcel Ziswiler	/*
1213f84ccff6SMarcel Ziswiler	 * Note: Due to ERR050080 we use discrete external on-module resistors pulling-up to the
1214f84ccff6SMarcel Ziswiler	 * on-module +V3.3_1.8_SD (LDO5) rail and explicitly disable the internal pull-ups here.
1215f84ccff6SMarcel Ziswiler	 */
12166a57f224SMarcel Ziswiler	pinctrl_usdhc2: usdhc2grp {
12176a57f224SMarcel Ziswiler		fsl,pins =
1218593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_GPIO1_IO04_USDHC2_VSELECT		0x10>,
121960f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK		0x90>,	/* SODIMM 78 */
122060f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SD2_CMD_USDHC2_CMD		0x90>,	/* SODIMM 74 */
122160f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SD2_DATA0_USDHC2_DATA0		0x90>,	/* SODIMM 80 */
122260f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SD2_DATA1_USDHC2_DATA1		0x90>,	/* SODIMM 82 */
122360f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SD2_DATA2_USDHC2_DATA2		0x90>,	/* SODIMM 70 */
1224593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_SD2_DATA3_USDHC2_DATA3		0x90>;	/* SODIMM 72 */
12256a57f224SMarcel Ziswiler	};
12266a57f224SMarcel Ziswiler
12276a57f224SMarcel Ziswiler	pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp {
12286a57f224SMarcel Ziswiler		fsl,pins =
1229593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_GPIO1_IO04_USDHC2_VSELECT		0x10>,
123060f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK		0x94>,
123160f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SD2_CMD_USDHC2_CMD		0x94>,
123260f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SD2_DATA0_USDHC2_DATA0		0x94>,
123360f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SD2_DATA1_USDHC2_DATA1		0x94>,
123460f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SD2_DATA2_USDHC2_DATA2		0x94>,
1235593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_SD2_DATA3_USDHC2_DATA3		0x94>;
12366a57f224SMarcel Ziswiler	};
12376a57f224SMarcel Ziswiler
12386a57f224SMarcel Ziswiler	pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp {
12396a57f224SMarcel Ziswiler		fsl,pins =
1240593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_GPIO1_IO04_USDHC2_VSELECT		0x10>,
124160f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK		0x96>,
124260f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SD2_CMD_USDHC2_CMD		0x96>,
124360f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SD2_DATA0_USDHC2_DATA0		0x96>,
124460f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SD2_DATA1_USDHC2_DATA1		0x96>,
124560f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SD2_DATA2_USDHC2_DATA2		0x96>,
1246593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_SD2_DATA3_USDHC2_DATA3		0x96>;
12476a57f224SMarcel Ziswiler	};
12486a57f224SMarcel Ziswiler
12494f6b5de9SMarcel Ziswiler	/* Avoid backfeeding with removed card power */
12504f6b5de9SMarcel Ziswiler	pinctrl_usdhc2_sleep: usdhc2slpgrp {
12514f6b5de9SMarcel Ziswiler		fsl,pins =
12524f6b5de9SMarcel Ziswiler			<MX8MM_IOMUXC_GPIO1_IO04_USDHC2_VSELECT		0x0>,
12534f6b5de9SMarcel Ziswiler			<MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK		0x0>,
12544f6b5de9SMarcel Ziswiler			<MX8MM_IOMUXC_SD2_CMD_USDHC2_CMD		0x0>,
12554f6b5de9SMarcel Ziswiler			<MX8MM_IOMUXC_SD2_DATA0_USDHC2_DATA0		0x0>,
12564f6b5de9SMarcel Ziswiler			<MX8MM_IOMUXC_SD2_DATA1_USDHC2_DATA1		0x0>,
12574f6b5de9SMarcel Ziswiler			<MX8MM_IOMUXC_SD2_DATA2_USDHC2_DATA2		0x0>,
12584f6b5de9SMarcel Ziswiler			<MX8MM_IOMUXC_SD2_DATA3_USDHC2_DATA3		0x0>;
12594f6b5de9SMarcel Ziswiler	};
12604f6b5de9SMarcel Ziswiler
126198e4f193SMarcel Ziswiler	/*
126298e4f193SMarcel Ziswiler	 * On-module Wi-Fi/BT or type specific SDHC interface
126398e4f193SMarcel Ziswiler	 * (e.g. on X52 extension slot of Verdin Development Board)
126498e4f193SMarcel Ziswiler	 */
12656a57f224SMarcel Ziswiler	pinctrl_usdhc3: usdhc3grp {
12666a57f224SMarcel Ziswiler		fsl,pins =
126760f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_DATA04_USDHC3_DATA0		0x150>,
126860f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_DATA05_USDHC3_DATA1		0x150>,
126960f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_DATA06_USDHC3_DATA2		0x150>,
1270593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_DATA07_USDHC3_DATA3		0x150>,
1271593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_WE_B_USDHC3_CLK		0x150>,
1272593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_WP_B_USDHC3_CMD		0x150>;
12736a57f224SMarcel Ziswiler	};
12746a57f224SMarcel Ziswiler
12756a57f224SMarcel Ziswiler	pinctrl_usdhc3_100mhz: usdhc3-100mhzgrp {
12766a57f224SMarcel Ziswiler		fsl,pins =
127760f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_DATA04_USDHC3_DATA0		0x154>,
127860f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_DATA05_USDHC3_DATA1		0x154>,
127960f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_DATA06_USDHC3_DATA2		0x154>,
1280593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_DATA07_USDHC3_DATA3		0x154>,
1281593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_WE_B_USDHC3_CLK		0x154>,
1282593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_WP_B_USDHC3_CMD		0x154>;
12836a57f224SMarcel Ziswiler	};
12846a57f224SMarcel Ziswiler
12856a57f224SMarcel Ziswiler	pinctrl_usdhc3_200mhz: usdhc3-200mhzgrp {
12866a57f224SMarcel Ziswiler		fsl,pins =
128760f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_DATA04_USDHC3_DATA0		0x156>,
128860f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_DATA05_USDHC3_DATA1		0x156>,
128960f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_DATA06_USDHC3_DATA2		0x156>,
1290593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_DATA07_USDHC3_DATA3		0x156>,
1291593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_WE_B_USDHC3_CLK		0x156>,
1292593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_WP_B_USDHC3_CMD		0x156>;
12936a57f224SMarcel Ziswiler	};
12946a57f224SMarcel Ziswiler
12956a57f224SMarcel Ziswiler	pinctrl_wdog: wdoggrp {
12966a57f224SMarcel Ziswiler		fsl,pins =
129760f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_GPIO1_IO02_WDOG1_WDOG_B		0x166>;	/* PMIC_WDI */
12986a57f224SMarcel Ziswiler	};
12996a57f224SMarcel Ziswiler
13006a57f224SMarcel Ziswiler	pinctrl_wifi_ctrl: wifictrlgrp {
13016a57f224SMarcel Ziswiler		fsl,pins =
130260f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_READY_B_GPIO3_IO16		0x46>,	/* WIFI_WKUP_BT */
130360f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI1_RXD7_GPIO4_IO9		0x146>,	/* WIFI_W_WKUP_HOST */
130460f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI5_RXC_GPIO3_IO20		0x46>;	/* WIFI_WKUP_WLAN */
13056a57f224SMarcel Ziswiler	};
13066a57f224SMarcel Ziswiler
13076a57f224SMarcel Ziswiler	pinctrl_wifi_i2s: bti2sgrp {
13086a57f224SMarcel Ziswiler		fsl,pins =
130960f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI1_RXD4_SAI6_TX_BCLK		0x6>,	/* WIFI_TX_BCLK */
131060f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI1_RXD5_SAI6_TX_DATA0		0x6>,	/* WIFI_TX_DATA0 */
131160f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI1_RXD6_SAI6_TX_SYNC		0x6>,	/* WIFI_TX_SYNC */
131260f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI1_TXD5_SAI6_RX_DATA0		0x6>;	/* WIFI_RX_DATA0 */
13136a57f224SMarcel Ziswiler	};
13146a57f224SMarcel Ziswiler
13156a57f224SMarcel Ziswiler	pinctrl_wifi_pwr_en: wifipwrengrp {
13166a57f224SMarcel Ziswiler		fsl,pins =
131760f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI5_MCLK_GPIO3_IO25		0x6>;	/* PMIC_EN_WIFI */
13186a57f224SMarcel Ziswiler	};
13196a57f224SMarcel Ziswiler};
1320