diff --git a/Documentation/devices.md b/Documentation/devices.md index 24456e2a7..fe15a0e39 100644 --- a/Documentation/devices.md +++ b/Documentation/devices.md @@ -80,6 +80,7 @@ ### lk2nd-msm8953 +- Asus Zenfone 3 ZE520KL/ZE552KL (zenfone3) - Fairphone 3 - Huawei Maimang 5 / Nova (Plus) / G9 (Plus) - Lenovo P2 (kuntao) diff --git a/lk2nd/device/dts/msm8953/msm8953-asus-zenfone3.dts b/lk2nd/device/dts/msm8953/msm8953-asus-zenfone3.dts new file mode 100644 index 000000000..bd327c8ce --- /dev/null +++ b/lk2nd/device/dts/msm8953/msm8953-asus-zenfone3.dts @@ -0,0 +1,26 @@ +// SPDX-License-Identifier: BSD-3-Clause + +/dts-v1/; + +#include +#include + +/ { + qcom,msm-id = ; + qcom,board-id = <21 0>; +}; + +&lk2nd { + model = "Asus Zenfone 3"; + compatible = "asus,zenfone3"; + lk2nd,dtb-files = "msm8953-asus-zenfone3"; + + gpio-keys { + compatible = "gpio-keys"; + + volume-down { + lk2nd,code = ; + gpios = <&tlmm 13 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; + }; + }; +}; diff --git a/lk2nd/device/dts/msm8953/rules.mk b/lk2nd/device/dts/msm8953/rules.mk index 45447d89d..8da684619 100644 --- a/lk2nd/device/dts/msm8953/rules.mk +++ b/lk2nd/device/dts/msm8953/rules.mk @@ -3,6 +3,7 @@ LOCAL_DIR := $(GET_LOCAL_DIR) ADTBS += \ $(LOCAL_DIR)/apq8053-lenovo-cd-18781y.dtb \ + $(LOCAL_DIR)/msm8953-asus-zenfone3.dtb \ $(LOCAL_DIR)/msm8953-huawei-milan.dtb \ $(LOCAL_DIR)/msm8953-lenovo-kuntao.dtb \ $(LOCAL_DIR)/msm8953-motorola-deen.dtb \