Debian Codegraph @

scripts/dtc/include-prefixes/arm64/qcom/msm8916-samsung-e2015-common.dtsi

raw
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 = <&reg_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 = <&tlmm>;
22 interrupts = <12 IRQ_TYPE_EDGE_FALLING>;
23
24 pinctrl-names = "default";
25 pinctrl-0 = <&muic_int_default>;
26
27 usb_con: connector {
28 compatible = "usb-b-connector";
29 label = "micro-USB";
30 type = "micro";
31 };
32 };
33 };
34
35 reg_touch_key: regulator-touch-key {
36 compatible = "regulator-fixed";
37 regulator-name = "touch_key";
38 regulator-min-microvolt = <3300000>;
39 regulator-max-microvolt = <3300000>;
40
41 gpio = <&tlmm 97 GPIO_ACTIVE_HIGH>;
42 enable-active-high;
43
44 pinctrl-names = "default";
45 pinctrl-0 = <&tkey_en_default>;
46 };
47 };
48
49 &blsp_i2c2 {
50 /* lis2hh12 accelerometer instead of BMC150 */
51 /delete-node/ accelerometer@10;
52 /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_LEVEL_HIGH>;
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_default>;
70 pinctrl-names = "default";
71 };
72 };
73
74 &mpss_mem {
75 reg = <0x0 0x86800000 0x0 0x5a00000>;
76 };
77
78 &reg_motor_vdd {
79 regulator-min-microvolt = <3300000>;
80 regulator-max-microvolt = <3300000>;
81 };
82
83 &touchkey {
84 vcc-supply = <&reg_touch_key>;
85 vdd-supply = <&reg_touch_key>;
86 };
87
88 &wcnss {
89 status = "okay";
90 };
91
92 &wcnss_iris {
93 compatible = "qcom,wcn3620";
94 };
95
96 &wcnss_mem {
97 status = "okay";
98 };
99
100 &tlmm {
101 tkey_en_default: tkey-en-default-state {
102 pins = "gpio97";
103 function = "gpio";
104
105 drive-strength = <2>;
106 bias-disable;
107 };
108 };