blob: e4a740e45561d9f98387c0f2790f988ba9de69e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/*
* Copyright 2020-2021 Toradex
*/
// Enable the parallel RGB interface on the Colibri iMX6ULL and the LVDS
// trasceiver on the Iris v2.0A.
#include <dt-bindings/gpio/gpio.h>
/dts-v1/;
/plugin/;
/ {
compatible = "toradex,colibri-imx6ull-emmc";
};
&backlight {
status = "okay";
};
&can1 {
// Disabled due to the SODIMM 55 and 63 pins overlapping
status = "disabled";
};
&gpio1 {
// This turns the LVDS transceiver on
LVDS_PWRDWN {
gpio-hog;
gpios = <14 GPIO_ACTIVE_HIGH>; /* SODIMM 99 */
line-name = "LVDS_PWRDWN";
output-high;
};
};
&gpio2 {
// This switches the LVDS transceiver to the single-channel output mode
LVDS_MODE {
gpio-hog;
gpios = <0 GPIO_ACTIVE_HIGH>; /* SODIMM 55 */
line-name = "LVDS_MODE";
output-high;
};
// This switches the LVDS transceiver to the 24-bit RGB mode
LVDS_RGB_MODE {
gpio-hog;
gpios = <1 GPIO_ACTIVE_HIGH>; /* SODIMM 63 */
line-name = "LVDS_RGB_MODE";
output-low;
};
};
&gpio5 {
// This switches the LVDS transceiver to VESA color mapping mode
LVDS_COLOR_MAP {
gpio-hog;
gpios = <3 GPIO_ACTIVE_HIGH>; /* SODIMM 95 */
line-name = "LVDS_COLOR_MAP";
output-low;
};
};
&lcdif {
status = "okay";
};
&panel_dpi {
status = "okay";
};
&pwm4 {
status = "okay";
};
|