1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright (C) 2019-2022 Texas Instruments Incorporated - https://www.ti.com/
4 */
5
6/dts-v1/;
7/plugin/;
8
9&{/} {
10	aliases {
11		display0 = "/display";
12		display1 = "/connector";
13	};
14
15	lcd_bl: backlight {
16		compatible = "pwm-backlight";
17		pwms = <&ecap0 0 50000 1>;
18		brightness-levels = <0 51 53 56 62 75 101 152 255>;
19		default-brightness-level = <8>;
20	};
21};
22
23&dsi_bridge {
24	status = "okay";
25
26	#address-cells = <1>;
27	#size-cells = <0>;
28
29	lcd: display {
30		compatible = "osddisplays,osd101t2045-53ts";
31		reg = <0>;
32
33		label = "lcd";
34
35		backlight = <&lcd_bl>;
36
37		port {
38			lcd_in: endpoint {
39				remote-endpoint = <&dsi_out>;
40			};
41		};
42	};
43};
44
45&dsi_bridge_ports {
46	#address-cells = <1>;
47	#size-cells = <0>;
48
49	port@1 {
50		reg = <1>;
51		dsi_out: endpoint {
52			remote-endpoint = <&lcd_in>;
53		};
54	};
55};
56
57&epwmss0 {
58	status = "okay";
59};
60
61&ecap0 {
62	status = "okay";
63};
64