st,stih407-lpc 1.0 KB

1234567891011121314151617181920212223242526272829
  1. STMicroelectronics Low Power Controller (LPC) - Clocksource
  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: ../rtc/rtc-st-lpc.txt for RTC 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_CLKSRC>;
  23. };