mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-27 16:01:27 +00:00
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 <huaqian.li@siemens.com>
This commit is contained in:
parent
7dee63facc
commit
349699235d
1 changed files with 11 additions and 0 deletions
|
@ -64,6 +64,12 @@
|
||||||
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 0x00001000>;
|
||||||
|
no-map;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
leds {
|
leds {
|
||||||
|
@ -720,6 +726,11 @@
|
||||||
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 = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue