summaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/dts/qcom/pm8150.dtsi
diff options
context:
space:
mode:
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>2021-09-16 18:13:40 +0300
committerBjorn Andersson <bjorn.andersson@linaro.org>2021-09-24 09:42:40 -0500
commitc5c24373ad0cb412002fe543683eab34189ec5ba (patch)
tree928b82b9229e6c8057c1ec3adb3469bde5924dc2 /arch/arm64/boot/dts/qcom/pm8150.dtsi
parenta153d317168aa3d61a204fadc85bac3995381d33 (diff)
downloadlinux-c5c24373ad0cb412002fe543683eab34189ec5ba.tar.bz2
arm64: dts: qcom: pm8150: specify reboot mode magics
Specify recovery and bootloader magic values to be programmed by the qcom-pon driver. This allows the bootloader to handle reboot-to-bootloader functionality. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Tested-by: Amit Pundir <amit.pundir@linaro.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20210916151341.1797512-2-dmitry.baryshkov@linaro.org
Diffstat (limited to 'arch/arm64/boot/dts/qcom/pm8150.dtsi')
-rw-r--r--arch/arm64/boot/dts/qcom/pm8150.dtsi2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/pm8150.dtsi b/arch/arm64/boot/dts/qcom/pm8150.dtsi
index 00385b1fd358..0df76f7b1cc1 100644
--- a/arch/arm64/boot/dts/qcom/pm8150.dtsi
+++ b/arch/arm64/boot/dts/qcom/pm8150.dtsi
@@ -50,6 +50,8 @@
pon: power-on@800 {
compatible = "qcom,pm8998-pon";
reg = <0x0800>;
+ mode-bootloader = <0x2>;
+ mode-recovery = <0x1>;
pon_pwrkey: pwrkey {
compatible = "qcom,pm8941-pwrkey";