stm32fx-clock.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. /*
  2. * stm32fx-clock.h
  3. *
  4. * Copyright (C) 2016 STMicroelectronics
  5. * Author: Gabriel Fernandez for STMicroelectronics.
  6. * License terms: GNU General Public License (GPL), version 2
  7. */
  8. /*
  9. * List of clocks wich are not derived from system clock (SYSCLOCK)
  10. *
  11. * The index of these clocks is the secondary index of DT bindings
  12. * (see Documentatoin/devicetree/bindings/clock/st,stm32-rcc.txt)
  13. *
  14. * e.g:
  15. <assigned-clocks = <&rcc 1 CLK_LSE>;
  16. */
  17. #ifndef _DT_BINDINGS_CLK_STMFX_H
  18. #define _DT_BINDINGS_CLK_STMFX_H
  19. #define SYSTICK 0
  20. #define FCLK 1
  21. #define CLK_LSI 2
  22. #define CLK_LSE 3
  23. #define CLK_HSE_RTC 4
  24. #define CLK_RTC 5
  25. #define PLL_VCO_I2S 6
  26. #define PLL_VCO_SAI 7
  27. #define CLK_LCD 8
  28. #define CLK_I2S 9
  29. #define CLK_SAI1 10
  30. #define CLK_SAI2 11
  31. #define CLK_I2SQ_PDIV 12
  32. #define CLK_SAIQ_PDIV 13
  33. #define CLK_HSI 14
  34. #define CLK_SYSCLK 15
  35. #define CLK_F469_DSI 16
  36. #define END_PRIMARY_CLK 17
  37. #define CLK_HDMI_CEC 16
  38. #define CLK_SPDIF 17
  39. #define CLK_USART1 18
  40. #define CLK_USART2 19
  41. #define CLK_USART3 20
  42. #define CLK_UART4 21
  43. #define CLK_UART5 22
  44. #define CLK_USART6 23
  45. #define CLK_UART7 24
  46. #define CLK_UART8 25
  47. #define CLK_I2C1 26
  48. #define CLK_I2C2 27
  49. #define CLK_I2C3 28
  50. #define CLK_I2C4 29
  51. #define CLK_LPTIMER 30
  52. #define END_PRIMARY_CLK_F7 31
  53. #endif