xref: /linux/arch/arm64/boot/dts/qcom/msm8916-samsung-e2015-common.dtsi (revision fd7d598270724cc787982ea48bbe17ad383a8b7f)
1// SPDX-License-Identifier: GPL-2.0-only
2
3#include "msm8916-samsung-a2015-common.dtsi"
4
5/ {
6	haptic {
7		compatible = "regulator-haptic";
8		haptic-supply = <&reg_motor_vdd>;
9		min-microvolt = <3300000>;
10		max-microvolt = <3300000>;
11	};
12
13	i2c-muic {
14		/* SM5504 MUIC instead of SM5502 */
15		/delete-node/ extcon@25;
16
17		muic: extcon@14 {
18			compatible = "siliconmitus,sm5504-muic";
19			reg = <0x14>;
20
21			interrupt-parent = <&tlmm>;
22			interrupts = <12 IRQ_TYPE_EDGE_FALLING>;
23
24			pinctrl-names = "default";
25			pinctrl-0 = <&muic_int_default>;
26		};
27	};
28
29	reg_touch_key: regulator-touch-key {
30		compatible = "regulator-fixed";
31		regulator-name = "touch_key";
32		regulator-min-microvolt = <3300000>;
33		regulator-max-microvolt = <3300000>;
34
35		gpio = <&tlmm 97 GPIO_ACTIVE_HIGH>;
36		enable-active-high;
37
38		pinctrl-names = "default";
39		pinctrl-0 = <&tkey_en_default>;
40	};
41};
42
43&blsp_i2c2 {
44	/* lis2hh12 accelerometer instead of BMC150 */
45	/delete-node/ accelerometer@10;
46	/delete-node/ magnetometer@12;
47
48	accelerometer@1d {
49		compatible = "st,lis2hh12";
50		reg = <0x1d>;
51
52		interrupt-parent = <&tlmm>;
53		interrupts = <115 IRQ_TYPE_LEVEL_HIGH>;
54
55		vdd-supply = <&pm8916_l5>;
56		vddio-supply = <&pm8916_l5>;
57
58		st,drdy-int-pin = <1>;
59		mount-matrix = "1", "0", "0",
60			       "0", "-1", "0",
61			       "0", "0", "1";
62
63		pinctrl-0 = <&accel_int_default>;
64		pinctrl-names = "default";
65	};
66};
67
68&reg_motor_vdd {
69	regulator-min-microvolt = <3300000>;
70	regulator-max-microvolt = <3300000>;
71};
72
73&touchkey {
74	vcc-supply = <&reg_touch_key>;
75	vdd-supply = <&reg_touch_key>;
76};
77
78&wcnss {
79	status = "okay";
80};
81
82&wcnss_iris {
83	compatible = "qcom,wcn3620";
84};
85
86&tlmm {
87	tkey_en_default: tkey-en-default-state {
88		pins = "gpio97";
89		function = "gpio";
90
91		drive-strength = <2>;
92		bias-disable;
93	};
94};
95