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