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