[PATCH 2/2] arm64: dts: add msm8996 reboot mode support

Xiaogang Cui xiaogang at codeaurora.org
Thu Oct 13 19:09:32 PDT 2016


Add reboot mode entry for MSM8996 platform.

Signed-off-by: Xiaogang Cui <xiaogang at codeaurora.org>
---
 arch/arm64/boot/dts/qcom/pm8994.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/pm8994.dtsi b/arch/arm64/boot/dts/qcom/pm8994.dtsi
index 1222d2e..c9b14ab 100644
--- a/arch/arm64/boot/dts/qcom/pm8994.dtsi
+++ b/arch/arm64/boot/dts/qcom/pm8994.dtsi
@@ -51,6 +51,14 @@
 				     <0 0xa6 0 IRQ_TYPE_NONE>,
 				     <0 0xa7 0 IRQ_TYPE_NONE>;
 		};
+
+		qcom,reboot-mode at 88f {
+			compatible = "qcom,reboot-mode";
+			offset = <0x88f>;
+			mode-normal = <0x00>;
+			mode-recovery = <0x04>;
+			mode-bootloader = <0x08>;
+		};
 	};
 
 	pmic at 1 {
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project




More information about the linux-arm-kernel mailing list