rk3188-cru.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /*
  2. * Copyright (c) 2014 MundoReader S.L.
  3. * Author: Heiko Stuebner <heiko@sntech.de>
  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; either version 2 of the License, or
  8. * (at your option) any later version.
  9. *
  10. * This program is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. * GNU General Public License for more details.
  14. */
  15. #include <dt-bindings/clock/rk3188-cru-common.h>
  16. /* soft-reset indices */
  17. #define SRST_PTM_CORE2 0
  18. #define SRST_PTM_CORE3 1
  19. #define SRST_CORE2 5
  20. #define SRST_CORE3 6
  21. #define SRST_CORE2_DBG 10
  22. #define SRST_CORE3_DBG 11
  23. #define SRST_TIMER2 16
  24. #define SRST_TIMER4 23
  25. #define SRST_I2S0 24
  26. #define SRST_TIMER5 25
  27. #define SRST_TIMER3 29
  28. #define SRST_TIMER6 31
  29. #define SRST_PTM3 36
  30. #define SRST_PTM3_ATB 37
  31. #define SRST_GPS 67
  32. #define SRST_HSICPHY 75
  33. #define SRST_TIMER 78
  34. #define SRST_PTM2 92
  35. #define SRST_CORE2_WDT 94
  36. #define SRST_CORE3_WDT 95
  37. #define SRST_PTM2_ATB 111
  38. #define SRST_HSIC 117
  39. #define SRST_CTI2 118
  40. #define SRST_CTI2_APB 119
  41. #define SRST_GPU_BRIDGE 121
  42. #define SRST_CTI3 123
  43. #define SRST_CTI3_APB 124