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