st_lpc_wdt.txt 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. STMicroelectronics Low Power Controller (LPC) - Watchdog
  2. ========================================================
  3. LPC currently supports Watchdog OR Real Time Clock functionality.
  4. [See: ../rtc/rtc-st-lpc.txt for RTC options]
  5. Required properties
  6. - compatible : Must be one of: "st,stih407-lpc" "st,stih416-lpc"
  7. "st,stih415-lpc" "st,stid127-lpc"
  8. - reg : LPC registers base address + size
  9. - interrupts : LPC interrupt line number and associated flags
  10. - clocks : Clock used by LPC device (See: ../clock/clock-bindings.txt)
  11. - st,lpc-mode : The LPC can run either one of two modes ST_LPC_MODE_RTC [0] or
  12. ST_LPC_MODE_WDT [1]. One (and only one) mode must be
  13. selected.
  14. Required properties [watchdog mode]
  15. - st,syscfg : Phandle to syscfg node used to enable watchdog and configure
  16. CPU reset type.
  17. - timeout-sec : Watchdog timeout in seconds
  18. Optional properties [watchdog mode]
  19. - st,warm-reset : If present reset type will be 'warm' - if not it will be cold
  20. Example:
  21. lpc@fde05000 {
  22. compatible = "st,stih407-lpc";
  23. reg = <0xfde05000 0x1000>;
  24. clocks = <&clk_s_d3_flexgen CLK_LPC_0>;
  25. st,syscfg = <&syscfg_core>;
  26. timeout-sec = <120>;
  27. st,lpc-mode = <ST_LPC_MODE_WDT>;
  28. st,warm-reset;
  29. };