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>;
59*1eea795bSStefan Eichenberger		/* Verdin PWM_3_DSI (SODIMM 19) */
60*1eea795bSStefan Eichenberger		hpd-gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>;
6163a71a90SPhilippe Schenker		label = "hdmi";
62*1eea795bSStefan Eichenberger		pinctrl-names = "default";
63*1eea795bSStefan 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 */
1026a57f224SMarcel Ziswiler		off-on-delay = <500000>;
1036a57f224SMarcel Ziswiler		pinctrl-names = "default";
1046a57f224SMarcel Ziswiler		pinctrl-0 = <&pinctrl_reg_eth>;
1056a57f224SMarcel Ziswiler		regulator-boot-on;
1066a57f224SMarcel Ziswiler		regulator-max-microvolt = <3300000>;
1076a57f224SMarcel Ziswiler		regulator-min-microvolt = <3300000>;
10897a07703SMarcel Ziswiler		regulator-name = "On-module +V3.3_ETH";
1096a57f224SMarcel Ziswiler		startup-delay-us = <200000>;
1106a57f224SMarcel Ziswiler	};
1116a57f224SMarcel Ziswiler
1126a57f224SMarcel Ziswiler	reg_usb_otg1_vbus: regulator-usb-otg1 {
1136a57f224SMarcel Ziswiler		compatible = "regulator-fixed";
1146a57f224SMarcel Ziswiler		enable-active-high;
1156a57f224SMarcel Ziswiler		/* Verdin USB_1_EN (SODIMM 155) */
1166a57f224SMarcel Ziswiler		gpio = <&gpio1 12 GPIO_ACTIVE_HIGH>;
1176a57f224SMarcel Ziswiler		pinctrl-names = "default";
1186a57f224SMarcel Ziswiler		pinctrl-0 = <&pinctrl_reg_usb1_en>;
1196a57f224SMarcel Ziswiler		regulator-max-microvolt = <5000000>;
1206a57f224SMarcel Ziswiler		regulator-min-microvolt = <5000000>;
12197a07703SMarcel Ziswiler		regulator-name = "USB_1_EN";
1226a57f224SMarcel Ziswiler	};
1236a57f224SMarcel Ziswiler
1246a57f224SMarcel Ziswiler	reg_usb_otg2_vbus: regulator-usb-otg2 {
1256a57f224SMarcel Ziswiler		compatible = "regulator-fixed";
1266a57f224SMarcel Ziswiler		enable-active-high;
1276a57f224SMarcel Ziswiler		/* Verdin USB_2_EN (SODIMM 185) */
1286a57f224SMarcel Ziswiler		gpio = <&gpio1 14 GPIO_ACTIVE_HIGH>;
1296a57f224SMarcel Ziswiler		pinctrl-names = "default";
1306a57f224SMarcel Ziswiler		pinctrl-0 = <&pinctrl_reg_usb2_en>;
1316a57f224SMarcel Ziswiler		regulator-max-microvolt = <5000000>;
1326a57f224SMarcel Ziswiler		regulator-min-microvolt = <5000000>;
13397a07703SMarcel Ziswiler		regulator-name = "USB_2_EN";
1346a57f224SMarcel Ziswiler	};
1356a57f224SMarcel Ziswiler
1366a57f224SMarcel Ziswiler	reg_usdhc2_vmmc: regulator-usdhc2 {
1376a57f224SMarcel Ziswiler		compatible = "regulator-fixed";
1386a57f224SMarcel Ziswiler		enable-active-high;
1396a57f224SMarcel Ziswiler		/* Verdin SD_1_PWR_EN (SODIMM 76) */
1406a57f224SMarcel Ziswiler		gpio = <&gpio3 5 GPIO_ACTIVE_HIGH>;
1416a57f224SMarcel Ziswiler		off-on-delay = <100000>;
1426a57f224SMarcel Ziswiler		pinctrl-names = "default";
1436a57f224SMarcel Ziswiler		pinctrl-0 = <&pinctrl_usdhc2_pwr_en>;
1446a57f224SMarcel Ziswiler		regulator-max-microvolt = <3300000>;
1456a57f224SMarcel Ziswiler		regulator-min-microvolt = <3300000>;
1466a57f224SMarcel Ziswiler		regulator-name = "+V3.3_SD";
1476a57f224SMarcel Ziswiler		startup-delay-us = <2000>;
1486a57f224SMarcel Ziswiler	};
1496a57f224SMarcel Ziswiler
1506a57f224SMarcel Ziswiler	reserved-memory {
1516a57f224SMarcel Ziswiler		#address-cells = <2>;
1526a57f224SMarcel Ziswiler		#size-cells = <2>;
1536a57f224SMarcel Ziswiler		ranges;
1546a57f224SMarcel Ziswiler
1556a57f224SMarcel Ziswiler		/* Use the kernel configuration settings instead */
1566a57f224SMarcel Ziswiler		/delete-node/ linux,cma;
1576a57f224SMarcel Ziswiler	};
1586a57f224SMarcel Ziswiler};
1596a57f224SMarcel Ziswiler
1606a57f224SMarcel Ziswiler&A53_0 {
1616a57f224SMarcel Ziswiler	cpu-supply = <&reg_vdd_arm>;
1626a57f224SMarcel Ziswiler};
1636a57f224SMarcel Ziswiler
1646a57f224SMarcel Ziswiler&A53_1 {
1656a57f224SMarcel Ziswiler	cpu-supply = <&reg_vdd_arm>;
1666a57f224SMarcel Ziswiler};
1676a57f224SMarcel Ziswiler
1686a57f224SMarcel Ziswiler&A53_2 {
1696a57f224SMarcel Ziswiler	cpu-supply = <&reg_vdd_arm>;
1706a57f224SMarcel Ziswiler};
1716a57f224SMarcel Ziswiler
1726a57f224SMarcel Ziswiler&A53_3 {
1736a57f224SMarcel Ziswiler	cpu-supply = <&reg_vdd_arm>;
1746a57f224SMarcel Ziswiler};
1756a57f224SMarcel Ziswiler
176a242ef5fSPhilippe Schenker&cpu_alert0 {
177a242ef5fSPhilippe Schenker	temperature = <95000>;
178a242ef5fSPhilippe Schenker};
179a242ef5fSPhilippe Schenker
180a242ef5fSPhilippe Schenker&cpu_crit0 {
181a242ef5fSPhilippe Schenker	temperature = <105000>;
182a242ef5fSPhilippe Schenker};
183a242ef5fSPhilippe Schenker
1846a57f224SMarcel Ziswiler&ddrc {
1856a57f224SMarcel Ziswiler	operating-points-v2 = <&ddrc_opp_table>;
1866a57f224SMarcel Ziswiler
1876a57f224SMarcel Ziswiler	ddrc_opp_table: opp-table {
1886a57f224SMarcel Ziswiler		compatible = "operating-points-v2";
1896a57f224SMarcel Ziswiler
1900c068a36SMarek Vasut		opp-25000000 {
1916a57f224SMarcel Ziswiler			opp-hz = /bits/ 64 <25000000>;
1926a57f224SMarcel Ziswiler		};
1936a57f224SMarcel Ziswiler
1940c068a36SMarek Vasut		opp-100000000 {
1956a57f224SMarcel Ziswiler			opp-hz = /bits/ 64 <100000000>;
1966a57f224SMarcel Ziswiler		};
1976a57f224SMarcel Ziswiler
1980c068a36SMarek Vasut		opp-750000000 {
1996a57f224SMarcel Ziswiler			opp-hz = /bits/ 64 <750000000>;
2006a57f224SMarcel Ziswiler		};
2016a57f224SMarcel Ziswiler	};
2026a57f224SMarcel Ziswiler};
2036a57f224SMarcel Ziswiler
2046a57f224SMarcel Ziswiler/* Verdin SPI_1 */
2056a57f224SMarcel Ziswiler&ecspi2 {
2066a57f224SMarcel Ziswiler	#address-cells = <1>;
2076a57f224SMarcel Ziswiler	#size-cells = <0>;
2086a57f224SMarcel Ziswiler	cs-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>;
2096a57f224SMarcel Ziswiler	pinctrl-names = "default";
2106a57f224SMarcel Ziswiler	pinctrl-0 = <&pinctrl_ecspi2>;
2116a57f224SMarcel Ziswiler};
2126a57f224SMarcel Ziswiler
2136a57f224SMarcel Ziswiler/* Verdin CAN_1 (On-module) */
2146a57f224SMarcel Ziswiler&ecspi3 {
2156a57f224SMarcel Ziswiler	#address-cells = <1>;
2166a57f224SMarcel Ziswiler	#size-cells = <0>;
2176a57f224SMarcel Ziswiler	cs-gpios = <&gpio5 25 GPIO_ACTIVE_LOW>;
2186a57f224SMarcel Ziswiler	pinctrl-names = "default";
2196a57f224SMarcel Ziswiler	pinctrl-0 = <&pinctrl_ecspi3>;
2206a57f224SMarcel Ziswiler	status = "okay";
2216a57f224SMarcel Ziswiler
2226a57f224SMarcel Ziswiler	can1: can@0 {
2236a57f224SMarcel Ziswiler		compatible = "microchip,mcp251xfd";
224be1e3dfeSAndrejs Cainikovs		clocks = <&clk40m>;
225e9f130e0SAndrejs Cainikovs		interrupts-extended = <&gpio1 6 IRQ_TYPE_LEVEL_LOW>;
2266a57f224SMarcel Ziswiler		pinctrl-names = "default";
2276a57f224SMarcel Ziswiler		pinctrl-0 = <&pinctrl_can1_int>;
2286a57f224SMarcel Ziswiler		reg = <0>;
2296a57f224SMarcel Ziswiler		spi-max-frequency = <8500000>;
2306a57f224SMarcel Ziswiler	};
2316a57f224SMarcel Ziswiler};
2326a57f224SMarcel Ziswiler
2336a57f224SMarcel Ziswiler/* Verdin ETH_1 (On-module PHY) */
2346a57f224SMarcel Ziswiler&fec1 {
2356a57f224SMarcel Ziswiler	fsl,magic-packet;
2366a57f224SMarcel Ziswiler	phy-handle = <&ethphy0>;
2376a57f224SMarcel Ziswiler	phy-mode = "rgmii-id";
2386a57f224SMarcel Ziswiler	phy-supply = <&reg_ethphy>;
2396a57f224SMarcel Ziswiler	pinctrl-names = "default", "sleep";
2406a57f224SMarcel Ziswiler	pinctrl-0 = <&pinctrl_fec1>;
2416a57f224SMarcel Ziswiler	pinctrl-1 = <&pinctrl_fec1_sleep>;
2426a57f224SMarcel Ziswiler
2436a57f224SMarcel Ziswiler	mdio {
2446a57f224SMarcel Ziswiler		#address-cells = <1>;
2456a57f224SMarcel Ziswiler		#size-cells = <0>;
2466a57f224SMarcel Ziswiler
2476a57f224SMarcel Ziswiler		ethphy0: ethernet-phy@7 {
2486a57f224SMarcel Ziswiler			compatible = "ethernet-phy-ieee802.3-c22";
2496a57f224SMarcel Ziswiler			interrupt-parent = <&gpio1>;
2506a57f224SMarcel Ziswiler			interrupts = <10 IRQ_TYPE_LEVEL_LOW>;
2516a57f224SMarcel Ziswiler			micrel,led-mode = <0>;
2526a57f224SMarcel Ziswiler			reg = <7>;
2536a57f224SMarcel Ziswiler		};
2546a57f224SMarcel Ziswiler	};
2556a57f224SMarcel Ziswiler};
2566a57f224SMarcel Ziswiler
2576a57f224SMarcel Ziswiler/* Verdin QSPI_1 */
2586a57f224SMarcel Ziswiler&flexspi {
2596a57f224SMarcel Ziswiler	pinctrl-names = "default";
2606a57f224SMarcel Ziswiler	pinctrl-0 = <&pinctrl_flexspi0>;
2616a57f224SMarcel Ziswiler};
2626a57f224SMarcel Ziswiler
2636a57f224SMarcel Ziswiler&gpio1 {
2646a57f224SMarcel Ziswiler	gpio-line-names = "SODIMM_216",
2656a57f224SMarcel Ziswiler			  "SODIMM_19",
2666a57f224SMarcel Ziswiler			  "",
2676a57f224SMarcel Ziswiler			  "",
2686a57f224SMarcel Ziswiler			  "",
2696a57f224SMarcel Ziswiler			  "",
2706a57f224SMarcel Ziswiler			  "",
2716a57f224SMarcel Ziswiler			  "",
2726a57f224SMarcel Ziswiler			  "SODIMM_220",
2736a57f224SMarcel Ziswiler			  "SODIMM_222",
2746a57f224SMarcel Ziswiler			  "",
2756a57f224SMarcel Ziswiler			  "SODIMM_218",
2766a57f224SMarcel Ziswiler			  "SODIMM_155",
2776a57f224SMarcel Ziswiler			  "SODIMM_157",
2786a57f224SMarcel Ziswiler			  "SODIMM_185",
2796a57f224SMarcel Ziswiler			  "SODIMM_187";
2806a57f224SMarcel Ziswiler};
2816a57f224SMarcel Ziswiler
2826a57f224SMarcel Ziswiler&gpio2 {
2836a57f224SMarcel Ziswiler	gpio-line-names = "",
2846a57f224SMarcel Ziswiler			  "",
2856a57f224SMarcel Ziswiler			  "",
2866a57f224SMarcel Ziswiler			  "",
2876a57f224SMarcel Ziswiler			  "",
2886a57f224SMarcel Ziswiler			  "",
2896a57f224SMarcel Ziswiler			  "",
2906a57f224SMarcel Ziswiler			  "",
2916a57f224SMarcel Ziswiler			  "",
2926a57f224SMarcel Ziswiler			  "",
2936a57f224SMarcel Ziswiler			  "",
2946a57f224SMarcel Ziswiler			  "",
2956a57f224SMarcel Ziswiler			  "SODIMM_84",
2966a57f224SMarcel Ziswiler			  "SODIMM_78",
2976a57f224SMarcel Ziswiler			  "SODIMM_74",
2986a57f224SMarcel Ziswiler			  "SODIMM_80",
2996a57f224SMarcel Ziswiler			  "SODIMM_82",
3006a57f224SMarcel Ziswiler			  "SODIMM_70",
3016a57f224SMarcel Ziswiler			  "SODIMM_72";
3026a57f224SMarcel Ziswiler};
3036a57f224SMarcel Ziswiler
3046a57f224SMarcel Ziswiler&gpio5 {
3056a57f224SMarcel Ziswiler	gpio-line-names = "SODIMM_131",
3066a57f224SMarcel Ziswiler			  "",
3076a57f224SMarcel Ziswiler			  "SODIMM_91",
3086a57f224SMarcel Ziswiler			  "SODIMM_16",
3096a57f224SMarcel Ziswiler			  "SODIMM_15",
3106a57f224SMarcel Ziswiler			  "SODIMM_208",
3116a57f224SMarcel Ziswiler			  "SODIMM_137",
3126a57f224SMarcel Ziswiler			  "SODIMM_139",
3136a57f224SMarcel Ziswiler			  "SODIMM_141",
3146a57f224SMarcel Ziswiler			  "SODIMM_143",
3156a57f224SMarcel Ziswiler			  "SODIMM_196",
3166a57f224SMarcel Ziswiler			  "SODIMM_200",
3176a57f224SMarcel Ziswiler			  "SODIMM_198",
3186a57f224SMarcel Ziswiler			  "SODIMM_202",
3196a57f224SMarcel Ziswiler			  "",
3206a57f224SMarcel Ziswiler			  "",
3216a57f224SMarcel Ziswiler			  "SODIMM_55",
3226a57f224SMarcel Ziswiler			  "SODIMM_53",
3236a57f224SMarcel Ziswiler			  "SODIMM_95",
3246a57f224SMarcel Ziswiler			  "SODIMM_93",
3256a57f224SMarcel Ziswiler			  "SODIMM_14",
3266a57f224SMarcel Ziswiler			  "SODIMM_12",
3276a57f224SMarcel Ziswiler			  "",
3286a57f224SMarcel Ziswiler			  "",
3296a57f224SMarcel Ziswiler			  "",
3306a57f224SMarcel Ziswiler			  "",
3316a57f224SMarcel Ziswiler			  "SODIMM_210",
3326a57f224SMarcel Ziswiler			  "SODIMM_212",
3336a57f224SMarcel Ziswiler			  "SODIMM_151",
3346a57f224SMarcel Ziswiler			  "SODIMM_153";
3356a57f224SMarcel Ziswiler
3369847725eSMarcel Ziswiler	ctrl-sleep-moci-hog {
3376a57f224SMarcel Ziswiler		gpio-hog;
3386a57f224SMarcel Ziswiler		/* Verdin CTRL_SLEEP_MOCI# (SODIMM 256) */
3396a57f224SMarcel Ziswiler		gpios = <1 GPIO_ACTIVE_HIGH>;
3406a57f224SMarcel Ziswiler		line-name = "CTRL_SLEEP_MOCI#";
3416a57f224SMarcel Ziswiler		output-high;
3426a57f224SMarcel Ziswiler		pinctrl-names = "default";
3436a57f224SMarcel Ziswiler		pinctrl-0 = <&pinctrl_ctrl_sleep_moci>;
3446a57f224SMarcel Ziswiler	};
3456a57f224SMarcel Ziswiler};
3466a57f224SMarcel Ziswiler
3476a57f224SMarcel Ziswiler/* On-module I2C */
3486a57f224SMarcel Ziswiler&i2c1 {
3496a57f224SMarcel Ziswiler	clock-frequency = <400000>;
3506a57f224SMarcel Ziswiler	pinctrl-names = "default", "gpio";
3516a57f224SMarcel Ziswiler	pinctrl-0 = <&pinctrl_i2c1>;
3526a57f224SMarcel Ziswiler	pinctrl-1 = <&pinctrl_i2c1_gpio>;
3536a57f224SMarcel Ziswiler	scl-gpios = <&gpio5 14 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
3546a57f224SMarcel Ziswiler	sda-gpios = <&gpio5 15 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
3556a57f224SMarcel Ziswiler	status = "okay";
3566a57f224SMarcel Ziswiler
3576a57f224SMarcel Ziswiler	pca9450: pmic@25 {
3586a57f224SMarcel Ziswiler		compatible = "nxp,pca9450a";
3596a57f224SMarcel Ziswiler		interrupt-parent = <&gpio1>;
3606a57f224SMarcel Ziswiler		/* PMIC PCA9450 PMIC_nINT GPIO1_IO3 */
3616a57f224SMarcel Ziswiler		interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
3626a57f224SMarcel Ziswiler		pinctrl-names = "default";
3636a57f224SMarcel Ziswiler		pinctrl-0 = <&pinctrl_pmic>;
3646a57f224SMarcel Ziswiler		reg = <0x25>;
3656a57f224SMarcel Ziswiler		sd-vsel-gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
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";
605*1eea795bSStefan 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>;
6608fb7256aSMarcel Ziswiler	clocks = <&clk IMX8MM_CLK_PCIE1_ROOT>,
6618fb7256aSMarcel Ziswiler		 <&clk IMX8MM_CLK_PCIE1_AUX>,
6626a57f224SMarcel Ziswiler		 <&clk IMX8MM_CLK_PCIE1_PHY>;
6636a57f224SMarcel Ziswiler	clock-names = "pcie", "pcie_aux", "pcie_bus";
6646a57f224SMarcel Ziswiler	pinctrl-names = "default";
6656a57f224SMarcel Ziswiler	pinctrl-0 = <&pinctrl_pcie0>;
6666a57f224SMarcel Ziswiler	/* PCIE_1_RESET# (SODIMM 244) */
6676a57f224SMarcel Ziswiler	reset-gpio = <&gpio3 19 GPIO_ACTIVE_LOW>;
6686a57f224SMarcel Ziswiler};
6696a57f224SMarcel Ziswiler
6706a57f224SMarcel Ziswiler&pcie_phy {
6716a57f224SMarcel Ziswiler	clocks = <&clk IMX8MM_CLK_PCIE1_PHY>;
6728fb7256aSMarcel Ziswiler	clock-names = "ref";
6736a57f224SMarcel Ziswiler	fsl,clkreq-unsupported;
6746a57f224SMarcel Ziswiler	fsl,refclk-pad-mode = <IMX8_PCIE_REFCLK_PAD_OUTPUT>;
6756a57f224SMarcel Ziswiler	fsl,tx-deemph-gen1 = <0x2d>;
6766a57f224SMarcel Ziswiler	fsl,tx-deemph-gen2 = <0xf>;
6776a57f224SMarcel Ziswiler};
6786a57f224SMarcel Ziswiler
6796a57f224SMarcel Ziswiler/* Verdin PWM_3_DSI */
6806a57f224SMarcel Ziswiler&pwm1 {
6816a57f224SMarcel Ziswiler	pinctrl-names = "default";
6826a57f224SMarcel Ziswiler	pinctrl-0 = <&pinctrl_pwm_1>;
6836a57f224SMarcel Ziswiler	#pwm-cells = <3>;
6846a57f224SMarcel Ziswiler};
6856a57f224SMarcel Ziswiler
6866a57f224SMarcel Ziswiler/* Verdin PWM_1 */
6876a57f224SMarcel Ziswiler&pwm2 {
6886a57f224SMarcel Ziswiler	pinctrl-names = "default";
6896a57f224SMarcel Ziswiler	pinctrl-0 = <&pinctrl_pwm_2>;
6906a57f224SMarcel Ziswiler	#pwm-cells = <3>;
6916a57f224SMarcel Ziswiler};
6926a57f224SMarcel Ziswiler
6936a57f224SMarcel Ziswiler/* Verdin PWM_2 */
6946a57f224SMarcel Ziswiler&pwm3 {
6956a57f224SMarcel Ziswiler	pinctrl-names = "default";
6966a57f224SMarcel Ziswiler	pinctrl-0 = <&pinctrl_pwm_3>;
6976a57f224SMarcel Ziswiler	#pwm-cells = <3>;
6986a57f224SMarcel Ziswiler};
6996a57f224SMarcel Ziswiler
700473b34b8SMarcel Ziswiler/* Verdin I2S_1 */
7016a57f224SMarcel Ziswiler&sai2 {
7026a57f224SMarcel Ziswiler	#sound-dai-cells = <0>;
7036a57f224SMarcel Ziswiler	assigned-clock-parents = <&clk IMX8MM_AUDIO_PLL1_OUT>;
7046a57f224SMarcel Ziswiler	assigned-clock-rates = <24576000>;
7056a57f224SMarcel Ziswiler	assigned-clocks = <&clk IMX8MM_CLK_SAI2>;
7066a57f224SMarcel Ziswiler	pinctrl-names = "default";
7076a57f224SMarcel Ziswiler	pinctrl-0 = <&pinctrl_sai2>;
7086a57f224SMarcel Ziswiler};
7096a57f224SMarcel Ziswiler
7106a57f224SMarcel Ziswiler&snvs_pwrkey {
7116a57f224SMarcel Ziswiler	status = "okay";
7126a57f224SMarcel Ziswiler};
7136a57f224SMarcel Ziswiler
7146a57f224SMarcel Ziswiler/* Verdin UART_3, used as the Linux console */
7156a57f224SMarcel Ziswiler&uart1 {
7166a57f224SMarcel Ziswiler	pinctrl-names = "default";
7176a57f224SMarcel Ziswiler	pinctrl-0 = <&pinctrl_uart1>;
7186a57f224SMarcel Ziswiler};
7196a57f224SMarcel Ziswiler
7206a57f224SMarcel Ziswiler/* Verdin UART_1 */
7216a57f224SMarcel Ziswiler&uart2 {
7226a57f224SMarcel Ziswiler	pinctrl-names = "default";
7236a57f224SMarcel Ziswiler	pinctrl-0 = <&pinctrl_uart2>;
7246a57f224SMarcel Ziswiler	uart-has-rtscts;
7256a57f224SMarcel Ziswiler};
7266a57f224SMarcel Ziswiler
7276a57f224SMarcel Ziswiler/* Verdin UART_2 */
7286a57f224SMarcel Ziswiler&uart3 {
7296a57f224SMarcel Ziswiler	pinctrl-names = "default";
7306a57f224SMarcel Ziswiler	pinctrl-0 = <&pinctrl_uart3>;
7316a57f224SMarcel Ziswiler	uart-has-rtscts;
7326a57f224SMarcel Ziswiler};
7336a57f224SMarcel Ziswiler
7346a57f224SMarcel Ziswiler/*
73598e4f193SMarcel Ziswiler * Verdin UART_4
7366a57f224SMarcel Ziswiler * Resource allocated to M4 by default, must not be accessed from Cortex-A35 or you get an OOPS
7376a57f224SMarcel Ziswiler */
7386a57f224SMarcel Ziswiler&uart4 {
7396a57f224SMarcel Ziswiler	pinctrl-names = "default";
7406a57f224SMarcel Ziswiler	pinctrl-0 = <&pinctrl_uart4>;
7416a57f224SMarcel Ziswiler};
7426a57f224SMarcel Ziswiler
7436a57f224SMarcel Ziswiler/* Verdin USB_1 */
7446a57f224SMarcel Ziswiler&usbotg1 {
7456a57f224SMarcel Ziswiler	adp-disable;
7466a57f224SMarcel Ziswiler	dr_mode = "otg";
7476a57f224SMarcel Ziswiler	hnp-disable;
7486a57f224SMarcel Ziswiler	samsung,picophy-dc-vol-level-adjust = <7>;
7496a57f224SMarcel Ziswiler	samsung,picophy-pre-emp-curr-control = <3>;
7506a57f224SMarcel Ziswiler	srp-disable;
7516a57f224SMarcel Ziswiler	vbus-supply = <&reg_usb_otg1_vbus>;
7526a57f224SMarcel Ziswiler};
7536a57f224SMarcel Ziswiler
7546a57f224SMarcel Ziswiler/* Verdin USB_2 */
7556a57f224SMarcel Ziswiler&usbotg2 {
7566a57f224SMarcel Ziswiler	dr_mode = "host";
7576a57f224SMarcel Ziswiler	samsung,picophy-dc-vol-level-adjust = <7>;
7586a57f224SMarcel Ziswiler	samsung,picophy-pre-emp-curr-control = <3>;
7596a57f224SMarcel Ziswiler	vbus-supply = <&reg_usb_otg2_vbus>;
7606a57f224SMarcel Ziswiler};
7616a57f224SMarcel Ziswiler
7626a57f224SMarcel Ziswiler&usbphynop1 {
7636a57f224SMarcel Ziswiler	vcc-supply = <&reg_vdd_3v3>;
7646a57f224SMarcel Ziswiler};
7656a57f224SMarcel Ziswiler
7666a57f224SMarcel Ziswiler&usbphynop2 {
7672fa24aa7SPhilippe Schenker	power-domains = <&pgc_otg2>;
7686a57f224SMarcel Ziswiler	vcc-supply = <&reg_vdd_3v3>;
7696a57f224SMarcel Ziswiler};
7706a57f224SMarcel Ziswiler
7716a57f224SMarcel Ziswiler/* On-module eMMC */
7726a57f224SMarcel Ziswiler&usdhc1 {
7736a57f224SMarcel Ziswiler	bus-width = <8>;
7746a57f224SMarcel Ziswiler	keep-power-in-suspend;
7756a57f224SMarcel Ziswiler	non-removable;
7766a57f224SMarcel Ziswiler	pinctrl-names = "default", "state_100mhz", "state_200mhz";
7776a57f224SMarcel Ziswiler	pinctrl-0 = <&pinctrl_usdhc1>;
7786a57f224SMarcel Ziswiler	pinctrl-1 = <&pinctrl_usdhc1_100mhz>;
7796a57f224SMarcel Ziswiler	pinctrl-2 = <&pinctrl_usdhc1_200mhz>;
7806a57f224SMarcel Ziswiler	status = "okay";
7816a57f224SMarcel Ziswiler};
7826a57f224SMarcel Ziswiler
7836a57f224SMarcel Ziswiler/* Verdin SD_1 */
7846a57f224SMarcel Ziswiler&usdhc2 {
7856a57f224SMarcel Ziswiler	bus-width = <4>;
7866a57f224SMarcel Ziswiler	cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
7876a57f224SMarcel Ziswiler	disable-wp;
7884f6b5de9SMarcel Ziswiler	pinctrl-names = "default", "state_100mhz", "state_200mhz", "sleep";
7896a57f224SMarcel Ziswiler	pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_cd>;
7906a57f224SMarcel Ziswiler	pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_cd>;
7916a57f224SMarcel Ziswiler	pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_cd>;
7924f6b5de9SMarcel Ziswiler	pinctrl-3 = <&pinctrl_usdhc2_sleep>, <&pinctrl_usdhc2_cd_sleep>;
7936a57f224SMarcel Ziswiler	vmmc-supply = <&reg_usdhc2_vmmc>;
7946a57f224SMarcel Ziswiler};
7956a57f224SMarcel Ziswiler
7966a57f224SMarcel Ziswiler&wdog1 {
7976a57f224SMarcel Ziswiler	fsl,ext-reset-output;
7986a57f224SMarcel Ziswiler	pinctrl-names = "default";
7996a57f224SMarcel Ziswiler	pinctrl-0 = <&pinctrl_wdog>;
8006a57f224SMarcel Ziswiler	status = "okay";
8016a57f224SMarcel Ziswiler};
8026a57f224SMarcel Ziswiler
8036a57f224SMarcel Ziswiler&iomuxc {
8046a57f224SMarcel Ziswiler	pinctrl-names = "default";
8056a57f224SMarcel Ziswiler	pinctrl-0 = <&pinctrl_gpio1>, <&pinctrl_gpio2>,
8066a57f224SMarcel Ziswiler		    <&pinctrl_gpio3>, <&pinctrl_gpio4>,
8076a57f224SMarcel Ziswiler		    <&pinctrl_gpio7>, <&pinctrl_gpio8>,
8086a57f224SMarcel Ziswiler		    <&pinctrl_gpio_hog1>, <&pinctrl_gpio_hog2>, <&pinctrl_gpio_hog3>,
8096a57f224SMarcel Ziswiler		    <&pinctrl_pmic_tpm_ena>;
8106a57f224SMarcel Ziswiler
8116a57f224SMarcel Ziswiler	pinctrl_can1_int: can1intgrp {
8126a57f224SMarcel Ziswiler		fsl,pins =
81360f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_GPIO1_IO06_GPIO1_IO6		0x146>;	/* CAN_1_SPI_INT#_1.8V */
8146a57f224SMarcel Ziswiler	};
8156a57f224SMarcel Ziswiler
8166a57f224SMarcel Ziswiler	pinctrl_can2_int: can2intgrp {
8176a57f224SMarcel Ziswiler		fsl,pins =
81860f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_GPIO1_IO07_GPIO1_IO7		0x106>;	/* CAN_2_SPI_INT#_1.8V, unused */
8196a57f224SMarcel Ziswiler	};
8206a57f224SMarcel Ziswiler
8216a57f224SMarcel Ziswiler	pinctrl_ctrl_sleep_moci: ctrlsleepmocigrp {
8226a57f224SMarcel Ziswiler		fsl,pins =
82360f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI3_TXD_GPIO5_IO1		0x106>;	/* SODIMM 256 */
8246a57f224SMarcel Ziswiler	};
8256a57f224SMarcel Ziswiler
8266a57f224SMarcel Ziswiler	pinctrl_ecspi2: ecspi2grp {
8276a57f224SMarcel Ziswiler		fsl,pins =
82860f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_ECSPI2_MISO_ECSPI2_MISO		0x6>,	/* SODIMM 198 */
829593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_ECSPI2_MOSI_ECSPI2_MOSI		0x6>,	/* SODIMM 200 */
830593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_ECSPI2_SCLK_ECSPI2_SCLK		0x6>,	/* SODIMM 196 */
83160f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_ECSPI2_SS0_GPIO5_IO13		0x6>;	/* SODIMM 202 */
8326a57f224SMarcel Ziswiler	};
8336a57f224SMarcel Ziswiler
8346a57f224SMarcel Ziswiler	pinctrl_ecspi3: ecspi3grp {
8356a57f224SMarcel Ziswiler		fsl,pins =
836593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_GPIO1_IO05_GPIO1_IO5		0x146>,	/* CAN_2_SPI_CS#_1.8V */
83760f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_UART1_RXD_ECSPI3_SCLK		0x6>,	/* CAN_SPI_SCK_1.8V */
83860f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_UART1_TXD_ECSPI3_MOSI		0x6>,	/* CAN_SPI_MOSI_1.8V */
83960f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_UART2_RXD_ECSPI3_MISO		0x6>,	/* CAN_SPI_MISO_1.8V */
840593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_UART2_TXD_GPIO5_IO25		0x6>;	/* CAN_1_SPI_CS_1.8V# */
8416a57f224SMarcel Ziswiler	};
8426a57f224SMarcel Ziswiler
8436a57f224SMarcel Ziswiler	pinctrl_fec1: fec1grp {
8446a57f224SMarcel Ziswiler		fsl,pins =
8456a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_ENET_MDC_ENET1_MDC		0x3>,
8466a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_ENET_MDIO_ENET1_MDIO		0x3>,
8476a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_ENET_RD0_ENET1_RGMII_RD0		0x91>,
848593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_ENET_RD1_ENET1_RGMII_RD1		0x91>,
849593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_ENET_RD2_ENET1_RGMII_RD2		0x91>,
850593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_ENET_RD3_ENET1_RGMII_RD3		0x91>,
8516a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_ENET_RXC_ENET1_RGMII_RXC		0x91>,
8526a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_ENET_RX_CTL_ENET1_RGMII_RX_CTL	0x91>,
853593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_ENET_TD0_ENET1_RGMII_TD0		0x1f>,
854593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_ENET_TD1_ENET1_RGMII_TD1		0x1f>,
855593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_ENET_TD2_ENET1_RGMII_TD2		0x1f>,
856593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_ENET_TD3_ENET1_RGMII_TD3		0x1f>,
857593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_ENET_TXC_ENET1_RGMII_TXC		0x1f>,
8586a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_ENET_TX_CTL_ENET1_RGMII_TX_CTL	0x1f>,
85960f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_GPIO1_IO10_GPIO1_IO10		0x146>;
8606a57f224SMarcel Ziswiler	};
8616a57f224SMarcel Ziswiler
8626a57f224SMarcel Ziswiler	pinctrl_fec1_sleep: fec1-sleepgrp {
8636a57f224SMarcel Ziswiler		fsl,pins =
8646a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_ENET_MDC_ENET1_MDC		0x3>,
8656a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_ENET_MDIO_ENET1_MDIO		0x3>,
8666a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_ENET_RD0_ENET1_RGMII_RD0		0x91>,
867593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_ENET_RD1_ENET1_RGMII_RD1		0x91>,
868593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_ENET_RD2_ENET1_RGMII_RD2		0x91>,
869593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_ENET_RD3_ENET1_RGMII_RD3		0x91>,
8706a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_ENET_RXC_ENET1_RGMII_RXC		0x91>,
8716a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_ENET_RX_CTL_ENET1_RGMII_RX_CTL	0x91>,
872593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_ENET_TD0_GPIO1_IO21		0x1f>,
873593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_ENET_TD1_GPIO1_IO20		0x1f>,
874593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_ENET_TD2_GPIO1_IO19		0x1f>,
875593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_ENET_TD3_GPIO1_IO18		0x1f>,
876593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_ENET_TXC_GPIO1_IO23		0x1f>,
8776a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_ENET_TX_CTL_GPIO1_IO22		0x1f>,
87860f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_GPIO1_IO10_GPIO1_IO10		0x106>;
8796a57f224SMarcel Ziswiler	};
8806a57f224SMarcel Ziswiler
8816a57f224SMarcel Ziswiler	pinctrl_flexspi0: flexspi0grp {
8826a57f224SMarcel Ziswiler		fsl,pins =
88360f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_ALE_QSPI_A_SCLK		0x106>,	/* SODIMM 52 */
88460f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_CE0_B_QSPI_A_SS0_B		0x106>,	/* SODIMM 54 */
88560f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_CE1_B_QSPI_A_SS1_B		0x106>,	/* SODIMM 64 */
88660f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_DATA00_QSPI_A_DATA0		0x106>,	/* SODIMM 56 */
88760f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_DATA01_QSPI_A_DATA1		0x106>,	/* SODIMM 58 */
88860f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_DATA02_QSPI_A_DATA2		0x106>,	/* SODIMM 60 */
889593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_DATA03_QSPI_A_DATA3		0x106>,	/* SODIMM 62 */
890593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_DQS_QSPI_A_DQS		0x106>;	/* SODIMM 66 */
8916a57f224SMarcel Ziswiler	};
8926a57f224SMarcel Ziswiler
8936a57f224SMarcel Ziswiler	pinctrl_gpio1: gpio1grp {
8946a57f224SMarcel Ziswiler		fsl,pins =
89560f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_CE3_B_GPIO3_IO4		0x106>;	/* SODIMM 206 */
8966a57f224SMarcel Ziswiler	};
8976a57f224SMarcel Ziswiler
8986a57f224SMarcel Ziswiler	pinctrl_gpio2: gpio2grp {
8996a57f224SMarcel Ziswiler		fsl,pins =
90060f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SPDIF_EXT_CLK_GPIO5_IO5		0x106>;	/* SODIMM 208 */
9016a57f224SMarcel Ziswiler	};
9026a57f224SMarcel Ziswiler
9036a57f224SMarcel Ziswiler	pinctrl_gpio3: gpio3grp {
9046a57f224SMarcel Ziswiler		fsl,pins =
90560f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_UART3_RXD_GPIO5_IO26		0x106>;	/* SODIMM 210 */
9066a57f224SMarcel Ziswiler	};
9076a57f224SMarcel Ziswiler
9086a57f224SMarcel Ziswiler	pinctrl_gpio4: gpio4grp {
9096a57f224SMarcel Ziswiler		fsl,pins =
91060f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_UART3_TXD_GPIO5_IO27		0x106>;	/* SODIMM 212 */
9116a57f224SMarcel Ziswiler	};
9126a57f224SMarcel Ziswiler
9136a57f224SMarcel Ziswiler	pinctrl_gpio5: gpio5grp {
9146a57f224SMarcel Ziswiler		fsl,pins =
91560f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_GPIO1_IO00_GPIO1_IO0		0x106>;	/* SODIMM 216 */
9166a57f224SMarcel Ziswiler	};
9176a57f224SMarcel Ziswiler
9186a57f224SMarcel Ziswiler	pinctrl_gpio6: gpio6grp {
9196a57f224SMarcel Ziswiler		fsl,pins =
92060f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_GPIO1_IO11_GPIO1_IO11		0x106>;	/* SODIMM 218 */
9216a57f224SMarcel Ziswiler	};
9226a57f224SMarcel Ziswiler
9236a57f224SMarcel Ziswiler	pinctrl_gpio7: gpio7grp {
9246a57f224SMarcel Ziswiler		fsl,pins =
92560f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_GPIO1_IO08_GPIO1_IO8		0x106>;	/* SODIMM 220 */
9266a57f224SMarcel Ziswiler	};
9276a57f224SMarcel Ziswiler
9286a57f224SMarcel Ziswiler	pinctrl_gpio8: gpio8grp {
9296a57f224SMarcel Ziswiler		fsl,pins =
93060f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_GPIO1_IO09_GPIO1_IO9		0x106>;	/* SODIMM 222 */
9316a57f224SMarcel Ziswiler	};
9326a57f224SMarcel Ziswiler
9336a57f224SMarcel Ziswiler	/* Verdin GPIO_9_DSI (pulled-up as active-low) */
9346a57f224SMarcel Ziswiler	pinctrl_gpio_9_dsi: gpio9dsigrp {
9356a57f224SMarcel Ziswiler		fsl,pins =
93660f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_RE_B_GPIO3_IO15		0x146>;	/* SODIMM 17 */
9376a57f224SMarcel Ziswiler	};
9386a57f224SMarcel Ziswiler
93960f01b5bSMarcel Ziswiler	/* Verdin GPIO_10_DSI (pulled-up as active-low) */
9406a57f224SMarcel Ziswiler	pinctrl_gpio_10_dsi: gpio10dsigrp {
9416a57f224SMarcel Ziswiler		fsl,pins =
94260f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_CE2_B_GPIO3_IO3		0x146>;	/* SODIMM 21 */
9436a57f224SMarcel Ziswiler	};
9446a57f224SMarcel Ziswiler
9456a57f224SMarcel Ziswiler	pinctrl_gpio_hog1: gpiohog1grp {
9466a57f224SMarcel Ziswiler		fsl,pins =
94760f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI1_MCLK_GPIO4_IO20		0x106>,	/* SODIMM 88 */
94860f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI1_RXC_GPIO4_IO1		0x106>,	/* SODIMM 90 */
94960f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI1_RXD0_GPIO4_IO2		0x106>,	/* SODIMM 92 */
95060f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI1_RXD1_GPIO4_IO3		0x106>,	/* SODIMM 94 */
95160f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI1_RXD2_GPIO4_IO4		0x106>,	/* SODIMM 96 */
95260f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI1_RXD3_GPIO4_IO5		0x106>,	/* SODIMM 100 */
95360f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI1_RXFS_GPIO4_IO0		0x106>,	/* SODIMM 102 */
95460f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI1_TXC_GPIO4_IO11		0x106>,	/* SODIMM 104 */
95560f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI1_TXD0_GPIO4_IO12		0x106>,	/* SODIMM 106 */
95660f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI1_TXD1_GPIO4_IO13		0x106>,	/* SODIMM 108 */
95760f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI1_TXD2_GPIO4_IO14		0x106>,	/* SODIMM 112 */
95860f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI1_TXD3_GPIO4_IO15		0x106>,	/* SODIMM 114 */
95960f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI1_TXD4_GPIO4_IO16		0x106>,	/* SODIMM 116 */
96060f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI1_TXD6_GPIO4_IO18		0x106>,	/* SODIMM 118 */
96160f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI1_TXFS_GPIO4_IO10		0x106>;	/* SODIMM 120 */
9626a57f224SMarcel Ziswiler	};
9636a57f224SMarcel Ziswiler
9646a57f224SMarcel Ziswiler	pinctrl_gpio_hog2: gpiohog2grp {
9656a57f224SMarcel Ziswiler		fsl,pins =
96660f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI3_MCLK_GPIO5_IO2		0x106>;	/* SODIMM 91 */
9676a57f224SMarcel Ziswiler	};
9686a57f224SMarcel Ziswiler
9696a57f224SMarcel Ziswiler	pinctrl_gpio_hog3: gpiohog3grp {
9706a57f224SMarcel Ziswiler		fsl,pins =
97160f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_GPIO1_IO13_GPIO1_IO13		0x146>,	/* SODIMM 157 */
97260f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_GPIO1_IO15_GPIO1_IO15		0x146>;	/* SODIMM 187 */
9736a57f224SMarcel Ziswiler	};
9746a57f224SMarcel Ziswiler
9756a57f224SMarcel Ziswiler	pinctrl_gpio_keys: gpiokeysgrp {
9766a57f224SMarcel Ziswiler		fsl,pins =
97760f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI3_RXFS_GPIO4_IO28		0x146>;	/* SODIMM 252 */
9786a57f224SMarcel Ziswiler	};
9796a57f224SMarcel Ziswiler
9806a57f224SMarcel Ziswiler	/* On-module I2C */
9816a57f224SMarcel Ziswiler	pinctrl_i2c1: i2c1grp {
9826a57f224SMarcel Ziswiler		fsl,pins =
98360f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_I2C1_SCL_I2C1_SCL			0x40000146>,	/* PMIC_I2C_SCL */
98460f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_I2C1_SDA_I2C1_SDA			0x40000146>;	/* PMIC_I2C_SDA */
9856a57f224SMarcel Ziswiler	};
9866a57f224SMarcel Ziswiler
9876a57f224SMarcel Ziswiler	pinctrl_i2c1_gpio: i2c1gpiogrp {
9886a57f224SMarcel Ziswiler		fsl,pins =
98960f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_I2C1_SCL_GPIO5_IO14		0x146>,	/* PMIC_I2C_SCL */
99060f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_I2C1_SDA_GPIO5_IO15		0x146>;	/* PMIC_I2C_SDA */
9916a57f224SMarcel Ziswiler	};
9926a57f224SMarcel Ziswiler
9936a57f224SMarcel Ziswiler	/* Verdin I2C_4_CSI */
9946a57f224SMarcel Ziswiler	pinctrl_i2c2: i2c2grp {
9956a57f224SMarcel Ziswiler		fsl,pins =
99660f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_I2C2_SCL_I2C2_SCL			0x40000146>,	/* SODIMM 55 */
99760f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_I2C2_SDA_I2C2_SDA			0x40000146>;	/* SODIMM 53 */
9986a57f224SMarcel Ziswiler	};
9996a57f224SMarcel Ziswiler
10006a57f224SMarcel Ziswiler	pinctrl_i2c2_gpio: i2c2gpiogrp {
10016a57f224SMarcel Ziswiler		fsl,pins =
100260f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_I2C2_SCL_GPIO5_IO16		0x146>,	/* SODIMM 55 */
100360f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_I2C2_SDA_GPIO5_IO17		0x146>;	/* SODIMM 53 */
10046a57f224SMarcel Ziswiler	};
10056a57f224SMarcel Ziswiler
10066a57f224SMarcel Ziswiler	/* Verdin I2C_2_DSI */
10076a57f224SMarcel Ziswiler	pinctrl_i2c3: i2c3grp {
10086a57f224SMarcel Ziswiler		fsl,pins =
100960f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_I2C3_SCL_I2C3_SCL			0x40000146>,	/* SODIMM 95 */
101060f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_I2C3_SDA_I2C3_SDA			0x40000146>;	/* SODIMM 93 */
10116a57f224SMarcel Ziswiler	};
10126a57f224SMarcel Ziswiler
10136a57f224SMarcel Ziswiler	pinctrl_i2c3_gpio: i2c3gpiogrp {
10146a57f224SMarcel Ziswiler		fsl,pins =
101560f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_I2C3_SCL_GPIO5_IO18		0x146>,	/* SODIMM 95 */
101660f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_I2C3_SDA_GPIO5_IO19		0x146>;	/* SODIMM 93 */
10176a57f224SMarcel Ziswiler	};
10186a57f224SMarcel Ziswiler
10196a57f224SMarcel Ziswiler	/* Verdin I2C_1 */
10206a57f224SMarcel Ziswiler	pinctrl_i2c4: i2c4grp {
10216a57f224SMarcel Ziswiler		fsl,pins =
102260f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_I2C4_SCL_I2C4_SCL			0x40000146>,	/* SODIMM 14 */
102360f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_I2C4_SDA_I2C4_SDA			0x40000146>;	/* SODIMM 12 */
10246a57f224SMarcel Ziswiler	};
10256a57f224SMarcel Ziswiler
10266a57f224SMarcel Ziswiler	pinctrl_i2c4_gpio: i2c4gpiogrp {
10276a57f224SMarcel Ziswiler		fsl,pins =
102860f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_I2C4_SCL_GPIO5_IO20		0x146>,	/* SODIMM 14 */
102960f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_I2C4_SDA_GPIO5_IO21		0x146>;	/* SODIMM 12 */
10306a57f224SMarcel Ziswiler	};
10316a57f224SMarcel Ziswiler
10326a57f224SMarcel Ziswiler	/* Verdin I2S_2_BCLK (TOUCH_RESET#) */
10336a57f224SMarcel Ziswiler	pinctrl_i2s_2_bclk_touch_reset: i2s2bclktouchresetgrp {
10346a57f224SMarcel Ziswiler		fsl,pins =
103560f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI5_RXD2_GPIO3_IO23		0x6>;	/* SODIMM 42 */
10366a57f224SMarcel Ziswiler	};
10376a57f224SMarcel Ziswiler
10386a57f224SMarcel Ziswiler	/* Verdin I2S_2_D_OUT shared with SAI5 */
10396a57f224SMarcel Ziswiler	pinctrl_i2s_2_d_out_dsi_1_bkl_en: i2s2doutdsi1bklengrp {
10406a57f224SMarcel Ziswiler		fsl,pins =
104160f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI5_RXD3_GPIO3_IO24		0x6>;	/* SODIMM 46 */
10426a57f224SMarcel Ziswiler	};
10436a57f224SMarcel Ziswiler
10446a57f224SMarcel Ziswiler	pinctrl_pcie0: pcie0grp {
10456a57f224SMarcel Ziswiler		fsl,pins =
10466a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SAI5_RXFS_GPIO3_IO19		0x6>,	/* SODIMM 244 */
10476a57f224SMarcel Ziswiler			/* PMIC_EN_PCIe_CLK, unused */
10486a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD2_RESET_B_GPIO2_IO19		0x6>;
10496a57f224SMarcel Ziswiler	};
10506a57f224SMarcel Ziswiler
10516a57f224SMarcel Ziswiler	pinctrl_pmic: pmicirqgrp {
10526a57f224SMarcel Ziswiler		fsl,pins =
105360f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_GPIO1_IO03_GPIO1_IO3		0x141>;	/* PMIC_INT# */
10546a57f224SMarcel Ziswiler	};
10556a57f224SMarcel Ziswiler
10566a57f224SMarcel Ziswiler	/* Verdin PWM_3_DSI shared with GPIO1_IO1 */
10576a57f224SMarcel Ziswiler	pinctrl_pwm_1: pwm1grp {
10586a57f224SMarcel Ziswiler		fsl,pins =
10596a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_GPIO1_IO01_PWM1_OUT		0x6>;	/* SODIMM 19 */
10606a57f224SMarcel Ziswiler	};
10616a57f224SMarcel Ziswiler
10626a57f224SMarcel Ziswiler	pinctrl_pwm_2: pwm2grp {
10636a57f224SMarcel Ziswiler		fsl,pins =
10646a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SPDIF_RX_PWM2_OUT			0x6>;	/* SODIMM 15 */
10656a57f224SMarcel Ziswiler	};
10666a57f224SMarcel Ziswiler
10676a57f224SMarcel Ziswiler	pinctrl_pwm_3: pwm3grp {
10686a57f224SMarcel Ziswiler		fsl,pins =
10696a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SPDIF_TX_PWM3_OUT			0x6>;	/* SODIMM 16 */
10706a57f224SMarcel Ziswiler	};
10716a57f224SMarcel Ziswiler
10726a57f224SMarcel Ziswiler	/* Verdin PWM_3_DSI (pulled-down as active-high) shared with PWM1_OUT */
10736a57f224SMarcel Ziswiler	pinctrl_pwm_3_dsi_hpd_gpio: pwm3dsihpdgpiogrp {
10746a57f224SMarcel Ziswiler		fsl,pins =
107560f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_GPIO1_IO01_GPIO1_IO1		0x106>;	/* SODIMM 19 */
10766a57f224SMarcel Ziswiler	};
10776a57f224SMarcel Ziswiler
10786a57f224SMarcel Ziswiler	pinctrl_reg_eth: regethgrp {
10796a57f224SMarcel Ziswiler		fsl,pins =
108060f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SD2_WP_GPIO2_IO20			0x146>;	/* PMIC_EN_ETH */
10816a57f224SMarcel Ziswiler	};
10826a57f224SMarcel Ziswiler
10836a57f224SMarcel Ziswiler	pinctrl_reg_usb1_en: regusb1engrp {
10846a57f224SMarcel Ziswiler		fsl,pins =
108560f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_GPIO1_IO12_GPIO1_IO12		0x106>;	/* SODIMM 155 */
10866a57f224SMarcel Ziswiler	};
10876a57f224SMarcel Ziswiler
10886a57f224SMarcel Ziswiler	pinctrl_reg_usb2_en: regusb2engrp {
10896a57f224SMarcel Ziswiler		fsl,pins =
109060f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_GPIO1_IO14_GPIO1_IO14		0x106>;	/* SODIMM 185 */
10916a57f224SMarcel Ziswiler	};
10926a57f224SMarcel Ziswiler
10936a57f224SMarcel Ziswiler	pinctrl_sai2: sai2grp {
10946a57f224SMarcel Ziswiler		fsl,pins =
109560f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI2_MCLK_SAI2_MCLK		0x6>,	/* SODIMM 38 */
1096593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI2_TXC_SAI2_TX_BCLK		0x6>,	/* SODIMM 30 */
1097593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI2_TXFS_SAI2_TX_SYNC		0x6>,	/* SODIMM 32 */
109860f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI2_RXD0_SAI2_RX_DATA0		0x6>,	/* SODIMM 36 */
109960f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI2_TXD0_SAI2_TX_DATA0		0x6>;	/* SODIMM 34 */
11006a57f224SMarcel Ziswiler	};
11016a57f224SMarcel Ziswiler
11026a57f224SMarcel Ziswiler	pinctrl_sai5: sai5grp {
11036a57f224SMarcel Ziswiler		fsl,pins =
110460f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI5_RXD0_SAI5_RX_DATA0		0x6>,	/* SODIMM 48 */
110560f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI5_RXD1_SAI5_TX_SYNC		0x6>,	/* SODIMM 44 */
110660f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI5_RXD2_SAI5_TX_BCLK		0x6>,	/* SODIMM 42 */
110760f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI5_RXD3_SAI5_TX_DATA0		0x6>;	/* SODIMM 46 */
11086a57f224SMarcel Ziswiler	};
11096a57f224SMarcel Ziswiler
11106a57f224SMarcel Ziswiler	/* control signal for optional ATTPM20P or SE050 */
11116a57f224SMarcel Ziswiler	pinctrl_pmic_tpm_ena: pmictpmenagrp {
11126a57f224SMarcel Ziswiler		fsl,pins =
111360f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI1_TXD7_GPIO4_IO19		0x106>;	/* PMIC_TPM_ENA */
11146a57f224SMarcel Ziswiler	};
11156a57f224SMarcel Ziswiler
11166a57f224SMarcel Ziswiler	pinctrl_tsp: tspgrp {
11176a57f224SMarcel Ziswiler		fsl,pins =
111860f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI1_RXD4_GPIO4_IO6		0x6>,	/* SODIMM 148 */
111960f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI1_RXD5_GPIO4_IO7		0x6>,	/* SODIMM 152 */
112060f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI1_RXD6_GPIO4_IO8		0x6>,	/* SODIMM 154 */
112160f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI1_RXD7_GPIO4_IO9		0x146>,	/* SODIMM 174 */
112260f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI1_TXD5_GPIO4_IO17		0x6>;	/* SODIMM 150 */
11236a57f224SMarcel Ziswiler	};
11246a57f224SMarcel Ziswiler
11256a57f224SMarcel Ziswiler	pinctrl_uart1: uart1grp {
11266a57f224SMarcel Ziswiler		fsl,pins =
1127593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI2_RXC_UART1_DCE_RX		0x146>,	/* SODIMM 147 */
1128593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI2_RXFS_UART1_DCE_TX		0x146>;	/* SODIMM 149 */
11296a57f224SMarcel Ziswiler	};
11306a57f224SMarcel Ziswiler
11316a57f224SMarcel Ziswiler	pinctrl_uart2: uart2grp {
11326a57f224SMarcel Ziswiler		fsl,pins =
113360f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI3_RXC_UART2_DCE_CTS_B		0x146>,	/* SODIMM 133 */
1134593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI3_RXD_UART2_DCE_RTS_B		0x146>,	/* SODIMM 135 */
1135593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI3_TXC_UART2_DCE_TX		0x146>,	/* SODIMM 131 */
1136593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI3_TXFS_UART2_DCE_RX		0x146>;	/* SODIMM 129 */
11376a57f224SMarcel Ziswiler	};
11386a57f224SMarcel Ziswiler
11396a57f224SMarcel Ziswiler	pinctrl_uart3: uart3grp {
11406a57f224SMarcel Ziswiler		fsl,pins =
114160f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_ECSPI1_MISO_UART3_DCE_CTS_B	0x146>,	/* SODIMM 141 */
1142593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_ECSPI1_MOSI_UART3_DCE_TX		0x146>,	/* SODIMM 139 */
1143593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_ECSPI1_SCLK_UART3_DCE_RX		0x146>,	/* SODIMM 137 */
114460f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_ECSPI1_SS0_UART3_DCE_RTS_B	0x146>;	/* SODIMM 143 */
11456a57f224SMarcel Ziswiler	};
11466a57f224SMarcel Ziswiler
11476a57f224SMarcel Ziswiler	pinctrl_uart4: uart4grp {
11486a57f224SMarcel Ziswiler		fsl,pins =
114960f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_UART4_RXD_UART4_DCE_RX		0x146>,	/* SODIMM 151 */
115060f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_UART4_TXD_UART4_DCE_TX		0x146>;	/* SODIMM 153 */
11516a57f224SMarcel Ziswiler	};
11526a57f224SMarcel Ziswiler
11536a57f224SMarcel Ziswiler	pinctrl_usdhc1: usdhc1grp {
11546a57f224SMarcel Ziswiler		fsl,pins =
11556a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_CLK_USDHC1_CLK		0x190>,
11566a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_CMD_USDHC1_CMD		0x1d0>,
11576a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_DATA0_USDHC1_DATA0		0x1d0>,
11586a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_DATA1_USDHC1_DATA1		0x1d0>,
11596a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_DATA2_USDHC1_DATA2		0x1d0>,
11606a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_DATA3_USDHC1_DATA3		0x1d0>,
11616a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_DATA4_USDHC1_DATA4		0x1d0>,
11626a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_DATA5_USDHC1_DATA5		0x1d0>,
11636a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_DATA6_USDHC1_DATA6		0x1d0>,
11646a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_DATA7_USDHC1_DATA7		0x1d0>,
11656a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_RESET_B_USDHC1_RESET_B	0x1d1>,
11666a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_STROBE_USDHC1_STROBE		0x190>;
11676a57f224SMarcel Ziswiler	};
11686a57f224SMarcel Ziswiler
11696a57f224SMarcel Ziswiler	pinctrl_usdhc1_100mhz: usdhc1-100mhzgrp {
11706a57f224SMarcel Ziswiler		fsl,pins =
11716a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_CLK_USDHC1_CLK		0x194>,
11726a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_CMD_USDHC1_CMD		0x1d4>,
11736a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_DATA0_USDHC1_DATA0		0x1d4>,
11746a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_DATA1_USDHC1_DATA1		0x1d4>,
11756a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_DATA2_USDHC1_DATA2		0x1d4>,
11766a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_DATA3_USDHC1_DATA3		0x1d4>,
11776a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_DATA4_USDHC1_DATA4		0x1d4>,
11786a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_DATA5_USDHC1_DATA5		0x1d4>,
11796a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_DATA6_USDHC1_DATA6		0x1d4>,
11806a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_DATA7_USDHC1_DATA7		0x1d4>,
11816a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_RESET_B_USDHC1_RESET_B	0x1d1>,
11826a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_STROBE_USDHC1_STROBE		0x194>;
11836a57f224SMarcel Ziswiler	};
11846a57f224SMarcel Ziswiler
11856a57f224SMarcel Ziswiler	pinctrl_usdhc1_200mhz: usdhc1-200mhzgrp {
11866a57f224SMarcel Ziswiler		fsl,pins =
11876a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_CLK_USDHC1_CLK		0x196>,
11886a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_CMD_USDHC1_CMD		0x1d6>,
11896a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_DATA0_USDHC1_DATA0		0x1d6>,
11906a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_DATA1_USDHC1_DATA1		0x1d6>,
11916a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_DATA2_USDHC1_DATA2		0x1d6>,
11926a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_DATA3_USDHC1_DATA3		0x1d6>,
11936a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_DATA4_USDHC1_DATA4		0x1d6>,
11946a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_DATA5_USDHC1_DATA5		0x1d6>,
11956a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_DATA6_USDHC1_DATA6		0x1d6>,
11966a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_DATA7_USDHC1_DATA7		0x1d6>,
11976a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_RESET_B_USDHC1_RESET_B	0x1d1>,
11986a57f224SMarcel Ziswiler			<MX8MM_IOMUXC_SD1_STROBE_USDHC1_STROBE		0x196>;
11996a57f224SMarcel Ziswiler	};
12006a57f224SMarcel Ziswiler
12016a57f224SMarcel Ziswiler	pinctrl_usdhc2_cd: usdhc2cdgrp {
12026a57f224SMarcel Ziswiler		fsl,pins =
120360f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SD2_CD_B_GPIO2_IO12		0x6>;	/* SODIMM 84 */
12046a57f224SMarcel Ziswiler	};
12056a57f224SMarcel Ziswiler
12064f6b5de9SMarcel Ziswiler	pinctrl_usdhc2_cd_sleep: usdhc2cdslpgrp {
12074f6b5de9SMarcel Ziswiler		fsl,pins =
12084f6b5de9SMarcel Ziswiler			<MX8MM_IOMUXC_SD2_CD_B_GPIO2_IO12		0x0>;	/* SODIMM 84 */
12094f6b5de9SMarcel Ziswiler	};
12104f6b5de9SMarcel Ziswiler
12116a57f224SMarcel Ziswiler	pinctrl_usdhc2_pwr_en: usdhc2pwrengrp {
12126a57f224SMarcel Ziswiler		fsl,pins =
121360f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_CLE_GPIO3_IO5		0x6>;	/* SODIMM 76 */
12146a57f224SMarcel Ziswiler	};
12156a57f224SMarcel Ziswiler
1216f84ccff6SMarcel Ziswiler	/*
1217f84ccff6SMarcel Ziswiler	 * Note: Due to ERR050080 we use discrete external on-module resistors pulling-up to the
1218f84ccff6SMarcel Ziswiler	 * on-module +V3.3_1.8_SD (LDO5) rail and explicitly disable the internal pull-ups here.
1219f84ccff6SMarcel Ziswiler	 */
12206a57f224SMarcel Ziswiler	pinctrl_usdhc2: usdhc2grp {
12216a57f224SMarcel Ziswiler		fsl,pins =
1222593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_GPIO1_IO04_USDHC2_VSELECT		0x10>,
122360f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK		0x90>,	/* SODIMM 78 */
122460f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SD2_CMD_USDHC2_CMD		0x90>,	/* SODIMM 74 */
122560f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SD2_DATA0_USDHC2_DATA0		0x90>,	/* SODIMM 80 */
122660f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SD2_DATA1_USDHC2_DATA1		0x90>,	/* SODIMM 82 */
122760f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SD2_DATA2_USDHC2_DATA2		0x90>,	/* SODIMM 70 */
1228593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_SD2_DATA3_USDHC2_DATA3		0x90>;	/* SODIMM 72 */
12296a57f224SMarcel Ziswiler	};
12306a57f224SMarcel Ziswiler
12316a57f224SMarcel Ziswiler	pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp {
12326a57f224SMarcel Ziswiler		fsl,pins =
1233593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_GPIO1_IO04_USDHC2_VSELECT		0x10>,
123460f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK		0x94>,
123560f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SD2_CMD_USDHC2_CMD		0x94>,
123660f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SD2_DATA0_USDHC2_DATA0		0x94>,
123760f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SD2_DATA1_USDHC2_DATA1		0x94>,
123860f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SD2_DATA2_USDHC2_DATA2		0x94>,
1239593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_SD2_DATA3_USDHC2_DATA3		0x94>;
12406a57f224SMarcel Ziswiler	};
12416a57f224SMarcel Ziswiler
12426a57f224SMarcel Ziswiler	pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp {
12436a57f224SMarcel Ziswiler		fsl,pins =
1244593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_GPIO1_IO04_USDHC2_VSELECT		0x10>,
124560f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK		0x96>,
124660f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SD2_CMD_USDHC2_CMD		0x96>,
124760f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SD2_DATA0_USDHC2_DATA0		0x96>,
124860f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SD2_DATA1_USDHC2_DATA1		0x96>,
124960f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SD2_DATA2_USDHC2_DATA2		0x96>,
1250593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_SD2_DATA3_USDHC2_DATA3		0x96>;
12516a57f224SMarcel Ziswiler	};
12526a57f224SMarcel Ziswiler
12534f6b5de9SMarcel Ziswiler	/* Avoid backfeeding with removed card power */
12544f6b5de9SMarcel Ziswiler	pinctrl_usdhc2_sleep: usdhc2slpgrp {
12554f6b5de9SMarcel Ziswiler		fsl,pins =
12564f6b5de9SMarcel Ziswiler			<MX8MM_IOMUXC_GPIO1_IO04_USDHC2_VSELECT		0x0>,
12574f6b5de9SMarcel Ziswiler			<MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK		0x0>,
12584f6b5de9SMarcel Ziswiler			<MX8MM_IOMUXC_SD2_CMD_USDHC2_CMD		0x0>,
12594f6b5de9SMarcel Ziswiler			<MX8MM_IOMUXC_SD2_DATA0_USDHC2_DATA0		0x0>,
12604f6b5de9SMarcel Ziswiler			<MX8MM_IOMUXC_SD2_DATA1_USDHC2_DATA1		0x0>,
12614f6b5de9SMarcel Ziswiler			<MX8MM_IOMUXC_SD2_DATA2_USDHC2_DATA2		0x0>,
12624f6b5de9SMarcel Ziswiler			<MX8MM_IOMUXC_SD2_DATA3_USDHC2_DATA3		0x0>;
12634f6b5de9SMarcel Ziswiler	};
12644f6b5de9SMarcel Ziswiler
126598e4f193SMarcel Ziswiler	/*
126698e4f193SMarcel Ziswiler	 * On-module Wi-Fi/BT or type specific SDHC interface
126798e4f193SMarcel Ziswiler	 * (e.g. on X52 extension slot of Verdin Development Board)
126898e4f193SMarcel Ziswiler	 */
12696a57f224SMarcel Ziswiler	pinctrl_usdhc3: usdhc3grp {
12706a57f224SMarcel Ziswiler		fsl,pins =
127160f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_DATA04_USDHC3_DATA0		0x150>,
127260f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_DATA05_USDHC3_DATA1		0x150>,
127360f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_DATA06_USDHC3_DATA2		0x150>,
1274593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_DATA07_USDHC3_DATA3		0x150>,
1275593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_WE_B_USDHC3_CLK		0x150>,
1276593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_WP_B_USDHC3_CMD		0x150>;
12776a57f224SMarcel Ziswiler	};
12786a57f224SMarcel Ziswiler
12796a57f224SMarcel Ziswiler	pinctrl_usdhc3_100mhz: usdhc3-100mhzgrp {
12806a57f224SMarcel Ziswiler		fsl,pins =
128160f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_DATA04_USDHC3_DATA0		0x154>,
128260f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_DATA05_USDHC3_DATA1		0x154>,
128360f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_DATA06_USDHC3_DATA2		0x154>,
1284593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_DATA07_USDHC3_DATA3		0x154>,
1285593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_WE_B_USDHC3_CLK		0x154>,
1286593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_WP_B_USDHC3_CMD		0x154>;
12876a57f224SMarcel Ziswiler	};
12886a57f224SMarcel Ziswiler
12896a57f224SMarcel Ziswiler	pinctrl_usdhc3_200mhz: usdhc3-200mhzgrp {
12906a57f224SMarcel Ziswiler		fsl,pins =
129160f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_DATA04_USDHC3_DATA0		0x156>,
129260f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_DATA05_USDHC3_DATA1		0x156>,
129360f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_DATA06_USDHC3_DATA2		0x156>,
1294593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_DATA07_USDHC3_DATA3		0x156>,
1295593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_WE_B_USDHC3_CLK		0x156>,
1296593c535bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_WP_B_USDHC3_CMD		0x156>;
12976a57f224SMarcel Ziswiler	};
12986a57f224SMarcel Ziswiler
12996a57f224SMarcel Ziswiler	pinctrl_wdog: wdoggrp {
13006a57f224SMarcel Ziswiler		fsl,pins =
130160f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_GPIO1_IO02_WDOG1_WDOG_B		0x166>;	/* PMIC_WDI */
13026a57f224SMarcel Ziswiler	};
13036a57f224SMarcel Ziswiler
13046a57f224SMarcel Ziswiler	pinctrl_wifi_ctrl: wifictrlgrp {
13056a57f224SMarcel Ziswiler		fsl,pins =
130660f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_NAND_READY_B_GPIO3_IO16		0x46>,	/* WIFI_WKUP_BT */
130760f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI1_RXD7_GPIO4_IO9		0x146>,	/* WIFI_W_WKUP_HOST */
130860f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI5_RXC_GPIO3_IO20		0x46>;	/* WIFI_WKUP_WLAN */
13096a57f224SMarcel Ziswiler	};
13106a57f224SMarcel Ziswiler
13116a57f224SMarcel Ziswiler	pinctrl_wifi_i2s: bti2sgrp {
13126a57f224SMarcel Ziswiler		fsl,pins =
131360f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI1_RXD4_SAI6_TX_BCLK		0x6>,	/* WIFI_TX_BCLK */
131460f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI1_RXD5_SAI6_TX_DATA0		0x6>,	/* WIFI_TX_DATA0 */
131560f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI1_RXD6_SAI6_TX_SYNC		0x6>,	/* WIFI_TX_SYNC */
131660f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI1_TXD5_SAI6_RX_DATA0		0x6>;	/* WIFI_RX_DATA0 */
13176a57f224SMarcel Ziswiler	};
13186a57f224SMarcel Ziswiler
13196a57f224SMarcel Ziswiler	pinctrl_wifi_pwr_en: wifipwrengrp {
13206a57f224SMarcel Ziswiler		fsl,pins =
132160f01b5bSMarcel Ziswiler			<MX8MM_IOMUXC_SAI5_MCLK_GPIO3_IO25		0x6>;	/* PMIC_EN_WIFI */
13226a57f224SMarcel Ziswiler	};
13236a57f224SMarcel Ziswiler};
1324