1// SPDX-License-Identifier: GPL-2.0-only
2
3/dts-v1/;
4
5#include "msm8916-samsung-e2015-common.dtsi"
6
7/*
8 * NOTE: The original firmware from Samsung can only boot ARM32 kernels on some
9 * variants.
10 * Unfortunately, the firmware is signed and cannot be replaced easily.
11 * There seems to be no way to boot ARM64 kernels on 32-bit devices at the
12 * moment, even though the hardware would support it.
13 *
14 * However, it is possible to use this device tree by compiling an ARM32 kernel
15 * instead. For clarity and build testing this device tree is maintained next
16 * to the other MSM8916 device trees. However, it is actually used through
17 * arch/arm/boot/dts/qcom-msm8916-samsung-e5.dts
18 */
19
20/ {
21	model = "Samsung Galaxy E5";
22	compatible = "samsung,e5", "qcom,msm8916";
23	chassis-type = "handset";
24};
25
26&blsp_i2c5 {
27	status = "okay";
28
29	touchscreen@48 {
30		compatible = "melfas,mms345l";
31		reg = <0x48>;
32
33		interrupts-extended = <&tlmm 13 IRQ_TYPE_EDGE_FALLING>;
34
35		touchscreen-size-x = <720>;
36		touchscreen-size-y = <1280>;
37
38		avdd-supply = <&reg_vdd_tsp_a>;
39		vdd-supply = <&pm8916_l6>;
40
41		pinctrl-0 = <&ts_int_default>;
42		pinctrl-names = "default";
43	};
44};
45