blob: 8cea7ba32487e44f2498ec5ca71f8ec2851c665a [file] [log] [blame]
// 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";
};