summaryrefslogtreecommitdiff
path: root/overlays/apalis-imx8_panel-cap-touch-10inch-lvds_overlay.dts
blob: 7c934733967472388fcfa1aa3cbdd6920be811d6 (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
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/*
 * Copyright 2020-2022 Toradex
 */

/* Apalis iMX8 driving the Capacitive Touch Display 10.1" LVDS. */

/dts-v1/;
/plugin/;
/ {
	compatible = "toradex,apalis-imx8", "toradex,apalis-imx8-v1.1";
};

&atmel_mxt_ts {
	status = "okay";
};

&backlight {
	status = "okay";
};

&ldb2 {
	status = "okay";

	lvds-channel@0 {
		status = "okay";
	};
};

&ldb2_phy {
	status = "okay";
};

&panel_lvds {
	data-mapping = "vesa-24";
	height-mm = <136>;
	width-mm = <217>;
	status = "okay";

	panel-timing {
		clock-frequency = <68900000 71100000 73400000>;
		de-active = <1>;
		hactive = <1280 1280 1280>;
		hback-porch = <23 60 71>;
		hfront-porch = <23 60 71>;
		hsync-len = <15 40 47>;
		pixelclk-active = <1>; /* positive edge */
		vactive = <800 800 800>;
		vback-porch = <5 7 10>;
		vfront-porch = <5 7 10>;
		vsync-len = <6 9 12>;
	};
};

&pwm_lvds1 {
	status = "okay";
};