summaryrefslogtreecommitdiff
path: root/overlays/display-lt170410_sn65dsi84_overlay.dtsi
blob: 14c8f3be184f8c6db62c7dac72f6ec395790c644 (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
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/*
 * Copyright 2022 Toradex
 */

// Verdin DSI to LVDS Adapter with connected LT170410 display (10 inch) with a
// resolution of 1280x800 pixel. Adapter and display can be ordered at Toradex.

&lvds_ti_sn65dsi84 {
	status = "okay";

	ports {
		#address-cells = <1>;
		#size-cells = <0>;

		port@2 {
			reg = <2>;

			lvds_out_panel: endpoint {
				remote-endpoint = <&panel_in_lvds>;
			};
		};
	};
};

&panel_lvds {
	compatible = "panel-lvds";
	backlight = <&backlight>;
	data-mapping = "vesa-24";
	height-mm = <136>;
	power-supply = <&reg_3p3v>;
	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>;
	};

	port {
		panel_in_lvds: endpoint {
			remote-endpoint = <&lvds_out_panel>;
		};
	};
};