Skip to content

Commit 9a63630

Browse files
dts: msm8952: add support for Xiaomi Redmi 8A
1 parent 68d7a81 commit 9a63630

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed

Documentation/devices.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@
107107
- Redmi 4X (santoni)
108108
- Redmi 5A (riva)
109109
- Redmi 7A (pine)
110+
- Redmi 8 (olive) / 8A (olivelite) / 8A Dual/Pro (olivewood)
110111
- Redmi GO (tiare)
111112
- Redmi Note 3 Pro (kenzo)
112113
- Redmi Note 5A (ugglite)

lk2nd/device/dts/msm8952/rules.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ ADTBS += \
2323
$(LOCAL_DIR)/sdm429-lenovo-tbx505x.dtb \
2424
$(LOCAL_DIR)/sdm429w-fossil-hoki.dtb \
2525
$(LOCAL_DIR)/sdm439-nokia-panther.dtb \
26+
$(LOCAL_DIR)/sdm439-xiaomi-olive.dtb \
2627
$(LOCAL_DIR)/sdm439-xiaomi-pine.dtb \
2728

2829
DTBS += \
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
// SPDX-License-Identifier: BSD-3-Clause
2+
3+
/dts-v1/;
4+
5+
#include <skeleton64.dtsi>
6+
#include <lk2nd.dtsi>
7+
8+
/ {
9+
qcom,msm-id = <QCOM_ID_SDM439 0x00>;
10+
qcom,board-id = <QCOM_BOARD_ID_QRD 8>;
11+
/* Bootloader appears to really want to access symbols */
12+
__symbols__ {};
13+
};
14+
15+
&lk2nd {
16+
model = "Xiaomi Redmi 8 (olive)";
17+
compatible = "qcom,sdm439", "xiaomi,olive";
18+
lk2nd,dtb-files = "sdm439-xiaomi-olive";
19+
};

0 commit comments

Comments
 (0)