hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
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
67
68
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (C) 2014 Joachim Eastwood <manabian@gmail.com>
 */
/dts-v1/;
 
#include "omap4-var-som-om44.dtsi"
#include "omap4-var-som-om44-wlan.dtsi"
#include "omap4-var-om44customboard.dtsi"
 
/ {
   model = "Variscite VAR-DVK-OM44";
   compatible = "variscite,var-dvk-om44", "variscite,var-som-om44", "ti,omap4460", "ti,omap4";
 
   aliases {
       display0 = &lcd0;
       display1 = &hdmi0;
   };
 
   lcd0: display {
       compatible = "innolux,at070tn83", "panel-dpi";
       label = "lcd";
       panel-timing {
           clock-frequency = <33333333>;
 
           hback-porch = <40>;
           hactive = <800>;
           hfront-porch = <40>;
           hsync-len = <48>;
 
           vback-porch = <29>;
           vactive = <480>;
           vfront-porch = <13>;
           vsync-len = <3>;
       };
 
       port {
           lcd_in: endpoint {
               remote-endpoint = <&dpi_out>;
           };
       };
   };
 
   backlight {
       compatible = "gpio-backlight";
       pinctrl-names = "default";
       pinctrl-0 = <&backlight_pins>;
 
       gpios = <&gpio4 26 GPIO_ACTIVE_HIGH>; /* gpio 122 */
   };
};
 
&dss {
   pinctrl-names = "default";
   pinctrl-0 = <&dss_dpi_pins>;
 
   port {
       dpi_out: endpoint {
           remote-endpoint = <&lcd_in>;
           data-lines = <24>;
       };
   };
};
 
&dsi2 {
   status = "okay";
   vdd-supply = <&vcxio>;
};