xref: /freebsd/sys/contrib/device-tree/src/arm64/freescale/imx8mm-var-som.dtsi (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
16be33864SEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
26be33864SEmmanuel Vadot/*
36be33864SEmmanuel Vadot * Copyright 2019 NXP
46be33864SEmmanuel Vadot * Copyright (C) 2020 Krzysztof Kozlowski <krzk@kernel.org>
56be33864SEmmanuel Vadot */
66be33864SEmmanuel Vadot
76be33864SEmmanuel Vadot#include "imx8mm.dtsi"
86be33864SEmmanuel Vadot
96be33864SEmmanuel Vadot/ {
106be33864SEmmanuel Vadot	model = "Variscite VAR-SOM-MX8MM module";
116be33864SEmmanuel Vadot
126be33864SEmmanuel Vadot	chosen {
136be33864SEmmanuel Vadot		stdout-path = &uart4;
146be33864SEmmanuel Vadot	};
156be33864SEmmanuel Vadot
166be33864SEmmanuel Vadot	memory@40000000 {
176be33864SEmmanuel Vadot		device_type = "memory";
186be33864SEmmanuel Vadot		reg = <0x0 0x40000000 0 0x80000000>;
196be33864SEmmanuel Vadot	};
206be33864SEmmanuel Vadot
216be33864SEmmanuel Vadot	reg_eth_phy: regulator-eth-phy {
226be33864SEmmanuel Vadot		compatible = "regulator-fixed";
236be33864SEmmanuel Vadot		pinctrl-names = "default";
246be33864SEmmanuel Vadot		pinctrl-0 = <&pinctrl_reg_eth_phy>;
256be33864SEmmanuel Vadot		regulator-name = "eth_phy_pwr";
266be33864SEmmanuel Vadot		regulator-min-microvolt = <3300000>;
276be33864SEmmanuel Vadot		regulator-max-microvolt = <3300000>;
286be33864SEmmanuel Vadot		gpio = <&gpio2 9 GPIO_ACTIVE_HIGH>;
296be33864SEmmanuel Vadot		enable-active-high;
306be33864SEmmanuel Vadot	};
316be33864SEmmanuel Vadot};
326be33864SEmmanuel Vadot
336be33864SEmmanuel Vadot&A53_0 {
346be33864SEmmanuel Vadot	cpu-supply = <&buck2_reg>;
356be33864SEmmanuel Vadot};
366be33864SEmmanuel Vadot
376be33864SEmmanuel Vadot&A53_1 {
386be33864SEmmanuel Vadot	cpu-supply = <&buck2_reg>;
396be33864SEmmanuel Vadot};
406be33864SEmmanuel Vadot
416be33864SEmmanuel Vadot&A53_2 {
426be33864SEmmanuel Vadot	cpu-supply = <&buck2_reg>;
436be33864SEmmanuel Vadot};
446be33864SEmmanuel Vadot
456be33864SEmmanuel Vadot&A53_3 {
466be33864SEmmanuel Vadot	cpu-supply = <&buck2_reg>;
476be33864SEmmanuel Vadot};
486be33864SEmmanuel Vadot
496be33864SEmmanuel Vadot&ddrc {
506be33864SEmmanuel Vadot	operating-points-v2 = <&ddrc_opp_table>;
516be33864SEmmanuel Vadot
526be33864SEmmanuel Vadot	ddrc_opp_table: opp-table {
536be33864SEmmanuel Vadot		compatible = "operating-points-v2";
546be33864SEmmanuel Vadot
558bab661aSEmmanuel Vadot		opp-25000000 {
566be33864SEmmanuel Vadot			opp-hz = /bits/ 64 <25000000>;
576be33864SEmmanuel Vadot		};
586be33864SEmmanuel Vadot
598bab661aSEmmanuel Vadot		opp-100000000 {
606be33864SEmmanuel Vadot			opp-hz = /bits/ 64 <100000000>;
616be33864SEmmanuel Vadot		};
626be33864SEmmanuel Vadot
638bab661aSEmmanuel Vadot		opp-750000000 {
646be33864SEmmanuel Vadot			opp-hz = /bits/ 64 <750000000>;
656be33864SEmmanuel Vadot		};
666be33864SEmmanuel Vadot	};
676be33864SEmmanuel Vadot};
686be33864SEmmanuel Vadot
696be33864SEmmanuel Vadot&ecspi1 {
706be33864SEmmanuel Vadot	pinctrl-names = "default";
716be33864SEmmanuel Vadot	pinctrl-0 = <&pinctrl_ecspi1>;
726be33864SEmmanuel Vadot	cs-gpios = <&gpio1 14 GPIO_ACTIVE_LOW>,
736be33864SEmmanuel Vadot		   <&gpio1  0 GPIO_ACTIVE_LOW>;
746be33864SEmmanuel Vadot	/delete-property/ dmas;
756be33864SEmmanuel Vadot	/delete-property/ dma-names;
766be33864SEmmanuel Vadot	status = "okay";
776be33864SEmmanuel Vadot
786be33864SEmmanuel Vadot	/* Resistive touch controller */
796be33864SEmmanuel Vadot	touchscreen@0 {
806be33864SEmmanuel Vadot		reg = <0>;
816be33864SEmmanuel Vadot		compatible = "ti,ads7846";
826be33864SEmmanuel Vadot		pinctrl-names = "default";
836be33864SEmmanuel Vadot		pinctrl-0 = <&pinctrl_restouch>;
846be33864SEmmanuel Vadot		interrupt-parent = <&gpio1>;
856be33864SEmmanuel Vadot		interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
866be33864SEmmanuel Vadot
876be33864SEmmanuel Vadot		spi-max-frequency = <1500000>;
886be33864SEmmanuel Vadot		pendown-gpio = <&gpio1 3 GPIO_ACTIVE_LOW>;
896be33864SEmmanuel Vadot
906be33864SEmmanuel Vadot		ti,x-min = /bits/ 16 <125>;
91c9ccf3a3SEmmanuel Vadot		touchscreen-size-x = <4008>;
926be33864SEmmanuel Vadot		ti,y-min = /bits/ 16 <282>;
93c9ccf3a3SEmmanuel Vadot		touchscreen-size-y = <3864>;
946be33864SEmmanuel Vadot		ti,x-plate-ohms = /bits/ 16 <180>;
95c9ccf3a3SEmmanuel Vadot		touchscreen-max-pressure = <255>;
96c9ccf3a3SEmmanuel Vadot		touchscreen-average-samples = <10>;
976be33864SEmmanuel Vadot		ti,debounce-tol = /bits/ 16 <3>;
986be33864SEmmanuel Vadot		ti,debounce-rep = /bits/ 16 <1>;
996be33864SEmmanuel Vadot		ti,settle-delay-usec = /bits/ 16 <150>;
1006be33864SEmmanuel Vadot		ti,keep-vref-on;
1016be33864SEmmanuel Vadot		wakeup-source;
1026be33864SEmmanuel Vadot	};
1036be33864SEmmanuel Vadot};
1046be33864SEmmanuel Vadot
1056be33864SEmmanuel Vadot&fec1 {
1066be33864SEmmanuel Vadot	pinctrl-names = "default";
1076be33864SEmmanuel Vadot	pinctrl-0 = <&pinctrl_fec1>;
1086be33864SEmmanuel Vadot	phy-mode = "rgmii";
1096be33864SEmmanuel Vadot	phy-handle = <&ethphy>;
1106be33864SEmmanuel Vadot	phy-supply = <&reg_eth_phy>;
1116be33864SEmmanuel Vadot	fsl,magic-packet;
1126be33864SEmmanuel Vadot	status = "okay";
1136be33864SEmmanuel Vadot
1146be33864SEmmanuel Vadot	mdio {
1156be33864SEmmanuel Vadot		#address-cells = <1>;
1166be33864SEmmanuel Vadot		#size-cells = <0>;
1176be33864SEmmanuel Vadot
1186be33864SEmmanuel Vadot		ethphy: ethernet-phy@4 {
1196be33864SEmmanuel Vadot			compatible = "ethernet-phy-ieee802.3-c22";
1206be33864SEmmanuel Vadot			reg = <4>;
1216be33864SEmmanuel Vadot			reset-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
1226be33864SEmmanuel Vadot			reset-assert-us = <10000>;
1236be33864SEmmanuel Vadot			reset-deassert-us = <10000>;
1246be33864SEmmanuel Vadot		};
1256be33864SEmmanuel Vadot	};
1266be33864SEmmanuel Vadot};
1276be33864SEmmanuel Vadot
1286be33864SEmmanuel Vadot&i2c1 {
1296be33864SEmmanuel Vadot	clock-frequency = <400000>;
1306be33864SEmmanuel Vadot	pinctrl-names = "default";
1316be33864SEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c1>;
1326be33864SEmmanuel Vadot	status = "okay";
1336be33864SEmmanuel Vadot
1346be33864SEmmanuel Vadot	pmic@4b {
1356be33864SEmmanuel Vadot		compatible = "rohm,bd71847";
1366be33864SEmmanuel Vadot		reg = <0x4b>;
1376be33864SEmmanuel Vadot		pinctrl-names = "default";
1386be33864SEmmanuel Vadot		pinctrl-0 = <&pinctrl_pmic>;
1396be33864SEmmanuel Vadot		interrupt-parent = <&gpio2>;
1406be33864SEmmanuel Vadot		interrupts = <8 IRQ_TYPE_LEVEL_LOW>;
1416be33864SEmmanuel Vadot		rohm,reset-snvs-powered;
1426be33864SEmmanuel Vadot
1436be33864SEmmanuel Vadot		#clock-cells = <0>;
144*aa1a8ff2SEmmanuel Vadot		clocks = <&osc_32k>;
1456be33864SEmmanuel Vadot		clock-output-names = "clk-32k-out";
1466be33864SEmmanuel Vadot
1476be33864SEmmanuel Vadot		regulators {
1486be33864SEmmanuel Vadot			buck1_reg: BUCK1 {
1496be33864SEmmanuel Vadot				regulator-name = "buck1";
1506be33864SEmmanuel Vadot				regulator-min-microvolt = <700000>;
1516be33864SEmmanuel Vadot				regulator-max-microvolt = <1300000>;
1526be33864SEmmanuel Vadot				regulator-boot-on;
1536be33864SEmmanuel Vadot				regulator-always-on;
1546be33864SEmmanuel Vadot				regulator-ramp-delay = <1250>;
1556be33864SEmmanuel Vadot			};
1566be33864SEmmanuel Vadot
1576be33864SEmmanuel Vadot			buck2_reg: BUCK2 {
1586be33864SEmmanuel Vadot				regulator-name = "buck2";
1596be33864SEmmanuel Vadot				regulator-min-microvolt = <700000>;
1606be33864SEmmanuel Vadot				regulator-max-microvolt = <1300000>;
1616be33864SEmmanuel Vadot				regulator-boot-on;
1626be33864SEmmanuel Vadot				regulator-always-on;
1636be33864SEmmanuel Vadot				regulator-ramp-delay = <1250>;
1646be33864SEmmanuel Vadot				rohm,dvs-run-voltage = <1000000>;
1656be33864SEmmanuel Vadot				rohm,dvs-idle-voltage = <900000>;
1666be33864SEmmanuel Vadot			};
1676be33864SEmmanuel Vadot
1686be33864SEmmanuel Vadot			buck3_reg: BUCK3 {
1696be33864SEmmanuel Vadot				regulator-name = "buck3";
1706be33864SEmmanuel Vadot				regulator-min-microvolt = <700000>;
1716be33864SEmmanuel Vadot				regulator-max-microvolt = <1350000>;
1726be33864SEmmanuel Vadot				regulator-boot-on;
1736be33864SEmmanuel Vadot				regulator-always-on;
1746be33864SEmmanuel Vadot			};
1756be33864SEmmanuel Vadot
1766be33864SEmmanuel Vadot			buck4_reg: BUCK4 {
1776be33864SEmmanuel Vadot				regulator-name = "buck4";
1786be33864SEmmanuel Vadot				regulator-min-microvolt = <3000000>;
1796be33864SEmmanuel Vadot				regulator-max-microvolt = <3300000>;
1806be33864SEmmanuel Vadot				regulator-boot-on;
1816be33864SEmmanuel Vadot				regulator-always-on;
1826be33864SEmmanuel Vadot			};
1836be33864SEmmanuel Vadot
1846be33864SEmmanuel Vadot			buck5_reg: BUCK5 {
1856be33864SEmmanuel Vadot				regulator-name = "buck5";
1866be33864SEmmanuel Vadot				regulator-min-microvolt = <1605000>;
1876be33864SEmmanuel Vadot				regulator-max-microvolt = <1995000>;
1886be33864SEmmanuel Vadot				regulator-boot-on;
1896be33864SEmmanuel Vadot				regulator-always-on;
1906be33864SEmmanuel Vadot			};
1916be33864SEmmanuel Vadot
1926be33864SEmmanuel Vadot			buck6_reg: BUCK6 {
1936be33864SEmmanuel Vadot				regulator-name = "buck6";
1946be33864SEmmanuel Vadot				regulator-min-microvolt = <800000>;
1956be33864SEmmanuel Vadot				regulator-max-microvolt = <1400000>;
1966be33864SEmmanuel Vadot				regulator-boot-on;
1976be33864SEmmanuel Vadot				regulator-always-on;
1986be33864SEmmanuel Vadot			};
1996be33864SEmmanuel Vadot
2006be33864SEmmanuel Vadot			ldo1_reg: LDO1 {
2016be33864SEmmanuel Vadot				regulator-name = "ldo1";
2026be33864SEmmanuel Vadot				regulator-min-microvolt = <1600000>;
2036be33864SEmmanuel Vadot				regulator-max-microvolt = <1900000>;
2046be33864SEmmanuel Vadot				regulator-boot-on;
2056be33864SEmmanuel Vadot				regulator-always-on;
2066be33864SEmmanuel Vadot			};
2076be33864SEmmanuel Vadot
2086be33864SEmmanuel Vadot			ldo2_reg: LDO2 {
2096be33864SEmmanuel Vadot				regulator-name = "ldo2";
2106be33864SEmmanuel Vadot				regulator-min-microvolt = <800000>;
2116be33864SEmmanuel Vadot				regulator-max-microvolt = <900000>;
2126be33864SEmmanuel Vadot				regulator-boot-on;
2136be33864SEmmanuel Vadot				regulator-always-on;
2146be33864SEmmanuel Vadot			};
2156be33864SEmmanuel Vadot
2166be33864SEmmanuel Vadot			ldo3_reg: LDO3 {
2176be33864SEmmanuel Vadot				regulator-name = "ldo3";
2186be33864SEmmanuel Vadot				regulator-min-microvolt = <1800000>;
2196be33864SEmmanuel Vadot				regulator-max-microvolt = <3300000>;
2206be33864SEmmanuel Vadot				regulator-boot-on;
2216be33864SEmmanuel Vadot				regulator-always-on;
2226be33864SEmmanuel Vadot			};
2236be33864SEmmanuel Vadot
2246be33864SEmmanuel Vadot			ldo4_reg: LDO4 {
2256be33864SEmmanuel Vadot				regulator-name = "ldo4";
2266be33864SEmmanuel Vadot				regulator-min-microvolt = <900000>;
2276be33864SEmmanuel Vadot				regulator-max-microvolt = <1800000>;
2286be33864SEmmanuel Vadot				regulator-boot-on;
2296be33864SEmmanuel Vadot				regulator-always-on;
2306be33864SEmmanuel Vadot			};
2316be33864SEmmanuel Vadot
2326be33864SEmmanuel Vadot			ldo5_reg: LDO5 {
2336be33864SEmmanuel Vadot				regulator-min-microvolt = <1800000>;
2346be33864SEmmanuel Vadot				regulator-max-microvolt = <1800000>;
2356be33864SEmmanuel Vadot				regulator-always-on;
2366be33864SEmmanuel Vadot			};
2376be33864SEmmanuel Vadot
2386be33864SEmmanuel Vadot			ldo6_reg: LDO6 {
2396be33864SEmmanuel Vadot				regulator-name = "ldo6";
2406be33864SEmmanuel Vadot				regulator-min-microvolt = <900000>;
2416be33864SEmmanuel Vadot				regulator-max-microvolt = <1800000>;
2426be33864SEmmanuel Vadot				regulator-boot-on;
2436be33864SEmmanuel Vadot				regulator-always-on;
2446be33864SEmmanuel Vadot			};
2456be33864SEmmanuel Vadot		};
2466be33864SEmmanuel Vadot	};
2476be33864SEmmanuel Vadot};
2486be33864SEmmanuel Vadot
2496be33864SEmmanuel Vadot&i2c3 {
2506be33864SEmmanuel Vadot	clock-frequency = <400000>;
2516be33864SEmmanuel Vadot	pinctrl-names = "default";
2526be33864SEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c3>;
2536be33864SEmmanuel Vadot	status = "okay";
2546be33864SEmmanuel Vadot
2556be33864SEmmanuel Vadot	/* TODO: configure audio, as of now just put a placeholder */
2566be33864SEmmanuel Vadot	wm8904: codec@1a {
2576be33864SEmmanuel Vadot		compatible = "wlf,wm8904";
2586be33864SEmmanuel Vadot		reg = <0x1a>;
2596be33864SEmmanuel Vadot		status = "disabled";
2606be33864SEmmanuel Vadot	};
2616be33864SEmmanuel Vadot};
2626be33864SEmmanuel Vadot
2636be33864SEmmanuel Vadot&snvs_pwrkey {
2646be33864SEmmanuel Vadot	status = "okay";
2656be33864SEmmanuel Vadot};
2666be33864SEmmanuel Vadot
2676be33864SEmmanuel Vadot/* Bluetooth */
2686be33864SEmmanuel Vadot&uart2 {
2696be33864SEmmanuel Vadot	pinctrl-names = "default";
2706be33864SEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart2>;
2716be33864SEmmanuel Vadot	assigned-clocks = <&clk IMX8MM_CLK_UART2>;
2726be33864SEmmanuel Vadot	assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_80M>;
2736be33864SEmmanuel Vadot	uart-has-rtscts;
2746be33864SEmmanuel Vadot	status = "okay";
2756be33864SEmmanuel Vadot};
2766be33864SEmmanuel Vadot
2776be33864SEmmanuel Vadot/* Console */
2786be33864SEmmanuel Vadot&uart4 {
2796be33864SEmmanuel Vadot	pinctrl-names = "default";
2806be33864SEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart4>;
2816be33864SEmmanuel Vadot	status = "okay";
2826be33864SEmmanuel Vadot};
2836be33864SEmmanuel Vadot
2846be33864SEmmanuel Vadot&usbotg1 {
2856be33864SEmmanuel Vadot	dr_mode = "otg";
2866be33864SEmmanuel Vadot	usb-role-switch;
2876be33864SEmmanuel Vadot	status = "okay";
2886be33864SEmmanuel Vadot};
2896be33864SEmmanuel Vadot
2906be33864SEmmanuel Vadot&usbotg2 {
2916be33864SEmmanuel Vadot	dr_mode = "otg";
2926be33864SEmmanuel Vadot	usb-role-switch;
2936be33864SEmmanuel Vadot	status = "okay";
2946be33864SEmmanuel Vadot};
2956be33864SEmmanuel Vadot
2966be33864SEmmanuel Vadot/* WIFI */
2976be33864SEmmanuel Vadot&usdhc1 {
2986be33864SEmmanuel Vadot	#address-cells = <1>;
2996be33864SEmmanuel Vadot	#size-cells = <0>;
3006be33864SEmmanuel Vadot	pinctrl-names = "default", "state_100mhz", "state_200mhz";
3016be33864SEmmanuel Vadot	pinctrl-0 = <&pinctrl_usdhc1>;
3026be33864SEmmanuel Vadot	pinctrl-1 = <&pinctrl_usdhc1_100mhz>;
3036be33864SEmmanuel Vadot	pinctrl-2 = <&pinctrl_usdhc1_200mhz>;
3046be33864SEmmanuel Vadot	bus-width = <4>;
3056be33864SEmmanuel Vadot	non-removable;
3066be33864SEmmanuel Vadot	keep-power-in-suspend;
3076be33864SEmmanuel Vadot	status = "okay";
3086be33864SEmmanuel Vadot
3096be33864SEmmanuel Vadot	brcmf: bcrmf@1 {
3106be33864SEmmanuel Vadot		reg = <1>;
3116be33864SEmmanuel Vadot		compatible = "brcm,bcm4329-fmac";
3126be33864SEmmanuel Vadot	};
3136be33864SEmmanuel Vadot};
3146be33864SEmmanuel Vadot
3156be33864SEmmanuel Vadot/* SD */
3166be33864SEmmanuel Vadot&usdhc2 {
3176be33864SEmmanuel Vadot	assigned-clocks = <&clk IMX8MM_CLK_USDHC2>;
3186be33864SEmmanuel Vadot	assigned-clock-rates = <200000000>;
3196be33864SEmmanuel Vadot	pinctrl-names = "default", "state_100mhz", "state_200mhz";
3206be33864SEmmanuel Vadot	pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>;
3216be33864SEmmanuel Vadot	pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>;
3226be33864SEmmanuel Vadot	pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>;
3236be33864SEmmanuel Vadot	cd-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
3246be33864SEmmanuel Vadot	bus-width = <4>;
3256be33864SEmmanuel Vadot	vmmc-supply = <&reg_usdhc2_vmmc>;
3266be33864SEmmanuel Vadot	status = "okay";
3276be33864SEmmanuel Vadot};
3286be33864SEmmanuel Vadot
3296be33864SEmmanuel Vadot/* eMMC */
3306be33864SEmmanuel Vadot&usdhc3 {
3316be33864SEmmanuel Vadot	assigned-clocks = <&clk IMX8MM_CLK_USDHC3_ROOT>;
3326be33864SEmmanuel Vadot	assigned-clock-rates = <400000000>;
3336be33864SEmmanuel Vadot	pinctrl-names = "default", "state_100mhz", "state_200mhz";
3346be33864SEmmanuel Vadot	pinctrl-0 = <&pinctrl_usdhc3>;
3356be33864SEmmanuel Vadot	pinctrl-1 = <&pinctrl_usdhc3_100mhz>;
3366be33864SEmmanuel Vadot	pinctrl-2 = <&pinctrl_usdhc3_200mhz>;
3376be33864SEmmanuel Vadot	bus-width = <8>;
3386be33864SEmmanuel Vadot	non-removable;
3396be33864SEmmanuel Vadot	status = "okay";
3406be33864SEmmanuel Vadot};
3416be33864SEmmanuel Vadot
3426be33864SEmmanuel Vadot&wdog1 {
3436be33864SEmmanuel Vadot	pinctrl-names = "default";
3446be33864SEmmanuel Vadot	pinctrl-0 = <&pinctrl_wdog>;
3456be33864SEmmanuel Vadot	fsl,ext-reset-output;
3466be33864SEmmanuel Vadot	status = "okay";
3476be33864SEmmanuel Vadot};
3486be33864SEmmanuel Vadot
3496be33864SEmmanuel Vadot&iomuxc {
3506be33864SEmmanuel Vadot	pinctrl_ecspi1: ecspi1grp {
3516be33864SEmmanuel Vadot		fsl,pins = <
3526be33864SEmmanuel Vadot			MX8MM_IOMUXC_ECSPI1_SCLK_ECSPI1_SCLK		0x13
3536be33864SEmmanuel Vadot			MX8MM_IOMUXC_ECSPI1_MOSI_ECSPI1_MOSI		0x13
3546be33864SEmmanuel Vadot			MX8MM_IOMUXC_ECSPI1_MISO_ECSPI1_MISO		0x13
3556be33864SEmmanuel Vadot			MX8MM_IOMUXC_GPIO1_IO14_GPIO1_IO14		0x13
3566be33864SEmmanuel Vadot			MX8MM_IOMUXC_GPIO1_IO00_GPIO1_IO0		0x13
3576be33864SEmmanuel Vadot		>;
3586be33864SEmmanuel Vadot	};
3596be33864SEmmanuel Vadot
3606be33864SEmmanuel Vadot	pinctrl_fec1: fec1grp {
3616be33864SEmmanuel Vadot		fsl,pins = <
3626be33864SEmmanuel Vadot			MX8MM_IOMUXC_ENET_MDC_ENET1_MDC			0x3
3636be33864SEmmanuel Vadot			MX8MM_IOMUXC_ENET_MDIO_ENET1_MDIO		0x3
3646be33864SEmmanuel Vadot			MX8MM_IOMUXC_ENET_TD3_ENET1_RGMII_TD3		0x1f
3656be33864SEmmanuel Vadot			MX8MM_IOMUXC_ENET_TD2_ENET1_RGMII_TD2		0x1f
3666be33864SEmmanuel Vadot			MX8MM_IOMUXC_ENET_TD1_ENET1_RGMII_TD1		0x1f
3676be33864SEmmanuel Vadot			MX8MM_IOMUXC_ENET_TD0_ENET1_RGMII_TD0		0x1f
3686be33864SEmmanuel Vadot			MX8MM_IOMUXC_ENET_RD3_ENET1_RGMII_RD3		0x91
3696be33864SEmmanuel Vadot			MX8MM_IOMUXC_ENET_RD2_ENET1_RGMII_RD2		0x91
3706be33864SEmmanuel Vadot			MX8MM_IOMUXC_ENET_RD1_ENET1_RGMII_RD1		0x91
3716be33864SEmmanuel Vadot			MX8MM_IOMUXC_ENET_RD0_ENET1_RGMII_RD0		0x91
3726be33864SEmmanuel Vadot			MX8MM_IOMUXC_ENET_TXC_ENET1_RGMII_TXC		0x1f
3736be33864SEmmanuel Vadot			MX8MM_IOMUXC_ENET_RXC_ENET1_RGMII_RXC		0x91
3746be33864SEmmanuel Vadot			MX8MM_IOMUXC_ENET_RX_CTL_ENET1_RGMII_RX_CTL	0x91
3756be33864SEmmanuel Vadot			MX8MM_IOMUXC_ENET_TX_CTL_ENET1_RGMII_TX_CTL	0x1f
3766be33864SEmmanuel Vadot			MX8MM_IOMUXC_GPIO1_IO09_GPIO1_IO9		0x19
3776be33864SEmmanuel Vadot		>;
3786be33864SEmmanuel Vadot	};
3796be33864SEmmanuel Vadot
3806be33864SEmmanuel Vadot	pinctrl_i2c1: i2c1grp {
3816be33864SEmmanuel Vadot		fsl,pins = <
3826be33864SEmmanuel Vadot			MX8MM_IOMUXC_I2C1_SCL_I2C1_SCL		0x400001c3
3836be33864SEmmanuel Vadot			MX8MM_IOMUXC_I2C1_SDA_I2C1_SDA		0x400001c3
3846be33864SEmmanuel Vadot		>;
3856be33864SEmmanuel Vadot	};
3866be33864SEmmanuel Vadot
3876be33864SEmmanuel Vadot	pinctrl_i2c3: i2c3grp {
3886be33864SEmmanuel Vadot		fsl,pins = <
3896be33864SEmmanuel Vadot			MX8MM_IOMUXC_I2C3_SCL_I2C3_SCL		0x400001c3
3906be33864SEmmanuel Vadot			MX8MM_IOMUXC_I2C3_SDA_I2C3_SDA		0x400001c3
3916be33864SEmmanuel Vadot		>;
3926be33864SEmmanuel Vadot	};
3936be33864SEmmanuel Vadot
3946be33864SEmmanuel Vadot	pinctrl_pmic: pmicirqgrp {
3956be33864SEmmanuel Vadot		fsl,pins = <
3966be33864SEmmanuel Vadot			MX8MM_IOMUXC_SD1_DATA6_GPIO2_IO8	0x141
3976be33864SEmmanuel Vadot		>;
3986be33864SEmmanuel Vadot	};
3996be33864SEmmanuel Vadot
4006be33864SEmmanuel Vadot	pinctrl_reg_eth_phy: regethphygrp {
4016be33864SEmmanuel Vadot		fsl,pins = <
4026be33864SEmmanuel Vadot			MX8MM_IOMUXC_SD1_DATA7_GPIO2_IO9	0x41
4036be33864SEmmanuel Vadot		>;
4046be33864SEmmanuel Vadot	};
4056be33864SEmmanuel Vadot
4066be33864SEmmanuel Vadot	pinctrl_restouch: restouchgrp {
4076be33864SEmmanuel Vadot		fsl,pins = <
4086be33864SEmmanuel Vadot			MX8MM_IOMUXC_GPIO1_IO03_GPIO1_IO3	0x1c0
4096be33864SEmmanuel Vadot		>;
4106be33864SEmmanuel Vadot	};
4116be33864SEmmanuel Vadot
4126be33864SEmmanuel Vadot	pinctrl_uart2: uart2grp {
4136be33864SEmmanuel Vadot		fsl,pins = <
4146be33864SEmmanuel Vadot			MX8MM_IOMUXC_SAI3_TXFS_UART2_DCE_RX	0x140
4156be33864SEmmanuel Vadot			MX8MM_IOMUXC_SAI3_TXC_UART2_DCE_TX	0x140
4166be33864SEmmanuel Vadot			MX8MM_IOMUXC_SAI3_RXC_UART2_DCE_CTS_B	0x140
4176be33864SEmmanuel Vadot			MX8MM_IOMUXC_SAI3_RXD_UART2_DCE_RTS_B	0x140
4186be33864SEmmanuel Vadot		>;
4196be33864SEmmanuel Vadot	};
4206be33864SEmmanuel Vadot
4216be33864SEmmanuel Vadot	pinctrl_uart4: uart4grp {
4226be33864SEmmanuel Vadot		fsl,pins = <
4236be33864SEmmanuel Vadot			MX8MM_IOMUXC_UART4_RXD_UART4_DCE_RX	0x140
4246be33864SEmmanuel Vadot			MX8MM_IOMUXC_UART4_TXD_UART4_DCE_TX	0x140
4256be33864SEmmanuel Vadot		>;
4266be33864SEmmanuel Vadot	};
4276be33864SEmmanuel Vadot
4286be33864SEmmanuel Vadot	pinctrl_usdhc1: usdhc1grp {
4296be33864SEmmanuel Vadot		fsl,pins = <
4306be33864SEmmanuel Vadot			MX8MM_IOMUXC_SD1_CLK_USDHC1_CLK		0x190
4316be33864SEmmanuel Vadot			MX8MM_IOMUXC_SD1_CMD_USDHC1_CMD		0x1d0
4326be33864SEmmanuel Vadot			MX8MM_IOMUXC_SD1_DATA0_USDHC1_DATA0	0x1d0
4336be33864SEmmanuel Vadot			MX8MM_IOMUXC_SD1_DATA1_USDHC1_DATA1	0x1d0
4346be33864SEmmanuel Vadot			MX8MM_IOMUXC_SD1_DATA2_USDHC1_DATA2	0x1d0
4356be33864SEmmanuel Vadot			MX8MM_IOMUXC_SD1_DATA3_USDHC1_DATA3	0x1d0
4366be33864SEmmanuel Vadot		>;
4376be33864SEmmanuel Vadot	};
4386be33864SEmmanuel Vadot
4396be33864SEmmanuel Vadot	pinctrl_usdhc1_100mhz: usdhc1-100mhzgrp {
4406be33864SEmmanuel Vadot		fsl,pins = <
4416be33864SEmmanuel Vadot			MX8MM_IOMUXC_SD1_CLK_USDHC1_CLK		0x194
4426be33864SEmmanuel Vadot			MX8MM_IOMUXC_SD1_CMD_USDHC1_CMD		0x1d4
4436be33864SEmmanuel Vadot			MX8MM_IOMUXC_SD1_DATA0_USDHC1_DATA0	0x1d4
4446be33864SEmmanuel Vadot			MX8MM_IOMUXC_SD1_DATA1_USDHC1_DATA1	0x1d4
4456be33864SEmmanuel Vadot			MX8MM_IOMUXC_SD1_DATA2_USDHC1_DATA2	0x1d4
4466be33864SEmmanuel Vadot			MX8MM_IOMUXC_SD1_DATA3_USDHC1_DATA3	0x1d4
4476be33864SEmmanuel Vadot		>;
4486be33864SEmmanuel Vadot	};
4496be33864SEmmanuel Vadot
4506be33864SEmmanuel Vadot	pinctrl_usdhc1_200mhz: usdhc1-200mhzgrp {
4516be33864SEmmanuel Vadot		fsl,pins = <
4526be33864SEmmanuel Vadot			MX8MM_IOMUXC_SD1_CLK_USDHC1_CLK		0x196
4536be33864SEmmanuel Vadot			MX8MM_IOMUXC_SD1_CMD_USDHC1_CMD		0x1d6
4546be33864SEmmanuel Vadot			MX8MM_IOMUXC_SD1_DATA0_USDHC1_DATA0	0x1d6
4556be33864SEmmanuel Vadot			MX8MM_IOMUXC_SD1_DATA1_USDHC1_DATA1	0x1d6
4566be33864SEmmanuel Vadot			MX8MM_IOMUXC_SD1_DATA2_USDHC1_DATA2	0x1d6
4576be33864SEmmanuel Vadot			MX8MM_IOMUXC_SD1_DATA3_USDHC1_DATA3	0x1d6
4586be33864SEmmanuel Vadot		>;
4596be33864SEmmanuel Vadot	};
4606be33864SEmmanuel Vadot
4616be33864SEmmanuel Vadot	pinctrl_usdhc2_gpio: usdhc2gpiogrp {
4626be33864SEmmanuel Vadot		fsl,pins = <
4636be33864SEmmanuel Vadot			MX8MM_IOMUXC_GPIO1_IO10_GPIO1_IO10	0xc1
4646be33864SEmmanuel Vadot		>;
4656be33864SEmmanuel Vadot	};
4666be33864SEmmanuel Vadot
4676be33864SEmmanuel Vadot	pinctrl_usdhc2: usdhc2grp {
4686be33864SEmmanuel Vadot		fsl,pins = <
4696be33864SEmmanuel Vadot			MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK		0x190
4706be33864SEmmanuel Vadot			MX8MM_IOMUXC_SD2_CMD_USDHC2_CMD		0x1d0
4716be33864SEmmanuel Vadot			MX8MM_IOMUXC_SD2_DATA0_USDHC2_DATA0	0x1d0
4726be33864SEmmanuel Vadot			MX8MM_IOMUXC_SD2_DATA1_USDHC2_DATA1	0x1d0
4736be33864SEmmanuel Vadot			MX8MM_IOMUXC_SD2_DATA2_USDHC2_DATA2	0x1d0
4746be33864SEmmanuel Vadot			MX8MM_IOMUXC_SD2_DATA3_USDHC2_DATA3	0x1d0
4756be33864SEmmanuel Vadot			MX8MM_IOMUXC_GPIO1_IO04_USDHC2_VSELECT	0x1d0
4766be33864SEmmanuel Vadot		>;
4776be33864SEmmanuel Vadot	};
4786be33864SEmmanuel Vadot
4796be33864SEmmanuel Vadot	pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp {
4806be33864SEmmanuel Vadot		fsl,pins = <
4816be33864SEmmanuel Vadot			MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK		0x194
4826be33864SEmmanuel Vadot			MX8MM_IOMUXC_SD2_CMD_USDHC2_CMD		0x1d4
4836be33864SEmmanuel Vadot			MX8MM_IOMUXC_SD2_DATA0_USDHC2_DATA0	0x1d4
4846be33864SEmmanuel Vadot			MX8MM_IOMUXC_SD2_DATA1_USDHC2_DATA1	0x1d4
4856be33864SEmmanuel Vadot			MX8MM_IOMUXC_SD2_DATA2_USDHC2_DATA2	0x1d4
4866be33864SEmmanuel Vadot			MX8MM_IOMUXC_SD2_DATA3_USDHC2_DATA3	0x1d4
4876be33864SEmmanuel Vadot			MX8MM_IOMUXC_GPIO1_IO04_USDHC2_VSELECT	0x1d0
4886be33864SEmmanuel Vadot		>;
4896be33864SEmmanuel Vadot	};
4906be33864SEmmanuel Vadot
4916be33864SEmmanuel Vadot	pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp {
4926be33864SEmmanuel Vadot		fsl,pins = <
4936be33864SEmmanuel Vadot			MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK		0x196
4946be33864SEmmanuel Vadot			MX8MM_IOMUXC_SD2_CMD_USDHC2_CMD		0x1d6
4956be33864SEmmanuel Vadot			MX8MM_IOMUXC_SD2_DATA0_USDHC2_DATA0	0x1d6
4966be33864SEmmanuel Vadot			MX8MM_IOMUXC_SD2_DATA1_USDHC2_DATA1	0x1d6
4976be33864SEmmanuel Vadot			MX8MM_IOMUXC_SD2_DATA2_USDHC2_DATA2	0x1d6
4986be33864SEmmanuel Vadot			MX8MM_IOMUXC_SD2_DATA3_USDHC2_DATA3	0x1d6
4996be33864SEmmanuel Vadot			MX8MM_IOMUXC_GPIO1_IO04_USDHC2_VSELECT	0x1d0
5006be33864SEmmanuel Vadot		>;
5016be33864SEmmanuel Vadot	};
5026be33864SEmmanuel Vadot
5036be33864SEmmanuel Vadot	pinctrl_usdhc3: usdhc3grp {
5046be33864SEmmanuel Vadot		fsl,pins = <
5056be33864SEmmanuel Vadot			MX8MM_IOMUXC_NAND_WE_B_USDHC3_CLK	0x190
5066be33864SEmmanuel Vadot			MX8MM_IOMUXC_NAND_WP_B_USDHC3_CMD	0x1d0
5076be33864SEmmanuel Vadot			MX8MM_IOMUXC_NAND_DATA04_USDHC3_DATA0	0x1d0
5086be33864SEmmanuel Vadot			MX8MM_IOMUXC_NAND_DATA05_USDHC3_DATA1	0x1d0
5096be33864SEmmanuel Vadot			MX8MM_IOMUXC_NAND_DATA06_USDHC3_DATA2	0x1d0
5106be33864SEmmanuel Vadot			MX8MM_IOMUXC_NAND_DATA07_USDHC3_DATA3	0x1d0
5116be33864SEmmanuel Vadot			MX8MM_IOMUXC_NAND_RE_B_USDHC3_DATA4	0x1d0
5126be33864SEmmanuel Vadot			MX8MM_IOMUXC_NAND_CE2_B_USDHC3_DATA5	0x1d0
5136be33864SEmmanuel Vadot			MX8MM_IOMUXC_NAND_CE3_B_USDHC3_DATA6	0x1d0
5146be33864SEmmanuel Vadot			MX8MM_IOMUXC_NAND_CLE_USDHC3_DATA7	0x1d0
5156be33864SEmmanuel Vadot			MX8MM_IOMUXC_NAND_CE1_B_USDHC3_STROBE	0x190
5166be33864SEmmanuel Vadot		>;
5176be33864SEmmanuel Vadot	};
5186be33864SEmmanuel Vadot
5196be33864SEmmanuel Vadot	pinctrl_usdhc3_100mhz: usdhc3-100mhzgrp {
5206be33864SEmmanuel Vadot		fsl,pins = <
5216be33864SEmmanuel Vadot			MX8MM_IOMUXC_NAND_WE_B_USDHC3_CLK	0x194
5226be33864SEmmanuel Vadot			MX8MM_IOMUXC_NAND_WP_B_USDHC3_CMD	0x1d4
5236be33864SEmmanuel Vadot			MX8MM_IOMUXC_NAND_DATA04_USDHC3_DATA0	0x1d4
5246be33864SEmmanuel Vadot			MX8MM_IOMUXC_NAND_DATA05_USDHC3_DATA1	0x1d4
5256be33864SEmmanuel Vadot			MX8MM_IOMUXC_NAND_DATA06_USDHC3_DATA2	0x1d4
5266be33864SEmmanuel Vadot			MX8MM_IOMUXC_NAND_DATA07_USDHC3_DATA3	0x1d4
5276be33864SEmmanuel Vadot			MX8MM_IOMUXC_NAND_RE_B_USDHC3_DATA4	0x1d4
5286be33864SEmmanuel Vadot			MX8MM_IOMUXC_NAND_CE2_B_USDHC3_DATA5	0x1d4
5296be33864SEmmanuel Vadot			MX8MM_IOMUXC_NAND_CE3_B_USDHC3_DATA6	0x1d4
5306be33864SEmmanuel Vadot			MX8MM_IOMUXC_NAND_CLE_USDHC3_DATA7	0x1d4
5316be33864SEmmanuel Vadot			MX8MM_IOMUXC_NAND_CE1_B_USDHC3_STROBE	0x194
5326be33864SEmmanuel Vadot		>;
5336be33864SEmmanuel Vadot	};
5346be33864SEmmanuel Vadot
5356be33864SEmmanuel Vadot	pinctrl_usdhc3_200mhz: usdhc3-200mhzgrp {
5366be33864SEmmanuel Vadot		fsl,pins = <
5376be33864SEmmanuel Vadot			MX8MM_IOMUXC_NAND_WE_B_USDHC3_CLK	0x196
5386be33864SEmmanuel Vadot			MX8MM_IOMUXC_NAND_WP_B_USDHC3_CMD	0x1d6
5396be33864SEmmanuel Vadot			MX8MM_IOMUXC_NAND_DATA04_USDHC3_DATA0	0x1d6
5406be33864SEmmanuel Vadot			MX8MM_IOMUXC_NAND_DATA05_USDHC3_DATA1	0x1d6
5416be33864SEmmanuel Vadot			MX8MM_IOMUXC_NAND_DATA06_USDHC3_DATA2	0x1d6
5426be33864SEmmanuel Vadot			MX8MM_IOMUXC_NAND_DATA07_USDHC3_DATA3	0x1d6
5436be33864SEmmanuel Vadot			MX8MM_IOMUXC_NAND_RE_B_USDHC3_DATA4	0x1d6
5446be33864SEmmanuel Vadot			MX8MM_IOMUXC_NAND_CE2_B_USDHC3_DATA5	0x1d6
5456be33864SEmmanuel Vadot			MX8MM_IOMUXC_NAND_CE3_B_USDHC3_DATA6	0x1d6
5466be33864SEmmanuel Vadot			MX8MM_IOMUXC_NAND_CLE_USDHC3_DATA7	0x1d6
5476be33864SEmmanuel Vadot			MX8MM_IOMUXC_NAND_CE1_B_USDHC3_STROBE	0x196
5486be33864SEmmanuel Vadot		>;
5496be33864SEmmanuel Vadot	};
5506be33864SEmmanuel Vadot
5516be33864SEmmanuel Vadot	pinctrl_wdog: wdoggrp {
5526be33864SEmmanuel Vadot		fsl,pins = <
5535def4c47SEmmanuel Vadot			MX8MM_IOMUXC_GPIO1_IO02_WDOG1_WDOG_B	0x166
5546be33864SEmmanuel Vadot		>;
5556be33864SEmmanuel Vadot	};
5566be33864SEmmanuel Vadot};
557