11329c1abSStephan Gerhold// SPDX-License-Identifier: GPL-2.0-only
21329c1abSStephan Gerhold
31329c1abSStephan Gerhold/dts-v1/;
41329c1abSStephan Gerhold
51329c1abSStephan Gerhold#include "msm8916-samsung-a2015-common.dtsi"
61329c1abSStephan Gerhold
71329c1abSStephan Gerhold/ {
81329c1abSStephan Gerhold	model = "Samsung Galaxy A5U (EUR)";
91329c1abSStephan Gerhold	compatible = "samsung,a5u-eur", "qcom,msm8916";
10eaa744b1SArnaud Ferraris	chassis-type = "handset";
1141004077SStephan Gerhold
1241004077SStephan Gerhold	reg_touch_key: regulator-touch-key {
1341004077SStephan Gerhold		compatible = "regulator-fixed";
1441004077SStephan Gerhold		regulator-name = "touch_key";
1541004077SStephan Gerhold		regulator-min-microvolt = <3300000>;
1641004077SStephan Gerhold		regulator-max-microvolt = <3300000>;
1741004077SStephan Gerhold
18*41e22c2fSStephan Gerhold		gpio = <&tlmm 97 GPIO_ACTIVE_HIGH>;
1941004077SStephan Gerhold		enable-active-high;
2041004077SStephan Gerhold
2141004077SStephan Gerhold		pinctrl-names = "default";
2241004077SStephan Gerhold		pinctrl-0 = <&tkey_en_default>;
2341004077SStephan Gerhold	};
241329c1abSStephan Gerhold};
250d705199SStephan Gerhold
26079f81acSStephan Gerhold&accelerometer {
27079f81acSStephan Gerhold	mount-matrix = "-1", "0", "0",
28079f81acSStephan Gerhold			"0", "1", "0",
29079f81acSStephan Gerhold			"0", "0", "1";
30079f81acSStephan Gerhold};
31079f81acSStephan Gerhold
32a4c29512SStephan Gerhold&blsp_i2c5 {
33a4c29512SStephan Gerhold	status = "okay";
34a4c29512SStephan Gerhold
35a4c29512SStephan Gerhold	touchscreen@48 {
36a4c29512SStephan Gerhold		compatible = "melfas,mms345l";
37a4c29512SStephan Gerhold
38a4c29512SStephan Gerhold		reg = <0x48>;
39*41e22c2fSStephan Gerhold		interrupt-parent = <&tlmm>;
40a4c29512SStephan Gerhold		interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
41a4c29512SStephan Gerhold
42a4c29512SStephan Gerhold		touchscreen-size-x = <720>;
43a4c29512SStephan Gerhold		touchscreen-size-y = <1280>;
44a4c29512SStephan Gerhold
45d749d52eSLin, Meng-Bo		avdd-supply = <&reg_vdd_tsp_a>;
46a4c29512SStephan Gerhold		vdd-supply = <&pm8916_l6>;
47a4c29512SStephan Gerhold
48a4c29512SStephan Gerhold		pinctrl-names = "default";
49a4c29512SStephan Gerhold		pinctrl-0 = <&ts_int_default>;
50a4c29512SStephan Gerhold	};
51a4c29512SStephan Gerhold};
52a4c29512SStephan Gerhold
535ffe6187SNikita Travkin&clk_pwm {
545ffe6187SNikita Travkin	status = "okay";
555ffe6187SNikita Travkin};
565ffe6187SNikita Travkin
5741004077SStephan Gerhold&touchkey {
5841004077SStephan Gerhold	vcc-supply = <&reg_touch_key>;
5941004077SStephan Gerhold	vdd-supply = <&reg_touch_key>;
6041004077SStephan Gerhold};
6141004077SStephan Gerhold
625ffe6187SNikita Travkin&vibrator {
635ffe6187SNikita Travkin	status = "okay";
645ffe6187SNikita Travkin};
655ffe6187SNikita Travkin
6632444424SStephan Gerhold&wcnss {
6732444424SStephan Gerhold	status = "okay";
6832444424SStephan Gerhold};
6932444424SStephan Gerhold
7032444424SStephan Gerhold&wcnss_iris {
7132444424SStephan Gerhold	compatible = "qcom,wcn3660b";
7232444424SStephan Gerhold};
7332444424SStephan Gerhold
74*41e22c2fSStephan Gerhold&tlmm {
758b276ca0SKrzysztof Kozlowski	tkey_en_default: tkey-en-default-state {
7641004077SStephan Gerhold		pins = "gpio97";
7741004077SStephan Gerhold		function = "gpio";
7841004077SStephan Gerhold
7941004077SStephan Gerhold		drive-strength = <2>;
8041004077SStephan Gerhold		bias-disable;
8141004077SStephan Gerhold	};
82a4c29512SStephan Gerhold};
83