msm8916-samsung-e2015-common.dtsi 1.39 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
// SPDX-License-Identifier: GPL-2.0-only

#include "msm8916-samsung-a2015-common.dtsi"

/ {
	haptic {
		compatible = "regulator-haptic";
		haptic-supply = <&reg_motor_vdd>;
		min-microvolt = <3300000>;
		max-microvolt = <3300000>;
	};

	i2c-muic {
		/* SM5504 MUIC instead of SM5502 */
		/delete-node/ extcon@25;

		muic: extcon@14 {
			compatible = "siliconmitus,sm5504-muic";
			reg = <0x14>;

			interrupt-parent = <&msmgpio>;
			interrupts = <12 IRQ_TYPE_EDGE_FALLING>;

			pinctrl-names = "default";
			pinctrl-0 = <&muic_int_default>;
		};
	};

29 30 31 32 33 34 35 36 37 38 39 40
	reg_touch_key: regulator-touch-key {
		compatible = "regulator-fixed";
		regulator-name = "touch_key";
		regulator-min-microvolt = <3300000>;
		regulator-max-microvolt = <3300000>;

		gpio = <&msmgpio 97 GPIO_ACTIVE_HIGH>;
		enable-active-high;

		pinctrl-names = "default";
		pinctrl-0 = <&tkey_en_default>;
	};
41 42 43 44 45 46 47 48 49 50
};

&blsp_i2c2 {
	/* lis2hh12 accelerometer instead of BMC150 */
	status = "disabled";

	/delete-node/ accelerometer@10;
	/delete-node/ magnetometer@12;
};

51 52 53 54 55
&reg_motor_vdd {
	regulator-min-microvolt = <3300000>;
	regulator-max-microvolt = <3300000>;
};

56 57 58 59 60
&touchkey {
	vcc-supply = <&reg_touch_key>;
	vdd-supply = <&reg_touch_key>;
};

61 62 63 64 65 66 67 68
&wcnss {
	status = "okay";
};

&wcnss_iris {
	compatible = "qcom,wcn3620";
};

69
&msmgpio {
70
	tkey_en_default: tkey-en-default-state {
71 72 73 74 75 76
		pins = "gpio97";
		function = "gpio";

		drive-strength = <2>;
		bias-disable;
	};
77
};