Commit 14a65ea5 authored by Li Hua Qian's avatar Li Hua Qian Committed by Vignesh Raghavendra

arm64: dts: ti: Add reserved memory for watchdog

This patch adds a reserved memory for the TI AM65X platform watchdog
to reserve the specific info, triggering the watchdog reset in last
boot, to know if the board reboot is due to a watchdog reset.
Signed-off-by: default avatarLi Hua Qian <huaqian.li@siemens.com>
Link: https://lore.kernel.org/r/20240117060654.109424-1-huaqian.li@siemens.comSigned-off-by: default avatarVignesh Raghavendra <vigneshr@ti.com>
parent 2f277dbe
...@@ -76,6 +76,12 @@ rtos_ipc_memory_region: ipc-memories@a2000000 { ...@@ -76,6 +76,12 @@ rtos_ipc_memory_region: ipc-memories@a2000000 {
alignment = <0x1000>; alignment = <0x1000>;
no-map; no-map;
}; };
/* To reserve the power-on(PON) reason for watchdog reset */
wdt_reset_memory_region: wdt-memory@a2200000 {
reg = <0x00 0xa2200000 0x00 0x1000>;
no-map;
};
}; };
leds { leds {
...@@ -608,6 +614,10 @@ &mcu_r5fss0_core1 { ...@@ -608,6 +614,10 @@ &mcu_r5fss0_core1 {
mboxes = <&mailbox0_cluster1 &mbox_mcu_r5fss0_core1>; mboxes = <&mailbox0_cluster1 &mbox_mcu_r5fss0_core1>;
}; };
&mcu_rti1 {
memory-region = <&wdt_reset_memory_region>;
};
&icssg0_mdio { &icssg0_mdio {
status = "okay"; status = "okay";
pinctrl-names = "default"; pinctrl-names = "default";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment