xref: /freebsd/sys/contrib/device-tree/src/arm/nxp/imx/imx6dl-colibri-iris-v2.dts (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * Copyright 2022 Toradex
4*f126890aSEmmanuel Vadot */
5*f126890aSEmmanuel Vadot
6*f126890aSEmmanuel Vadot/dts-v1/;
7*f126890aSEmmanuel Vadot
8*f126890aSEmmanuel Vadot#include "imx6dl-colibri-iris.dts"
9*f126890aSEmmanuel Vadot
10*f126890aSEmmanuel Vadot/ {
11*f126890aSEmmanuel Vadot	model = "Toradex Colibri iMX6DL/S on Colibri Iris V2 Board";
12*f126890aSEmmanuel Vadot	compatible = "toradex,colibri_imx6dl-iris-v2", "toradex,colibri_imx6dl",
13*f126890aSEmmanuel Vadot		     "fsl,imx6dl";
14*f126890aSEmmanuel Vadot
15*f126890aSEmmanuel Vadot	reg_3v3_vmmc: regulator-3v3-vmmc {
16*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
17*f126890aSEmmanuel Vadot		pinctrl-names = "default";
18*f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_enable_3v3_vmmc>;
19*f126890aSEmmanuel Vadot		regulator-name = "3v3_vmmc";
20*f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
21*f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
22*f126890aSEmmanuel Vadot		gpio = <&gpio2 11 GPIO_ACTIVE_HIGH>;
23*f126890aSEmmanuel Vadot		startup-delay-us = <100>;
24*f126890aSEmmanuel Vadot		enable-active-high;
25*f126890aSEmmanuel Vadot	};
26*f126890aSEmmanuel Vadot};
27*f126890aSEmmanuel Vadot
28*f126890aSEmmanuel Vadot&iomuxc {
29*f126890aSEmmanuel Vadot	pinctrl-names = "default";
30*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_gpio_iris	&pinctrl_usbh_oc_1 &pinctrl_usbc_id_1>;
31*f126890aSEmmanuel Vadot
32*f126890aSEmmanuel Vadot	pinctrl_enable_3v3_vmmc: enable3v3vmmcgrp {
33*f126890aSEmmanuel Vadot		fsl,pins = <
34*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_DAT3__GPIO2_IO11	0x1b0b0
35*f126890aSEmmanuel Vadot		>;
36*f126890aSEmmanuel Vadot	};
37*f126890aSEmmanuel Vadot};
38*f126890aSEmmanuel Vadot
39*f126890aSEmmanuel Vadot/* Colibri MMC */
40*f126890aSEmmanuel Vadot&usdhc1 {
41*f126890aSEmmanuel Vadot	cap-power-off-card;
42*f126890aSEmmanuel Vadot	/* uncomment the following to enable SD card UHS mode if you have a V1.1 module */
43*f126890aSEmmanuel Vadot	/* /delete-property/ no-1-8-v; */
44*f126890aSEmmanuel Vadot	vmmc-supply = <&reg_3v3_vmmc>;
45*f126890aSEmmanuel Vadot	status = "okay";
46*f126890aSEmmanuel Vadot};
47