Skip to content

Commit

Permalink
Add support for Lenovo P2 (lenovo-kuntao)
Browse files Browse the repository at this point in the history
Signed-off-by: Raihan Ahamed <[email protected]>
  • Loading branch information
raihan2000 authored and M0Rf30 committed Mar 9, 2024
1 parent 68e6796 commit d42b558
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ and then loaded by lk2nd.
- Xiaomi Mi A1 - tissot
- Samsung Galaxy Tab A2 XL WiFi (2018) - SM-T590
- Huawei Maimang 5 / Nova (Plus) / G9 (Plus) - milan
- Lenovo P2 - kuntao

## Installation
1. Download `lk2nd.img` (as of now there's no build available so you'll need to build it yourself.)
Expand Down
14 changes: 14 additions & 0 deletions dts/msm8953-lenovo-kuntao.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/dts-v1/;

/include/ "msm8953.dtsi"

/ {
#address-cells = <2>;
#size-cells = <2>;
qcom,msm-id = <0x125 0x00>;
qcom,board-id = <0x41 0x82b1 0x41 0x83b0>;

model = "Lenovo P2 (kuntao)";
compatible = "lenovo,kuntao", "qcom,msm8953", "lk2nd,device";
lk2nd,pstore = <0x8ee00000 0x80000>;
};
1 change: 1 addition & 0 deletions dts/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ endif
ifeq ($(PROJECT), msm8953-secondary)
DTBS += \
$(LOCAL_DIR)/msm8953-huawei-milan.dtb \
$(LOCAL_DIR)/msm8953-lenovo-kuntao.dtb \
$(LOCAL_DIR)/msm8953-meizu-m1721.dtb \
$(LOCAL_DIR)/msm8953-motorola-potter.dtb \
$(LOCAL_DIR)/msm8953-tenor-holland.dtb \
Expand Down

0 comments on commit d42b558

Please sign in to comment.