regs-resetc.h 591 B

123456789101112131415161718192021222324252627282930313233343536
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * PKUnity Reset Controller (RC) Registers
  4. */
  5. /*
  6. * Software Reset Register
  7. */
  8. #define RESETC_SWRR (PKUNITY_RESETC_BASE + 0x0000)
  9. /*
  10. * Reset Status Register
  11. */
  12. #define RESETC_RSSR (PKUNITY_RESETC_BASE + 0x0004)
  13. /*
  14. * Software Reset Bit
  15. */
  16. #define RESETC_SWRR_SRB FIELD(1, 1, 0)
  17. /*
  18. * Hardware Reset
  19. */
  20. #define RESETC_RSSR_HWR FIELD(1, 1, 0)
  21. /*
  22. * Software Reset
  23. */
  24. #define RESETC_RSSR_SWR FIELD(1, 1, 1)
  25. /*
  26. * Watchdog Reset
  27. */
  28. #define RESETC_RSSR_WDR FIELD(1, 1, 2)
  29. /*
  30. * Sleep Mode Reset
  31. */
  32. #define RESETC_RSSR_SMR FIELD(1, 1, 3)