0001 // SPDX-License-Identifier: GPL-2.0-only
0002
0003 /dts-v1/;
0004
0005 #include "msm8916-samsung-a2015-common.dtsi"
0006
0007 / {
0008 model = "Samsung Galaxy A5U (EUR)";
0009 compatible = "samsung,a5u-eur", "qcom,msm8916";
0010 chassis-type = "handset";
0011
0012 reg_touch_key: regulator-touch-key {
0013 compatible = "regulator-fixed";
0014 regulator-name = "touch_key";
0015 regulator-min-microvolt = <3300000>;
0016 regulator-max-microvolt = <3300000>;
0017
0018 gpio = <&msmgpio 97 GPIO_ACTIVE_HIGH>;
0019 enable-active-high;
0020
0021 pinctrl-names = "default";
0022 pinctrl-0 = <&tkey_en_default>;
0023 };
0024 };
0025
0026 &accelerometer {
0027 mount-matrix = "-1", "0", "0",
0028 "0", "1", "0",
0029 "0", "0", "1";
0030 };
0031
0032 &blsp_i2c5 {
0033 status = "okay";
0034
0035 touchscreen@48 {
0036 compatible = "melfas,mms345l";
0037
0038 reg = <0x48>;
0039 interrupt-parent = <&msmgpio>;
0040 interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
0041
0042 touchscreen-size-x = <720>;
0043 touchscreen-size-y = <1280>;
0044
0045 avdd-supply = <®_vdd_tsp>;
0046 vdd-supply = <&pm8916_l6>;
0047
0048 pinctrl-names = "default";
0049 pinctrl-0 = <&ts_int_default>;
0050 };
0051 };
0052
0053 &pronto {
0054 iris {
0055 compatible = "qcom,wcn3660b";
0056 };
0057 };
0058
0059 &touchkey {
0060 vcc-supply = <®_touch_key>;
0061 vdd-supply = <®_touch_key>;
0062 };
0063
0064 &msmgpio {
0065 tkey_en_default: tkey-en-default {
0066 pins = "gpio97";
0067 function = "gpio";
0068
0069 drive-strength = <2>;
0070 bias-disable;
0071 };
0072 };