Hi,
We use DM8168 in custom design based on UD-WORKS sample. We try to enable OMAP Watchdog in u-boot for DM8168.
After I enabled watchdog for testing --> I get a reset every second.
__raw_writel(0xAAAA, WDT_WSPR);
while(__raw_readl(WDT_WWPS) & 0x10);
__raw_writel(0x5555, WDT_WSPR);
while(__raw_readl(WDT_WWPS) & 0x10);
/* Unfreeze WDT */
__raw_writel(0x2, WDT_UNFREEZE);
/* Sequence to enable the watchdog */
__raw_writel(0xBBBB, WDT_WSPR);
while(__raw_readl(WDT_WWPS) & 0x10);
__raw_writel(0x4444, WDT_WSPR);
while(__raw_readl(WDT_WWPS) & 0x10);
We did read in "e2e.ti.com/.../327054"
that the Watchdog timer is configured, enabled and then disabled by the DM814x ROM code (configured for 10s).
Does DM8168 ROM code does the same (10s timeout) ?