Skip to content

Commit

Permalink
Add support for Xiaomi Redmi 7 (onclite)
Browse files Browse the repository at this point in the history
  • Loading branch information
barni2000 committed Aug 10, 2023
1 parent 54174be commit b54dce4
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ and then loaded by lk2nd.
- Xiaomi Redmi Note 5 / 5 Plus Snapdragon - vince
- Xiaomi Redmi S2 / Y2 - ysl
- Xiaomi Redmi 6 Pro - sakura
- Xiaomi Redmi 7 - onclite
- Meizu M6 Note - m1721
- Motorola Moto G7 Power - ocean
- Xiaomi Mi A2 Lite - daisy
Expand Down
3 changes: 2 additions & 1 deletion dts/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ DTBS += \
$(LOCAL_DIR)/sdm450-samsung-r04.dtb \
$(LOCAL_DIR)/sdm450-samsung-r05.dtb \
$(LOCAL_DIR)/sdm632-fairphone-fp3.dtb \
$(LOCAL_DIR)/sdm632-motorola-ocean.dtb
$(LOCAL_DIR)/sdm632-motorola-ocean.dtb \
$(LOCAL_DIR)/sdm632-xiaomi-onclite.dtb
endif
ifeq ($(PROJECT), msm8952-secondary)
DTBS += \
Expand Down
12 changes: 12 additions & 0 deletions dts/sdm632-xiaomi-onclite.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/dts-v1/;

/include/ "msm8953.dtsi"

/ {
model = "Xiaomi Redmi 7 (onclite)";
compatible = "xiaomi,onclite", "qcom,sdm632", "lk2nd,device";
qcom,msm-id = <349 0>;
qcom,board-id = <8 0>;

__symbols__ {};
};

0 comments on commit b54dce4

Please sign in to comment.