r7s72100-clock.h 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. /*
  2. * Copyright (C) 2014 Renesas Solutions Corp.
  3. * Copyright (C) 2014 Wolfram Sang, Sang Engineering <wsa@sang-engineering.com>
  4. *
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License as published by
  7. * the Free Software Foundation; version 2 of the License.
  8. */
  9. #ifndef __DT_BINDINGS_CLOCK_R7S72100_H__
  10. #define __DT_BINDINGS_CLOCK_R7S72100_H__
  11. #define R7S72100_CLK_PLL 0
  12. #define R7S72100_CLK_I 1
  13. #define R7S72100_CLK_G 2
  14. /* MSTP2 */
  15. #define R7S72100_CLK_CORESIGHT 0
  16. /* MSTP3 */
  17. #define R7S72100_CLK_IEBUS 7
  18. #define R7S72100_CLK_IRDA 6
  19. #define R7S72100_CLK_LIN0 5
  20. #define R7S72100_CLK_LIN1 4
  21. #define R7S72100_CLK_MTU2 3
  22. #define R7S72100_CLK_CAN 2
  23. #define R7S72100_CLK_ADCPWR 1
  24. #define R7S72100_CLK_PWM 0
  25. /* MSTP4 */
  26. #define R7S72100_CLK_SCIF0 7
  27. #define R7S72100_CLK_SCIF1 6
  28. #define R7S72100_CLK_SCIF2 5
  29. #define R7S72100_CLK_SCIF3 4
  30. #define R7S72100_CLK_SCIF4 3
  31. #define R7S72100_CLK_SCIF5 2
  32. #define R7S72100_CLK_SCIF6 1
  33. #define R7S72100_CLK_SCIF7 0
  34. /* MSTP5 */
  35. #define R7S72100_CLK_SCI0 7
  36. #define R7S72100_CLK_SCI1 6
  37. #define R7S72100_CLK_SG0 5
  38. #define R7S72100_CLK_SG1 4
  39. #define R7S72100_CLK_SG2 3
  40. #define R7S72100_CLK_SG3 2
  41. #define R7S72100_CLK_OSTM0 1
  42. #define R7S72100_CLK_OSTM1 0
  43. /* MSTP6 */
  44. #define R7S72100_CLK_ADC 7
  45. #define R7S72100_CLK_CEU 6
  46. #define R7S72100_CLK_DOC0 5
  47. #define R7S72100_CLK_DOC1 4
  48. #define R7S72100_CLK_DRC0 3
  49. #define R7S72100_CLK_DRC1 2
  50. #define R7S72100_CLK_JCU 1
  51. #define R7S72100_CLK_RTC 0
  52. /* MSTP7 */
  53. #define R7S72100_CLK_VDEC0 7
  54. #define R7S72100_CLK_VDEC1 6
  55. #define R7S72100_CLK_ETHER 4
  56. #define R7S72100_CLK_NAND 3
  57. #define R7S72100_CLK_USB0 1
  58. #define R7S72100_CLK_USB1 0
  59. /* MSTP8 */
  60. #define R7S72100_CLK_IMR0 7
  61. #define R7S72100_CLK_IMR1 6
  62. #define R7S72100_CLK_IMRDISP 5
  63. #define R7S72100_CLK_MMCIF 4
  64. #define R7S72100_CLK_MLB 3
  65. #define R7S72100_CLK_ETHAVB 2
  66. #define R7S72100_CLK_SCUX 1
  67. /* MSTP9 */
  68. #define R7S72100_CLK_I2C0 7
  69. #define R7S72100_CLK_I2C1 6
  70. #define R7S72100_CLK_I2C2 5
  71. #define R7S72100_CLK_I2C3 4
  72. #define R7S72100_CLK_SPIBSC0 3
  73. #define R7S72100_CLK_SPIBSC1 2
  74. #define R7S72100_CLK_VDC50 1 /* and LVDS */
  75. #define R7S72100_CLK_VDC51 0
  76. /* MSTP10 */
  77. #define R7S72100_CLK_SPI0 7
  78. #define R7S72100_CLK_SPI1 6
  79. #define R7S72100_CLK_SPI2 5
  80. #define R7S72100_CLK_SPI3 4
  81. #define R7S72100_CLK_SPI4 3
  82. #define R7S72100_CLK_CDROM 2
  83. #define R7S72100_CLK_SPDIF 1
  84. #define R7S72100_CLK_RGPVG2 0
  85. /* MSTP11 */
  86. #define R7S72100_CLK_SSI0 5
  87. #define R7S72100_CLK_SSI1 4
  88. #define R7S72100_CLK_SSI2 3
  89. #define R7S72100_CLK_SSI3 2
  90. #define R7S72100_CLK_SSI4 1
  91. #define R7S72100_CLK_SSI5 0
  92. /* MSTP12 */
  93. #define R7S72100_CLK_SDHI00 3
  94. #define R7S72100_CLK_SDHI01 2
  95. #define R7S72100_CLK_SDHI10 1
  96. #define R7S72100_CLK_SDHI11 0
  97. /* MSTP13 */
  98. #define R7S72100_CLK_PIX1 2
  99. #define R7S72100_CLK_PIX0 1
  100. #endif /* __DT_BINDINGS_CLOCK_R7S72100_H__ */