Commit | Line | Data |
---|---|---|
1329c1ab SG |
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"; | |
eaa744b1 | 10 | chassis-type = "handset"; |
41004077 SG |
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 = <&msmgpio 97 GPIO_ACTIVE_HIGH>; | |
19 | enable-active-high; | |
20 | ||
21 | pinctrl-names = "default"; | |
22 | pinctrl-0 = <&tkey_en_default>; | |
23 | }; | |
1329c1ab | 24 | }; |
0d705199 | 25 | |
079f81ac SG |
26 | &accelerometer { |
27 | mount-matrix = "-1", "0", "0", | |
28 | "0", "1", "0", | |
29 | "0", "0", "1"; | |
30 | }; | |
31 | ||
a4c29512 SG |
32 | &blsp_i2c5 { |
33 | status = "okay"; | |
34 | ||
35 | touchscreen@48 { | |
36 | compatible = "melfas,mms345l"; | |
37 | ||
38 | reg = <0x48>; | |
39 | interrupt-parent = <&msmgpio>; | |
40 | interrupts = <13 IRQ_TYPE_EDGE_FALLING>; | |
41 | ||
42 | touchscreen-size-x = <720>; | |
43 | touchscreen-size-y = <1280>; | |
44 | ||
45 | avdd-supply = <®_vdd_tsp>; | |
46 | vdd-supply = <&pm8916_l6>; | |
47 | ||
48 | pinctrl-names = "default"; | |
49 | pinctrl-0 = <&ts_int_default>; | |
50 | }; | |
51 | }; | |
52 | ||
0d705199 SG |
53 | &pronto { |
54 | iris { | |
826e6faf | 55 | compatible = "qcom,wcn3660b"; |
0d705199 SG |
56 | }; |
57 | }; | |
a4c29512 | 58 | |
41004077 SG |
59 | &touchkey { |
60 | vcc-supply = <®_touch_key>; | |
61 | vdd-supply = <®_touch_key>; | |
62 | }; | |
63 | ||
a4c29512 | 64 | &msmgpio { |
41004077 SG |
65 | tkey_en_default: tkey-en-default { |
66 | pins = "gpio97"; | |
67 | function = "gpio"; | |
68 | ||
69 | drive-strength = <2>; | |
70 | bias-disable; | |
71 | }; | |
72 | ||
a4c29512 | 73 | ts_int_default: ts-int-default { |
6554a295 SG |
74 | pins = "gpio13"; |
75 | function = "gpio"; | |
76 | ||
77 | drive-strength = <2>; | |
78 | bias-disable; | |
a4c29512 SG |
79 | }; |
80 | }; |