xref: /freebsd/sys/contrib/device-tree/src/arm64/freescale/imx8mm-phygate-tauri-l.dts (revision 8d13bc63c0e1d50bc9e47ac1f26329c999bfecf0)
184943d6fSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
284943d6fSEmmanuel Vadot/*
384943d6fSEmmanuel Vadot * Copyright (C) 2023 PHYTEC Messtechnik GmbH
484943d6fSEmmanuel Vadot */
584943d6fSEmmanuel Vadot
684943d6fSEmmanuel Vadot/dts-v1/;
784943d6fSEmmanuel Vadot
884943d6fSEmmanuel Vadot#include <dt-bindings/input/linux-event-codes.h>
984943d6fSEmmanuel Vadot#include <dt-bindings/leds/common.h>
1084943d6fSEmmanuel Vadot#include "imx8mm-phycore-som.dtsi"
1184943d6fSEmmanuel Vadot
1284943d6fSEmmanuel Vadot/ {
1384943d6fSEmmanuel Vadot	model = "PHYTEC phyGATE-Tauri-L-iMX8MM";
1484943d6fSEmmanuel Vadot	compatible = "phytec,imx8mm-phygate-tauri-l",
1584943d6fSEmmanuel Vadot		     "phytec,imx8mm-phycore-som", "fsl,imx8mm";
1684943d6fSEmmanuel Vadot
1784943d6fSEmmanuel Vadot	chosen {
1884943d6fSEmmanuel Vadot		stdout-path = &uart3;
1984943d6fSEmmanuel Vadot	};
2084943d6fSEmmanuel Vadot
2184943d6fSEmmanuel Vadot	can_osc_40m: clock-can {
2284943d6fSEmmanuel Vadot		compatible = "fixed-clock";
2384943d6fSEmmanuel Vadot		clock-frequency = <40000000>;
2484943d6fSEmmanuel Vadot		clock-output-names = "can_osc_40m";
2584943d6fSEmmanuel Vadot		#clock-cells = <0>;
2684943d6fSEmmanuel Vadot	};
2784943d6fSEmmanuel Vadot
2884943d6fSEmmanuel Vadot	gpio-keys {
2984943d6fSEmmanuel Vadot		compatible = "gpio-keys";
3084943d6fSEmmanuel Vadot		pinctrl-names = "default";
3184943d6fSEmmanuel Vadot		pinctrl-0 = <&pinctrl_gpiokeys>;
3284943d6fSEmmanuel Vadot
3384943d6fSEmmanuel Vadot		key {
3484943d6fSEmmanuel Vadot			gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
3584943d6fSEmmanuel Vadot			label = "KEY-A";
3684943d6fSEmmanuel Vadot			linux,code = <KEY_A>;
3784943d6fSEmmanuel Vadot		};
3884943d6fSEmmanuel Vadot	};
3984943d6fSEmmanuel Vadot
4084943d6fSEmmanuel Vadot	leds {
4184943d6fSEmmanuel Vadot		compatible = "gpio-leds";
4284943d6fSEmmanuel Vadot		pinctrl-names = "default";
4384943d6fSEmmanuel Vadot		pinctrl-0 = <&pinctrl_leds>;
4484943d6fSEmmanuel Vadot
4584943d6fSEmmanuel Vadot		led-1 {
4684943d6fSEmmanuel Vadot			color = <LED_COLOR_ID_RED>;
4784943d6fSEmmanuel Vadot			gpios = <&gpio5 5 GPIO_ACTIVE_HIGH>;
4884943d6fSEmmanuel Vadot			linux,default-trigger = "none";
4984943d6fSEmmanuel Vadot		};
5084943d6fSEmmanuel Vadot
5184943d6fSEmmanuel Vadot		led-2 {
5284943d6fSEmmanuel Vadot			color = <LED_COLOR_ID_YELLOW>;
5384943d6fSEmmanuel Vadot			gpios = <&gpio4 30 GPIO_ACTIVE_HIGH>;
5484943d6fSEmmanuel Vadot			linux,default-trigger = "none";
5584943d6fSEmmanuel Vadot		};
5684943d6fSEmmanuel Vadot	};
5784943d6fSEmmanuel Vadot
5884943d6fSEmmanuel Vadot	usdhc1_pwrseq: pwr-seq {
5984943d6fSEmmanuel Vadot		compatible = "mmc-pwrseq-simple";
6084943d6fSEmmanuel Vadot		post-power-on-delay-ms = <100>;
6184943d6fSEmmanuel Vadot		power-off-delay-us = <60>;
6284943d6fSEmmanuel Vadot		reset-gpios = <&gpio2 7 GPIO_ACTIVE_LOW>;
6384943d6fSEmmanuel Vadot	};
6484943d6fSEmmanuel Vadot
6584943d6fSEmmanuel Vadot	reg_usb_hub_vbus: regulator-hub-otg1 {
6684943d6fSEmmanuel Vadot		compatible = "regulator-fixed";
6784943d6fSEmmanuel Vadot		gpio = <&gpio1 14 GPIO_ACTIVE_HIGH>;
6884943d6fSEmmanuel Vadot		enable-active-high;
6984943d6fSEmmanuel Vadot		pinctrl-names = "default";
7084943d6fSEmmanuel Vadot		pinctrl-0 = <&pinctrl_usbhubpwr>;
7184943d6fSEmmanuel Vadot		regulator-name = "usb_hub_vbus";
7284943d6fSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
7384943d6fSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
7484943d6fSEmmanuel Vadot	};
7584943d6fSEmmanuel Vadot
7684943d6fSEmmanuel Vadot	reg_usb_otg1_vbus: regulator-usb-otg1 {
7784943d6fSEmmanuel Vadot		compatible = "regulator-fixed";
7884943d6fSEmmanuel Vadot		gpio = <&gpio1 12 GPIO_ACTIVE_HIGH>;
7984943d6fSEmmanuel Vadot		enable-active-high;
8084943d6fSEmmanuel Vadot		pinctrl-names = "default";
8184943d6fSEmmanuel Vadot		pinctrl-0 = <&pinctrl_usbotg1pwr>;
8284943d6fSEmmanuel Vadot		regulator-name = "usb_otg1_vbus";
8384943d6fSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
8484943d6fSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
8584943d6fSEmmanuel Vadot	};
8684943d6fSEmmanuel Vadot
8784943d6fSEmmanuel Vadot	reg_usdhc2_vmmc: regulator-usdhc2 {
8884943d6fSEmmanuel Vadot		compatible = "regulator-fixed";
8984943d6fSEmmanuel Vadot		gpio = <&gpio2 19 GPIO_ACTIVE_HIGH>;
9084943d6fSEmmanuel Vadot		enable-active-high;
9184943d6fSEmmanuel Vadot		off-on-delay-us = <20000>;
9284943d6fSEmmanuel Vadot		pinctrl-names = "default";
9384943d6fSEmmanuel Vadot		pinctrl-0 = <&pinctrl_reg_usdhc2_vmmc>;
9484943d6fSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
9584943d6fSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
9684943d6fSEmmanuel Vadot		regulator-name = "VSD_3V3";
9784943d6fSEmmanuel Vadot	};
9884943d6fSEmmanuel Vadot};
9984943d6fSEmmanuel Vadot
10084943d6fSEmmanuel Vadot&ecspi1 {
10184943d6fSEmmanuel Vadot	cs-gpios = <&gpio5 9 GPIO_ACTIVE_LOW>,
10284943d6fSEmmanuel Vadot		   <&gpio5 13 GPIO_ACTIVE_LOW>,
10384943d6fSEmmanuel Vadot		   <&gpio5 2 GPIO_ACTIVE_LOW>;
10484943d6fSEmmanuel Vadot	pinctrl-names = "default";
10584943d6fSEmmanuel Vadot	pinctrl-0 = <&pinctrl_ecspi1 &pinctrl_ecspi1_cs>;
10684943d6fSEmmanuel Vadot	#address-cells = <1>;
10784943d6fSEmmanuel Vadot	#size-cells = <0>;
10884943d6fSEmmanuel Vadot	status = "okay";
10984943d6fSEmmanuel Vadot
11084943d6fSEmmanuel Vadot	/* CAN MCP251XFD */
11184943d6fSEmmanuel Vadot	can0: can@0 {
11284943d6fSEmmanuel Vadot		compatible = "microchip,mcp251xfd";
11384943d6fSEmmanuel Vadot		reg = <0>;
11484943d6fSEmmanuel Vadot		clocks = <&can_osc_40m>;
11584943d6fSEmmanuel Vadot		interrupts = <8 IRQ_TYPE_LEVEL_LOW>;
11684943d6fSEmmanuel Vadot		interrupt-parent = <&gpio1>;
11784943d6fSEmmanuel Vadot		pinctrl-names = "default";
11884943d6fSEmmanuel Vadot		pinctrl-0 = <&pinctrl_can_int>;
11984943d6fSEmmanuel Vadot		spi-max-frequency = <10000000>;
12084943d6fSEmmanuel Vadot	};
12184943d6fSEmmanuel Vadot
12284943d6fSEmmanuel Vadot	tpm: tpm@1 {
123*8d13bc63SEmmanuel Vadot		compatible = "infineon,slb9670", "tcg,tpm_tis-spi";
12484943d6fSEmmanuel Vadot		interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
12584943d6fSEmmanuel Vadot		interrupt-parent = <&gpio2>;
12684943d6fSEmmanuel Vadot		pinctrl-names = "default";
12784943d6fSEmmanuel Vadot		pinctrl-0 = <&pinctrl_tpm>;
12884943d6fSEmmanuel Vadot		reg = <1>;
12984943d6fSEmmanuel Vadot		spi-max-frequency = <38000000>;
13084943d6fSEmmanuel Vadot	};
13184943d6fSEmmanuel Vadot};
13284943d6fSEmmanuel Vadot
13384943d6fSEmmanuel Vadot&i2c2 {
13484943d6fSEmmanuel Vadot	clock-frequency = <400000>;
13584943d6fSEmmanuel Vadot	pinctrl-names = "default";
13684943d6fSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c2>;
13784943d6fSEmmanuel Vadot	pinctrl-1 = <&pinctrl_i2c2_gpio>;
13884943d6fSEmmanuel Vadot	scl-gpios = <&gpio5 16 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
13984943d6fSEmmanuel Vadot	sda-gpios = <&gpio5 17 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
14084943d6fSEmmanuel Vadot	status = "okay";
14184943d6fSEmmanuel Vadot
14284943d6fSEmmanuel Vadot	temp_sense0: temperature-sensor@49 {
14384943d6fSEmmanuel Vadot		compatible = "ti,tmp102";
14484943d6fSEmmanuel Vadot		reg = <0x49>;
14584943d6fSEmmanuel Vadot		interrupt-parent = <&gpio4>;
14684943d6fSEmmanuel Vadot		interrupts = <31 IRQ_TYPE_LEVEL_LOW>;
14784943d6fSEmmanuel Vadot		pinctrl-names = "default";
14884943d6fSEmmanuel Vadot		pinctrl-0 = <&pinctrl_tempsense>;
14984943d6fSEmmanuel Vadot		#thermal-sensor-cells = <1>;
15084943d6fSEmmanuel Vadot	};
15184943d6fSEmmanuel Vadot};
15284943d6fSEmmanuel Vadot
15384943d6fSEmmanuel Vadot&i2c3 {
15484943d6fSEmmanuel Vadot	clock-frequency = <400000>;
15584943d6fSEmmanuel Vadot	pinctrl-names = "default";
15684943d6fSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c3>;
15784943d6fSEmmanuel Vadot	pinctrl-1 = <&pinctrl_i2c3_gpio>;
15884943d6fSEmmanuel Vadot	scl-gpios = <&gpio5 18 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
15984943d6fSEmmanuel Vadot	sda-gpios = <&gpio5 19 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
16084943d6fSEmmanuel Vadot	status = "okay";
16184943d6fSEmmanuel Vadot};
16284943d6fSEmmanuel Vadot
16384943d6fSEmmanuel Vadot&i2c4 {
16484943d6fSEmmanuel Vadot	clock-frequency = <400000>;
16584943d6fSEmmanuel Vadot	pinctrl-names = "default";
16684943d6fSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c4>;
16784943d6fSEmmanuel Vadot	pinctrl-1 = <&pinctrl_i2c4_gpio>;
16884943d6fSEmmanuel Vadot	scl-gpios = <&gpio5 20 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
16984943d6fSEmmanuel Vadot	sda-gpios = <&gpio5 21 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
17084943d6fSEmmanuel Vadot	status = "okay";
17184943d6fSEmmanuel Vadot};
17284943d6fSEmmanuel Vadot
17384943d6fSEmmanuel Vadot/* PCIe */
17484943d6fSEmmanuel Vadot&pcie0 {
17584943d6fSEmmanuel Vadot	assigned-clocks = <&clk IMX8MM_CLK_PCIE1_AUX>,
17684943d6fSEmmanuel Vadot			  <&clk IMX8MM_CLK_PCIE1_PHY>,
17784943d6fSEmmanuel Vadot			  <&clk IMX8MM_CLK_PCIE1_CTRL>;
17884943d6fSEmmanuel Vadot	assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_50M>,
17984943d6fSEmmanuel Vadot				 <&clk IMX8MM_SYS_PLL2_100M>,
18084943d6fSEmmanuel Vadot				 <&clk IMX8MM_SYS_PLL2_250M>;
18184943d6fSEmmanuel Vadot	assigned-clock-rates = <10000000>, <100000000>, <250000000>;
18284943d6fSEmmanuel Vadot	pinctrl-names = "default";
18384943d6fSEmmanuel Vadot	pinctrl-0 = <&pinctrl_pcie>;
18484943d6fSEmmanuel Vadot	reset-gpio = <&gpio3 22 GPIO_ACTIVE_LOW>;
18584943d6fSEmmanuel Vadot	status = "okay";
18684943d6fSEmmanuel Vadot};
18784943d6fSEmmanuel Vadot
18884943d6fSEmmanuel Vadot&pwm1 {
18984943d6fSEmmanuel Vadot	pinctrl-names = "default";
19084943d6fSEmmanuel Vadot	pinctrl-0 = <&pinctrl_pwm1>;
19184943d6fSEmmanuel Vadot	status = "okay";
19284943d6fSEmmanuel Vadot};
19384943d6fSEmmanuel Vadot
19484943d6fSEmmanuel Vadot&pwm3 {
19584943d6fSEmmanuel Vadot	pinctrl-names = "default";
19684943d6fSEmmanuel Vadot	pinctrl-0 = <&pinctrl_pwm3>;
19784943d6fSEmmanuel Vadot	status = "okay";
19884943d6fSEmmanuel Vadot};
19984943d6fSEmmanuel Vadot
20084943d6fSEmmanuel Vadot&pwm4 {
20184943d6fSEmmanuel Vadot	pinctrl-names = "default";
20284943d6fSEmmanuel Vadot	pinctrl-0 = <&pinctrl_pwm4>;
20384943d6fSEmmanuel Vadot	status = "okay";
20484943d6fSEmmanuel Vadot};
20584943d6fSEmmanuel Vadot
20684943d6fSEmmanuel Vadot/* RTC */
20784943d6fSEmmanuel Vadot&rv3028 {
20884943d6fSEmmanuel Vadot	trickle-resistor-ohms = <3000>;
20984943d6fSEmmanuel Vadot};
21084943d6fSEmmanuel Vadot
21184943d6fSEmmanuel Vadot&uart1 {
21284943d6fSEmmanuel Vadot	assigned-clocks = <&clk IMX8MM_CLK_UART1>;
21384943d6fSEmmanuel Vadot	assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_80M>;
21484943d6fSEmmanuel Vadot	pinctrl-names = "default";
21584943d6fSEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart1>;
21684943d6fSEmmanuel Vadot	status = "okay";
21784943d6fSEmmanuel Vadot};
21884943d6fSEmmanuel Vadot
21984943d6fSEmmanuel Vadot/* UART2 - RS232 */
22084943d6fSEmmanuel Vadot&uart2 {
22184943d6fSEmmanuel Vadot	assigned-clocks = <&clk IMX8MM_CLK_UART2>;
22284943d6fSEmmanuel Vadot	assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_80M>;
22384943d6fSEmmanuel Vadot	pinctrl-names = "default";
22484943d6fSEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart2>;
22584943d6fSEmmanuel Vadot	status = "okay";
22684943d6fSEmmanuel Vadot};
22784943d6fSEmmanuel Vadot
22884943d6fSEmmanuel Vadot/* UART - console */
22984943d6fSEmmanuel Vadot&uart3 {
23084943d6fSEmmanuel Vadot	pinctrl-names = "default";
23184943d6fSEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart3>;
23284943d6fSEmmanuel Vadot	status = "okay";
23384943d6fSEmmanuel Vadot};
23484943d6fSEmmanuel Vadot
23584943d6fSEmmanuel Vadot/* USB */
23684943d6fSEmmanuel Vadot&usbotg1 {
23784943d6fSEmmanuel Vadot	adp-disable;
23884943d6fSEmmanuel Vadot	dr_mode = "otg";
23984943d6fSEmmanuel Vadot	over-current-active-low;
24084943d6fSEmmanuel Vadot	samsung,picophy-pre-emp-curr-control = <3>;
24184943d6fSEmmanuel Vadot	samsung,picophy-dc-vol-level-adjust = <7>;
24284943d6fSEmmanuel Vadot	pinctrl-names = "default";
24384943d6fSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usbotg1>;
24484943d6fSEmmanuel Vadot	srp-disable;
24584943d6fSEmmanuel Vadot	vbus-supply = <&reg_usb_otg1_vbus>;
24684943d6fSEmmanuel Vadot	status = "okay";
24784943d6fSEmmanuel Vadot};
24884943d6fSEmmanuel Vadot
24984943d6fSEmmanuel Vadot&usbotg2 {
25084943d6fSEmmanuel Vadot	disable-over-current;
25184943d6fSEmmanuel Vadot	dr_mode = "host";
25284943d6fSEmmanuel Vadot	samsung,picophy-pre-emp-curr-control = <3>;
25384943d6fSEmmanuel Vadot	samsung,picophy-dc-vol-level-adjust = <7>;
25484943d6fSEmmanuel Vadot	vbus-supply = <&reg_usb_hub_vbus>;
25584943d6fSEmmanuel Vadot	status = "okay";
25684943d6fSEmmanuel Vadot};
25784943d6fSEmmanuel Vadot
25884943d6fSEmmanuel Vadot/* SD-Card */
25984943d6fSEmmanuel Vadot&usdhc2 {
26084943d6fSEmmanuel Vadot	assigned-clocks = <&clk IMX8MM_CLK_USDHC2>;
26184943d6fSEmmanuel Vadot	assigned-clock-rates = <200000000>;
26284943d6fSEmmanuel Vadot	bus-width = <4>;
26384943d6fSEmmanuel Vadot	cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
26484943d6fSEmmanuel Vadot	disable-wp;
26584943d6fSEmmanuel Vadot	pinctrl-names = "default", "state_100mhz", "state_200mhz";
26684943d6fSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>;
26784943d6fSEmmanuel Vadot	pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>;
26884943d6fSEmmanuel Vadot	pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>;
26984943d6fSEmmanuel Vadot	vmmc-supply = <&reg_usdhc2_vmmc>;
27084943d6fSEmmanuel Vadot	vqmmc-supply = <&reg_nvcc_sd2>;
27184943d6fSEmmanuel Vadot	status = "okay";
27284943d6fSEmmanuel Vadot};
27384943d6fSEmmanuel Vadot
27484943d6fSEmmanuel Vadot&iomuxc {
27584943d6fSEmmanuel Vadot	pinctrl_can_int: can-intgrp {
27684943d6fSEmmanuel Vadot		fsl,pins = <
27784943d6fSEmmanuel Vadot			MX8MM_IOMUXC_GPIO1_IO08_GPIO1_IO8	0x00
27884943d6fSEmmanuel Vadot		>;
27984943d6fSEmmanuel Vadot	};
28084943d6fSEmmanuel Vadot
28184943d6fSEmmanuel Vadot	pinctrl_ecspi1: ecspi1grp {
28284943d6fSEmmanuel Vadot		fsl,pins = <
28384943d6fSEmmanuel Vadot			MX8MM_IOMUXC_ECSPI1_MISO_ECSPI1_MISO	0x82
28484943d6fSEmmanuel Vadot			MX8MM_IOMUXC_ECSPI1_MOSI_ECSPI1_MOSI	0x82
28584943d6fSEmmanuel Vadot			MX8MM_IOMUXC_ECSPI1_SCLK_ECSPI1_SCLK	0x82
28684943d6fSEmmanuel Vadot		>;
28784943d6fSEmmanuel Vadot	};
28884943d6fSEmmanuel Vadot
28984943d6fSEmmanuel Vadot	pinctrl_ecspi1_cs: ecspi1csgrp {
29084943d6fSEmmanuel Vadot		fsl,pins = <
29184943d6fSEmmanuel Vadot			MX8MM_IOMUXC_ECSPI1_SS0_GPIO5_IO9	0x00
29284943d6fSEmmanuel Vadot			MX8MM_IOMUXC_ECSPI2_SS0_GPIO5_IO13	0x00
29384943d6fSEmmanuel Vadot			MX8MM_IOMUXC_SAI3_MCLK_GPIO5_IO2	0x00
29484943d6fSEmmanuel Vadot		>;
29584943d6fSEmmanuel Vadot	};
29684943d6fSEmmanuel Vadot
29784943d6fSEmmanuel Vadot	pinctrl_gpiokeys: keygrp {
29884943d6fSEmmanuel Vadot		fsl,pins = <
29984943d6fSEmmanuel Vadot			MX8MM_IOMUXC_GPIO1_IO09_GPIO1_IO9	0x00
30084943d6fSEmmanuel Vadot		>;
30184943d6fSEmmanuel Vadot	};
30284943d6fSEmmanuel Vadot
30384943d6fSEmmanuel Vadot	pinctrl_i2c2: i2c2grp {
30484943d6fSEmmanuel Vadot		fsl,pins = <
30584943d6fSEmmanuel Vadot			MX8MM_IOMUXC_I2C2_SCL_I2C2_SCL	0x400001c2
30684943d6fSEmmanuel Vadot			MX8MM_IOMUXC_I2C2_SDA_I2C2_SDA	0x400001c2
30784943d6fSEmmanuel Vadot		>;
30884943d6fSEmmanuel Vadot	};
30984943d6fSEmmanuel Vadot
31084943d6fSEmmanuel Vadot	pinctrl_i2c2_gpio: i2c2gpiogrp {
31184943d6fSEmmanuel Vadot		fsl,pins = <
31284943d6fSEmmanuel Vadot			MX8MM_IOMUXC_I2C2_SDA_GPIO5_IO17		0x1e0
31384943d6fSEmmanuel Vadot			MX8MM_IOMUXC_I2C2_SCL_GPIO5_IO16		0x1e0
31484943d6fSEmmanuel Vadot		>;
31584943d6fSEmmanuel Vadot	};
31684943d6fSEmmanuel Vadot
31784943d6fSEmmanuel Vadot
31884943d6fSEmmanuel Vadot	pinctrl_i2c3: i2c3grp {
31984943d6fSEmmanuel Vadot		fsl,pins = <
32084943d6fSEmmanuel Vadot			MX8MM_IOMUXC_I2C3_SCL_I2C3_SCL	0x400001c2
32184943d6fSEmmanuel Vadot			MX8MM_IOMUXC_I2C3_SDA_I2C3_SDA	0x400001c2
32284943d6fSEmmanuel Vadot		>;
32384943d6fSEmmanuel Vadot	};
32484943d6fSEmmanuel Vadot
32584943d6fSEmmanuel Vadot	pinctrl_i2c3_gpio: i2c3gpiogrp {
32684943d6fSEmmanuel Vadot		fsl,pins = <
32784943d6fSEmmanuel Vadot			MX8MM_IOMUXC_I2C3_SDA_GPIO5_IO19		0x1e0
32884943d6fSEmmanuel Vadot			MX8MM_IOMUXC_I2C3_SCL_GPIO5_IO18		0x1e0
32984943d6fSEmmanuel Vadot		>;
33084943d6fSEmmanuel Vadot	};
33184943d6fSEmmanuel Vadot
33284943d6fSEmmanuel Vadot	pinctrl_i2c4: i2c4grp {
33384943d6fSEmmanuel Vadot		fsl,pins = <
33484943d6fSEmmanuel Vadot			MX8MM_IOMUXC_I2C4_SCL_I2C4_SCL	0x400001c2
33584943d6fSEmmanuel Vadot			MX8MM_IOMUXC_I2C4_SDA_I2C4_SDA	0x400001c2
33684943d6fSEmmanuel Vadot		>;
33784943d6fSEmmanuel Vadot	};
33884943d6fSEmmanuel Vadot
33984943d6fSEmmanuel Vadot	pinctrl_i2c4_gpio: i2c4gpiogrp {
34084943d6fSEmmanuel Vadot		fsl,pins = <
34184943d6fSEmmanuel Vadot			MX8MM_IOMUXC_I2C4_SDA_GPIO5_IO21		0x1e0
34284943d6fSEmmanuel Vadot			MX8MM_IOMUXC_I2C4_SCL_GPIO5_IO20		0x1e0
34384943d6fSEmmanuel Vadot		>;
34484943d6fSEmmanuel Vadot	};
34584943d6fSEmmanuel Vadot
34684943d6fSEmmanuel Vadot	pinctrl_leds: leds1grp {
34784943d6fSEmmanuel Vadot		fsl,pins = <
34884943d6fSEmmanuel Vadot			MX8MM_IOMUXC_SAI3_RXD_GPIO4_IO30	0x00
34984943d6fSEmmanuel Vadot			MX8MM_IOMUXC_SPDIF_EXT_CLK_GPIO5_IO5	0x00
35084943d6fSEmmanuel Vadot		>;
35184943d6fSEmmanuel Vadot	};
35284943d6fSEmmanuel Vadot
35384943d6fSEmmanuel Vadot	pinctrl_pcie: pciegrp {
35484943d6fSEmmanuel Vadot		fsl,pins = <
35584943d6fSEmmanuel Vadot			/* COEX2 */
35684943d6fSEmmanuel Vadot			MX8MM_IOMUXC_SAI5_RXD1_GPIO3_IO22	0x00
35784943d6fSEmmanuel Vadot			/* COEX1 */
35884943d6fSEmmanuel Vadot			MX8MM_IOMUXC_SAI1_TXD0_GPIO4_IO12	0x12
35984943d6fSEmmanuel Vadot		>;
36084943d6fSEmmanuel Vadot	};
36184943d6fSEmmanuel Vadot
36284943d6fSEmmanuel Vadot	pinctrl_pwm1: pwm1grp {
36384943d6fSEmmanuel Vadot		fsl,pins = <
36484943d6fSEmmanuel Vadot			MX8MM_IOMUXC_GPIO1_IO01_PWM1_OUT	0x40
36584943d6fSEmmanuel Vadot		>;
36684943d6fSEmmanuel Vadot	};
36784943d6fSEmmanuel Vadot
36884943d6fSEmmanuel Vadot	pinctrl_pwm3: pwm3grp {
36984943d6fSEmmanuel Vadot		fsl,pins = <
37084943d6fSEmmanuel Vadot			MX8MM_IOMUXC_SPDIF_TX_PWM3_OUT		0x40
37184943d6fSEmmanuel Vadot		>;
37284943d6fSEmmanuel Vadot	};
37384943d6fSEmmanuel Vadot
37484943d6fSEmmanuel Vadot	pinctrl_pwm4: pwm4grp {
37584943d6fSEmmanuel Vadot		fsl,pins = <
37684943d6fSEmmanuel Vadot			MX8MM_IOMUXC_GPIO1_IO15_PWM4_OUT	0x40
37784943d6fSEmmanuel Vadot		>;
37884943d6fSEmmanuel Vadot	};
37984943d6fSEmmanuel Vadot
38084943d6fSEmmanuel Vadot	pinctrl_reg_usdhc2_vmmc: regusdhc2vmmcgrp {
38184943d6fSEmmanuel Vadot		fsl,pins = <
38284943d6fSEmmanuel Vadot			MX8MM_IOMUXC_SD2_RESET_B_GPIO2_IO19     0x40
38384943d6fSEmmanuel Vadot		>;
38484943d6fSEmmanuel Vadot	};
38584943d6fSEmmanuel Vadot
38684943d6fSEmmanuel Vadot	pinctrl_tempsense: tempsensegrp {
38784943d6fSEmmanuel Vadot		fsl,pins = <
38884943d6fSEmmanuel Vadot			MX8MM_IOMUXC_SAI3_TXFS_GPIO4_IO31	0x00
38984943d6fSEmmanuel Vadot		>;
39084943d6fSEmmanuel Vadot	};
39184943d6fSEmmanuel Vadot
39284943d6fSEmmanuel Vadot	pinctrl_tpm: tpmgrp {
39384943d6fSEmmanuel Vadot		fsl,pins = <
39484943d6fSEmmanuel Vadot			MX8MM_IOMUXC_SD1_STROBE_GPIO2_IO11	0x140
39584943d6fSEmmanuel Vadot		>;
39684943d6fSEmmanuel Vadot	};
39784943d6fSEmmanuel Vadot
39884943d6fSEmmanuel Vadot	pinctrl_uart1: uart1grp {
39984943d6fSEmmanuel Vadot		fsl,pins = <
40084943d6fSEmmanuel Vadot			MX8MM_IOMUXC_UART1_TXD_UART1_DCE_TX	0x00
40184943d6fSEmmanuel Vadot			MX8MM_IOMUXC_UART1_RXD_UART1_DCE_RX	0x00
40284943d6fSEmmanuel Vadot		>;
40384943d6fSEmmanuel Vadot	};
40484943d6fSEmmanuel Vadot
40584943d6fSEmmanuel Vadot	pinctrl_uart2: uart2grp {
40684943d6fSEmmanuel Vadot		fsl,pins = <
40784943d6fSEmmanuel Vadot			MX8MM_IOMUXC_UART2_TXD_UART2_DCE_TX	0x00
40884943d6fSEmmanuel Vadot			MX8MM_IOMUXC_UART2_RXD_UART2_DCE_RX	0x00
40984943d6fSEmmanuel Vadot		>;
41084943d6fSEmmanuel Vadot	};
41184943d6fSEmmanuel Vadot
41284943d6fSEmmanuel Vadot	pinctrl_uart3: uart3grp {
41384943d6fSEmmanuel Vadot		fsl,pins = <
41484943d6fSEmmanuel Vadot			MX8MM_IOMUXC_UART3_RXD_UART3_DCE_RX	0x140
41584943d6fSEmmanuel Vadot			MX8MM_IOMUXC_UART3_TXD_UART3_DCE_TX	0x140
41684943d6fSEmmanuel Vadot		>;
41784943d6fSEmmanuel Vadot	};
41884943d6fSEmmanuel Vadot
41984943d6fSEmmanuel Vadot	pinctrl_usbhubpwr: usbhubpwrgrp {
42084943d6fSEmmanuel Vadot		fsl,pins = <
42184943d6fSEmmanuel Vadot			MX8MM_IOMUXC_GPIO1_IO14_GPIO1_IO14	0x00
42284943d6fSEmmanuel Vadot		>;
42384943d6fSEmmanuel Vadot	};
42484943d6fSEmmanuel Vadot
42584943d6fSEmmanuel Vadot	pinctrl_usbotg1pwr: usbotg1pwrgrp {
42684943d6fSEmmanuel Vadot		fsl,pins = <
42784943d6fSEmmanuel Vadot			MX8MM_IOMUXC_GPIO1_IO12_GPIO1_IO12	0x00
42884943d6fSEmmanuel Vadot		>;
42984943d6fSEmmanuel Vadot	};
43084943d6fSEmmanuel Vadot
43184943d6fSEmmanuel Vadot	pinctrl_usbotg1: usbotg1grp {
43284943d6fSEmmanuel Vadot		fsl,pins = <
43384943d6fSEmmanuel Vadot			MX8MM_IOMUXC_GPIO1_IO13_USB1_OTG_OC	0x80
43484943d6fSEmmanuel Vadot		>;
43584943d6fSEmmanuel Vadot	};
43684943d6fSEmmanuel Vadot
43784943d6fSEmmanuel Vadot	pinctrl_usdhc1: usdhc1grp {
43884943d6fSEmmanuel Vadot		fsl,pins = <
43984943d6fSEmmanuel Vadot			MX8MM_IOMUXC_SD1_CLK_USDHC1_CLK		0x182
44084943d6fSEmmanuel Vadot			MX8MM_IOMUXC_SD1_CMD_USDHC1_CMD		0xc6
44184943d6fSEmmanuel Vadot			MX8MM_IOMUXC_SD1_DATA0_USDHC1_DATA0	0xc6
44284943d6fSEmmanuel Vadot			MX8MM_IOMUXC_SD1_DATA1_USDHC1_DATA1	0xc6
44384943d6fSEmmanuel Vadot			MX8MM_IOMUXC_SD1_DATA2_USDHC1_DATA2	0xc6
44484943d6fSEmmanuel Vadot			MX8MM_IOMUXC_SD1_DATA3_USDHC1_DATA3	0xc6
44584943d6fSEmmanuel Vadot		>;
44684943d6fSEmmanuel Vadot	};
44784943d6fSEmmanuel Vadot
44884943d6fSEmmanuel Vadot	pinctrl_usdhc2_gpio: usdhc2gpiogrp {
44984943d6fSEmmanuel Vadot		fsl,pins = <
45084943d6fSEmmanuel Vadot			MX8MM_IOMUXC_SD2_CD_B_GPIO2_IO12	0x40
45184943d6fSEmmanuel Vadot		>;
45284943d6fSEmmanuel Vadot	};
45384943d6fSEmmanuel Vadot
45484943d6fSEmmanuel Vadot	pinctrl_usdhc2: usdhc2grp {
45584943d6fSEmmanuel Vadot		fsl,pins = <
45684943d6fSEmmanuel Vadot			MX8MM_IOMUXC_GPIO1_IO04_USDHC2_VSELECT	0x1d0
45784943d6fSEmmanuel Vadot			MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK		0x192
45884943d6fSEmmanuel Vadot			MX8MM_IOMUXC_SD2_CMD_USDHC2_CMD		0x1d2
45984943d6fSEmmanuel Vadot			MX8MM_IOMUXC_SD2_DATA0_USDHC2_DATA0	0x1d2
46084943d6fSEmmanuel Vadot			MX8MM_IOMUXC_SD2_DATA1_USDHC2_DATA1	0x1d2
46184943d6fSEmmanuel Vadot			MX8MM_IOMUXC_SD2_DATA2_USDHC2_DATA2	0x1d2
46284943d6fSEmmanuel Vadot			MX8MM_IOMUXC_SD2_DATA3_USDHC2_DATA3	0x1d2
46384943d6fSEmmanuel Vadot		>;
46484943d6fSEmmanuel Vadot	};
46584943d6fSEmmanuel Vadot
46684943d6fSEmmanuel Vadot	pinctrl_usdhc2_100mhz: usdhc2100mhzgrp {
46784943d6fSEmmanuel Vadot		fsl,pins = <
46884943d6fSEmmanuel Vadot			MX8MM_IOMUXC_GPIO1_IO04_USDHC2_VSELECT	0x1d0
46984943d6fSEmmanuel Vadot			MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK		0x194
47084943d6fSEmmanuel Vadot			MX8MM_IOMUXC_SD2_CMD_USDHC2_CMD		0x1d4
47184943d6fSEmmanuel Vadot			MX8MM_IOMUXC_SD2_DATA0_USDHC2_DATA0	0x1d4
47284943d6fSEmmanuel Vadot			MX8MM_IOMUXC_SD2_DATA1_USDHC2_DATA1	0x1d4
47384943d6fSEmmanuel Vadot			MX8MM_IOMUXC_SD2_DATA2_USDHC2_DATA2	0x1d4
47484943d6fSEmmanuel Vadot			MX8MM_IOMUXC_SD2_DATA3_USDHC2_DATA3	0x1d4
47584943d6fSEmmanuel Vadot		>;
47684943d6fSEmmanuel Vadot	};
47784943d6fSEmmanuel Vadot
47884943d6fSEmmanuel Vadot	pinctrl_usdhc2_200mhz: usdhc2200mhzgrp {
47984943d6fSEmmanuel Vadot		fsl,pins = <
48084943d6fSEmmanuel Vadot			MX8MM_IOMUXC_GPIO1_IO04_USDHC2_VSELECT	0x1d0
48184943d6fSEmmanuel Vadot			MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK		0x196
48284943d6fSEmmanuel Vadot			MX8MM_IOMUXC_SD2_CMD_USDHC2_CMD		0x1d6
48384943d6fSEmmanuel Vadot			MX8MM_IOMUXC_SD2_DATA0_USDHC2_DATA0	0x1d6
48484943d6fSEmmanuel Vadot			MX8MM_IOMUXC_SD2_DATA1_USDHC2_DATA1	0x1d6
48584943d6fSEmmanuel Vadot			MX8MM_IOMUXC_SD2_DATA2_USDHC2_DATA2	0x1d6
48684943d6fSEmmanuel Vadot			MX8MM_IOMUXC_SD2_DATA3_USDHC2_DATA3	0x1d6
48784943d6fSEmmanuel Vadot		>;
48884943d6fSEmmanuel Vadot	};
48984943d6fSEmmanuel Vadot};
490