[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260107194541.1843999-2-dario.binacchi@amarulasolutions.com>
Date: Wed, 7 Jan 2026 20:45:33 +0100
From: Dario Binacchi <dario.binacchi@...rulasolutions.com>
To: linux-kernel@...r.kernel.org
Cc: linux-amarula@...rulasolutions.com,
Dario Binacchi <dario.binacchi@...rulasolutions.com>,
Alexandre Torgue <alexandre.torgue@...s.st.com>,
Conor Dooley <conor+dt@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Maxime Coquelin <mcoquelin.stm32@...il.com>,
Rob Herring <robh@...nel.org>,
devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-stm32@...md-mailman.stormreply.com
Subject: [PATCH 2/2] arm64: dts: st: add TAMP-NVRAM support for STM32MP25
Add the TAMP node along with its NVRAM child node and define the
fixed-layout for fwu_info and boot_mode registers.
The TAMP (Tamper and backup registers) block is a system controller that
provides access to backup registers as NVMEM storage that persists across
reboots.
Signed-off-by: Dario Binacchi <dario.binacchi@...rulasolutions.com>
---
arch/arm64/boot/dts/st/stm32mp251.dtsi | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/arch/arm64/boot/dts/st/stm32mp251.dtsi b/arch/arm64/boot/dts/st/stm32mp251.dtsi
index a8e6e0f77b83..c7839e732f31 100644
--- a/arch/arm64/boot/dts/st/stm32mp251.dtsi
+++ b/arch/arm64/boot/dts/st/stm32mp251.dtsi
@@ -2084,6 +2084,32 @@ rtc: rtc@...00000 {
status = "disabled";
};
+ tamp: tamp@...10000 {
+ compatible = "st,stm32-tamp", "syscon", "simple-mfd";
+ #address-cells = <1>;
+ #size-cells = <1>;
+ reg = <0x46010000 0x400>;
+ ranges;
+
+ nvram: nvram@...10100 {
+ compatible = "st,stm32mp25-tamp-nvram";
+ reg = <0x46010100 0x200>;
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ fwu_info: tamp-bkp@c0 {
+ reg = <0xc0 0x4>;
+ };
+
+ boot_mode: tamp-bkp@180 {
+ reg = <0x180 0x4>;
+ };
+ };
+ };
+ };
+
pinctrl_z: pinctrl@...00000 {
#address-cells = <1>;
#size-cells = <1>;
--
2.43.0
base-commit: f0b9d8eb98dfee8d00419aa07543bdc2c1a44fb1
branch: stm32-tamp-nvram
Powered by blists - more mailing lists