xref: /freebsd/sys/contrib/device-tree/src/arm/nxp/imx/imx6ull-colibri-wifi-iris-v2.dts (revision 84943d6f38e936ac3b7a3947ca26eeb27a39f938)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2f126890aSEmmanuel Vadot/*
3f126890aSEmmanuel Vadot * Copyright 2018-2022 Toradex
4f126890aSEmmanuel Vadot */
5f126890aSEmmanuel Vadot
6f126890aSEmmanuel Vadot/dts-v1/;
7f126890aSEmmanuel Vadot
8f126890aSEmmanuel Vadot#include "imx6ull-colibri-wifi.dtsi"
9f126890aSEmmanuel Vadot#include "imx6ull-colibri-iris-v2.dtsi"
10f126890aSEmmanuel Vadot
11f126890aSEmmanuel Vadot/ {
12f126890aSEmmanuel Vadot	model = "Toradex Colibri iMX6ULL 512MB on Colibri Iris V2";
13f126890aSEmmanuel Vadot	compatible = "toradex,colibri-imx6ull-wifi-iris-v2",
14*84943d6fSEmmanuel Vadot		     "toradex,colibri-imx6ull-wifi",
15f126890aSEmmanuel Vadot		     "fsl,imx6ull";
16f126890aSEmmanuel Vadot};
17f126890aSEmmanuel Vadot
18f126890aSEmmanuel Vadot&ad7879_ts {
19f126890aSEmmanuel Vadot	status = "okay";
20f126890aSEmmanuel Vadot};
21f126890aSEmmanuel Vadot
22f126890aSEmmanuel Vadot&atmel_mxt_ts {
23f126890aSEmmanuel Vadot	status = "okay";
24f126890aSEmmanuel Vadot};
25f126890aSEmmanuel Vadot
26f126890aSEmmanuel Vadot&backlight {
27f126890aSEmmanuel Vadot	status = "okay";
28f126890aSEmmanuel Vadot};
29f126890aSEmmanuel Vadot
30f126890aSEmmanuel Vadot&gpio1 {
31f126890aSEmmanuel Vadot	/* This turns the LVDS transceiver on */
32f126890aSEmmanuel Vadot	lvds-power-on-hog {
33f126890aSEmmanuel Vadot		gpio-hog;
34f126890aSEmmanuel Vadot		gpios = <14 GPIO_ACTIVE_HIGH>; /* SODIMM 99 */
35f126890aSEmmanuel Vadot		line-name = "LVDS_POWER_ON";
36f126890aSEmmanuel Vadot		output-high;
37f126890aSEmmanuel Vadot	};
38f126890aSEmmanuel Vadot};
39f126890aSEmmanuel Vadot
40f126890aSEmmanuel Vadot&gpio2 {
41f126890aSEmmanuel Vadot	/*
42f126890aSEmmanuel Vadot	 * This switches the LVDS transceiver to the single-channel
43f126890aSEmmanuel Vadot	 * output mode.
44f126890aSEmmanuel Vadot	 */
45f126890aSEmmanuel Vadot	lvds-ch-mode-hog {
46f126890aSEmmanuel Vadot		gpio-hog;
47f126890aSEmmanuel Vadot		gpios = <0 GPIO_ACTIVE_HIGH>; /* SODIMM 55 */
48f126890aSEmmanuel Vadot		line-name = "LVDS_CH_MODE";
49f126890aSEmmanuel Vadot		output-high;
50f126890aSEmmanuel Vadot	};
51f126890aSEmmanuel Vadot
52f126890aSEmmanuel Vadot	/*
53f126890aSEmmanuel Vadot	 * This switches the LVDS transceiver to the 24-bit RGB mode.
54f126890aSEmmanuel Vadot	 */
55f126890aSEmmanuel Vadot	lvds-rgb-mode-hog {
56f126890aSEmmanuel Vadot		gpio-hog;
57f126890aSEmmanuel Vadot		gpios = <1 GPIO_ACTIVE_HIGH>; /* SODIMM 63 */
58f126890aSEmmanuel Vadot		line-name = "LVDS_RGB_MODE";
59f126890aSEmmanuel Vadot		output-low;
60f126890aSEmmanuel Vadot	};
61f126890aSEmmanuel Vadot};
62f126890aSEmmanuel Vadot
63f126890aSEmmanuel Vadot&gpio5 {
64f126890aSEmmanuel Vadot	/*
65f126890aSEmmanuel Vadot	 * This switches the LVDS transceiver to VESA color mapping mode.
66f126890aSEmmanuel Vadot	 */
67f126890aSEmmanuel Vadot	lvds-color-map-hog {
68f126890aSEmmanuel Vadot		gpio-hog;
69f126890aSEmmanuel Vadot		gpios = <3 GPIO_ACTIVE_HIGH>; /* SODIMM 95 */
70f126890aSEmmanuel Vadot		line-name = "LVDS_COLOR_MAP";
71f126890aSEmmanuel Vadot		output-low;
72f126890aSEmmanuel Vadot	};
73f126890aSEmmanuel Vadot};
74f126890aSEmmanuel Vadot
75f126890aSEmmanuel Vadot&i2c2 {
76f126890aSEmmanuel Vadot	status = "okay";
77f126890aSEmmanuel Vadot};
78f126890aSEmmanuel Vadot
79f126890aSEmmanuel Vadot&lcdif {
80f126890aSEmmanuel Vadot	status = "okay";
81f126890aSEmmanuel Vadot};
82f126890aSEmmanuel Vadot
83f126890aSEmmanuel Vadot&panel_dpi {
84f126890aSEmmanuel Vadot	status = "okay";
85f126890aSEmmanuel Vadot};
86f126890aSEmmanuel Vadot
87f126890aSEmmanuel Vadot&pwm4 {
88f126890aSEmmanuel Vadot	status = "okay";
89f126890aSEmmanuel Vadot};
90