summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/ti/omap/am57xx-idk-lcd-osd101t2587.dtso
blob: 8cea7ba32487e44f2498ec5ca71f8ec2851c665a (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
// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright (C) 2019-2022 Texas Instruments Incorporated - https://www.ti.com/
 */

/dts-v1/;
/plugin/;

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>

&{/} {
	aliases {
		display0 = "/display";
		display1 = "/connector";
	};

	lcd_bl: backlight {
		compatible = "pwm-backlight";
		pwms = <&ecap0 0 50000 1>;
		brightness-levels = <0 51 53 56 62 75 101 152 255>;
		default-brightness-level = <8>;
	};
};

&dsi_bridge {
	status = "okay";

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

	lcd: display {
		compatible = "osddisplays,osd101t2587-53ts";
		reg = <0>;

		label = "lcd";

		backlight = <&lcd_bl>;

		port {
			lcd_in: endpoint {
				remote-endpoint = <&dsi_out>;
			};
		};
	};
};

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

	port@1 {
		reg = <1>;
		dsi_out: endpoint {
			remote-endpoint = <&lcd_in>;
		};
	};
};

&epwmss0 {
	status = "okay";
};

&ecap0 {
	status = "okay";
};