Debian Codegraph @

arch/arm/boot/dts/ti/omap/motorola-mapphone-xt8xx.dtsi

raw
1 // SPDX-License-Identifier: GPL-2.0-only
2 /dts-v1/;
3
4 #include "motorola-mapphone-handset.dtsi"
5
6 / {
7 backlight: backlight {
8 compatible = "led-backlight";
9
10 leds = <&backlight_led>;
11 brightness-levels = <31 63 95 127 159 191 223 255>;
12 default-brightness-level = <6>;
13 };
14
15 /* LCD regulator from sw5 source */
16 lcd_regulator: regulator-lcd {
17 compatible = "regulator-fixed";
18 regulator-name = "lcd";
19 regulator-min-microvolt = <5050000>;
20 regulator-max-microvolt = <5050000>;
21 gpio = <&gpio4 0 GPIO_ACTIVE_HIGH>; /* gpio96 */
22 enable-active-high;
23 vin-supply = <&sw5>;
24 };
25 };
26
27 &dsi1 {
28 status = "okay";
29 vdd-supply = <&vcsi>;
30
31 port {
32 dsi1_out_ep: endpoint {
33 remote-endpoint = <&lcd0_in>;
34 lanes = <0 1 2 3 4 5>;
35 };
36 };
37
38 lcd0: panel@0 {
39 compatible = "motorola,droid4-panel", "panel-dsi-cm";
40 reg = <0>;
41 label = "lcd0";
42 vddi-supply = <&lcd_regulator>;
43 reset-gpios = <&gpio4 5 GPIO_ACTIVE_HIGH>; /* gpio101 */
44 backlight = <&backlight>;
45
46 width-mm = <50>;
47 height-mm = <89>;
48 rotation = <90>;
49
50 panel-timing {
51 clock-frequency = <0>; /* Calculated by dsi */
52
53 hback-porch = <2>;
54 hactive = <540>;
55 hfront-porch = <0>;
56 hsync-len = <2>;
57
58 vback-porch = <1>;
59 vactive = <960>;
60 vfront-porch = <0>;
61 vsync-len = <1>;
62
63 hsync-active = <0>;
64 vsync-active = <0>;
65 de-active = <1>;
66 pixelclk-active = <1>;
67 };
68
69 port {
70 lcd0_in: endpoint {
71 remote-endpoint = <&dsi1_out_ep>;
72 };
73 };
74 };
75 };