1995d1ac5SLin, Meng-Bo// SPDX-License-Identifier: GPL-2.0-only 2995d1ac5SLin, Meng-Bo 3995d1ac5SLin, Meng-Bo#include "msm8916-samsung-a2015-common.dtsi" 4995d1ac5SLin, Meng-Bo 5995d1ac5SLin, Meng-Bo/ { 6995d1ac5SLin, Meng-Bo haptic { 7995d1ac5SLin, Meng-Bo compatible = "regulator-haptic"; 8995d1ac5SLin, Meng-Bo haptic-supply = <®_motor_vdd>; 9995d1ac5SLin, Meng-Bo min-microvolt = <3300000>; 10995d1ac5SLin, Meng-Bo max-microvolt = <3300000>; 11995d1ac5SLin, Meng-Bo }; 12995d1ac5SLin, Meng-Bo 13995d1ac5SLin, Meng-Bo i2c-muic { 14995d1ac5SLin, Meng-Bo /* SM5504 MUIC instead of SM5502 */ 15995d1ac5SLin, Meng-Bo /delete-node/ extcon@25; 16995d1ac5SLin, Meng-Bo 17995d1ac5SLin, Meng-Bo muic: extcon@14 { 18995d1ac5SLin, Meng-Bo compatible = "siliconmitus,sm5504-muic"; 19995d1ac5SLin, Meng-Bo reg = <0x14>; 20995d1ac5SLin, Meng-Bo 2141e22c2fSStephan Gerhold interrupt-parent = <&tlmm>; 22995d1ac5SLin, Meng-Bo interrupts = <12 IRQ_TYPE_EDGE_FALLING>; 23995d1ac5SLin, Meng-Bo 24995d1ac5SLin, Meng-Bo pinctrl-names = "default"; 25995d1ac5SLin, Meng-Bo pinctrl-0 = <&muic_int_default>; 26995d1ac5SLin, Meng-Bo }; 27995d1ac5SLin, Meng-Bo }; 28995d1ac5SLin, Meng-Bo 2990ca4673SLin, Meng-Bo reg_touch_key: regulator-touch-key { 3090ca4673SLin, Meng-Bo compatible = "regulator-fixed"; 3190ca4673SLin, Meng-Bo regulator-name = "touch_key"; 3290ca4673SLin, Meng-Bo regulator-min-microvolt = <3300000>; 3390ca4673SLin, Meng-Bo regulator-max-microvolt = <3300000>; 3490ca4673SLin, Meng-Bo 3541e22c2fSStephan Gerhold gpio = <&tlmm 97 GPIO_ACTIVE_HIGH>; 3690ca4673SLin, Meng-Bo enable-active-high; 3790ca4673SLin, Meng-Bo 3890ca4673SLin, Meng-Bo pinctrl-names = "default"; 3990ca4673SLin, Meng-Bo pinctrl-0 = <&tkey_en_default>; 4090ca4673SLin, Meng-Bo }; 41995d1ac5SLin, Meng-Bo}; 42995d1ac5SLin, Meng-Bo 43995d1ac5SLin, Meng-Bo&blsp_i2c2 { 44995d1ac5SLin, Meng-Bo /* lis2hh12 accelerometer instead of BMC150 */ 45995d1ac5SLin, Meng-Bo /delete-node/ accelerometer@10; 46995d1ac5SLin, Meng-Bo /delete-node/ magnetometer@12; 47*3e9b3678SLin, Meng-Bo 48*3e9b3678SLin, Meng-Bo accelerometer@1d { 49*3e9b3678SLin, Meng-Bo compatible = "st,lis2hh12"; 50*3e9b3678SLin, Meng-Bo reg = <0x1d>; 51*3e9b3678SLin, Meng-Bo 52*3e9b3678SLin, Meng-Bo interrupt-parent = <&tlmm>; 53*3e9b3678SLin, Meng-Bo interrupts = <115 IRQ_TYPE_LEVEL_HIGH>; 54*3e9b3678SLin, Meng-Bo 55*3e9b3678SLin, Meng-Bo vdd-supply = <&pm8916_l5>; 56*3e9b3678SLin, Meng-Bo vddio-supply = <&pm8916_l5>; 57*3e9b3678SLin, Meng-Bo 58*3e9b3678SLin, Meng-Bo st,drdy-int-pin = <1>; 59*3e9b3678SLin, Meng-Bo mount-matrix = "1", "0", "0", 60*3e9b3678SLin, Meng-Bo "0", "-1", "0", 61*3e9b3678SLin, Meng-Bo "0", "0", "1"; 62*3e9b3678SLin, Meng-Bo 63*3e9b3678SLin, Meng-Bo pinctrl-0 = <&accel_int_default>; 64*3e9b3678SLin, Meng-Bo pinctrl-names = "default"; 65*3e9b3678SLin, Meng-Bo }; 66995d1ac5SLin, Meng-Bo}; 67995d1ac5SLin, Meng-Bo 685ffe6187SNikita Travkin®_motor_vdd { 695ffe6187SNikita Travkin regulator-min-microvolt = <3300000>; 705ffe6187SNikita Travkin regulator-max-microvolt = <3300000>; 715ffe6187SNikita Travkin}; 725ffe6187SNikita Travkin 7390ca4673SLin, Meng-Bo&touchkey { 7490ca4673SLin, Meng-Bo vcc-supply = <®_touch_key>; 7590ca4673SLin, Meng-Bo vdd-supply = <®_touch_key>; 7690ca4673SLin, Meng-Bo}; 7790ca4673SLin, Meng-Bo 7832444424SStephan Gerhold&wcnss { 7932444424SStephan Gerhold status = "okay"; 8032444424SStephan Gerhold}; 8132444424SStephan Gerhold 8232444424SStephan Gerhold&wcnss_iris { 8332444424SStephan Gerhold compatible = "qcom,wcn3620"; 8432444424SStephan Gerhold}; 8532444424SStephan Gerhold 8641e22c2fSStephan Gerhold&tlmm { 878b276ca0SKrzysztof Kozlowski tkey_en_default: tkey-en-default-state { 8890ca4673SLin, Meng-Bo pins = "gpio97"; 8990ca4673SLin, Meng-Bo function = "gpio"; 9090ca4673SLin, Meng-Bo 9190ca4673SLin, Meng-Bo drive-strength = <2>; 9290ca4673SLin, Meng-Bo bias-disable; 9390ca4673SLin, Meng-Bo }; 94995d1ac5SLin, Meng-Bo}; 95