[PATCH 3/3] arm64: dts: ti: k3-am62l-wakeup: describe DEVSTAT as syscon
Ahmad Fatoum
a.fatoum at pengutronix.de
Tue Dec 1 06:45:20 PST 2026
The mask ROM code of the AM62L reads the boot mode from the DEVSTAT
register at 0x43010030 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 at pengutronix.de>
---
arch/arm64/boot/dts/ti/k3-am62l-wakeup.dtsi | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm64/boot/dts/ti/k3-am62l-wakeup.dtsi b/arch/arm64/boot/dts/ti/k3-am62l-wakeup.dtsi
index b5b70e71a0b7..d37395c9b886 100644
--- a/arch/arm64/boot/dts/ti/k3-am62l-wakeup.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am62l-wakeup.dtsi
@@ -137,6 +137,11 @@ cpsw_mac_syscon: ethernet-mac-syscon at 2000 {
reg = <0x2000 0x8>;
};
+ devstat: syscon at 10030 {
+ compatible = "ti,am62l-devstat", "syscon", "simple-mfd";
+ reg = <0x10030 0x4>;
+ };
+
usb_phy_ctrl: syscon at 45000 {
compatible = "ti,am62-usb-phy-ctrl", "syscon";
reg = <0x45000 0x1000>;
--
2.47.3
More information about the linux-arm-kernel
mailing list