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&ad7879_ts {
19	status = "okay";
20};
21
22&atmel_mxt_ts {
23	status = "okay";
24};
25
26&backlight {
27	status = "okay";
28};
29
30&gpio1 {
31	/* This turns the LVDS transceiver on */
32	lvds-power-on-hog {
33		gpio-hog;
34		gpios = <14 GPIO_ACTIVE_HIGH>; /* SODIMM 99 */
35		line-name = "LVDS_POWER_ON";
36		output-high;
37	};
38};
39
40&gpio2 {
41	/*
42	 * This switches the LVDS transceiver to the single-channel
43	 * output mode.
44	 */
45	lvds-ch-mode-hog {
46		gpio-hog;
47		gpios = <0 GPIO_ACTIVE_HIGH>; /* SODIMM 55 */
48		line-name = "LVDS_CH_MODE";
49		output-high;
50	};
51
52	/*
53	 * This switches the LVDS transceiver to the 24-bit RGB mode.
54	 */
55	lvds-rgb-mode-hog {
56		gpio-hog;
57		gpios = <1 GPIO_ACTIVE_HIGH>; /* SODIMM 63 */
58		line-name = "LVDS_RGB_MODE";
59		output-low;
60	};
61};
62
63&gpio5 {
64	/*
65	 * This switches the LVDS transceiver to VESA color mapping mode.
66	 */
67	lvds-color-map-hog {
68		gpio-hog;
69		gpios = <3 GPIO_ACTIVE_HIGH>; /* SODIMM 95 */
70		line-name = "LVDS_COLOR_MAP";
71		output-low;
72	};
73};
74
75&i2c2 {
76	status = "okay";
77};
78
79&lcdif {
80	status = "okay";
81};
82
83&panel_dpi {
84	status = "okay";
85};
86
87&pwm4 {
88	status = "okay";
89};
90