Skip to content

Commit 143d3bc

Browse files
185264646wonderfulShrineMaidenOfParadise
authored andcommitted
dts: msm8916: 512mb-mtp: Add 4G modem stick ufi-001c/ufi-001b
Co-authored-by: Raymond Hackley <raymondhackley@protonmail.com> Signed-off-by: notfound405 <forbidden405@foxmail.com>
1 parent 791941e commit 143d3bc

File tree

3 files changed

+23
-0
lines changed

3 files changed

+23
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ page on the EFIDroid wiki for an exact mapping of LK targets to SoCs.
9595
- Xiaomi Mi 4i - ferrari
9696
- Xiaomi Redmi 2 - wt86047, wt88047
9797
- Yamada EveryPad III (rebrand of Lenovo PHAB Plus)
98+
- Zhihe-series 4G Modem Stick - ufi-001c(b)
9899

99100
### lk2nd-msm8974
100101
- Fairphone 2 - FP2

dts/msm8916/msm8916-512mb-mtp.dts

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
// SPDX-License-Identifier: GPL-2.0-only
2+
3+
/dts-v1/;
4+
5+
#include <skeleton.dtsi>
6+
#include <lk2nd.h>
7+
8+
/ {
9+
compatible = "qcom,msm8916-512mb-mtp", "qcom,msm8916";
10+
qcom,msm-id = <206 0>;
11+
qcom,board-id = <8 0x100>;
12+
13+
zhihe-ufi-001c {
14+
model = "ufi-001b/ufi-001c 4G Modem Stick";
15+
compatible = "zhihe,ufi-001c", "qcom,msm8916", "lk2nd,device";
16+
17+
/* Register EDL button as HOME button */
18+
/* This is the only button on this device */
19+
lk2nd,keys = <KEY_HOME 37 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>;
20+
};
21+
};

dts/msm8916/rules.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ DTBS += \
88
$(LOCAL_DIR)/msm8216-samsung-r05.dtb \
99
$(LOCAL_DIR)/msm8216-samsung-r07.dtb \
1010
$(LOCAL_DIR)/msm8216-samsung-r08.dtb \
11+
$(LOCAL_DIR)/msm8916-512mb-mtp.dtb \
1112
$(LOCAL_DIR)/msm8916-asus-z00l.dtb \
1213
$(LOCAL_DIR)/msm8916-huawei-g7-l01.dtb \
1314
$(LOCAL_DIR)/msm8916-huawei-hwt1a21l.dtb \

0 commit comments

Comments
 (0)