Loading...
1// SPDX-License-Identifier: GPL-2.0-only
2
3/dts-v1/;
4
5#include "msm8916-samsung-a2015-common.dtsi"
6
7/ {
8 model = "Samsung Galaxy A5U (EUR)";
9 compatible = "samsung,a5u-eur", "qcom,msm8916";
10 chassis-type = "handset";
11
12 reg_touch_key: regulator-touch-key {
13 compatible = "regulator-fixed";
14 regulator-name = "touch_key";
15 regulator-min-microvolt = <3300000>;
16 regulator-max-microvolt = <3300000>;
17
18 gpio = <&tlmm 97 GPIO_ACTIVE_HIGH>;
19 enable-active-high;
20
21 pinctrl-names = "default";
22 pinctrl-0 = <&tkey_en_default>;
23 };
24};
25
26&accelerometer {
27 mount-matrix = "-1", "0", "0",
28 "0", "1", "0",
29 "0", "0", "1";
30};
31
32&battery {
33 charge-term-current-microamp = <200000>;
34 constant-charge-current-max-microamp = <1500000>;
35 constant-charge-voltage-max-microvolt = <4350000>;
36};
37
38&blsp_i2c5 {
39 status = "okay";
40
41 touchscreen@48 {
42 compatible = "melfas,mms345l";
43
44 reg = <0x48>;
45 interrupt-parent = <&tlmm>;
46 interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
47
48 touchscreen-size-x = <720>;
49 touchscreen-size-y = <1280>;
50
51 avdd-supply = <®_vdd_tsp_a>;
52 vdd-supply = <&pm8916_l6>;
53
54 pinctrl-names = "default";
55 pinctrl-0 = <&ts_int_default>;
56 };
57};
58
59&clk_pwm {
60 status = "okay";
61};
62
63&touchkey {
64 vcc-supply = <®_touch_key>;
65 vdd-supply = <®_touch_key>;
66};
67
68&vibrator {
69 status = "okay";
70};
71
72&wcnss {
73 status = "okay";
74};
75
76&wcnss_iris {
77 compatible = "qcom,wcn3660b";
78};
79
80&wcnss_mem {
81 status = "okay";
82};
83
84&tlmm {
85 tkey_en_default: tkey-en-default-state {
86 pins = "gpio97";
87 function = "gpio";
88
89 drive-strength = <2>;
90 bias-disable;
91 };
92};
1// SPDX-License-Identifier: GPL-2.0-only
2
3/dts-v1/;
4
5#include "msm8916-samsung-a2015-common.dtsi"
6
7/ {
8 model = "Samsung Galaxy A5U (EUR)";
9 compatible = "samsung,a5u-eur", "qcom,msm8916";
10 chassis-type = "handset";
11
12 reg_touch_key: regulator-touch-key {
13 compatible = "regulator-fixed";
14 regulator-name = "touch_key";
15 regulator-min-microvolt = <3300000>;
16 regulator-max-microvolt = <3300000>;
17
18 gpio = <&tlmm 97 GPIO_ACTIVE_HIGH>;
19 enable-active-high;
20
21 pinctrl-names = "default";
22 pinctrl-0 = <&tkey_en_default>;
23 };
24};
25
26&accelerometer {
27 mount-matrix = "-1", "0", "0",
28 "0", "1", "0",
29 "0", "0", "1";
30};
31
32&blsp_i2c5 {
33 status = "okay";
34
35 touchscreen@48 {
36 compatible = "melfas,mms345l";
37
38 reg = <0x48>;
39 interrupt-parent = <&tlmm>;
40 interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
41
42 touchscreen-size-x = <720>;
43 touchscreen-size-y = <1280>;
44
45 avdd-supply = <®_vdd_tsp_a>;
46 vdd-supply = <&pm8916_l6>;
47
48 pinctrl-names = "default";
49 pinctrl-0 = <&ts_int_default>;
50 };
51};
52
53&clk_pwm {
54 status = "okay";
55};
56
57&touchkey {
58 vcc-supply = <®_touch_key>;
59 vdd-supply = <®_touch_key>;
60};
61
62&vibrator {
63 status = "okay";
64};
65
66&wcnss {
67 status = "okay";
68};
69
70&wcnss_iris {
71 compatible = "qcom,wcn3660b";
72};
73
74&wcnss_mem {
75 status = "okay";
76};
77
78&tlmm {
79 tkey_en_default: tkey-en-default-state {
80 pins = "gpio97";
81 function = "gpio";
82
83 drive-strength = <2>;
84 bias-disable;
85 };
86};