AST2500 Watchdog Timer Device Tree Entry

Nolan Hergert nolan.hergert at gmail.com
Fri Feb 17 06:01:51 AEDT 2017


To Joel in particular,

Thanks for making a WDT driver for the Aspeed chips already! It makes
diving into these things a lot easier.

I didn't understand some of the things in the aspeed-g5.dtsi file though:

wdt1: wdt at 1e785000 {
compatible = "aspeed,ast2500-wdt";
reg = <0x1e785000 0x1c>;
};

wdt2: wdt at 1e785020 {
compatible = "aspeed,ast2500-wdt";
reg = <0x1e785020 0x1c>;
status = "disabled";
};

wdt3: wdt at 1e785040 {
compatible = "aspeed,wdt";
reg = <0x1e785074 0x1c>;
status = "disabled";
};


  * Register lengths are 0x1C instead of 0x20. The skipped register in the
datasheet for AST2500 is determining which hw modules to reset, which
sounds like something we'd want to configure.
  * wdt3 compatible string is different.
  * wdt3 register offset appears wrong.

Looking to get some feedback. Thanks!

Nolan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20170216/a854b27e/attachment.html>


More information about the openbmc mailing list