summaryrefslogtreecommitdiff
path: root/overlays/colibri-imx6_lcd-lt170410_overlay.dts
blob: 913e8f90db806f82aec8c07d8d1aa4a5b8f24eb5 (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
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/*
 * Copyright 2020-2021 Toradex
 */

// Enable the LCDIF interface and LVDS trasceiver, tuning settings
// for Toradex Cap LVDS 10" Display on the Colibri iMX6DL.

#include <dt-bindings/gpio/gpio.h>

/dts-v1/;
/plugin/;

/ {
	compatible = "toradex,colibri_imx6dl";
};

&backlight {
	status = "okay";
};

/* Need to be disabled due to overlapped pins SODIMM_55, SODIMM_63 */
&can1 {
	status = "disabled";
};

&gpio1 {
	/* This switches the LVDS transceiver to the single-channel
	 * output mode.
	 */
	 LVDS_MODE {
		gpio-hog;
		gpios = <7 GPIO_ACTIVE_HIGH>;
		line-name = "LVDS_MODE";
		output-high;
	};

	/* This turns the LVDS transceiver on */
	LVDS_PWRDWN {
		gpio-hog;
		gpios = <12 GPIO_ACTIVE_HIGH>;
		line-name = "LVDS_PWRDWN";
		output-high;
	};
};

&lcd {
	status = "okay";
};

&mxcfb1 {
	mode_str ="1280x800M@60";
	status = "okay";
};

&pwm3 {
	status = "okay";
};