rtc-st-lpc.txt 939 B

12345678910111213141516171819202122232425262728
  1. STMicroelectronics Low Power Controller (LPC) - RTC
  2. ===================================================
  3. LPC currently supports Watchdog OR Real Time Clock OR Clocksource
  4. functionality.
  5. [See: ../watchdog/st_lpc_wdt.txt for Watchdog options]
  6. [See: ../timer/st,stih407-lpc for Clocksource options]
  7. Required properties
  8. - compatible : Must 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. Example:
  18. lpc@fde05000 {
  19. compatible = "st,stih407-lpc";
  20. reg = <0xfde05000 0x1000>;
  21. clocks = <&clk_s_d3_flexgen CLK_LPC_0>;
  22. st,lpc-mode = <ST_LPC_MODE_RTC>;
  23. };