Skip to content

Commit

Permalink
dts: msm8952: Add support for Motorola Moto G6 Play (XT1922-9, "jeter")
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewgigena committed Dec 16, 2024
1 parent 52778c2 commit 905ced4
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
26 changes: 26 additions & 0 deletions lk2nd/device/dts/msm8952/msm8920-motorola-jeter.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
// SPDX-License-Identifier: BSD-3-Clause

#include <skeleton64.dtsi>
#include <lk2nd.dtsi>

/ {
qcom,msm-id = <QCOM_ID_MSM8920 0x00>;
qcom,board-id = <0x43 0x8000>,
<0x43 0x83a0>;

/*
* model is required by bootloader to pick dtb.
* The bootloader also crashes if model isn't present in every dtb. (see lk2nd.dtsi for more info)
* Build with: make TOOLCHAIN_PREFIX=arm-none-eabi- SIGN_BOOTIMG=1 LK2ND_ADTBS="msm8920-motorola-jeter.dtb" LK2ND_DTBS="" lk2nd-msm8952
*/

model = "jeter";
};

&lk2nd {
model = "Motorola Moto G6 Play (jeter) (MSM8920)";
compatible = "motorola,jeter";
lk2nd,match-device = "jeter";

lk2nd,dtb-files = "msm8920-motorola-jeter";
};
1 change: 1 addition & 0 deletions lk2nd/device/dts/msm8952/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ ADTBS += \
$(LOCAL_DIR)/msm8917-mtp.dtb \
$(LOCAL_DIR)/msm8917-xiaomi-rolex.dtb \
$(LOCAL_DIR)/msm8917-xiaomi-riva.dtb \
$(LOCAL_DIR)/msm8920-motorola-jeter.dtb \
$(LOCAL_DIR)/msm8937-huawei-aum.dtb \
$(LOCAL_DIR)/msm8937-motorola-jeter.dtb \
$(LOCAL_DIR)/msm8937-mtp.dtb \
Expand Down

0 comments on commit 905ced4

Please sign in to comment.