[PATCH 2/3] arm64: dts: ti: k3-am62-wakeup: describe DEVSTAT as syscon
From: Ahmad Fatoum
Date: Tue Dec 01 2026 - 09:45:41 EST
The mask ROM code of the AM62x reads the boot mode from the DEVSTAT
register at 0x43000030 on every reset. It can be rewritten by software
prior to warm reboot to change the next boot's medium, e.g. to SD or DFU.
Let's describe the register as syscon, so a syscon-reboot-mode node can
be placed below it. The reboot modes themselves are left out:
Board device trees can describe their own or the bootloader can fix them
up as barebox already does if it finds the parent syscon in the kernel
device tree.
Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx>
---
arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi b/arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi
index 75aed3a88284..d7eaba599d03 100644
--- a/arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi
@@ -27,6 +27,11 @@ opp_efuse_table: syscon@18 {
reg = <0x18 0x4>;
};
+ devstat: syscon@30 {
+ compatible = "ti,am62-devstat", "syscon", "simple-mfd";
+ reg = <0x30 0x4>;
+ };
+
cpsw_mac_syscon: ethernet-mac-syscon@200 {
compatible = "ti,am62p-cpsw-mac-efuse", "syscon";
reg = <0x200 0x8>;
--
2.47.3