[PATCH v3 2/2] arm64: dts: qcom: purwa: Add PSCI SYSTEM_RESET2 types
From: Xin Liu
Date: Tue Sep 01 2026 - 04:08:25 EST
Add support for SYSTEM_RESET2 vendor-specific resets as
reboot-modes in the psci node. Describe the resets: "bootloader"
will cause device to reboot and stop in the bootloader's fastboot
mode. "edl" will cause device to reboot into "emergency download
mode", which permits loading images via the Firehose protocol.
Signed-off-by: Xin Liu <xin.liu@xxxxxxxxxxxxxxxx>
---
arch/arm64/boot/dts/qcom/purwa-iot-evk.dts | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/purwa-iot-evk.dts b/arch/arm64/boot/dts/qcom/purwa-iot-evk.dts
index ad503beec1d3..a6a1145f11dd 100644
--- a/arch/arm64/boot/dts/qcom/purwa-iot-evk.dts
+++ b/arch/arm64/boot/dts/qcom/purwa-iot-evk.dts
@@ -1180,6 +1180,13 @@ &pmk8550_pwm {
status = "okay";
};
+&psci {
+ reboot-mode {
+ mode-bootloader = <0x80010001 0x2>;
+ mode-edl = <0x80000000 0x1>;
+ };
+};
+
&sdhc_2 {
cd-gpios = <&tlmm 71 GPIO_ACTIVE_LOW>;
--
2.34.1