Skip to content

Commit

Permalink
dts: msm8916: 512mb-mtp: Add 4G modem stick ufi-001c/ufi-001b
Browse files Browse the repository at this point in the history
Co-authored-by: Raymond Hackley <raymondhackley@protonmail.com>
Signed-off-by: notfound405 <forbidden405@foxmail.com>
  • Loading branch information
2 people authored and TravMurav committed Dec 31, 2022
1 parent 791941e commit 143d3bc
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ page on the EFIDroid wiki for an exact mapping of LK targets to SoCs.
- Xiaomi Mi 4i - ferrari
- Xiaomi Redmi 2 - wt86047, wt88047
- Yamada EveryPad III (rebrand of Lenovo PHAB Plus)
- Zhihe-series 4G Modem Stick - ufi-001c(b)

### lk2nd-msm8974
- Fairphone 2 - FP2
Expand Down
21 changes: 21 additions & 0 deletions dts/msm8916/msm8916-512mb-mtp.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// SPDX-License-Identifier: GPL-2.0-only

/dts-v1/;

#include <skeleton.dtsi>
#include <lk2nd.h>

/ {
compatible = "qcom,msm8916-512mb-mtp", "qcom,msm8916";
qcom,msm-id = <206 0>;
qcom,board-id = <8 0x100>;

zhihe-ufi-001c {
model = "ufi-001b/ufi-001c 4G Modem Stick";
compatible = "zhihe,ufi-001c", "qcom,msm8916", "lk2nd,device";

/* Register EDL button as HOME button */
/* This is the only button on this device */
lk2nd,keys = <KEY_HOME 37 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>;
};
};
1 change: 1 addition & 0 deletions dts/msm8916/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ DTBS += \
$(LOCAL_DIR)/msm8216-samsung-r05.dtb \
$(LOCAL_DIR)/msm8216-samsung-r07.dtb \
$(LOCAL_DIR)/msm8216-samsung-r08.dtb \
$(LOCAL_DIR)/msm8916-512mb-mtp.dtb \
$(LOCAL_DIR)/msm8916-asus-z00l.dtb \
$(LOCAL_DIR)/msm8916-huawei-g7-l01.dtb \
$(LOCAL_DIR)/msm8916-huawei-hwt1a21l.dtb \
Expand Down

0 comments on commit 143d3bc

Please sign in to comment.