xref: /freebsd/sys/contrib/device-tree/src/arm64/freescale/imx8x-colibri-iris-v2.dtsi (revision f81cdf24ba5436367377f7c8e8f51f6df2a75ca7)
1// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2/*
3 * Copyright 2018-2021 Toradex
4 */
5
6#include "imx8x-colibri-iris.dtsi"
7
8/ {
9	reg_3v3_vmmc: regulator-3v3-vmmc {
10		compatible = "regulator-fixed";
11		pinctrl-names = "default";
12		pinctrl-0 = <&pinctrl_enable_3v3_vmmc>;
13		enable-active-high;
14		gpio = <&lsio_gpio0 31 GPIO_ACTIVE_HIGH>;
15		regulator-max-microvolt = <3300000>;
16		regulator-min-microvolt = <3300000>;
17		regulator-name = "3v3_vmmc";
18		startup-delay-us = <100>;
19	};
20};
21
22&iomuxc {
23	pinctrl-names = "default";
24	pinctrl-0 = <&pinctrl_lvds_converter &pinctrl_gpio_iris>;
25
26	pinctrl_enable_3v3_vmmc: enable_3v3_vmmc {
27		fsl,pins = <IMX8QXP_SAI1_RXFS_LSIO_GPIO0_IO31	0x20>;	/* SODIMM 100 */
28	};
29
30	pinctrl_lvds_converter: lcd-lvds {
31		fsl,pins = <IMX8QXP_FLEXCAN1_TX_LSIO_GPIO1_IO18		0x20>,	/* SODIMM  55 */
32			   /* 6B/8B mode. Select LOW - 8B mode (24bit) */
33			   <IMX8QXP_FLEXCAN1_RX_LSIO_GPIO1_IO17		0x20>,	/* SODIMM  63 */
34			   <IMX8QXP_QSPI0B_SCLK_LSIO_GPIO3_IO17		0x20>,	/* SODIMM  95 */
35			   <IMX8QXP_QSPI0B_DATA0_LSIO_GPIO3_IO18	0x20>;	/* SODIMM  99 */
36	};
37};
38
39/* Colibri SD/MMC Card */
40&usdhc2 {
41	cap-power-off-card;
42	/delete-property/ no-1-8-v;
43	vmmc-supply = <&reg_3v3_vmmc>;
44	status = "okay";
45};
46