marvell,pxa1928.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef __DTS_MARVELL_PXA1928_CLOCK_H
  3. #define __DTS_MARVELL_PXA1928_CLOCK_H
  4. /*
  5. * Clock ID values here correspond to the control register offset/4.
  6. */
  7. /* apb peripherals */
  8. #define PXA1928_CLK_RTC 0x00
  9. #define PXA1928_CLK_TWSI0 0x01
  10. #define PXA1928_CLK_TWSI1 0x02
  11. #define PXA1928_CLK_TWSI2 0x03
  12. #define PXA1928_CLK_TWSI3 0x04
  13. #define PXA1928_CLK_OWIRE 0x05
  14. #define PXA1928_CLK_KPC 0x06
  15. #define PXA1928_CLK_TB_ROTARY 0x07
  16. #define PXA1928_CLK_SW_JTAG 0x08
  17. #define PXA1928_CLK_TIMER1 0x09
  18. #define PXA1928_CLK_UART0 0x0b
  19. #define PXA1928_CLK_UART1 0x0c
  20. #define PXA1928_CLK_UART2 0x0d
  21. #define PXA1928_CLK_GPIO 0x0e
  22. #define PXA1928_CLK_PWM0 0x0f
  23. #define PXA1928_CLK_PWM1 0x10
  24. #define PXA1928_CLK_PWM2 0x11
  25. #define PXA1928_CLK_PWM3 0x12
  26. #define PXA1928_CLK_SSP0 0x13
  27. #define PXA1928_CLK_SSP1 0x14
  28. #define PXA1928_CLK_SSP2 0x15
  29. #define PXA1928_CLK_TWSI4 0x1f
  30. #define PXA1928_CLK_TWSI5 0x20
  31. #define PXA1928_CLK_UART3 0x22
  32. #define PXA1928_CLK_THSENS_GLOB 0x24
  33. #define PXA1928_CLK_THSENS_CPU 0x26
  34. #define PXA1928_CLK_THSENS_VPU 0x27
  35. #define PXA1928_CLK_THSENS_GC 0x28
  36. #define PXA1928_APBC_NR_CLKS 0x30
  37. /* axi peripherals */
  38. #define PXA1928_CLK_SDH0 0x15
  39. #define PXA1928_CLK_SDH1 0x16
  40. #define PXA1928_CLK_USB 0x17
  41. #define PXA1928_CLK_NAND 0x18
  42. #define PXA1928_CLK_DMA 0x19
  43. #define PXA1928_CLK_SDH2 0x3a
  44. #define PXA1928_CLK_SDH3 0x3b
  45. #define PXA1928_CLK_HSIC 0x3e
  46. #define PXA1928_CLK_SDH4 0x57
  47. #define PXA1928_CLK_GC3D 0x5d
  48. #define PXA1928_CLK_GC2D 0x5f
  49. #define PXA1928_APMU_NR_CLKS 0x60
  50. #endif