]> git.ipfire.org Git - thirdparty/u-boot.git/blob - src/arm64/qcom/msm8916-samsung-e2015-common.dtsi
Squashed 'dts/upstream/' changes from aaba2d45dc2a..b35b9bd1d4ee
[thirdparty/u-boot.git] / src / arm64 / qcom / msm8916-samsung-e2015-common.dtsi
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 };
28
29 reg_touch_key: regulator-touch-key {
30 compatible = "regulator-fixed";
31 regulator-name = "touch_key";
32 regulator-min-microvolt = <3300000>;
33 regulator-max-microvolt = <3300000>;
34
35 gpio = <&tlmm 97 GPIO_ACTIVE_HIGH>;
36 enable-active-high;
37
38 pinctrl-names = "default";
39 pinctrl-0 = <&tkey_en_default>;
40 };
41 };
42
43 &blsp_i2c2 {
44 /* lis2hh12 accelerometer instead of BMC150 */
45 /delete-node/ accelerometer@10;
46 /delete-node/ magnetometer@12;
47
48 accelerometer@1d {
49 compatible = "st,lis2hh12";
50 reg = <0x1d>;
51
52 interrupt-parent = <&tlmm>;
53 interrupts = <115 IRQ_TYPE_LEVEL_HIGH>;
54
55 vdd-supply = <&pm8916_l5>;
56 vddio-supply = <&pm8916_l5>;
57
58 st,drdy-int-pin = <1>;
59 mount-matrix = "1", "0", "0",
60 "0", "-1", "0",
61 "0", "0", "1";
62
63 pinctrl-0 = <&accel_int_default>;
64 pinctrl-names = "default";
65 };
66 };
67
68 &mpss_mem {
69 reg = <0x0 0x86800000 0x0 0x5a00000>;
70 };
71
72 &reg_motor_vdd {
73 regulator-min-microvolt = <3300000>;
74 regulator-max-microvolt = <3300000>;
75 };
76
77 &touchkey {
78 vcc-supply = <&reg_touch_key>;
79 vdd-supply = <&reg_touch_key>;
80 };
81
82 &wcnss {
83 status = "okay";
84 };
85
86 &wcnss_iris {
87 compatible = "qcom,wcn3620";
88 };
89
90 &wcnss_mem {
91 status = "okay";
92 };
93
94 &tlmm {
95 tkey_en_default: tkey-en-default-state {
96 pins = "gpio97";
97 function = "gpio";
98
99 drive-strength = <2>;
100 bias-disable;
101 };
102 };