marvell,mmp2.h 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. #ifndef __DTS_MARVELL_MMP2_CLOCK_H
  2. #define __DTS_MARVELL_MMP2_CLOCK_H
  3. /* fixed clocks and plls */
  4. #define MMP2_CLK_CLK32 1
  5. #define MMP2_CLK_VCTCXO 2
  6. #define MMP2_CLK_PLL1 3
  7. #define MMP2_CLK_PLL1_2 8
  8. #define MMP2_CLK_PLL1_4 9
  9. #define MMP2_CLK_PLL1_8 10
  10. #define MMP2_CLK_PLL1_16 11
  11. #define MMP2_CLK_PLL1_3 12
  12. #define MMP2_CLK_PLL1_6 13
  13. #define MMP2_CLK_PLL1_12 14
  14. #define MMP2_CLK_PLL1_20 15
  15. #define MMP2_CLK_PLL2 16
  16. #define MMP2_CLK_PLL2_2 17
  17. #define MMP2_CLK_PLL2_4 18
  18. #define MMP2_CLK_PLL2_8 19
  19. #define MMP2_CLK_PLL2_16 20
  20. #define MMP2_CLK_PLL2_3 21
  21. #define MMP2_CLK_PLL2_6 22
  22. #define MMP2_CLK_PLL2_12 23
  23. #define MMP2_CLK_VCTCXO_2 24
  24. #define MMP2_CLK_VCTCXO_4 25
  25. #define MMP2_CLK_UART_PLL 26
  26. #define MMP2_CLK_USB_PLL 27
  27. /* apb periphrals */
  28. #define MMP2_CLK_TWSI0 60
  29. #define MMP2_CLK_TWSI1 61
  30. #define MMP2_CLK_TWSI2 62
  31. #define MMP2_CLK_TWSI3 63
  32. #define MMP2_CLK_TWSI4 64
  33. #define MMP2_CLK_TWSI5 65
  34. #define MMP2_CLK_GPIO 66
  35. #define MMP2_CLK_KPC 67
  36. #define MMP2_CLK_RTC 68
  37. #define MMP2_CLK_PWM0 69
  38. #define MMP2_CLK_PWM1 70
  39. #define MMP2_CLK_PWM2 71
  40. #define MMP2_CLK_PWM3 72
  41. #define MMP2_CLK_UART0 73
  42. #define MMP2_CLK_UART1 74
  43. #define MMP2_CLK_UART2 75
  44. #define MMP2_CLK_UART3 76
  45. #define MMP2_CLK_SSP0 77
  46. #define MMP2_CLK_SSP1 78
  47. #define MMP2_CLK_SSP2 79
  48. #define MMP2_CLK_SSP3 80
  49. #define MMP2_CLK_TIMER 81
  50. /* axi periphrals */
  51. #define MMP2_CLK_SDH0 101
  52. #define MMP2_CLK_SDH1 102
  53. #define MMP2_CLK_SDH2 103
  54. #define MMP2_CLK_SDH3 104
  55. #define MMP2_CLK_USB 105
  56. #define MMP2_CLK_DISP0 106
  57. #define MMP2_CLK_DISP0_MUX 107
  58. #define MMP2_CLK_DISP0_SPHY 108
  59. #define MMP2_CLK_DISP1 109
  60. #define MMP2_CLK_DISP1_MUX 110
  61. #define MMP2_CLK_CCIC_ARBITER 111
  62. #define MMP2_CLK_CCIC0 112
  63. #define MMP2_CLK_CCIC0_MIX 113
  64. #define MMP2_CLK_CCIC0_PHY 114
  65. #define MMP2_CLK_CCIC0_SPHY 115
  66. #define MMP2_CLK_CCIC1 116
  67. #define MMP2_CLK_CCIC1_MIX 117
  68. #define MMP2_CLK_CCIC1_PHY 118
  69. #define MMP2_CLK_CCIC1_SPHY 119
  70. #define MMP2_NR_CLKS 200
  71. #endif