Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Lenovo P2 (lenovo-kuntao) #65

Merged
merged 1 commit into from
Mar 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading