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#include <dt-bindings/gpio/gpio.h>
10#include <dt-bindings/interrupt-controller/irq.h>
11
12&{/} {
13	aliases {
14		display0 = "/display";
15		display1 = "/connector";
16	};
17
18	lcd_bl: backlight {
19		compatible = "pwm-backlight";
20		pwms = <&ecap0 0 50000 1>;
21		brightness-levels = <0 51 53 56 62 75 101 152 255>;
22		default-brightness-level = <8>;
23	};
24};
25
26&dsi_bridge {
27	status = "okay";
28
29	#address-cells = <1>;
30	#size-cells = <0>;
31
32	lcd: display {
33		compatible = "osddisplays,osd101t2587-53ts";
34		reg = <0>;
35
36		label = "lcd";
37
38		backlight = <&lcd_bl>;
39
40		port {
41			lcd_in: endpoint {
42				remote-endpoint = <&dsi_out>;
43			};
44		};
45	};
46};
47
48&dsi_bridge_ports {
49	#address-cells = <1>;
50	#size-cells = <0>;
51
52	port@1 {
53		reg = <1>;
54		dsi_out: endpoint {
55			remote-endpoint = <&lcd_in>;
56		};
57	};
58};
59
60&epwmss0 {
61	status = "okay";
62};
63
64&ecap0 {
65	status = "okay";
66};
67