bitmain,bm1880-reset.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * Copyright (c) 2018 Bitmain Ltd.
  4. * Copyright (c) 2019 Linaro Ltd.
  5. */
  6. #ifndef _DT_BINDINGS_BM1880_RESET_H
  7. #define _DT_BINDINGS_BM1880_RESET_H
  8. #define BM1880_RST_MAIN_AP 0
  9. #define BM1880_RST_SECOND_AP 1
  10. #define BM1880_RST_DDR 2
  11. #define BM1880_RST_VIDEO 3
  12. #define BM1880_RST_JPEG 4
  13. #define BM1880_RST_VPP 5
  14. #define BM1880_RST_GDMA 6
  15. #define BM1880_RST_AXI_SRAM 7
  16. #define BM1880_RST_TPU 8
  17. #define BM1880_RST_USB 9
  18. #define BM1880_RST_ETH0 10
  19. #define BM1880_RST_ETH1 11
  20. #define BM1880_RST_NAND 12
  21. #define BM1880_RST_EMMC 13
  22. #define BM1880_RST_SD 14
  23. #define BM1880_RST_SDMA 15
  24. #define BM1880_RST_I2S0 16
  25. #define BM1880_RST_I2S1 17
  26. #define BM1880_RST_UART0_1_CLK 18
  27. #define BM1880_RST_UART0_1_ACLK 19
  28. #define BM1880_RST_UART2_3_CLK 20
  29. #define BM1880_RST_UART2_3_ACLK 21
  30. #define BM1880_RST_MINER 22
  31. #define BM1880_RST_I2C0 23
  32. #define BM1880_RST_I2C1 24
  33. #define BM1880_RST_I2C2 25
  34. #define BM1880_RST_I2C3 26
  35. #define BM1880_RST_I2C4 27
  36. #define BM1880_RST_PWM0 28
  37. #define BM1880_RST_PWM1 29
  38. #define BM1880_RST_PWM2 30
  39. #define BM1880_RST_PWM3 31
  40. #define BM1880_RST_SPI 32
  41. #define BM1880_RST_GPIO0 33
  42. #define BM1880_RST_GPIO1 34
  43. #define BM1880_RST_GPIO2 35
  44. #define BM1880_RST_EFUSE 36
  45. #define BM1880_RST_WDT 37
  46. #define BM1880_RST_AHB_ROM 38
  47. #define BM1880_RST_SPIC 39
  48. #endif /* _DT_BINDINGS_BM1880_RESET_H */