diff --git a/Documentation/devices.md b/Documentation/devices.md index 596dbea64..8e1f25359 100644 --- a/Documentation/devices.md +++ b/Documentation/devices.md @@ -158,6 +158,7 @@ - LG V20 - h990 - OnePlus 3T +- Xiaomi Mi5 - Gemini ### lk2nd-msm8960 diff --git a/lk2nd/device/dts/msm8996/msm8996-xiaomi-mi5.dts b/lk2nd/device/dts/msm8996/msm8996-xiaomi-mi5.dts new file mode 100644 index 000000000..8b6bfe5bd --- /dev/null +++ b/lk2nd/device/dts/msm8996/msm8996-xiaomi-mi5.dts @@ -0,0 +1,15 @@ +// SPDX-License-Identifier: BSD-3-Clause + +#include +#include + +/ { + qcom,msm-id = ; + qcom,board-id = <31 0>, <32 0>; + qcom,pmic-id = <0x20009 0x2000a 0x00 0x00>; +}; + +&lk2nd { + model = "Xiaomi Mi 5"; + compatible = "xiaomi,gemini"; +}; diff --git a/lk2nd/device/dts/msm8996/rules.mk b/lk2nd/device/dts/msm8996/rules.mk index acdfd2a43..e6d5865c0 100644 --- a/lk2nd/device/dts/msm8996/rules.mk +++ b/lk2nd/device/dts/msm8996/rules.mk @@ -4,3 +4,4 @@ LOCAL_DIR := $(GET_LOCAL_DIR) ADTBS += \ $(LOCAL_DIR)/msm8996pro-oneplus3t.dtb \ $(LOCAL_DIR)/msm8996-lg-h990.dtb \ + $(LOCAL_DIR)/msm8996-xiaomi-mi5.dtb \