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 = <&tlmm>; 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 = <&tlmm 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 */ 51 /delete-node/ accelerometer@10; 45 /delete-node/ accelerometer@10; 52 /delete-node/ magnetometer@12; 46 /delete-node/ magnetometer@12; 53 47 54 accelerometer@1d { 48 accelerometer@1d { 55 compatible = "st,lis2hh12"; 49 compatible = "st,lis2hh12"; 56 reg = <0x1d>; 50 reg = <0x1d>; 57 51 58 interrupt-parent = <&tlmm>; 52 interrupt-parent = <&tlmm>; 59 interrupts = <115 IRQ_TYPE_LEV 53 interrupts = <115 IRQ_TYPE_LEVEL_HIGH>; 60 54 61 vdd-supply = <&pm8916_l5>; 55 vdd-supply = <&pm8916_l5>; 62 vddio-supply = <&pm8916_l5>; 56 vddio-supply = <&pm8916_l5>; 63 57 64 st,drdy-int-pin = <1>; 58 st,drdy-int-pin = <1>; 65 mount-matrix = "1", "0", "0", 59 mount-matrix = "1", "0", "0", 66 "0", "-1", "0", 60 "0", "-1", "0", 67 "0", "0", "1"; 61 "0", "0", "1"; 68 62 69 pinctrl-0 = <&accel_int_defaul 63 pinctrl-0 = <&accel_int_default>; 70 pinctrl-names = "default"; 64 pinctrl-names = "default"; 71 }; 65 }; 72 }; 66 }; 73 67 74 &mpss_mem { << 75 reg = <0x0 0x86800000 0x0 0x5a00000>; << 76 }; << 77 << 78 ®_motor_vdd { 68 ®_motor_vdd { 79 regulator-min-microvolt = <3300000>; 69 regulator-min-microvolt = <3300000>; 80 regulator-max-microvolt = <3300000>; 70 regulator-max-microvolt = <3300000>; 81 }; 71 }; 82 72 83 &touchkey { 73 &touchkey { 84 vcc-supply = <®_touch_key>; 74 vcc-supply = <®_touch_key>; 85 vdd-supply = <®_touch_key>; 75 vdd-supply = <®_touch_key>; 86 }; 76 }; 87 77 88 &wcnss { 78 &wcnss { 89 status = "okay"; 79 status = "okay"; 90 }; 80 }; 91 81 92 &wcnss_iris { 82 &wcnss_iris { 93 compatible = "qcom,wcn3620"; 83 compatible = "qcom,wcn3620"; 94 }; << 95 << 96 &wcnss_mem { << 97 status = "okay"; << 98 }; 84 }; 99 85 100 &tlmm { 86 &tlmm { 101 tkey_en_default: tkey-en-default-state 87 tkey_en_default: tkey-en-default-state { 102 pins = "gpio97"; 88 pins = "gpio97"; 103 function = "gpio"; 89 function = "gpio"; 104 90 105 drive-strength = <2>; 91 drive-strength = <2>; 106 bias-disable; 92 bias-disable; 107 }; 93 }; 108 }; 94 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.