summaryrefslogtreecommitdiff
path: root/overlays/apalis-imx8_panel-lvds-dual-channel-1080p_overlay.dts
blob: 0deb3b00d3517204f45785f109013b74e678579c (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-2022 Toradex
 */

/* Apalis iMX8 driving a LP156WF1 display (15 inch) with a resolution
 * of 1920x1080 pixel.
 * This serves as an example how to specify a dual link LVDS display.
 */

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

&backlight {
	status = "okay";
};

&ldb2 {
	fsl,dual-channel;
	status = "okay";

	lvds-channel@0 {
		fsl,data-mapping = "spwg";
		fsl,data-width = <18>;
		status = "okay";
	};
};

&ldb2_phy {
	status = "okay";
};

&panel_lvds {
	data-mapping = "jeida-18";
	height-mm = <194>;
	width-mm = <345>;
	status = "okay";

	panel-timing {
		clock-frequency = <138500000>;
		hactive = <1920>;
		hback-porch = <40>;
		hfront-porch = <24>;
		hsync-len = <16>;
		pixelclk-active = <0>;
		vactive = <1080>;
		vback-porch = <23>;
		vfront-porch = <3>;
		vsync-len = <5>;
	};
};

&pwm_lvds1 {
	status = "okay";
};