]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
arm64: dts: exynos: gs101: add dm-verity-device-corrupted syscon-reboot-mode
authorAndré Draszik <andre.draszik@linaro.org>
Sat, 24 May 2025 05:21:31 +0000 (06:21 +0100)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Fri, 27 Jun 2025 09:13:17 +0000 (11:13 +0200)
On gs101, the boot mode is stored both in a syscon register, and in
nvmem.

Add the dm-verity-device-corrupted reboot mode to the syscon-reboot-
based boot mode as well, as both (nvmem & syscon) modes should be in
sync.

Signed-off-by: André Draszik <andre.draszik@linaro.org>
Reviewed-by: Peter Griffin <peter.griffin@linaro.org>
Link: https://lore.kernel.org/r/20250524-b4-max77759-mfd-dts-v2-4-b479542eb97d@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
arch/arm64/boot/dts/exynos/google/gs101.dtsi

index 94aa0ffb9a9760c58818c0417001fd187b048ea8..7fc3d803de39e654c1e8102b5e0f68995c3ab8e2 100644 (file)
                                offset = <0x0810>; /* EXYNOS_PMU_SYSIP_DAT0 */
                                mode-bootloader = <0xfc>;
                                mode-charge = <0x0a>;
+                               mode-dm-verity-device-corrupted = <0x50>;
                                mode-fastboot = <0xfa>;
                                mode-reboot-ab-update = <0x52>;
                                mode-recovery = <0xff>;