summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/freescale/imx8mp-evk-mx8-dlvds-lcd1.dtso
blob: 1b71890d43d53065d2806d8f13cb140ac042c8b2 (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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
 * Copyright 2024 NXP
 */

/dts-v1/;
/plugin/;

&{/} {
	panel-lvds {
		compatible = "koe,tx26d202vm0bwa";
		backlight = <&backlight_lvds>;
		power-supply = <&reg_vext_3v3>;

		panel-timing {
			clock-frequency = <148500000>;
			hactive = <1920>;
			vactive = <1200>;
			hfront-porch = <130>;
			hback-porch = <70>;
			hsync-len = <30>;
			vfront-porch = <5>;
			vback-porch = <5>;
			vsync-len = <5>;
			de-active = <1>;
		};

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

			port@0 {
				reg = <0>;
				dual-lvds-odd-pixels;

				panel_in_odd: endpoint {
					remote-endpoint = <&ldb_lvds_ch0>;
				};
			};

			port@1 {
				reg = <1>;
				dual-lvds-even-pixels;

				panel_in_even: endpoint {
					remote-endpoint = <&ldb_lvds_ch1>;
				};
			};
		};
	};
};

&backlight_lvds {
	status = "okay";
};

&lcdif2 {
	status = "okay";
};

&lvds_bridge {
	status = "okay";

	ports {
		port@1 {
			ldb_lvds_ch0: endpoint {
				remote-endpoint = <&panel_in_odd>;
			};
		};

		port@2 {
			ldb_lvds_ch1: endpoint {
				remote-endpoint = <&panel_in_even>;
			};
		};
	};
};