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