| 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 |
&battery { |
| 27 |
charge-term-current-microamp = <200000>; |
| 28 |
constant-charge-current-max-microamp = <1500000>; |
| 29 |
constant-charge-voltage-max-microvolt = <4350000>; |
| 30 |
}; |
| 31 |
|
| 32 |
&blsp_i2c5 { |
| 33 |
status = "okay"; |
| 34 |
|
| 35 |
touchscreen@48 { |
| 36 |
compatible = "melfas,mms345l"; |
| 37 |
reg = <0x48>; |
| 38 |
|
| 39 |
interrupts-extended = <&tlmm 13 IRQ_TYPE_EDGE_FALLING>; |
| 40 |
|
| 41 |
touchscreen-size-x = <720>; |
| 42 |
touchscreen-size-y = <1280>; |
| 43 |
|
| 44 |
avdd-supply = <®_vdd_tsp_a>; |
| 45 |
vdd-supply = <&pm8916_l6>; |
| 46 |
|
| 47 |
pinctrl-0 = <&ts_int_default>; |
| 48 |
pinctrl-names = "default"; |
| 49 |
}; |
| 50 |
}; |