Skip to content

Commit

Permalink
dts: msm8226: Add Motorola Moto G 2014 (titan)
Browse files Browse the repository at this point in the history
  • Loading branch information
David Wales committed Apr 17, 2024
1 parent b5a2185 commit d22cf96
Show file tree
Hide file tree
Showing 7 changed files with 96 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ page on the EFIDroid wiki for an exact mapping of LK targets to SoCs.
- LG G Watch R - lenok (use `lk2nd-appended-dtb.img`)
- Motorola Moto G 2013 - falcon
- Motorola Moto G 4G 2013 - peregrine
- Motorola Moto G 2014 - titan
- Samsung Galaxy Grand 2 - SM-G7102
- Samsung Galaxy Tab 4 10.1 (2014) - SM-T530, SM-T535
- Samsung Galaxy Tab 4 8.0 (2014) - SM-T330, SM-T330NU
Expand Down
18 changes: 18 additions & 0 deletions dts/msm8226/msm8226-motorola-titan-4b.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// SPDX-License-Identifier: GPL-2.0-only

/dts-v1/;

#include <skeleton.dtsi>
#include <lk2nd.h>

/ {
// This is used by the bootloader to find the correct DTB
qcom,msm-id = <145 0x4b 0x8100>,
<145 0x4b 0x8200>,
<145 0x4b 0x8300>,
<145 0x4b 0x8400>,
<145 0x4b 0x8500>;

model = "Motorola Moto G 2014 (4b)";
compatible = "motorola,titan", "qcom,msm8226", "lk2nd,device";
};
18 changes: 18 additions & 0 deletions dts/msm8226/msm8226-motorola-titan-4c.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// SPDX-License-Identifier: GPL-2.0-only

/dts-v1/;

#include <skeleton.dtsi>
#include <lk2nd.h>

/ {
// This is used by the bootloader to find the correct DTB
qcom,msm-id = <145 0x4c 0x8100>,
<145 0x4c 0x8200>,
<145 0x4c 0x8300>,
<145 0x4c 0x8400>,
<145 0x4c 0x8500>;

model = "Motorola Moto G 2014 (4c)";
compatible = "motorola,titan", "qcom,msm8226", "lk2nd,device";
};
18 changes: 18 additions & 0 deletions dts/msm8226/msm8226-motorola-titan-4d.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// SPDX-License-Identifier: GPL-2.0-only

/dts-v1/;

#include <skeleton.dtsi>
#include <lk2nd.h>

/ {
// This is used by the bootloader to find the correct DTB
qcom,msm-id = <145 0x4d 0x8100>,
<145 0x4d 0x8200>,
<145 0x4d 0x8300>,
<145 0x4d 0x8400>,
<145 0x4d 0x8500>;

model = "Motorola Moto G 2014 (4d)";
compatible = "motorola,titan", "qcom,msm8226", "lk2nd,device";
};
18 changes: 18 additions & 0 deletions dts/msm8226/msm8226-motorola-titan-4e.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// SPDX-License-Identifier: GPL-2.0-only

/dts-v1/;

#include <skeleton.dtsi>
#include <lk2nd.h>

/ {
// This is used by the bootloader to find the correct DTB
qcom,msm-id = <145 0x4e 0x8100>,
<145 0x4e 0x8200>,
<145 0x4e 0x8300>,
<145 0x4e 0x8400>,
<145 0x4e 0x8500>;

model = "Motorola Moto G 2014 (4e)";
compatible = "motorola,titan", "qcom,msm8226", "lk2nd,device";
};
18 changes: 18 additions & 0 deletions dts/msm8226/msm8226-motorola-titan-4f.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// SPDX-License-Identifier: GPL-2.0-only

/dts-v1/;

#include <skeleton.dtsi>
#include <lk2nd.h>

/ {
// This is used by the bootloader to find the correct DTB
qcom,msm-id = <145 0x4f 0x8100>,
<145 0x4f 0x8200>,
<145 0x4f 0x8300>,
<145 0x4f 0x8400>,
<145 0x4f 0x8500>;

model = "Motorola Moto G 2014 (4f)";
compatible = "motorola,titan", "qcom,msm8226", "lk2nd,device";
};
5 changes: 5 additions & 0 deletions dts/msm8226/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ DTBS += \
$(LOCAL_DIR)/apq8026-samsung-r03.dtb \
$(LOCAL_DIR)/apq8026-samsung-r09.dtb \
$(LOCAL_DIR)/msm8226-motorola-falcon.dtb \
$(LOCAL_DIR)/msm8226-motorola-titan-4b.dtb \
$(LOCAL_DIR)/msm8226-motorola-titan-4c.dtb \
$(LOCAL_DIR)/msm8226-motorola-titan-4d.dtb \
$(LOCAL_DIR)/msm8226-motorola-titan-4e.dtb \
$(LOCAL_DIR)/msm8226-motorola-titan-4f.dtb \
$(LOCAL_DIR)/msm8226-samsung-ms013g.dtb \
$(LOCAL_DIR)/msm8926-htc-memul.dtb \
$(LOCAL_DIR)/msm8926-huawei-g6-l11-vb.dtb \
Expand Down

0 comments on commit d22cf96

Please sign in to comment.