]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: qcom: hamoa: Add the APSS watchdog
authorAbel Vesa <abel.vesa@oss.qualcomm.com>
Wed, 24 Dec 2025 10:45:21 +0000 (12:45 +0200)
committerBjorn Andersson <andersson@kernel.org>
Mon, 19 Jan 2026 19:39:51 +0000 (13:39 -0600)
The watchdog support in EL1 is SBSA compliant, handled by Gunyah
hypervisor, but in EL2. the watchdog is an instance of the APSS WDT HW
block, same as older platforms. So describe the APSS WDT node and mark
it as reserved, as it will only be enabled in EL2 overlay.

Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20251224-arm64-dts-qcom-x1e80100-el2-add-apss-wdt-v3-2-1801c55d2883@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/hamoa.dtsi

index 01434f8a5300c1714830015f2e4a1fa202d9e399..db65c392e6189920a137169b14b607c6acac6ce9 100644 (file)
                        };
                };
 
+               apss_watchdog: watchdog@17410000 {
+                       compatible = "qcom,apss-wdt-x1e80100", "qcom,kpss-wdt";
+                       reg = <0x0 0x17410000 0x0 0x1000>;
+                       clocks = <&sleep_clk>;
+                       interrupts = <GIC_SPI 0 IRQ_TYPE_EDGE_RISING>;
+                       status = "reserved"; /* Reserved by Gunyah */
+               };
+
                cpucp_mbox: mailbox@17430000 {
                        compatible = "qcom,x1e80100-cpucp-mbox";
                        reg = <0 0x17430000 0 0x10000>, <0 0x18830000 0 0x10000>;