Skip to content

Commit

Permalink
Add support for Xiaomi Redmi 7A (pine)
Browse files Browse the repository at this point in the history
  • Loading branch information
hitechshell authored and M0Rf30 committed Feb 24, 2024
1 parent 4c4de36 commit a90b8d4
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ and then loaded by lk2nd.
- Xiaomi Redmi S2 / Y2 - ysl
- Xiaomi Redmi 6 Pro - sakura
- Xiaomi Redmi 7 - onclite
- Xiaomi Redmi 7A - pine
- 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 @@ -25,7 +25,8 @@ endif
ifeq ($(PROJECT), msm8952-secondary)
DTBS += \
$(LOCAL_DIR)/msm8940-xiaomi-santoni.dtb \
$(LOCAL_DIR)/msm8940-xiaomi-ugg.dtb
$(LOCAL_DIR)/msm8940-xiaomi-ugg.dtb \
$(LOCAL_DIR)/sdm439-xiaomi-pine.dtb
endif
ifeq ($(PROJECT), msm8917-secondary)
DTBS += \
Expand Down
19 changes: 19 additions & 0 deletions dts/sdm439-xiaomi-pine.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/dts-v1/;

/include/ "msm8952.dtsi"

/ {
compatible = "qcom,sdm439", "xiaomi,pine", "lk2nd,device";
model = "Xiaomi Redmi 7A";
qcom,msm-id = <353 0x00>;
qcom,board-id = <0xb 2>;

// Bootloader won't continue if it can't delete some nodes from below
soc {
#address-cells = <1>;
#size-cells = <1>;
ranges = <0x0 0x0 0x0 0xffffffff>;
};

__symbols__ {};
};

0 comments on commit a90b8d4

Please sign in to comment.