xref: /linux/arch/arm64/boot/dts/qcom/msm8916-samsung-a3u-eur.dts (revision 24bce201d79807b668bf9d9e0aca801c5c0d5f78)
1// SPDX-License-Identifier: GPL-2.0-only
2
3/dts-v1/;
4
5#include "msm8916-samsung-a2015-common.dtsi"
6
7/ {
8	model = "Samsung Galaxy A3U (EUR)";
9	compatible = "samsung,a3u-eur", "qcom,msm8916";
10	chassis-type = "handset";
11
12	reg_panel_vdd3: regulator-panel-vdd3 {
13		compatible = "regulator-fixed";
14		regulator-name = "panel_vdd3";
15		regulator-min-microvolt = <1800000>;
16		regulator-max-microvolt = <1800000>;
17
18		gpio = <&msmgpio 9 GPIO_ACTIVE_HIGH>;
19		enable-active-high;
20
21		pinctrl-names = "default";
22		pinctrl-0 = <&panel_vdd3_default>;
23	};
24
25	reg_touch_key: regulator-touch-key {
26		compatible = "regulator-fixed";
27		regulator-name = "touch_key";
28		regulator-min-microvolt = <2800000>;
29		regulator-max-microvolt = <2800000>;
30
31		gpio = <&msmgpio 86 GPIO_ACTIVE_HIGH>;
32		enable-active-high;
33
34		pinctrl-names = "default";
35		pinctrl-0 = <&tkey_en_default>;
36	};
37
38	reg_key_led: regulator-key-led {
39		compatible = "regulator-fixed";
40		regulator-name = "key_led";
41		regulator-min-microvolt = <3300000>;
42		regulator-max-microvolt = <3300000>;
43
44		gpio = <&msmgpio 60 GPIO_ACTIVE_HIGH>;
45		enable-active-high;
46
47		pinctrl-names = "default";
48		pinctrl-0 = <&tkey_led_en_default>;
49	};
50};
51
52&touchkey {
53	vcc-supply = <&reg_touch_key>;
54	vdd-supply = <&reg_key_led>;
55};
56
57&accelerometer {
58	mount-matrix = "0", "1", "0",
59		       "1", "0", "0",
60		       "0", "0", "1";
61};
62
63&blsp_i2c5 {
64	status = "okay";
65
66	touchscreen@20 {
67		compatible = "zinitix,bt541";
68
69		reg = <0x20>;
70		interrupt-parent = <&msmgpio>;
71		interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
72
73		touchscreen-size-x = <540>;
74		touchscreen-size-y = <960>;
75
76		vdd-supply = <&reg_vdd_tsp>;
77		vddo-supply = <&pm8916_l6>;
78
79		pinctrl-names = "default";
80		pinctrl-0 = <&ts_int_default>;
81	};
82};
83
84&dsi0 {
85	panel@0 {
86		reg = <0>;
87
88		compatible = "samsung,s6e88a0-ams452ef01";
89
90		vdd3-supply = <&reg_panel_vdd3>;
91		vci-supply = <&pm8916_l17>;
92		reset-gpios = <&msmgpio 25 GPIO_ACTIVE_HIGH>;
93
94		port {
95			panel_in: endpoint {
96				remote-endpoint = <&dsi0_out>;
97			};
98		};
99	};
100};
101
102&dsi0_out {
103	data-lanes = <0 1>;
104	remote-endpoint = <&panel_in>;
105};
106
107&msmgpio {
108	panel_vdd3_default: panel-vdd3-default {
109		pins = "gpio9";
110		function = "gpio";
111
112		drive-strength = <2>;
113		bias-disable;
114	};
115
116	tkey_en_default: tkey-en-default {
117		pins = "gpio86";
118		function = "gpio";
119
120		drive-strength = <2>;
121		bias-disable;
122	};
123
124	tkey_led_en_default: tkey-led-en-default {
125		pins = "gpio60";
126		function = "gpio";
127
128		drive-strength = <2>;
129		bias-disable;
130	};
131
132	ts_int_default: ts-int-default {
133		pins = "gpio13";
134		function = "gpio";
135
136		drive-strength = <2>;
137		bias-disable;
138	};
139};
140