realtek,rtd1195.h 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. /* SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) */
  2. /*
  3. * Realtek RTD1195 reset controllers
  4. *
  5. * Copyright (c) 2017 Andreas Färber
  6. */
  7. #ifndef DT_BINDINGS_RESET_RTD1195_H
  8. #define DT_BINDINGS_RESET_RTD1195_H
  9. /* soft reset 1 */
  10. #define RTD1195_RSTN_MISC 0
  11. #define RTD1195_RSTN_RNG 1
  12. #define RTD1195_RSTN_USB3_POW 2
  13. #define RTD1195_RSTN_GSPI 3
  14. #define RTD1195_RSTN_USB3_P0_MDIO 4
  15. #define RTD1195_RSTN_VE_H265 5
  16. #define RTD1195_RSTN_USB 6
  17. #define RTD1195_RSTN_USB_PHY0 8
  18. #define RTD1195_RSTN_USB_PHY1 9
  19. #define RTD1195_RSTN_HDMIRX 11
  20. #define RTD1195_RSTN_HDMI 12
  21. #define RTD1195_RSTN_ETN 14
  22. #define RTD1195_RSTN_AIO 15
  23. #define RTD1195_RSTN_GPU 16
  24. #define RTD1195_RSTN_VE_H264 17
  25. #define RTD1195_RSTN_VE_JPEG 18
  26. #define RTD1195_RSTN_TVE 19
  27. #define RTD1195_RSTN_VO 20
  28. #define RTD1195_RSTN_LVDS 21
  29. #define RTD1195_RSTN_SE 22
  30. #define RTD1195_RSTN_DCU 23
  31. #define RTD1195_RSTN_DC_PHY 24
  32. #define RTD1195_RSTN_CP 25
  33. #define RTD1195_RSTN_MD 26
  34. #define RTD1195_RSTN_TP 27
  35. #define RTD1195_RSTN_AE 28
  36. #define RTD1195_RSTN_NF 29
  37. #define RTD1195_RSTN_MIPI 30
  38. /* soft reset 2 */
  39. #define RTD1195_RSTN_ACPU 0
  40. #define RTD1195_RSTN_VCPU 1
  41. #define RTD1195_RSTN_PCR 9
  42. #define RTD1195_RSTN_CR 10
  43. #define RTD1195_RSTN_EMMC 11
  44. #define RTD1195_RSTN_SDIO 12
  45. #define RTD1195_RSTN_I2C_5 18
  46. #define RTD1195_RSTN_RTC 20
  47. #define RTD1195_RSTN_I2C_4 23
  48. #define RTD1195_RSTN_I2C_3 24
  49. #define RTD1195_RSTN_I2C_2 25
  50. #define RTD1195_RSTN_I2C_1 26
  51. #define RTD1195_RSTN_UR1 28
  52. /* soft reset 3 */
  53. #define RTD1195_RSTN_SB2 0
  54. /* iso soft reset */
  55. #define RTD1195_ISO_RSTN_VFD 0
  56. #define RTD1195_ISO_RSTN_IR 1
  57. #define RTD1195_ISO_RSTN_CEC0 2
  58. #define RTD1195_ISO_RSTN_CEC1 3
  59. #define RTD1195_ISO_RSTN_DP 4
  60. #define RTD1195_ISO_RSTN_CBUSTX 5
  61. #define RTD1195_ISO_RSTN_CBUSRX 6
  62. #define RTD1195_ISO_RSTN_EFUSE 7
  63. #define RTD1195_ISO_RSTN_UR0 8
  64. #define RTD1195_ISO_RSTN_GMAC 9
  65. #define RTD1195_ISO_RSTN_GPHY 10
  66. #define RTD1195_ISO_RSTN_I2C_0 11
  67. #define RTD1195_ISO_RSTN_I2C_6 12
  68. #define RTD1195_ISO_RSTN_CBUS 13
  69. #endif