From 47d4dc90181c8ffa9ebcbd058e312873a46aeaca Mon Sep 17 00:00:00 2001 From: Alexey Klimov Date: Wed, 25 Mar 2026 00:26:32 +0000 Subject: [PATCH] arm64: dts: exynos850: Add syscon-poweroff node Without poweroff node Exynos850-based board continue to draw current (around ~60 mA with my test setup) after poweroff. Kernel also reports different lockup problems and RCU stalls warnings continuosly after last kernel messages about hardware being switched off. Turns out we missed a write to PMU's PS_HOLD_CONTROL (PMU + 0x30c) register that actually switches the SoC off. Add poweroff node that implements this. With this change the current draw after power off is in range of few milliampers and lockup messages are no more. Signed-off-by: Alexey Klimov Link: https://patch.msgid.link/20260325-exynos850-poweroff-v1-1-34c19c06e74d@linaro.org Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/exynos/exynos850.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynos850.dtsi b/arch/arm64/boot/dts/exynos/exynos850.dtsi index cb55015c8dce..3881f573ec08 100644 --- a/arch/arm64/boot/dts/exynos/exynos850.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos850.dtsi @@ -215,6 +215,13 @@ pmu_system_controller: system-controller@11860000 { compatible = "samsung,exynos850-pmu", "syscon"; reg = <0x11860000 0x10000>; + poweroff: syscon-poweroff { + compatible = "syscon-poweroff"; + offset = <0x30c>; /* PS_HOLD_CONTROL */ + mask = <0x00000100>; + value = <0x0>; + }; + reboot: syscon-reboot { compatible = "syscon-reboot"; regmap = <&pmu_system_controller>;