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 : Must be one of: "st,stih407-lpc" "st,stih416-lpc"
  9. "st,stih415-lpc" "st,stid127-lpc"
  10. - reg : LPC registers base address + size
  11. - interrupts : LPC interrupt line number and associated flags
  12. - clocks : Clock used by LPC device (See: ../clock/clock-bindings.txt)
  13. - st,lpc-mode : The LPC can run either one of three modes:
  14. ST_LPC_MODE_RTC [0]
  15. ST_LPC_MODE_WDT [1]
  16. ST_LPC_MODE_CLKSRC [2]
  17. One (and only one) mode must be selected.
  18. Required properties [watchdog mode]
  19. - st,syscfg : Phandle to syscfg node used to enable watchdog and configure
  20. CPU reset type.
  21. - timeout-sec : Watchdog timeout in seconds
  22. Optional properties [watchdog mode]
  23. - st,warm-reset : If present reset type will be 'warm' - if not it will be cold
  24. Example:
  25. lpc@fde05000 {
  26. compatible = "st,stih407-lpc";
  27. reg = <0xfde05000 0x1000>;
  28. clocks = <&clk_s_d3_flexgen CLK_LPC_0>;
  29. st,syscfg = <&syscfg_core>;
  30. timeout-sec = <120>;
  31. st,lpc-mode = <ST_LPC_MODE_WDT>;
  32. st,warm-reset;
  33. };