Skip to content

Commit

Permalink
dts: msm8953: Add Asus Zenfone 3 ZE520KL/ZE552KL (zenfone3)
Browse files Browse the repository at this point in the history
  • Loading branch information
Smankusors authored Jul 27, 2024
1 parent e24cb16 commit e8947b3
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
1 change: 1 addition & 0 deletions Documentation/devices.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@

### lk2nd-msm8953

- Asus Zenfone 3 ZE520KL/ZE552KL (zenfone3)
- Fairphone 3
- Huawei Maimang 5 / Nova (Plus) / G9 (Plus)
- Lenovo P2 (kuntao)
Expand Down
26 changes: 26 additions & 0 deletions lk2nd/device/dts/msm8953/msm8953-asus-zenfone3.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
// SPDX-License-Identifier: BSD-3-Clause

/dts-v1/;

#include <skeleton64.dtsi>
#include <lk2nd.dtsi>

/ {
qcom,msm-id = <QCOM_ID_MSM8953 0>;
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 = <KEY_VOLUMEDOWN>;
gpios = <&tlmm 13 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
};
};
};
1 change: 1 addition & 0 deletions lk2nd/device/dts/msm8953/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit e8947b3

Please sign in to comment.