nuvoton,npcm7xx-clock.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * Nuvoton NPCM7xx Clock Generator binding
  4. * clock binding number for all clocks supportted by nuvoton,npcm7xx-clk
  5. *
  6. * Copyright (C) 2018 Nuvoton Technologies tali.perry@nuvoton.com
  7. *
  8. */
  9. #ifndef __DT_BINDINGS_CLOCK_NPCM7XX_H
  10. #define __DT_BINDINGS_CLOCK_NPCM7XX_H
  11. #define NPCM7XX_CLK_CPU 0
  12. #define NPCM7XX_CLK_GFX_PIXEL 1
  13. #define NPCM7XX_CLK_MC 2
  14. #define NPCM7XX_CLK_ADC 3
  15. #define NPCM7XX_CLK_AHB 4
  16. #define NPCM7XX_CLK_TIMER 5
  17. #define NPCM7XX_CLK_UART 6
  18. #define NPCM7XX_CLK_MMC 7
  19. #define NPCM7XX_CLK_SPI3 8
  20. #define NPCM7XX_CLK_PCI 9
  21. #define NPCM7XX_CLK_AXI 10
  22. #define NPCM7XX_CLK_APB4 11
  23. #define NPCM7XX_CLK_APB3 12
  24. #define NPCM7XX_CLK_APB2 13
  25. #define NPCM7XX_CLK_APB1 14
  26. #define NPCM7XX_CLK_APB5 15
  27. #define NPCM7XX_CLK_CLKOUT 16
  28. #define NPCM7XX_CLK_GFX 17
  29. #define NPCM7XX_CLK_SU 18
  30. #define NPCM7XX_CLK_SU48 19
  31. #define NPCM7XX_CLK_SDHC 20
  32. #define NPCM7XX_CLK_SPI0 21
  33. #define NPCM7XX_CLK_SPIX 22
  34. #define NPCM7XX_CLK_REFCLK 23
  35. #define NPCM7XX_CLK_SYSBYPCK 24
  36. #define NPCM7XX_CLK_MCBYPCK 25
  37. #define NPCM7XX_NUM_CLOCKS (NPCM7XX_CLK_MCBYPCK+1)
  38. #endif