st_lpc_wdt.txt 1.3 KB

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