Skip to content

Commit

Permalink
dts : Add HTC Desire 12+ (brepdugl) Support
Browse files Browse the repository at this point in the history
  • Loading branch information
Hinokami-Kagura authored and M0Rf30 committed Mar 16, 2024
1 parent 695d1c4 commit 75a9de8
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions dts/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ DTBS += \
$(LOCAL_DIR)/msm8953-xiaomi-markw.dtb \
$(LOCAL_DIR)/msm8953-xiaomi-vince.dtb \
$(LOCAL_DIR)/msm8953-xiaomi-ysl.dtb \
$(LOCAL_DIR)/sdm450-htc-brepdugl.dtb \
$(LOCAL_DIR)/sdm450-samsung-r04.dtb \
$(LOCAL_DIR)/sdm450-samsung-r05.dtb \
$(LOCAL_DIR)/sdm450-xiaomi-rosy.dtb \
Expand Down
22 changes: 22 additions & 0 deletions dts/sdm450-htc-brepdugl.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// SPDX-License-Identifier: GPL-2.0-only

/dts-v1/;

/include/ "msm8953.dtsi"

/ {
// This is used by the bootloader to find the correct DTB
qcom,msm-id = <0x152 0x0>;
qcom,board-id = <0x2000b 0x0>;

model = "HTC Desire 12+ (brepdugl)";
compatible = "htc,brepdugl", "qcom,msm8953", "lk2nd,device";

// 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>;

};
};

0 comments on commit 75a9de8

Please sign in to comment.