summaryrefslogtreecommitdiff
path: root/overlays/apalis-imx8x_display-lt161010_overlay.dts
blob: 2e94aa7e0c4cf72c7129784fdd155738ec4f41cb (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
// LT161010 display (7inch) with a resolution of 800x480 pixel. This display can be ordered at Toradex.

/dts-v1/;
/plugin/;
/ {
	compatible = "toradex,apalis-imx8qxp";
	fragment@0 {
		target-path = "/lcdif@5a180000";
		__overlay__ {
			status = "okay";
		};
	};

	fragment@1 {
		target-path = "/panel-1";
		__overlay__ {
			compatible = "panel-dpi";

			width-mm = <217>;
			height-mm = <136>;

			data-mapping = "bgr666";

			panel-timing {
				clock-frequency = <33260000>;
				hactive = <800>;
				vactive = <480>;
				hback-porch = <88>;
				hfront-porch = <40>;
				vback-porch = <32>;
				vfront-porch = <13>;
				hsync-len = <48>;
				vsync-len = <3>;

				de-active = <1>;
				hsync-active = <0>;
				vsync-active = <0>;
				pixelclk-active = <1>;
			};
		};
	};
};