]> git.ipfire.org Git - thirdparty/u-boot.git/blob - src/arm64/qcom/msm8916-samsung-j5x.dts
Squashed 'dts/upstream/' content from commit aaba2d45dc2a
[thirdparty/u-boot.git] / src / arm64 / qcom / msm8916-samsung-j5x.dts
1 // SPDX-License-Identifier: GPL-2.0-only
2
3 /dts-v1/;
4
5 #include "msm8916-samsung-j5-common.dtsi"
6
7 / {
8 model = "Samsung Galaxy J5 (2016)";
9 compatible = "samsung,j5x", "qcom,msm8916";
10 chassis-type = "handset";
11
12 reg_vdd_tsp_a: regulator-vdd-tsp-a {
13 compatible = "regulator-fixed";
14 regulator-name = "vdd_tsp_a";
15 regulator-min-microvolt = <3000000>;
16 regulator-max-microvolt = <3000000>;
17
18 gpio = <&tlmm 108 GPIO_ACTIVE_HIGH>;
19 enable-active-high;
20
21 pinctrl-0 = <&tsp_ldo_en_default>;
22 pinctrl-names = "default";
23 };
24 };
25
26 &accelerometer {
27 interrupts-extended = <&tlmm 49 IRQ_TYPE_LEVEL_HIGH>;
28
29 vdd-supply = <&pm8916_l6>;
30 vddio-supply = <&pm8916_l6>;
31
32 mount-matrix = "0", "-1", "0",
33 "1", "0", "0",
34 "0", "0", "-1";
35 };
36
37 &muic {
38 interrupts = <121 IRQ_TYPE_EDGE_FALLING>;
39 };
40
41 &touchscreen {
42 vdd-supply = <&reg_vdd_tsp_a>;
43 };
44
45 &tlmm {
46 tsp_ldo_en_default: tsp-ldo-en-default-state {
47 pins = "gpio108";
48 function = "gpio";
49 drive-strength = <2>;
50 bias-disable;
51 };
52 };
53
54 &accel_int_default {
55 pins = "gpio49";
56 };
57
58 &muic_int_default {
59 pins = "gpio121";
60 };