xref: /linux/scripts/dtc/include-prefixes/arm64/qcom/talos-evk-lvds-auo,g133han01.dtso (revision 0fc8f6200d2313278fbf4539bbab74677c685531)
1// SPDX-License-Identifier: BSD-3-Clause
2/*
3 * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
4 */
5/dts-v1/;
6/plugin/;
7
8#include <dt-bindings/gpio/gpio.h>
9
10&{/} {
11	backlight: backlight {
12		compatible = "gpio-backlight";
13		gpios = <&tlmm 115 GPIO_ACTIVE_HIGH>;
14		default-on;
15	};
16
17	panel-lvds {
18		compatible = "auo,g133han01";
19		power-supply = <&vreg_v3p3>;
20
21		ports {
22			#address-cells = <1>;
23			#size-cells = <0>;
24
25			/* LVDS A (Odd pixels) */
26			port@0 {
27				reg = <0>;
28				dual-lvds-odd-pixels;
29
30				lvds_panel_out_a: endpoint {
31					remote-endpoint = <&sn65dsi84_out_a>;
32				};
33			};
34
35			/* LVDS B (Even pixels) */
36			port@1 {
37				reg = <1>;
38				dual-lvds-even-pixels;
39
40				lvds_panel_out_b: endpoint {
41					remote-endpoint = <&sn65dsi84_out_b>;
42				};
43			};
44		};
45	};
46
47	vreg_v3p3: regulator-v3p3 {
48		compatible = "regulator-fixed";
49		regulator-name = "vdd-3v3";
50		regulator-min-microvolt = <3300000>;
51		regulator-max-microvolt = <3300000>;
52	};
53};
54
55&hdmi_connector {
56	status = "disabled";
57};
58
59&i2c1 {
60	clock-frequency = <400000>;
61	status = "okay";
62
63	#address-cells = <1>;
64	#size-cells = <0>;
65
66	hdmi_bridge: bridge@3d {
67		reg = <0x3d>;
68		status = "disabled";
69	};
70
71	lvds_bridge: bridge@2c {
72		compatible = "ti,sn65dsi84";
73		reg = <0x2c>;
74		enable-gpios = <&tlmm 42 GPIO_ACTIVE_HIGH>;
75
76		ports {
77			#address-cells = <1>;
78			#size-cells = <0>;
79
80			port@0 {
81				reg = <0>;
82
83				sn65dsi84_in: endpoint {
84					data-lanes = <1 2 3 4>;
85					remote-endpoint = <&mdss_dsi0_out>;
86				};
87			};
88
89			port@2 {
90				reg = <2>;
91
92				sn65dsi84_out_a: endpoint {
93					data-lanes = <1 2 3 4>;
94					remote-endpoint = <&lvds_panel_out_a>;
95				};
96			};
97
98			port@3 {
99				reg = <3>;
100
101				sn65dsi84_out_b: endpoint {
102					data-lanes = <1 2 3 4>;
103					remote-endpoint = <&lvds_panel_out_b>;
104				};
105			};
106		};
107	};
108};
109
110&mdss_dsi0 {
111	vdda-supply = <&vreg_l11a>;
112
113	status = "okay";
114};
115
116&mdss_dsi0_out {
117	remote-endpoint = <&sn65dsi84_in>;
118	data-lanes = <0 1 2 3>;
119};
120
121&tlmm {
122	lcd_bklt_en: lcd-bklt-en-state {
123		pins = "gpio115";
124		function = "gpio";
125		bias-disable;
126	};
127};
128