xref: /linux/arch/arm/boot/dts/nxp/imx/imx7-colibri-iris-v2.dtsi (revision cdd5b5a9761fd66d17586e4f4ba6588c70e640ea)
1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2*724ba675SRob Herring/*
3*724ba675SRob Herring * Copyright 2022 Toradex
4*724ba675SRob Herring */
5*724ba675SRob Herring
6*724ba675SRob Herring/ {
7*724ba675SRob Herring	reg_3v3_vmmc: regulator-3v3-vmmc {
8*724ba675SRob Herring		compatible = "regulator-fixed";
9*724ba675SRob Herring		enable-active-high;
10*724ba675SRob Herring		gpio = <&gpio5 16 GPIO_ACTIVE_HIGH>; /* SODIMM 100 */
11*724ba675SRob Herring		regulator-max-microvolt = <3300000>;
12*724ba675SRob Herring		regulator-min-microvolt = <3300000>;
13*724ba675SRob Herring		regulator-name = "3v3_vmmc";
14*724ba675SRob Herring		startup-delay-us = <100>;
15*724ba675SRob Herring	};
16*724ba675SRob Herring};
17*724ba675SRob Herring
18*724ba675SRob Herring/* Colibri AD0 to AD3 */
19*724ba675SRob Herring&adc1 {
20*724ba675SRob Herring	status = "okay";
21*724ba675SRob Herring};
22*724ba675SRob Herring
23*724ba675SRob Herring/* Colibri SSP */
24*724ba675SRob Herring&ecspi3 {
25*724ba675SRob Herring	status = "okay";
26*724ba675SRob Herring};
27*724ba675SRob Herring
28*724ba675SRob Herring/* Colibri Fast Ethernet */
29*724ba675SRob Herring&fec1 {
30*724ba675SRob Herring	status = "okay";
31*724ba675SRob Herring};
32*724ba675SRob Herring
33*724ba675SRob Herring&gpio2 {
34*724ba675SRob Herring	/*
35*724ba675SRob Herring	 * uart_b_c_on_x14_enable turns the UART transceiver for UART2 and 5 on. If one wants to
36*724ba675SRob Herring	 * turn the transceiver off, that property has to be deleted and the gpio handled in
37*724ba675SRob Herring	 * userspace.
38*724ba675SRob Herring	 * The same applies to uart_a_on_x13_enable where the UART_A transceiver is turned on.
39*724ba675SRob Herring	 */
40*724ba675SRob Herring	uart-b-c-on-x14-enable-hog {
41*724ba675SRob Herring		gpio-hog;
42*724ba675SRob Herring		gpios = <27 GPIO_ACTIVE_HIGH>; /* SODIMM 104 */
43*724ba675SRob Herring		output-high;
44*724ba675SRob Herring	};
45*724ba675SRob Herring};
46*724ba675SRob Herring
47*724ba675SRob Herring&gpio5 {
48*724ba675SRob Herring	uart-a-on-x13-enable-hog {
49*724ba675SRob Herring		gpio-hog;
50*724ba675SRob Herring		gpios = <17 GPIO_ACTIVE_HIGH>; /* SODIMM 102 */
51*724ba675SRob Herring		output-high;
52*724ba675SRob Herring	};
53*724ba675SRob Herring};
54*724ba675SRob Herring
55*724ba675SRob Herring/* Colibri I2C: I2C3_SDA/SCL on SODIMM 194/196 */
56*724ba675SRob Herring&i2c4 {
57*724ba675SRob Herring	status = "okay";
58*724ba675SRob Herring};
59*724ba675SRob Herring
60*724ba675SRob Herring/* Colibri PWM<A> */
61*724ba675SRob Herring&pwm1 {
62*724ba675SRob Herring	status = "okay";
63*724ba675SRob Herring};
64*724ba675SRob Herring
65*724ba675SRob Herring/* Colibri PWM<B> */
66*724ba675SRob Herring&pwm2 {
67*724ba675SRob Herring	status = "okay";
68*724ba675SRob Herring};
69*724ba675SRob Herring
70*724ba675SRob Herring/* Colibri PWM<C> */
71*724ba675SRob Herring&pwm3 {
72*724ba675SRob Herring	status = "okay";
73*724ba675SRob Herring};
74*724ba675SRob Herring
75*724ba675SRob Herring/* Colibri PWM<D> */
76*724ba675SRob Herring&pwm4 {
77*724ba675SRob Herring	status = "okay";
78*724ba675SRob Herring};
79*724ba675SRob Herring
80*724ba675SRob Herring/* M41T0M6 real time clock */
81*724ba675SRob Herring&rtc {
82*724ba675SRob Herring	status = "okay";
83*724ba675SRob Herring};
84*724ba675SRob Herring
85*724ba675SRob Herring/* Colibri UART_A */
86*724ba675SRob Herring&uart1 {
87*724ba675SRob Herring	status = "okay";
88*724ba675SRob Herring};
89*724ba675SRob Herring
90*724ba675SRob Herring/* Colibri UART_B */
91*724ba675SRob Herring&uart2 {
92*724ba675SRob Herring	status = "okay";
93*724ba675SRob Herring};
94*724ba675SRob Herring
95*724ba675SRob Herring/* Colibri UART_C */
96*724ba675SRob Herring&uart3 {
97*724ba675SRob Herring	status = "okay";
98*724ba675SRob Herring};
99*724ba675SRob Herring
100*724ba675SRob Herring/* Colibri USBC */
101*724ba675SRob Herring&usbotg1 {
102*724ba675SRob Herring	disable-over-current;
103*724ba675SRob Herring	status = "okay";
104*724ba675SRob Herring};
105*724ba675SRob Herring
106*724ba675SRob Herring/* Colibri MMC/SD, UHS-I capable uSD slot */
107*724ba675SRob Herring&usdhc1 {
108*724ba675SRob Herring	cap-power-off-card;
109*724ba675SRob Herring	/delete-property/ keep-power-in-suspend;
110*724ba675SRob Herring	/delete-property/ no-1-8-v;
111*724ba675SRob Herring	vmmc-supply = <&reg_3v3_vmmc>;
112*724ba675SRob Herring	status = "okay";
113*724ba675SRob Herring};
114