rk3188-cru.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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. #ifndef _DT_BINDINGS_CLK_ROCKCHIP_RK3188_H
  16. #define _DT_BINDINGS_CLK_ROCKCHIP_RK3188_H
  17. #include <dt-bindings/clock/rk3188-cru-common.h>
  18. /* soft-reset indices */
  19. #define SRST_PTM_CORE2 0
  20. #define SRST_PTM_CORE3 1
  21. #define SRST_CORE2 5
  22. #define SRST_CORE3 6
  23. #define SRST_CORE2_DBG 10
  24. #define SRST_CORE3_DBG 11
  25. #define SRST_TIMER2 16
  26. #define SRST_TIMER4 23
  27. #define SRST_I2S0 24
  28. #define SRST_TIMER5 25
  29. #define SRST_TIMER3 29
  30. #define SRST_TIMER6 31
  31. #define SRST_PTM3 36
  32. #define SRST_PTM3_ATB 37
  33. #define SRST_GPS 67
  34. #define SRST_HSICPHY 75
  35. #define SRST_TIMER 78
  36. #define SRST_PTM2 92
  37. #define SRST_CORE2_WDT 94
  38. #define SRST_CORE3_WDT 95
  39. #define SRST_PTM2_ATB 111
  40. #define SRST_HSIC 117
  41. #define SRST_CTI2 118
  42. #define SRST_CTI2_APB 119
  43. #define SRST_GPU_BRIDGE 121
  44. #define SRST_CTI3 123
  45. #define SRST_CTI3_APB 124
  46. #endif