cortina,gemini-clock.h 885 B

12345678910111213141516171819202122232425262728293031
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef DT_BINDINGS_CORTINA_GEMINI_CLOCK_H
  3. #define DT_BINDINGS_CORTINA_GEMINI_CLOCK_H
  4. /* RTC, AHB, APB, CPU, PCI, TVC, UART clocks and 13 gates */
  5. #define GEMINI_NUM_CLKS 20
  6. #define GEMINI_CLK_RTC 0
  7. #define GEMINI_CLK_AHB 1
  8. #define GEMINI_CLK_APB 2
  9. #define GEMINI_CLK_CPU 3
  10. #define GEMINI_CLK_PCI 4
  11. #define GEMINI_CLK_TVC 5
  12. #define GEMINI_CLK_UART 6
  13. #define GEMINI_CLK_GATES 7
  14. #define GEMINI_CLK_GATE_SECURITY 7
  15. #define GEMINI_CLK_GATE_GMAC0 8
  16. #define GEMINI_CLK_GATE_GMAC1 9
  17. #define GEMINI_CLK_GATE_SATA0 10
  18. #define GEMINI_CLK_GATE_SATA1 11
  19. #define GEMINI_CLK_GATE_USB0 12
  20. #define GEMINI_CLK_GATE_USB1 13
  21. #define GEMINI_CLK_GATE_IDE 14
  22. #define GEMINI_CLK_GATE_PCI 15
  23. #define GEMINI_CLK_GATE_DDR 16
  24. #define GEMINI_CLK_GATE_FLASH 17
  25. #define GEMINI_CLK_GATE_TVC 18
  26. #define GEMINI_CLK_GATE_BOOT 19
  27. #endif /* DT_BINDINGS_CORTINA_GEMINI_CLOCK_H */