1// SPDX-License-Identifier: GPL-2.0-only
2
3/dts-v1/;
4
5#include "msm8916-samsung-gt5-common.dtsi"
6
7/ {
8	model = "Samsung Galaxy Tab A 8.0 (2015)";
9	compatible = "samsung,gt58", "qcom,msm8916";
10	chassis-type = "tablet";
11
12	reg_vdd_tsp: regulator-vdd-tsp {
13		compatible = "regulator-fixed";
14		regulator-name = "vdd_tsp";
15		regulator-min-microvolt = <3300000>;
16		regulator-max-microvolt = <3300000>;
17
18		gpio = <&msmgpio 73 GPIO_ACTIVE_HIGH>;
19		enable-active-high;
20
21		pinctrl-0 = <&reg_tsp_en_default>;
22		pinctrl-names = "default";
23	};
24
25	vibrator {
26		compatible = "gpio-vibrator";
27		enable-gpios = <&msmgpio 76 GPIO_ACTIVE_HIGH>;
28
29		pinctrl-0 = <&vibrator_en_default>;
30		pinctrl-names = "default";
31	};
32};
33
34&blsp_i2c5 {
35	status = "okay";
36
37	touchscreen@20 {
38		compatible = "zinitix,bt532";
39		reg = <0x20>;
40		interrupt-parent = <&msmgpio>;
41		interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
42
43		touchscreen-size-x = <768>;
44		touchscreen-size-y = <1024>;
45
46		vcca-supply = <&reg_vdd_tsp>;
47		vdd-supply = <&pm8916_l6>;
48
49		pinctrl-0 = <&tsp_int_default>;
50		pinctrl-names = "default";
51	};
52};
53
54&msmgpio {
55	reg_tsp_en_default: reg-tsp-en-default-state {
56		pins = "gpio73";
57		function = "gpio";
58		drive-strength = <2>;
59		bias-disable;
60	};
61
62	tsp_int_default: tsp-int-default-state {
63		pins = "gpio13";
64		function = "gpio";
65		drive-strength = <2>;
66		bias-disable;
67	};
68
69	vibrator_en_default: vibrator-en-default-state {
70		pins = "gpio76";
71		function = "gpio";
72		drive-strength = <2>;
73		bias-disable;
74	};
75};
76