1 // SPDX-License-Identifier: GPL-2.0-only
5 #include "msm8916-pm8916.dtsi"
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/input/input.h>
9 #include <dt-bindings/interrupt-controller/irq.h>
12 * NOTE: The original firmware from Acer can only boot 32-bit kernels.
13 * To boot this device tree using arm64 it is necessary to flash 64-bit
14 * TZ/HYP firmware (e.g. taken from the DragonBoard 410c).
15 * See https://wiki.postmarketos.org/wiki/Acer_Iconia_Talk_S_(acer-a1-724)
16 * for suggested installation instructions.
20 model = "Acer Iconia Talk S A1-724";
21 compatible = "acer,a1-724", "qcom,msm8916";
22 chassis-type = "tablet";
25 mmc0 = &sdhc_1; /* eMMC */
26 mmc1 = &sdhc_2; /* SD card */
27 serial0 = &blsp_uart2;
31 stdout-path = "serial0";
35 compatible = "gpio-keys";
37 pinctrl-names = "default";
38 pinctrl-0 = <&gpio_keys_default>;
40 label = "GPIO Buttons";
44 gpios = <&tlmm 107 GPIO_ACTIVE_LOW>;
45 linux,code = <KEY_VOLUMEUP>;
50 compatible = "linux,extcon-usb-gpio";
51 id-gpios = <&tlmm 110 GPIO_ACTIVE_HIGH>;
52 pinctrl-names = "default";
53 pinctrl-0 = <&usb_id_default>;
61 compatible = "bosch,bmc150_accel";
63 interrupt-parent = <&tlmm>;
64 interrupts = <115 IRQ_TYPE_EDGE_RISING>;
66 vdd-supply = <&pm8916_l17>;
67 vddio-supply = <&pm8916_l6>;
69 pinctrl-names = "default";
70 pinctrl-0 = <&accel_int_default>;
72 mount-matrix = "0", "-1", "0",
78 compatible = "bosch,bmc150_magn";
81 vdd-supply = <&pm8916_l17>;
82 vddio-supply = <&pm8916_l6>;
91 compatible = "edt,edt-ft5406";
94 interrupt-parent = <&tlmm>;
95 interrupts = <13 IRQ_TYPE_LEVEL_LOW>;
97 reset-gpios = <&tlmm 12 GPIO_ACTIVE_LOW>;
99 vcc-supply = <&pm8916_l16>;
100 iovcc-supply = <&pm8916_l6>;
102 touchscreen-size-x = <720>;
103 touchscreen-size-y = <1280>;
105 pinctrl-names = "default";
106 pinctrl-0 = <&touchscreen_default>;
115 linux,code = <KEY_VOLUMEDOWN>;
119 &pm8916_rpm_regulators {
121 regulator-min-microvolt = <2900000>;
122 regulator-max-microvolt = <2900000>;
126 regulator-min-microvolt = <2850000>;
127 regulator-max-microvolt = <2850000>;
140 pinctrl-names = "default", "sleep";
141 pinctrl-0 = <&sdc2_default &sdc2_cd_default>;
142 pinctrl-1 = <&sdc2_sleep &sdc2_cd_default>;
144 cd-gpios = <&tlmm 38 GPIO_ACTIVE_HIGH>;
150 extcon = <&usb_id>, <&usb_id>;
171 compatible = "qcom,wcn3620";
179 accel_int_default: accel-int-default-state {
183 drive-strength = <2>;
187 gpio_keys_default: gpio-keys-default-state {
191 drive-strength = <2>;
195 sdc2_cd_default: sdc2-cd-default-state {
198 drive-strength = <2>;
202 touchscreen_default: touchscreen-default-state {
206 drive-strength = <2>;
213 drive-strength = <2>;
218 usb_id_default: usb-id-default-state {
222 drive-strength = <8>;