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 = <&msmgpio>;
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 = <&msmgpio 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	status = "disabled";
46
47	/delete-node/ accelerometer@10;
48	/delete-node/ magnetometer@12;
49};
50
51&reg_motor_vdd {
52	regulator-min-microvolt = <3300000>;
53	regulator-max-microvolt = <3300000>;
54};
55
56&touchkey {
57	vcc-supply = <&reg_touch_key>;
58	vdd-supply = <&reg_touch_key>;
59};
60
61&wcnss {
62	status = "okay";
63};
64
65&wcnss_iris {
66	compatible = "qcom,wcn3620";
67};
68
69&msmgpio {
70	tkey_en_default: tkey-en-default-state {
71		pins = "gpio97";
72		function = "gpio";
73
74		drive-strength = <2>;
75		bias-disable;
76	};
77};
78