Add the Qualcomm PS_HOLD sysreset node for the Lemans EVK.

Link the reset driver to the PMIC PON peripheral and provide the PBS
PS_HOLD control register offsets required to configure warm and hard
resets before deasserting MPM_PS_HOLD.

Signed-off-by: Sumit Singh Dhami <[email protected]>
---
 arch/arm/dts/lemans-evk-u-boot.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm/dts/lemans-evk-u-boot.dtsi 
b/arch/arm/dts/lemans-evk-u-boot.dtsi
index fd4eaa2fec8..0e676bf4b55 100644
--- a/arch/arm/dts/lemans-evk-u-boot.dtsi
+++ b/arch/arm/dts/lemans-evk-u-boot.dtsi
@@ -64,3 +64,15 @@
                mode-edl = <0x80000000 0x00000001>;
        };
 };
+
+&soc {
+       restart@c264000 {
+               compatible = "qcom,pshold";
+               reg = <0x0 0x0c264000 0x0 0x4>;
+               qcom,pon = <&pmm8654au_0_pon>;
+               qcom,pbs-pshold-sw-ctl = <0x52>;
+               qcom,pbs-pshold-reset-ctl2 = <0x53>;
+
+               bootph-all;
+       };
+};
-- 
2.55.0

Reply via email to