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 = <®_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_motor_vdd: regulator-motor-vdd { 30 compatible = "regulator-fixed"; 31 regulator-name = "motor_vdd"; 32 regulator-min-microvolt = <3300000>; 33 regulator-max-microvolt = <3300000>; 34 35 gpio = <&msmgpio 76 GPIO_ACTIVE_HIGH>; 36 enable-active-high; 37 38 pinctrl-names = "default"; 39 pinctrl-0 = <&motor_en_default>; 40 }; 41 42 reg_touch_key: regulator-touch-key { 43 compatible = "regulator-fixed"; 44 regulator-name = "touch_key"; 45 regulator-min-microvolt = <3300000>; 46 regulator-max-microvolt = <3300000>; 47 48 gpio = <&msmgpio 97 GPIO_ACTIVE_HIGH>; 49 enable-active-high; 50 51 pinctrl-names = "default"; 52 pinctrl-0 = <&tkey_en_default>; 53 }; 54}; 55 56&blsp_i2c2 { 57 /* lis2hh12 accelerometer instead of BMC150 */ 58 status = "disabled"; 59 60 /delete-node/ accelerometer@10; 61 /delete-node/ magnetometer@12; 62}; 63 64&touchkey { 65 vcc-supply = <®_touch_key>; 66 vdd-supply = <®_touch_key>; 67}; 68 69&msmgpio { 70 motor_en_default: motor-en-default { 71 pins = "gpio76"; 72 function = "gpio"; 73 74 drive-strength = <2>; 75 bias-disable; 76 }; 77 78 tkey_en_default: tkey-en-default { 79 pins = "gpio97"; 80 function = "gpio"; 81 82 drive-strength = <2>; 83 bias-disable; 84 }; 85}; 86