cm81xx.h 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. /*
  2. * Clock domain register offsets for TI81XX.
  3. *
  4. * Copyright (C) 2010 Texas Instruments, Inc. - http://www.ti.com/
  5. * Copyright (C) 2013 SKTB SKiT, http://www.skitlab.ru/
  6. *
  7. * This program is free software; you can redistribute it and/or
  8. * modify it under the terms of the GNU General Public License as
  9. * published by the Free Software Foundation version 2.
  10. *
  11. * This program is distributed "as is" WITHOUT ANY WARRANTY of any
  12. * kind, whether express or implied; without even the implied warranty
  13. * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. * GNU General Public License for more details.
  15. */
  16. #ifndef __ARCH_ARM_MACH_OMAP2_CM_TI81XX_H
  17. #define __ARCH_ARM_MACH_OMAP2_CM_TI81XX_H
  18. /* TI81XX common CM module offsets */
  19. #define TI81XX_CM_ACTIVE_MOD 0x0400 /* 256B */
  20. #define TI81XX_CM_DEFAULT_MOD 0x0500 /* 256B */
  21. #define TI81XX_CM_ALWON_MOD 0x1400 /* 1KB */
  22. #define TI81XX_CM_SGX_MOD 0x0900 /* 256B */
  23. /* TI816X CM module offsets */
  24. #define TI816X_CM_IVAHD0_MOD 0x0600 /* 256B */
  25. #define TI816X_CM_IVAHD1_MOD 0x0700 /* 256B */
  26. #define TI816X_CM_IVAHD2_MOD 0x0800 /* 256B */
  27. /* ALWON */
  28. #define TI81XX_CM_ALWON_L3_SLOW_CLKDM 0x0000
  29. #define TI81XX_CM_ALWON_L3_MED_CLKDM 0x0004
  30. #define TI81XX_CM_ETHERNET_CLKDM 0x0004
  31. #define TI81XX_CM_MMU_CLKDM 0x000C
  32. #define TI81XX_CM_MMUCFG_CLKDM 0x0010
  33. #define TI81XX_CM_ALWON_MPU_CLKDM 0x001C
  34. #define TI81XX_CM_ALWON_L3_FAST_CLKDM 0x0030
  35. /* ACTIVE */
  36. #define TI816X_CM_ACTIVE_GEM_CLKDM 0x0000
  37. /* IVAHD0 */
  38. #define TI816X_CM_IVAHD0_CLKDM 0x0000
  39. /* IVAHD1 */
  40. #define TI816X_CM_IVAHD1_CLKDM 0x0000
  41. /* IVAHD2 */
  42. #define TI816X_CM_IVAHD2_CLKDM 0x0000
  43. /* SGX */
  44. #define TI816X_CM_SGX_CLKDM 0x0000
  45. /* DEFAULT */
  46. #define TI816X_CM_DEFAULT_L3_MED_CLKDM 0x0004
  47. #define TI816X_CM_DEFAULT_PCI_CLKDM 0x0010
  48. #define TI816X_CM_DEFAULT_L3_SLOW_CLKDM 0x0014
  49. #define TI816X_CM_DEFAULT_DUCATI_CLKDM 0x0018
  50. #endif