From 76de0da122a6284549c4068e12824eb5e9e32df3 Mon Sep 17 00:00:00 2001 From: Ping Jiang Date: Thu, 4 Mar 2021 15:02:17 +0800 Subject: [PATCH] ARM: dts: msm: Add power reset and watchdog nodes for sa8155 quin vm Enables virtual power reset and watchdog, adds related configuration for SA8155 GVM platform. Change-Id: Iccfcfec3e728e6a4c2da5c6c8877b5c3eafbe313 --- bindings/soc/qcom/qcom,vm-restart.txt | 12 ++++++++++++ qcom/quin-vm-common.dtsi | 17 +++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 bindings/soc/qcom/qcom,vm-restart.txt diff --git a/bindings/soc/qcom/qcom,vm-restart.txt b/bindings/soc/qcom/qcom,vm-restart.txt new file mode 100644 index 000000000000..486d6b104098 --- /dev/null +++ b/bindings/soc/qcom/qcom,vm-restart.txt @@ -0,0 +1,12 @@ +* VM Restart Driver + +VM restart driver supports virtual machine power down and restart. + +Required properties: +- compatible: Must be "qcom,vm-restart" + +Example: + vm_restart: restart { + compatible = "qcom,vm-restart"; + }; + diff --git a/qcom/quin-vm-common.dtsi b/qcom/quin-vm-common.dtsi index fe320ee1341b..60b86e1baeb6 100644 --- a/qcom/quin-vm-common.dtsi +++ b/qcom/quin-vm-common.dtsi @@ -279,4 +279,21 @@ cell-index = <0>; status = "okay"; }; + + wdog: qcom,wdt@17c10000 { + compatible = "qcom,msm-watchdog"; + reg = <0x17c10000 0x1000>; + reg-names = "wdt-base"; + interrupts = <0 0 IRQ_TYPE_LEVEL_HIGH>, + <0 1 IRQ_TYPE_LEVEL_HIGH>; + qcom,bark-time = <11000>; + qcom,pet-time = <9360>; + qcom,ipi-ping; + qcom,wakeup-enable; + }; + + vm_restart: restart { + compatible = "qcom,vm-restart"; + status = "ok"; + }; };