xref: /freebsd/sys/contrib/device-tree/src/arm64/freescale/imx8mm-kontron-n801x-s.dts (revision d5b0e70f7e04d971691517ce1304d86a1e367e2e)
15def4c47SEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0+ OR MIT
25def4c47SEmmanuel Vadot/*
35def4c47SEmmanuel Vadot * Copyright (C) 2019 Kontron Electronics GmbH
45def4c47SEmmanuel Vadot */
55def4c47SEmmanuel Vadot
65def4c47SEmmanuel Vadot/dts-v1/;
75def4c47SEmmanuel Vadot
85def4c47SEmmanuel Vadot#include "imx8mm-kontron-n801x-som.dtsi"
95def4c47SEmmanuel Vadot
105def4c47SEmmanuel Vadot/ {
115def4c47SEmmanuel Vadot	model = "Kontron i.MX8MM N801X S";
125def4c47SEmmanuel Vadot	compatible = "kontron,imx8mm-n801x-s", "kontron,imx8mm-n801x-som", "fsl,imx8mm";
135def4c47SEmmanuel Vadot
145def4c47SEmmanuel Vadot	aliases {
155def4c47SEmmanuel Vadot		ethernet1 = &usbnet;
165def4c47SEmmanuel Vadot	};
175def4c47SEmmanuel Vadot
185def4c47SEmmanuel Vadot	/* fixed crystal dedicated to mcp2515 */
195def4c47SEmmanuel Vadot	osc_can: clock-osc-can {
205def4c47SEmmanuel Vadot		compatible = "fixed-clock";
215def4c47SEmmanuel Vadot		#clock-cells = <0>;
225def4c47SEmmanuel Vadot		clock-frequency = <16000000>;
235def4c47SEmmanuel Vadot		clock-output-names = "osc-can";
245def4c47SEmmanuel Vadot	};
255def4c47SEmmanuel Vadot
265def4c47SEmmanuel Vadot	leds {
275def4c47SEmmanuel Vadot		compatible = "gpio-leds";
285def4c47SEmmanuel Vadot		pinctrl-names = "default";
295def4c47SEmmanuel Vadot		pinctrl-0 = <&pinctrl_gpio_led>;
305def4c47SEmmanuel Vadot
315def4c47SEmmanuel Vadot		led1 {
325def4c47SEmmanuel Vadot			label = "led1";
335def4c47SEmmanuel Vadot			gpios = <&gpio4 17 GPIO_ACTIVE_LOW>;
345def4c47SEmmanuel Vadot			linux,default-trigger = "heartbeat";
355def4c47SEmmanuel Vadot		};
365def4c47SEmmanuel Vadot
375def4c47SEmmanuel Vadot		led2 {
385def4c47SEmmanuel Vadot			label = "led2";
395def4c47SEmmanuel Vadot			gpios = <&gpio4 19 GPIO_ACTIVE_LOW>;
405def4c47SEmmanuel Vadot		};
415def4c47SEmmanuel Vadot
425def4c47SEmmanuel Vadot		led3 {
435def4c47SEmmanuel Vadot			label = "led3";
445def4c47SEmmanuel Vadot			gpios = <&gpio4 18 GPIO_ACTIVE_LOW>;
455def4c47SEmmanuel Vadot		};
465def4c47SEmmanuel Vadot
475def4c47SEmmanuel Vadot		led4 {
485def4c47SEmmanuel Vadot			label = "led4";
495def4c47SEmmanuel Vadot			gpios = <&gpio4 8 GPIO_ACTIVE_LOW>;
505def4c47SEmmanuel Vadot		};
515def4c47SEmmanuel Vadot
525def4c47SEmmanuel Vadot		led5 {
535def4c47SEmmanuel Vadot			label = "led5";
545def4c47SEmmanuel Vadot			gpios = <&gpio4 9 GPIO_ACTIVE_LOW>;
555def4c47SEmmanuel Vadot		};
565def4c47SEmmanuel Vadot
575def4c47SEmmanuel Vadot		led6 {
585def4c47SEmmanuel Vadot			label = "led6";
595def4c47SEmmanuel Vadot			gpios = <&gpio4 7 GPIO_ACTIVE_LOW>;
605def4c47SEmmanuel Vadot		};
615def4c47SEmmanuel Vadot	};
625def4c47SEmmanuel Vadot
635def4c47SEmmanuel Vadot	pwm-beeper {
645def4c47SEmmanuel Vadot		compatible = "pwm-beeper";
655def4c47SEmmanuel Vadot		pwms = <&pwm2 0 5000 0>;
665def4c47SEmmanuel Vadot	};
675def4c47SEmmanuel Vadot
685def4c47SEmmanuel Vadot	reg_rst_eth2: regulator-rst-eth2 {
695def4c47SEmmanuel Vadot		compatible = "regulator-fixed";
705def4c47SEmmanuel Vadot		regulator-name = "rst-usb-eth2";
715def4c47SEmmanuel Vadot		pinctrl-names = "default";
725def4c47SEmmanuel Vadot		pinctrl-0 = <&pinctrl_usb_eth2>;
73354d7675SEmmanuel Vadot		gpio = <&gpio3 2 GPIO_ACTIVE_HIGH>;
74354d7675SEmmanuel Vadot		enable-active-high;
75354d7675SEmmanuel Vadot		regulator-always-on;
765def4c47SEmmanuel Vadot	};
775def4c47SEmmanuel Vadot
785def4c47SEmmanuel Vadot	reg_vdd_5v: regulator-5v {
795def4c47SEmmanuel Vadot		compatible = "regulator-fixed";
805def4c47SEmmanuel Vadot		regulator-name = "vdd-5v";
815def4c47SEmmanuel Vadot		regulator-min-microvolt = <5000000>;
825def4c47SEmmanuel Vadot		regulator-max-microvolt = <5000000>;
835def4c47SEmmanuel Vadot	};
845def4c47SEmmanuel Vadot};
855def4c47SEmmanuel Vadot
865def4c47SEmmanuel Vadot&ecspi2 {
875def4c47SEmmanuel Vadot	pinctrl-names = "default";
885def4c47SEmmanuel Vadot	pinctrl-0 = <&pinctrl_ecspi2>;
895def4c47SEmmanuel Vadot	cs-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>;
905def4c47SEmmanuel Vadot	status = "okay";
915def4c47SEmmanuel Vadot
925def4c47SEmmanuel Vadot	can0: can@0 {
935def4c47SEmmanuel Vadot		compatible = "microchip,mcp2515";
945def4c47SEmmanuel Vadot		reg = <0>;
955def4c47SEmmanuel Vadot		pinctrl-names = "default";
965def4c47SEmmanuel Vadot		pinctrl-0 = <&pinctrl_can>;
975def4c47SEmmanuel Vadot		clocks = <&osc_can>;
985def4c47SEmmanuel Vadot		interrupt-parent = <&gpio4>;
995def4c47SEmmanuel Vadot		interrupts = <28 IRQ_TYPE_EDGE_FALLING>;
100354d7675SEmmanuel Vadot		spi-max-frequency = <10000000>;
1015def4c47SEmmanuel Vadot		vdd-supply = <&reg_vdd_3v3>;
1025def4c47SEmmanuel Vadot		xceiver-supply = <&reg_vdd_5v>;
1035def4c47SEmmanuel Vadot	};
1045def4c47SEmmanuel Vadot};
1055def4c47SEmmanuel Vadot
1065def4c47SEmmanuel Vadot&ecspi3 {
1075def4c47SEmmanuel Vadot	pinctrl-names = "default";
1085def4c47SEmmanuel Vadot	pinctrl-0 = <&pinctrl_ecspi3>;
1095def4c47SEmmanuel Vadot	cs-gpios = <&gpio5 25 GPIO_ACTIVE_LOW>;
1105def4c47SEmmanuel Vadot	status = "okay";
1115def4c47SEmmanuel Vadot};
1125def4c47SEmmanuel Vadot
1135def4c47SEmmanuel Vadot&fec1 {
1145def4c47SEmmanuel Vadot	pinctrl-names = "default";
1155def4c47SEmmanuel Vadot	pinctrl-0 = <&pinctrl_enet>;
116354d7675SEmmanuel Vadot	phy-connection-type = "rgmii-rxid";
1175def4c47SEmmanuel Vadot	phy-handle = <&ethphy>;
1185def4c47SEmmanuel Vadot	status = "okay";
1195def4c47SEmmanuel Vadot
1205def4c47SEmmanuel Vadot	mdio {
1215def4c47SEmmanuel Vadot		#address-cells = <1>;
1225def4c47SEmmanuel Vadot		#size-cells = <0>;
1235def4c47SEmmanuel Vadot
1245def4c47SEmmanuel Vadot		ethphy: ethernet-phy@0 {
1255def4c47SEmmanuel Vadot			reg = <0>;
1268cc087a1SEmmanuel Vadot			reset-assert-us = <1>;
1278cc087a1SEmmanuel Vadot			reset-deassert-us = <15000>;
1285def4c47SEmmanuel Vadot			reset-gpios = <&gpio4 27 GPIO_ACTIVE_LOW>;
1295def4c47SEmmanuel Vadot		};
1305def4c47SEmmanuel Vadot	};
1315def4c47SEmmanuel Vadot};
1325def4c47SEmmanuel Vadot
1335def4c47SEmmanuel Vadot&i2c4 {
1345def4c47SEmmanuel Vadot	clock-frequency = <100000>;
1355def4c47SEmmanuel Vadot	pinctrl-names = "default";
1365def4c47SEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c4>;
1375def4c47SEmmanuel Vadot	status = "okay";
1385def4c47SEmmanuel Vadot
1395def4c47SEmmanuel Vadot	rtc@32 {
1405def4c47SEmmanuel Vadot		compatible = "epson,rx8900";
1415def4c47SEmmanuel Vadot		reg = <0x32>;
1425def4c47SEmmanuel Vadot	};
1435def4c47SEmmanuel Vadot};
1445def4c47SEmmanuel Vadot
1455def4c47SEmmanuel Vadot&pwm2 {
1465def4c47SEmmanuel Vadot	pinctrl-names = "default";
1475def4c47SEmmanuel Vadot	pinctrl-0 = <&pinctrl_pwm2>;
1485def4c47SEmmanuel Vadot	status = "okay";
1495def4c47SEmmanuel Vadot};
1505def4c47SEmmanuel Vadot
1515def4c47SEmmanuel Vadot&uart1 {
1525def4c47SEmmanuel Vadot	pinctrl-names = "default";
1535def4c47SEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart1>;
1545def4c47SEmmanuel Vadot	uart-has-rtscts;
1555def4c47SEmmanuel Vadot	status = "okay";
1565def4c47SEmmanuel Vadot};
1575def4c47SEmmanuel Vadot
1585def4c47SEmmanuel Vadot&uart2 {
1595def4c47SEmmanuel Vadot	pinctrl-names = "default";
1605def4c47SEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart2>;
1615def4c47SEmmanuel Vadot	linux,rs485-enabled-at-boot-time;
1625def4c47SEmmanuel Vadot	uart-has-rtscts;
1635def4c47SEmmanuel Vadot	status = "okay";
1645def4c47SEmmanuel Vadot};
1655def4c47SEmmanuel Vadot
1665def4c47SEmmanuel Vadot&usbotg1 {
1675def4c47SEmmanuel Vadot	dr_mode = "otg";
1685def4c47SEmmanuel Vadot	over-current-active-low;
1695def4c47SEmmanuel Vadot	status = "okay";
1705def4c47SEmmanuel Vadot};
1715def4c47SEmmanuel Vadot
1725def4c47SEmmanuel Vadot&usbotg2 {
1735def4c47SEmmanuel Vadot	dr_mode = "host";
1745def4c47SEmmanuel Vadot	disable-over-current;
1755def4c47SEmmanuel Vadot	#address-cells = <1>;
1765def4c47SEmmanuel Vadot	#size-cells = <0>;
1775def4c47SEmmanuel Vadot	status = "okay";
1785def4c47SEmmanuel Vadot
1795def4c47SEmmanuel Vadot	usb1@1 {
1805def4c47SEmmanuel Vadot		compatible = "usb424,9514";
1815def4c47SEmmanuel Vadot		reg = <1>;
1825def4c47SEmmanuel Vadot		#address-cells = <1>;
1835def4c47SEmmanuel Vadot		#size-cells = <0>;
1845def4c47SEmmanuel Vadot
185*d5b0e70fSEmmanuel Vadot		usbnet: ethernet@1 {
1865def4c47SEmmanuel Vadot			compatible = "usb424,ec00";
1875def4c47SEmmanuel Vadot			reg = <1>;
1885def4c47SEmmanuel Vadot			local-mac-address = [ 00 00 00 00 00 00 ];
1895def4c47SEmmanuel Vadot		};
1905def4c47SEmmanuel Vadot	};
1915def4c47SEmmanuel Vadot};
1925def4c47SEmmanuel Vadot
1935def4c47SEmmanuel Vadot&usdhc2 {
1948cc087a1SEmmanuel Vadot	pinctrl-names = "default", "state_100mhz", "state_200mhz";
1955def4c47SEmmanuel Vadot	pinctrl-0 = <&pinctrl_usdhc2>;
1968cc087a1SEmmanuel Vadot	pinctrl-1 = <&pinctrl_usdhc2_100mhz>;
1978cc087a1SEmmanuel Vadot	pinctrl-2 = <&pinctrl_usdhc2_200mhz>;
1985def4c47SEmmanuel Vadot	vmmc-supply = <&reg_vdd_3v3>;
1995def4c47SEmmanuel Vadot	vqmmc-supply = <&reg_nvcc_sd>;
2005def4c47SEmmanuel Vadot	cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
2015def4c47SEmmanuel Vadot	status = "okay";
2025def4c47SEmmanuel Vadot};
2035def4c47SEmmanuel Vadot
2045def4c47SEmmanuel Vadot&iomuxc {
2055def4c47SEmmanuel Vadot	pinctrl-names = "default";
2065def4c47SEmmanuel Vadot	pinctrl-0 = <&pinctrl_gpio>;
2075def4c47SEmmanuel Vadot
2085def4c47SEmmanuel Vadot	pinctrl_can: cangrp {
2095def4c47SEmmanuel Vadot		fsl,pins = <
2105def4c47SEmmanuel Vadot			MX8MM_IOMUXC_SAI3_RXFS_GPIO4_IO28		0x19
2115def4c47SEmmanuel Vadot		>;
2125def4c47SEmmanuel Vadot	};
2135def4c47SEmmanuel Vadot
2145def4c47SEmmanuel Vadot	pinctrl_ecspi2: ecspi2grp {
2155def4c47SEmmanuel Vadot		fsl,pins = <
2165def4c47SEmmanuel Vadot			MX8MM_IOMUXC_ECSPI2_MISO_ECSPI2_MISO		0x82
2175def4c47SEmmanuel Vadot			MX8MM_IOMUXC_ECSPI2_MOSI_ECSPI2_MOSI		0x82
2185def4c47SEmmanuel Vadot			MX8MM_IOMUXC_ECSPI2_SCLK_ECSPI2_SCLK		0x82
2195def4c47SEmmanuel Vadot			MX8MM_IOMUXC_ECSPI2_SS0_GPIO5_IO13		0x19
2205def4c47SEmmanuel Vadot		>;
2215def4c47SEmmanuel Vadot	};
2225def4c47SEmmanuel Vadot
2235def4c47SEmmanuel Vadot	pinctrl_ecspi3: ecspi3grp {
2245def4c47SEmmanuel Vadot		fsl,pins = <
2255def4c47SEmmanuel Vadot			MX8MM_IOMUXC_UART2_RXD_ECSPI3_MISO		0x82
2265def4c47SEmmanuel Vadot			MX8MM_IOMUXC_UART1_TXD_ECSPI3_MOSI		0x82
2275def4c47SEmmanuel Vadot			MX8MM_IOMUXC_UART1_RXD_ECSPI3_SCLK		0x82
2285def4c47SEmmanuel Vadot			MX8MM_IOMUXC_UART2_TXD_GPIO5_IO25		0x19
2295def4c47SEmmanuel Vadot		>;
2305def4c47SEmmanuel Vadot	};
2315def4c47SEmmanuel Vadot
2325def4c47SEmmanuel Vadot	pinctrl_enet: enetgrp {
2335def4c47SEmmanuel Vadot		fsl,pins = <
2345def4c47SEmmanuel Vadot			MX8MM_IOMUXC_ENET_MDC_ENET1_MDC			0x3
2355def4c47SEmmanuel Vadot			MX8MM_IOMUXC_ENET_MDIO_ENET1_MDIO		0x3
2365def4c47SEmmanuel Vadot			MX8MM_IOMUXC_ENET_TD3_ENET1_RGMII_TD3		0x1f
2375def4c47SEmmanuel Vadot			MX8MM_IOMUXC_ENET_TD2_ENET1_RGMII_TD2		0x1f
2385def4c47SEmmanuel Vadot			MX8MM_IOMUXC_ENET_TD1_ENET1_RGMII_TD1		0x1f
2395def4c47SEmmanuel Vadot			MX8MM_IOMUXC_ENET_TD0_ENET1_RGMII_TD0		0x1f
2405def4c47SEmmanuel Vadot			MX8MM_IOMUXC_ENET_RD3_ENET1_RGMII_RD3		0x91
2415def4c47SEmmanuel Vadot			MX8MM_IOMUXC_ENET_RD2_ENET1_RGMII_RD2		0x91
2425def4c47SEmmanuel Vadot			MX8MM_IOMUXC_ENET_RD1_ENET1_RGMII_RD1		0x91
2435def4c47SEmmanuel Vadot			MX8MM_IOMUXC_ENET_RD0_ENET1_RGMII_RD0		0x91
2445def4c47SEmmanuel Vadot			MX8MM_IOMUXC_ENET_TXC_ENET1_RGMII_TXC		0x1f
2455def4c47SEmmanuel Vadot			MX8MM_IOMUXC_ENET_RXC_ENET1_RGMII_RXC		0x91
2465def4c47SEmmanuel Vadot			MX8MM_IOMUXC_ENET_RX_CTL_ENET1_RGMII_RX_CTL	0x91
2475def4c47SEmmanuel Vadot			MX8MM_IOMUXC_ENET_TX_CTL_ENET1_RGMII_TX_CTL	0x1f
2485def4c47SEmmanuel Vadot			MX8MM_IOMUXC_SAI2_MCLK_GPIO4_IO27		0x19 /* PHY RST */
2495def4c47SEmmanuel Vadot			MX8MM_IOMUXC_SAI2_TXC_GPIO4_IO25		0x19 /* ETH IRQ */
2505def4c47SEmmanuel Vadot		>;
2515def4c47SEmmanuel Vadot	};
2525def4c47SEmmanuel Vadot
2535def4c47SEmmanuel Vadot	pinctrl_gpio_led: gpioledgrp {
2545def4c47SEmmanuel Vadot		fsl,pins = <
2555def4c47SEmmanuel Vadot			MX8MM_IOMUXC_NAND_READY_B_GPIO3_IO16		0x19
2565def4c47SEmmanuel Vadot			MX8MM_IOMUXC_SAI1_RXD5_GPIO4_IO7		0x19
2575def4c47SEmmanuel Vadot			MX8MM_IOMUXC_SAI1_RXD6_GPIO4_IO8		0x19
2585def4c47SEmmanuel Vadot			MX8MM_IOMUXC_SAI1_RXD7_GPIO4_IO9		0x19
2595def4c47SEmmanuel Vadot			MX8MM_IOMUXC_SAI1_TXD5_GPIO4_IO17		0x19
2605def4c47SEmmanuel Vadot			MX8MM_IOMUXC_SAI1_TXD6_GPIO4_IO18		0x19
2615def4c47SEmmanuel Vadot			MX8MM_IOMUXC_SAI1_TXD7_GPIO4_IO19		0x19
2625def4c47SEmmanuel Vadot		>;
2635def4c47SEmmanuel Vadot	};
2645def4c47SEmmanuel Vadot
2655def4c47SEmmanuel Vadot	pinctrl_gpio: gpiogrp {
2665def4c47SEmmanuel Vadot		fsl,pins = <
2675def4c47SEmmanuel Vadot			MX8MM_IOMUXC_GPIO1_IO03_GPIO1_IO3		0x19
2685def4c47SEmmanuel Vadot			MX8MM_IOMUXC_GPIO1_IO07_GPIO1_IO7		0x19
2695def4c47SEmmanuel Vadot			MX8MM_IOMUXC_GPIO1_IO09_GPIO1_IO9		0x19
2705def4c47SEmmanuel Vadot			MX8MM_IOMUXC_GPIO1_IO11_GPIO1_IO11		0x19
2715def4c47SEmmanuel Vadot			MX8MM_IOMUXC_GPIO1_IO06_GPIO1_IO6		0x19
2725def4c47SEmmanuel Vadot			MX8MM_IOMUXC_GPIO1_IO08_GPIO1_IO8		0x19
2735def4c47SEmmanuel Vadot			MX8MM_IOMUXC_GPIO1_IO10_GPIO1_IO10		0x19
2745def4c47SEmmanuel Vadot			MX8MM_IOMUXC_SAI3_MCLK_GPIO5_IO2		0x19
2755def4c47SEmmanuel Vadot		>;
2765def4c47SEmmanuel Vadot	};
2775def4c47SEmmanuel Vadot
2785def4c47SEmmanuel Vadot	pinctrl_i2c4: i2c4grp {
2795def4c47SEmmanuel Vadot		fsl,pins = <
2805def4c47SEmmanuel Vadot			MX8MM_IOMUXC_I2C4_SCL_I2C4_SCL			0x400001c3
2815def4c47SEmmanuel Vadot			MX8MM_IOMUXC_I2C4_SDA_I2C4_SDA			0x400001c3
2825def4c47SEmmanuel Vadot		>;
2835def4c47SEmmanuel Vadot	};
2845def4c47SEmmanuel Vadot
2855def4c47SEmmanuel Vadot	pinctrl_pwm2: pwm2grp {
2865def4c47SEmmanuel Vadot		fsl,pins = <
2875def4c47SEmmanuel Vadot			MX8MM_IOMUXC_SPDIF_RX_PWM2_OUT			0x19
2885def4c47SEmmanuel Vadot		>;
2895def4c47SEmmanuel Vadot	};
2905def4c47SEmmanuel Vadot
2915def4c47SEmmanuel Vadot	pinctrl_uart1: uart1grp {
2925def4c47SEmmanuel Vadot		fsl,pins = <
2935def4c47SEmmanuel Vadot			MX8MM_IOMUXC_SAI2_RXC_UART1_DCE_RX		0x140
2945def4c47SEmmanuel Vadot			MX8MM_IOMUXC_SAI2_RXFS_UART1_DCE_TX		0x140
2955def4c47SEmmanuel Vadot			MX8MM_IOMUXC_SAI2_RXD0_UART1_DCE_RTS_B		0x140
2965def4c47SEmmanuel Vadot			MX8MM_IOMUXC_SAI2_TXFS_UART1_DCE_CTS_B		0x140
2975def4c47SEmmanuel Vadot		>;
2985def4c47SEmmanuel Vadot	};
2995def4c47SEmmanuel Vadot
3005def4c47SEmmanuel Vadot	pinctrl_uart2: uart2grp {
3015def4c47SEmmanuel Vadot		fsl,pins = <
3025def4c47SEmmanuel Vadot			MX8MM_IOMUXC_SAI3_TXFS_UART2_DCE_RX		0x140
3035def4c47SEmmanuel Vadot			MX8MM_IOMUXC_SAI3_TXC_UART2_DCE_TX		0x140
3045def4c47SEmmanuel Vadot			MX8MM_IOMUXC_SAI3_RXD_UART2_DCE_RTS_B		0x140
3055def4c47SEmmanuel Vadot			MX8MM_IOMUXC_SAI3_RXC_UART2_DCE_CTS_B		0x140
3065def4c47SEmmanuel Vadot		>;
3075def4c47SEmmanuel Vadot	};
3085def4c47SEmmanuel Vadot
3095def4c47SEmmanuel Vadot	pinctrl_usb_eth2: usbeth2grp {
3105def4c47SEmmanuel Vadot		fsl,pins = <
3115def4c47SEmmanuel Vadot			MX8MM_IOMUXC_NAND_CE1_B_GPIO3_IO2		0x19
3125def4c47SEmmanuel Vadot		>;
3135def4c47SEmmanuel Vadot	};
3145def4c47SEmmanuel Vadot
3155def4c47SEmmanuel Vadot	pinctrl_usdhc2: usdhc2grp {
3165def4c47SEmmanuel Vadot		fsl,pins = <
3175def4c47SEmmanuel Vadot			MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK			0x190
3185def4c47SEmmanuel Vadot			MX8MM_IOMUXC_SD2_CMD_USDHC2_CMD			0x1d0
3195def4c47SEmmanuel Vadot			MX8MM_IOMUXC_SD2_DATA0_USDHC2_DATA0		0x1d0
3205def4c47SEmmanuel Vadot			MX8MM_IOMUXC_SD2_DATA1_USDHC2_DATA1		0x1d0
3215def4c47SEmmanuel Vadot			MX8MM_IOMUXC_SD2_DATA2_USDHC2_DATA2		0x1d0
3225def4c47SEmmanuel Vadot			MX8MM_IOMUXC_SD2_DATA3_USDHC2_DATA3		0x1d0
3235def4c47SEmmanuel Vadot			MX8MM_IOMUXC_SD2_CD_B_GPIO2_IO12		0x019
3245def4c47SEmmanuel Vadot		>;
3255def4c47SEmmanuel Vadot	};
3268cc087a1SEmmanuel Vadot
3278cc087a1SEmmanuel Vadot	pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp {
3288cc087a1SEmmanuel Vadot		fsl,pins = <
3298cc087a1SEmmanuel Vadot			MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK			0x194
3308cc087a1SEmmanuel Vadot			MX8MM_IOMUXC_SD2_CMD_USDHC2_CMD			0x1d4
3318cc087a1SEmmanuel Vadot			MX8MM_IOMUXC_SD2_DATA0_USDHC2_DATA0		0x1d4
3328cc087a1SEmmanuel Vadot			MX8MM_IOMUXC_SD2_DATA1_USDHC2_DATA1		0x1d4
3338cc087a1SEmmanuel Vadot			MX8MM_IOMUXC_SD2_DATA2_USDHC2_DATA2		0x1d4
3348cc087a1SEmmanuel Vadot			MX8MM_IOMUXC_SD2_DATA3_USDHC2_DATA3		0x1d4
3358cc087a1SEmmanuel Vadot			MX8MM_IOMUXC_SD2_CD_B_GPIO2_IO12		0x019
3368cc087a1SEmmanuel Vadot		>;
3378cc087a1SEmmanuel Vadot	};
3388cc087a1SEmmanuel Vadot
3398cc087a1SEmmanuel Vadot	pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp {
3408cc087a1SEmmanuel Vadot		fsl,pins = <
3418cc087a1SEmmanuel Vadot			MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK			0x196
3428cc087a1SEmmanuel Vadot			MX8MM_IOMUXC_SD2_CMD_USDHC2_CMD			0x1d6
3438cc087a1SEmmanuel Vadot			MX8MM_IOMUXC_SD2_DATA0_USDHC2_DATA0		0x1d6
3448cc087a1SEmmanuel Vadot			MX8MM_IOMUXC_SD2_DATA1_USDHC2_DATA1		0x1d6
3458cc087a1SEmmanuel Vadot			MX8MM_IOMUXC_SD2_DATA2_USDHC2_DATA2		0x1d6
3468cc087a1SEmmanuel Vadot			MX8MM_IOMUXC_SD2_DATA3_USDHC2_DATA3		0x1d6
3478cc087a1SEmmanuel Vadot			MX8MM_IOMUXC_SD2_CD_B_GPIO2_IO12		0x019
3488cc087a1SEmmanuel Vadot		>;
3498cc087a1SEmmanuel Vadot	};
3505def4c47SEmmanuel Vadot};
351