1// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2/*
3 * Copyright 2018-2022 Toradex
4 */
5
6/dts-v1/;
7
8#include "imx6ull-colibri-wifi.dtsi"
9#include "imx6ull-colibri-iris-v2.dtsi"
10
11/ {
12	model = "Toradex Colibri iMX6ULL 512MB on Colibri Iris V2";
13	compatible = "toradex,colibri-imx6ull-wifi-iris-v2",
14		     "toradex,colibri-imx6ull",
15		     "fsl,imx6ull";
16};
17
18&atmel_mxt_ts {
19	status = "okay";
20};
21
22&gpio1 {
23	/* This turns the LVDS transceiver on */
24	lvds-power-on {
25		gpio-hog;
26		gpios = <14 GPIO_ACTIVE_HIGH>; /* SODIMM 99 */
27		line-name = "LVDS_POWER_ON";
28		output-high;
29	};
30};
31
32&gpio2 {
33	/*
34	 * This switches the LVDS transceiver to the single-channel
35	 * output mode.
36	 */
37	lvds-ch-mode {
38		gpio-hog;
39		gpios = <0 GPIO_ACTIVE_HIGH>; /* SODIMM 55 */
40		line-name = "LVDS_CH_MODE";
41		output-high;
42	};
43
44	/*
45	 * This switches the LVDS transceiver to the 24-bit RGB mode.
46	 */
47	lvds-rgb-mode {
48		gpio-hog;
49		gpios = <1 GPIO_ACTIVE_HIGH>; /* SODIMM 63 */
50		line-name = "LVDS_RGB_MODE";
51		output-low;
52	};
53};
54
55&gpio5 {
56	/*
57	 * This switches the LVDS transceiver to VESA color mapping mode.
58	 */
59	lvds-color-map {
60		gpio-hog;
61		gpios = <3 GPIO_ACTIVE_HIGH>; /* SODIMM 95 */
62		line-name = "LVDS_COLOR_MAP";
63		output-low;
64	};
65};
66