1 // SPDX-License-Identifier: GPL-2.0-only 1 // SPDX-License-Identifier: GPL-2.0-only 2 2 3 #include "msm8916-samsung-a2015-common.dtsi" 3 #include "msm8916-samsung-a2015-common.dtsi" 4 4 5 / { 5 / { 6 haptic { 6 haptic { 7 compatible = "regulator-haptic 7 compatible = "regulator-haptic"; 8 haptic-supply = <®_motor_vd 8 haptic-supply = <®_motor_vdd>; 9 min-microvolt = <3300000>; 9 min-microvolt = <3300000>; 10 max-microvolt = <3300000>; 10 max-microvolt = <3300000>; 11 }; 11 }; 12 12 13 i2c-muic { 13 i2c-muic { 14 /* SM5504 MUIC instead of SM55 14 /* SM5504 MUIC instead of SM5502 */ 15 /delete-node/ extcon@25; 15 /delete-node/ extcon@25; 16 16 17 muic: extcon@14 { 17 muic: extcon@14 { 18 compatible = "siliconm 18 compatible = "siliconmitus,sm5504-muic"; 19 reg = <0x14>; 19 reg = <0x14>; 20 20 21 interrupt-parent = <&t !! 21 interrupt-parent = <&msmgpio>; 22 interrupts = <12 IRQ_T 22 interrupts = <12 IRQ_TYPE_EDGE_FALLING>; 23 23 24 pinctrl-names = "defau 24 pinctrl-names = "default"; 25 pinctrl-0 = <&muic_int 25 pinctrl-0 = <&muic_int_default>; 26 << 27 usb_con: connector { << 28 compatible = " << 29 label = "micro << 30 type = "micro" << 31 }; << 32 }; 26 }; 33 }; 27 }; 34 28 35 reg_touch_key: regulator-touch-key { 29 reg_touch_key: regulator-touch-key { 36 compatible = "regulator-fixed" 30 compatible = "regulator-fixed"; 37 regulator-name = "touch_key"; 31 regulator-name = "touch_key"; 38 regulator-min-microvolt = <330 32 regulator-min-microvolt = <3300000>; 39 regulator-max-microvolt = <330 33 regulator-max-microvolt = <3300000>; 40 34 41 gpio = <&tlmm 97 GPIO_ACTIVE_H !! 35 gpio = <&msmgpio 97 GPIO_ACTIVE_HIGH>; 42 enable-active-high; 36 enable-active-high; 43 37 44 pinctrl-names = "default"; 38 pinctrl-names = "default"; 45 pinctrl-0 = <&tkey_en_default> 39 pinctrl-0 = <&tkey_en_default>; 46 }; 40 }; 47 }; 41 }; 48 42 49 &blsp_i2c2 { 43 &blsp_i2c2 { 50 /* lis2hh12 accelerometer instead of B 44 /* lis2hh12 accelerometer instead of BMC150 */ >> 45 status = "disabled"; >> 46 51 /delete-node/ accelerometer@10; 47 /delete-node/ accelerometer@10; 52 /delete-node/ magnetometer@12; 48 /delete-node/ magnetometer@12; 53 << 54 accelerometer@1d { << 55 compatible = "st,lis2hh12"; << 56 reg = <0x1d>; << 57 << 58 interrupt-parent = <&tlmm>; << 59 interrupts = <115 IRQ_TYPE_LEV << 60 << 61 vdd-supply = <&pm8916_l5>; << 62 vddio-supply = <&pm8916_l5>; << 63 << 64 st,drdy-int-pin = <1>; << 65 mount-matrix = "1", "0", "0", << 66 "0", "-1", "0", << 67 "0", "0", "1"; << 68 << 69 pinctrl-0 = <&accel_int_defaul << 70 pinctrl-names = "default"; << 71 }; << 72 }; << 73 << 74 &mpss_mem { << 75 reg = <0x0 0x86800000 0x0 0x5a00000>; << 76 }; 49 }; 77 50 78 ®_motor_vdd { 51 ®_motor_vdd { 79 regulator-min-microvolt = <3300000>; 52 regulator-min-microvolt = <3300000>; 80 regulator-max-microvolt = <3300000>; 53 regulator-max-microvolt = <3300000>; 81 }; 54 }; 82 55 83 &touchkey { 56 &touchkey { 84 vcc-supply = <®_touch_key>; 57 vcc-supply = <®_touch_key>; 85 vdd-supply = <®_touch_key>; 58 vdd-supply = <®_touch_key>; 86 }; 59 }; 87 60 88 &wcnss { 61 &wcnss { 89 status = "okay"; 62 status = "okay"; 90 }; 63 }; 91 64 92 &wcnss_iris { 65 &wcnss_iris { 93 compatible = "qcom,wcn3620"; 66 compatible = "qcom,wcn3620"; 94 }; 67 }; 95 68 96 &wcnss_mem { !! 69 &msmgpio { 97 status = "okay"; << 98 }; << 99 << 100 &tlmm { << 101 tkey_en_default: tkey-en-default-state 70 tkey_en_default: tkey-en-default-state { 102 pins = "gpio97"; 71 pins = "gpio97"; 103 function = "gpio"; 72 function = "gpio"; 104 73 105 drive-strength = <2>; 74 drive-strength = <2>; 106 bias-disable; 75 bias-disable; 107 }; 76 }; 108 }; 77 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.