pistachio-resets.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * This header provides constants for the reset controller
  4. * present in the Pistachio SoC
  5. */
  6. #ifndef _PISTACHIO_RESETS_H
  7. #define _PISTACHIO_RESETS_H
  8. #define PISTACHIO_RESET_I2C0 0
  9. #define PISTACHIO_RESET_I2C1 1
  10. #define PISTACHIO_RESET_I2C2 2
  11. #define PISTACHIO_RESET_I2C3 3
  12. #define PISTACHIO_RESET_I2S_IN 4
  13. #define PISTACHIO_RESET_PRL_OUT 5
  14. #define PISTACHIO_RESET_SPDIF_OUT 6
  15. #define PISTACHIO_RESET_SPI 7
  16. #define PISTACHIO_RESET_PWM_PDM 8
  17. #define PISTACHIO_RESET_UART0 9
  18. #define PISTACHIO_RESET_UART1 10
  19. #define PISTACHIO_RESET_QSPI 11
  20. #define PISTACHIO_RESET_MDC 12
  21. #define PISTACHIO_RESET_SDHOST 13
  22. #define PISTACHIO_RESET_ETHERNET 14
  23. #define PISTACHIO_RESET_IR 15
  24. #define PISTACHIO_RESET_HASH 16
  25. #define PISTACHIO_RESET_TIMER 17
  26. #define PISTACHIO_RESET_I2S_OUT 18
  27. #define PISTACHIO_RESET_SPDIF_IN 19
  28. #define PISTACHIO_RESET_EVT 20
  29. #define PISTACHIO_RESET_USB_H 21
  30. #define PISTACHIO_RESET_USB_PR 22
  31. #define PISTACHIO_RESET_USB_PHY_PR 23
  32. #define PISTACHIO_RESET_USB_PHY_PON 24
  33. #define PISTACHIO_RESET_MAX 24
  34. #endif