1995d1ac5SLin, Meng-Bo// SPDX-License-Identifier: GPL-2.0-only
2995d1ac5SLin, Meng-Bo
3995d1ac5SLin, Meng-Bo/dts-v1/;
4995d1ac5SLin, Meng-Bo
5995d1ac5SLin, Meng-Bo#include "msm8916-samsung-e2015-common.dtsi"
6995d1ac5SLin, Meng-Bo
7995d1ac5SLin, Meng-Bo/*
8995d1ac5SLin, Meng-Bo * NOTE: The original firmware from Samsung can only boot ARM32 kernels on some
9995d1ac5SLin, Meng-Bo * variants.
10995d1ac5SLin, Meng-Bo * Unfortunately, the firmware is signed and cannot be replaced easily.
11995d1ac5SLin, Meng-Bo * There seems to be no way to boot ARM64 kernels on 32-bit devices at the
12995d1ac5SLin, Meng-Bo * moment, even though the hardware would support it.
13995d1ac5SLin, Meng-Bo *
14995d1ac5SLin, Meng-Bo * However, it is possible to use this device tree by compiling an ARM32 kernel
15995d1ac5SLin, Meng-Bo * instead. For clarity and build testing this device tree is maintained next
16995d1ac5SLin, Meng-Bo * to the other MSM8916 device trees. However, it is actually used through
17995d1ac5SLin, Meng-Bo * arch/arm/boot/dts/qcom-msm8916-samsung-e5.dts
18995d1ac5SLin, Meng-Bo */
19995d1ac5SLin, Meng-Bo
20995d1ac5SLin, Meng-Bo/ {
21995d1ac5SLin, Meng-Bo	model = "Samsung Galaxy E5";
22995d1ac5SLin, Meng-Bo	compatible = "samsung,e5", "qcom,msm8916";
23995d1ac5SLin, Meng-Bo	chassis-type = "handset";
24995d1ac5SLin, Meng-Bo};
25*befa7979SLin, Meng-Bo
26*befa7979SLin, Meng-Bo&blsp_i2c5 {
27*befa7979SLin, Meng-Bo	status = "okay";
28*befa7979SLin, Meng-Bo
29*befa7979SLin, Meng-Bo	touchscreen@48 {
30*befa7979SLin, Meng-Bo		compatible = "melfas,mms345l";
31*befa7979SLin, Meng-Bo		reg = <0x48>;
32*befa7979SLin, Meng-Bo
33*befa7979SLin, Meng-Bo		interrupts-extended = <&tlmm 13 IRQ_TYPE_EDGE_FALLING>;
34*befa7979SLin, Meng-Bo
35*befa7979SLin, Meng-Bo		touchscreen-size-x = <720>;
36*befa7979SLin, Meng-Bo		touchscreen-size-y = <1280>;
37*befa7979SLin, Meng-Bo
38*befa7979SLin, Meng-Bo		avdd-supply = <&reg_vdd_tsp_a>;
39*befa7979SLin, Meng-Bo		vdd-supply = <&pm8916_l6>;
40*befa7979SLin, Meng-Bo
41*befa7979SLin, Meng-Bo		pinctrl-0 = <&ts_int_default>;
42*befa7979SLin, Meng-Bo		pinctrl-names = "default";
43*befa7979SLin, Meng-Bo	};
44*befa7979SLin, Meng-Bo};
45