xref: /freebsd/sys/contrib/device-tree/src/arm64/qcom/msm8916-samsung-a3u-eur.dts (revision 5b56413d04e608379c9a306373554a8e4d321bc0)
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 = <&tlmm 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 = <&tlmm 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 = <&tlmm 60 GPIO_ACTIVE_HIGH>;
45		enable-active-high;
46
47		pinctrl-names = "default";
48		pinctrl-0 = <&tkey_led_en_default>;
49	};
50};
51
52&accelerometer {
53	mount-matrix = "0", "1", "0",
54		       "1", "0", "0",
55		       "0", "0", "1";
56};
57
58&blsp_i2c5 {
59	status = "okay";
60
61	touchscreen@20 {
62		compatible = "zinitix,bt541";
63
64		reg = <0x20>;
65		interrupt-parent = <&tlmm>;
66		interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
67
68		touchscreen-size-x = <540>;
69		touchscreen-size-y = <960>;
70
71		vcca-supply = <&reg_vdd_tsp_a>;
72		vdd-supply = <&pm8916_l6>;
73
74		pinctrl-names = "default";
75		pinctrl-0 = <&ts_int_default>;
76	};
77};
78
79&clk_pwm {
80	status = "okay";
81};
82
83&mdss_dsi0 {
84	panel@0 {
85		reg = <0>;
86
87		compatible = "samsung,s6e88a0-ams452ef01";
88
89		vdd3-supply = <&reg_panel_vdd3>;
90		vci-supply = <&pm8916_l17>;
91		reset-gpios = <&tlmm 25 GPIO_ACTIVE_HIGH>;
92
93		port {
94			panel_in: endpoint {
95				remote-endpoint = <&mdss_dsi0_out>;
96			};
97		};
98	};
99};
100
101&mdss_dsi0_out {
102	data-lanes = <0 1>;
103	remote-endpoint = <&panel_in>;
104};
105
106&touchkey {
107	vcc-supply = <&reg_touch_key>;
108	vdd-supply = <&reg_key_led>;
109};
110
111&vibrator {
112	status = "okay";
113};
114
115&wcnss {
116	status = "okay";
117};
118
119&wcnss_iris {
120	compatible = "qcom,wcn3620";
121};
122
123&wcnss_mem {
124	status = "okay";
125};
126
127&tlmm {
128	panel_vdd3_default: panel-vdd3-default-state {
129		pins = "gpio9";
130		function = "gpio";
131
132		drive-strength = <2>;
133		bias-disable;
134	};
135
136	tkey_en_default: tkey-en-default-state {
137		pins = "gpio86";
138		function = "gpio";
139
140		drive-strength = <2>;
141		bias-disable;
142	};
143
144	tkey_led_en_default: tkey-led-en-default-state {
145		pins = "gpio60";
146		function = "gpio";
147
148		drive-strength = <2>;
149		bias-disable;
150	};
151};
152