xref: /linux/arch/arm/boot/dts/nxp/imx/imx7s-colibri-iris-v2.dts (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/dts-v1/;
7*724ba675SRob Herring#include "imx7s-colibri.dtsi"
8*724ba675SRob Herring#include "imx7-colibri-iris-v2.dtsi"
9*724ba675SRob Herring
10*724ba675SRob Herring/ {
11*724ba675SRob Herring	model = "Toradex Colibri iMX7S on Iris V2 Carrier Board";
12*724ba675SRob Herring	compatible = "toradex,colibri-imx7s-iris-v2",
13*724ba675SRob Herring		     "toradex,colibri-imx7s",
14*724ba675SRob Herring		     "fsl,imx7s";
15*724ba675SRob Herring};
16*724ba675SRob Herring
17*724ba675SRob Herring&ad7879_ts {
18*724ba675SRob Herring	status = "okay";
19*724ba675SRob Herring};
20*724ba675SRob Herring
21*724ba675SRob Herring&atmel_mxt_ts {
22*724ba675SRob Herring	status = "okay";
23*724ba675SRob Herring};
24*724ba675SRob Herring
25*724ba675SRob Herring&backlight {
26*724ba675SRob Herring	status = "okay";
27*724ba675SRob Herring};
28*724ba675SRob Herring
29*724ba675SRob Herring&gpio2 {
30*724ba675SRob Herring	/*
31*724ba675SRob Herring	 * This switches the LVDS transceiver to VESA color mapping mode.
32*724ba675SRob Herring	 */
33*724ba675SRob Herring	lvds-color-map-hog {
34*724ba675SRob Herring		gpio-hog;
35*724ba675SRob Herring		gpios = <13 GPIO_ACTIVE_HIGH>; /* SODIMM 95 */
36*724ba675SRob Herring		line-name = "LVDS_COLOR_MAP";
37*724ba675SRob Herring		output-low;
38*724ba675SRob Herring	};
39*724ba675SRob Herring};
40*724ba675SRob Herring
41*724ba675SRob Herring&gpio7 {
42*724ba675SRob Herring	/*
43*724ba675SRob Herring	 * This switches the LVDS transceiver to the 24-bit RGB mode.
44*724ba675SRob Herring	 */
45*724ba675SRob Herring	lvds-rgb-mode-hog {
46*724ba675SRob Herring		gpio-hog;
47*724ba675SRob Herring		gpios = <2 GPIO_ACTIVE_HIGH>; /* SODIMM 63 */
48*724ba675SRob Herring		line-name = "LVDS_RGB_MODE";
49*724ba675SRob Herring		output-low;
50*724ba675SRob Herring	};
51*724ba675SRob Herring
52*724ba675SRob Herring	/*
53*724ba675SRob Herring	 * This switches the LVDS transceiver to the single-channel
54*724ba675SRob Herring	 * output mode.
55*724ba675SRob Herring	 */
56*724ba675SRob Herring	lvds-ch-mode-hog {
57*724ba675SRob Herring		gpio-hog;
58*724ba675SRob Herring		gpios = <3 GPIO_ACTIVE_HIGH>; /* SODIMM 55 */
59*724ba675SRob Herring		line-name = "LVDS_CH_MODE";
60*724ba675SRob Herring		output-high;
61*724ba675SRob Herring	};
62*724ba675SRob Herring
63*724ba675SRob Herring	/* This turns the LVDS transceiver on */
64*724ba675SRob Herring	lvds-power-on-hog {
65*724ba675SRob Herring		gpio-hog;
66*724ba675SRob Herring		gpios = <11 GPIO_ACTIVE_HIGH>; /* SODIMM 99 */
67*724ba675SRob Herring		line-name = "LVDS_POWER_ON";
68*724ba675SRob Herring		output-high;
69*724ba675SRob Herring	};
70*724ba675SRob Herring};
71*724ba675SRob Herring
72*724ba675SRob Herring&lcdif {
73*724ba675SRob Herring	status = "okay";
74*724ba675SRob Herring};
75*724ba675SRob Herring
76*724ba675SRob Herring&panel_dpi {
77*724ba675SRob Herring	status = "okay";
78*724ba675SRob Herring};
79