diff options
| author | Li Hua Qian <[email protected]> | 2023-08-29 11:46:21 +0800 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-09-08 10:07:12 -0400 |
| commit | 349699235dc0487911710aa482cd9c2eed0dabbd (patch) | |
| tree | e4c3a340c5364a4444355a598ab5a6eb6b27082c | |
| parent | 7dee63faccbcea41c9c0c2d177391438d5725da2 (diff) | |
Watchdog: Support WDIOF_CARDRESET on TI AM65x platform
To have the WDIOF_CARDRESET support for the TI AM65x platform watchdog,
this patch reserves some memories, which indicate if the current boot due
to a watchdog reset.
Signed-off-by: Li Hua Qian <[email protected]>
| -rw-r--r-- | arch/arm/dts/k3-am65-iot2050-common.dtsi | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/dts/k3-am65-iot2050-common.dtsi b/arch/arm/dts/k3-am65-iot2050-common.dtsi index 65da226847f..b6135b849f1 100644 --- a/arch/arm/dts/k3-am65-iot2050-common.dtsi +++ b/arch/arm/dts/k3-am65-iot2050-common.dtsi @@ -64,6 +64,12 @@ alignment = <0x1000>; no-map; }; + + /* To reserve the power-on(PON) reason for watchdog reset */ + wdt_reset_memory_region: wdt-memory@a2200000 { + reg = <0x00 0xa2200000 0x00 0x00001000>; + no-map; + }; }; leds { @@ -720,6 +726,11 @@ mboxes = <&mailbox0_cluster1 &mbox_mcu_r5fss0_core1>; }; +&mcu_rti1 { + memory-region = <&wdt_reset_memory_region>; + +}; + &icssg0_mdio { status = "disabled"; }; |
