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 A3U (EUR)";
91329c1abSStephan Gerhold	compatible = "samsung,a3u-eur", "qcom,msm8916";
10eaa744b1SArnaud Ferraris	chassis-type = "handset";
114b20d470SMichael Srba
124b20d470SMichael Srba	reg_panel_vdd3: regulator-panel-vdd3 {
134b20d470SMichael Srba		compatible = "regulator-fixed";
144b20d470SMichael Srba		regulator-name = "panel_vdd3";
154b20d470SMichael Srba		regulator-min-microvolt = <1800000>;
164b20d470SMichael Srba		regulator-max-microvolt = <1800000>;
174b20d470SMichael Srba
1841e22c2fSStephan Gerhold		gpio = <&tlmm 9 GPIO_ACTIVE_HIGH>;
194b20d470SMichael Srba		enable-active-high;
204b20d470SMichael Srba
214b20d470SMichael Srba		pinctrl-names = "default";
224b20d470SMichael Srba		pinctrl-0 = <&panel_vdd3_default>;
234b20d470SMichael Srba	};
2492b5c397SMichael Srba
2592b5c397SMichael Srba	reg_touch_key: regulator-touch-key {
2692b5c397SMichael Srba		compatible = "regulator-fixed";
2792b5c397SMichael Srba		regulator-name = "touch_key";
2892b5c397SMichael Srba		regulator-min-microvolt = <2800000>;
2992b5c397SMichael Srba		regulator-max-microvolt = <2800000>;
3092b5c397SMichael Srba
3141e22c2fSStephan Gerhold		gpio = <&tlmm 86 GPIO_ACTIVE_HIGH>;
3292b5c397SMichael Srba		enable-active-high;
3392b5c397SMichael Srba
3492b5c397SMichael Srba		pinctrl-names = "default";
3592b5c397SMichael Srba		pinctrl-0 = <&tkey_en_default>;
3692b5c397SMichael Srba	};
3792b5c397SMichael Srba
3892b5c397SMichael Srba	reg_key_led: regulator-key-led {
3992b5c397SMichael Srba		compatible = "regulator-fixed";
4092b5c397SMichael Srba		regulator-name = "key_led";
4192b5c397SMichael Srba		regulator-min-microvolt = <3300000>;
4292b5c397SMichael Srba		regulator-max-microvolt = <3300000>;
4392b5c397SMichael Srba
4441e22c2fSStephan Gerhold		gpio = <&tlmm 60 GPIO_ACTIVE_HIGH>;
4592b5c397SMichael Srba		enable-active-high;
4692b5c397SMichael Srba
4792b5c397SMichael Srba		pinctrl-names = "default";
4892b5c397SMichael Srba		pinctrl-0 = <&tkey_led_en_default>;
4992b5c397SMichael Srba	};
5092b5c397SMichael Srba};
5192b5c397SMichael Srba
5292b5c397SMichael Srba&touchkey {
5392b5c397SMichael Srba	vcc-supply = <&reg_touch_key>;
5492b5c397SMichael Srba	vdd-supply = <&reg_key_led>;
554b20d470SMichael Srba};
564b20d470SMichael Srba
57079f81acSStephan Gerhold&accelerometer {
58079f81acSStephan Gerhold	mount-matrix = "0", "1", "0",
59079f81acSStephan Gerhold		       "1", "0", "0",
60079f81acSStephan Gerhold		       "0", "0", "1";
61079f81acSStephan Gerhold};
62079f81acSStephan Gerhold
63e76be113SMichael Srba&blsp_i2c5 {
64e76be113SMichael Srba	status = "okay";
65e76be113SMichael Srba
66e76be113SMichael Srba	touchscreen@20 {
67e76be113SMichael Srba		compatible = "zinitix,bt541";
68e76be113SMichael Srba
69e76be113SMichael Srba		reg = <0x20>;
7041e22c2fSStephan Gerhold		interrupt-parent = <&tlmm>;
71e76be113SMichael Srba		interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
72e76be113SMichael Srba
73e76be113SMichael Srba		touchscreen-size-x = <540>;
74e76be113SMichael Srba		touchscreen-size-y = <960>;
75e76be113SMichael Srba
76d749d52eSLin, Meng-Bo		vcca-supply = <&reg_vdd_tsp_a>;
77d749d52eSLin, Meng-Bo		vdd-supply = <&pm8916_l6>;
78e76be113SMichael Srba
79e76be113SMichael Srba		pinctrl-names = "default";
80e76be113SMichael Srba		pinctrl-0 = <&ts_int_default>;
81e76be113SMichael Srba	};
82e76be113SMichael Srba};
83e76be113SMichael Srba
845ffe6187SNikita Travkin&clk_pwm {
855ffe6187SNikita Travkin	status = "okay";
865ffe6187SNikita Travkin};
875ffe6187SNikita Travkin
88*835f9395SStephan Gerhold&mdss_dsi0 {
894b20d470SMichael Srba	panel@0 {
904b20d470SMichael Srba		reg = <0>;
914b20d470SMichael Srba
924b20d470SMichael Srba		compatible = "samsung,s6e88a0-ams452ef01";
934b20d470SMichael Srba
944b20d470SMichael Srba		vdd3-supply = <&reg_panel_vdd3>;
954b20d470SMichael Srba		vci-supply = <&pm8916_l17>;
9641e22c2fSStephan Gerhold		reset-gpios = <&tlmm 25 GPIO_ACTIVE_HIGH>;
974b20d470SMichael Srba
984b20d470SMichael Srba		port {
994b20d470SMichael Srba			panel_in: endpoint {
100*835f9395SStephan Gerhold				remote-endpoint = <&mdss_dsi0_out>;
1014b20d470SMichael Srba			};
1024b20d470SMichael Srba		};
1034b20d470SMichael Srba	};
104b2106c67SStephan Gerhold};
1054b20d470SMichael Srba
106*835f9395SStephan Gerhold&mdss_dsi0_out {
1074b20d470SMichael Srba	data-lanes = <0 1>;
108b2106c67SStephan Gerhold	remote-endpoint = <&panel_in>;
1094b20d470SMichael Srba};
1104b20d470SMichael Srba
1115ffe6187SNikita Travkin&vibrator {
1125ffe6187SNikita Travkin	status = "okay";
1135ffe6187SNikita Travkin};
1145ffe6187SNikita Travkin
11532444424SStephan Gerhold&wcnss {
11632444424SStephan Gerhold	status = "okay";
11732444424SStephan Gerhold};
11832444424SStephan Gerhold
11932444424SStephan Gerhold&wcnss_iris {
12032444424SStephan Gerhold	compatible = "qcom,wcn3620";
12132444424SStephan Gerhold};
12232444424SStephan Gerhold
12341e22c2fSStephan Gerhold&tlmm {
1248b276ca0SKrzysztof Kozlowski	panel_vdd3_default: panel-vdd3-default-state {
1256554a295SStephan Gerhold		pins = "gpio9";
1264b20d470SMichael Srba		function = "gpio";
1276554a295SStephan Gerhold
1284b20d470SMichael Srba		drive-strength = <2>;
1294b20d470SMichael Srba		bias-disable;
1304b20d470SMichael Srba	};
131e76be113SMichael Srba
1328b276ca0SKrzysztof Kozlowski	tkey_en_default: tkey-en-default-state {
13392b5c397SMichael Srba		pins = "gpio86";
13492b5c397SMichael Srba		function = "gpio";
13592b5c397SMichael Srba
13692b5c397SMichael Srba		drive-strength = <2>;
13792b5c397SMichael Srba		bias-disable;
13892b5c397SMichael Srba	};
13992b5c397SMichael Srba
1408b276ca0SKrzysztof Kozlowski	tkey_led_en_default: tkey-led-en-default-state {
14192b5c397SMichael Srba		pins = "gpio60";
14292b5c397SMichael Srba		function = "gpio";
14392b5c397SMichael Srba
14492b5c397SMichael Srba		drive-strength = <2>;
14592b5c397SMichael Srba		bias-disable;
14692b5c397SMichael Srba	};
1474b20d470SMichael Srba};
148