r8a73a4-clock.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. /*
  2. * Copyright 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_R8A73A4_H__
  10. #define __DT_BINDINGS_CLOCK_R8A73A4_H__
  11. /* CPG */
  12. #define R8A73A4_CLK_MAIN 0
  13. #define R8A73A4_CLK_PLL0 1
  14. #define R8A73A4_CLK_PLL1 2
  15. #define R8A73A4_CLK_PLL2 3
  16. #define R8A73A4_CLK_PLL2S 4
  17. #define R8A73A4_CLK_PLL2H 5
  18. #define R8A73A4_CLK_Z 6
  19. #define R8A73A4_CLK_Z2 7
  20. #define R8A73A4_CLK_I 8
  21. #define R8A73A4_CLK_M3 9
  22. #define R8A73A4_CLK_B 10
  23. #define R8A73A4_CLK_M1 11
  24. #define R8A73A4_CLK_M2 12
  25. #define R8A73A4_CLK_ZX 13
  26. #define R8A73A4_CLK_ZS 14
  27. #define R8A73A4_CLK_HP 15
  28. /* MSTP2 */
  29. #define R8A73A4_CLK_DMAC 18
  30. #define R8A73A4_CLK_SCIFB3 17
  31. #define R8A73A4_CLK_SCIFB2 16
  32. #define R8A73A4_CLK_SCIFB1 7
  33. #define R8A73A4_CLK_SCIFB0 6
  34. #define R8A73A4_CLK_SCIFA0 4
  35. #define R8A73A4_CLK_SCIFA1 3
  36. /* MSTP3 */
  37. #define R8A73A4_CLK_CMT1 29
  38. #define R8A73A4_CLK_IIC1 23
  39. #define R8A73A4_CLK_IIC0 18
  40. #define R8A73A4_CLK_IIC7 17
  41. #define R8A73A4_CLK_IIC6 16
  42. #define R8A73A4_CLK_MMCIF0 15
  43. #define R8A73A4_CLK_SDHI0 14
  44. #define R8A73A4_CLK_SDHI1 13
  45. #define R8A73A4_CLK_SDHI2 12
  46. #define R8A73A4_CLK_MMCIF1 5
  47. #define R8A73A4_CLK_IIC2 0
  48. /* MSTP4 */
  49. #define R8A73A4_CLK_IIC3 11
  50. #define R8A73A4_CLK_IIC4 10
  51. #define R8A73A4_CLK_IIC5 9
  52. #define R8A73A4_CLK_IRQC 7
  53. /* MSTP5 */
  54. #define R8A73A4_CLK_THERMAL 22
  55. #define R8A73A4_CLK_IIC8 15
  56. #endif /* __DT_BINDINGS_CLOCK_R8A73A4_H__ */