Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Li Hua Qian <huaqian.li@siemens.com>
Link: https://lore.kernel.org/r/20240117060654.109424-1-huaqian.li@siemens.com
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>

authored by

Li Hua Qian and committed by
Vignesh Raghavendra
14a65ea5 2f277dbe

+10
+10
arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi
··· 76 76 alignment = <0x1000>; 77 77 no-map; 78 78 }; 79 + 80 + /* To reserve the power-on(PON) reason for watchdog reset */ 81 + wdt_reset_memory_region: wdt-memory@a2200000 { 82 + reg = <0x00 0xa2200000 0x00 0x1000>; 83 + no-map; 84 + }; 79 85 }; 80 86 81 87 leds { ··· 612 606 memory-region = <&mcu_r5fss0_core1_dma_memory_region>, 613 607 <&mcu_r5fss0_core1_memory_region>; 614 608 mboxes = <&mailbox0_cluster1 &mbox_mcu_r5fss0_core1>; 609 + }; 610 + 611 + &mcu_rti1 { 612 + memory-region = <&wdt_reset_memory_region>; 615 613 }; 616 614 617 615 &icssg0_mdio {