r8a7778-clock.h 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. /*
  2. * Copyright (C) 2014 Ulrich Hecht
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License as published by
  6. * the Free Software Foundation; either version 2 of the License, or
  7. * (at your option) any later version.
  8. */
  9. #ifndef __DT_BINDINGS_CLOCK_R8A7778_H__
  10. #define __DT_BINDINGS_CLOCK_R8A7778_H__
  11. /* CPG */
  12. #define R8A7778_CLK_PLLA 0
  13. #define R8A7778_CLK_PLLB 1
  14. #define R8A7778_CLK_B 2
  15. #define R8A7778_CLK_OUT 3
  16. #define R8A7778_CLK_P 4
  17. #define R8A7778_CLK_S 5
  18. #define R8A7778_CLK_S1 6
  19. /* MSTP0 */
  20. #define R8A7778_CLK_I2C0 30
  21. #define R8A7778_CLK_I2C1 29
  22. #define R8A7778_CLK_I2C2 28
  23. #define R8A7778_CLK_I2C3 27
  24. #define R8A7778_CLK_SCIF0 26
  25. #define R8A7778_CLK_SCIF1 25
  26. #define R8A7778_CLK_SCIF2 24
  27. #define R8A7778_CLK_SCIF3 23
  28. #define R8A7778_CLK_SCIF4 22
  29. #define R8A7778_CLK_SCIF5 21
  30. #define R8A7778_CLK_TMU0 16
  31. #define R8A7778_CLK_TMU1 15
  32. #define R8A7778_CLK_TMU2 14
  33. #define R8A7778_CLK_SSI0 12
  34. #define R8A7778_CLK_SSI1 11
  35. #define R8A7778_CLK_SSI2 10
  36. #define R8A7778_CLK_SSI3 9
  37. #define R8A7778_CLK_SRU 8
  38. #define R8A7778_CLK_HSPI 7
  39. /* MSTP1 */
  40. #define R8A7778_CLK_ETHER 14
  41. #define R8A7778_CLK_VIN0 10
  42. #define R8A7778_CLK_VIN1 9
  43. #define R8A7778_CLK_USB 0
  44. /* MSTP3 */
  45. #define R8A7778_CLK_MMC 31
  46. #define R8A7778_CLK_SDHI0 23
  47. #define R8A7778_CLK_SDHI1 22
  48. #define R8A7778_CLK_SDHI2 21
  49. #define R8A7778_CLK_SSI4 11
  50. #define R8A7778_CLK_SSI5 10
  51. #define R8A7778_CLK_SSI6 9
  52. #define R8A7778_CLK_SSI7 8
  53. #define R8A7778_CLK_SSI8 7
  54. /* MSTP5 */
  55. #define R8A7778_CLK_SRU_SRC0 31
  56. #define R8A7778_CLK_SRU_SRC1 30
  57. #define R8A7778_CLK_SRU_SRC2 29
  58. #define R8A7778_CLK_SRU_SRC3 28
  59. #define R8A7778_CLK_SRU_SRC4 27
  60. #define R8A7778_CLK_SRU_SRC5 26
  61. #define R8A7778_CLK_SRU_SRC6 25
  62. #define R8A7778_CLK_SRU_SRC7 24
  63. #define R8A7778_CLK_SRU_SRC8 23
  64. #endif /* __DT_BINDINGS_CLOCK_R8A7778_H__ */