mt6357-irq.h 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. /*
  2. * Copyright (C) 2019 MediaTek Inc.
  3. * This program is free software; you can redistribute it and/or modify
  4. * it under the terms of the GNU General Public License version 2 as
  5. * published by the Free Software Foundation.
  6. * This program is distributed in the hope that it will be useful,
  7. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  8. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  9. * See http://www.gnu.org/licenses/gpl-2.0.html for more details.
  10. */
  11. #ifndef _DT_BINDINGS_MT6357_IRQ_H
  12. #define _DT_BINDINGS_MT6357_IRQ_H
  13. #define SP_BUCK 0
  14. #define SP_LDO 1
  15. #define SP_PSC 2
  16. #define SP_SCK 3
  17. #define SP_BM 4
  18. #define SP_HK 5
  19. #define SP_AUD 6
  20. #define SP_MISC 7
  21. #define INT_VPROC_OC 0
  22. #define INT_VCORE_OC 1
  23. #define INT_VMODEM_OC 2
  24. #define INT_VS1_OC 3
  25. #define INT_VPA_OC 4
  26. #define INT_VCORE_PREOC 5
  27. #define INT_VFE28_OC 16
  28. #define INT_VXO22_OC 17
  29. #define INT_VRF18_OC 18
  30. #define INT_VRF12_OC 19
  31. #define INT_VEFUSE_OC 20
  32. #define INT_VCN33_OC 21
  33. #define INT_VCN28_OC 22
  34. #define INT_VCN18_OC 23
  35. #define INT_VCAMA_OC 24
  36. #define INT_VCAMD_OC 25
  37. #define INT_VCAMIO_OC 26
  38. #define INT_VLDO28_OC 27
  39. #define INT_VUSB33_OC 28
  40. #define INT_VAUX18_OC 29
  41. #define INT_VAUD28_OC 30
  42. #define INT_VIO28_OC 31
  43. #define INT_VIO18_OC 32
  44. #define INT_VSRAM_PROC_OC 33
  45. #define INT_VSRAM_OTHERS_OC 34
  46. #define INT_VIBR_OC 35
  47. #define INT_VDRAM_OC 36
  48. #define INT_VMC_OC 37
  49. #define INT_VMCH_OC 38
  50. #define INT_VEMC_OC 39
  51. #define INT_VSIM1_OC 40
  52. #define INT_VSIM2_OC 41
  53. #define INT_PWRKEY 48
  54. #define INT_HOMEKEY 49
  55. #define INT_PWRKEY_R 50
  56. #define INT_HOMEKEY_R 51
  57. #define INT_NI_LBAT_INT 52
  58. #define INT_CHRDET 53
  59. #define INT_CHRDET_EDGE 54
  60. #define INT_VCDT_HV_DET 55
  61. #define INT_WATCHDOG 58
  62. #define INT_VBATON_UNDET 59
  63. #define INT_BVALID_DET 60
  64. #define INT_OV 61
  65. #define INT_RTC 64
  66. #define INT_FG_BAT0_H 80
  67. #define INT_FG_BAT0_L 81
  68. #define INT_FG_CUR_H 82
  69. #define INT_FG_CUR_L 83
  70. #define INT_FG_ZCV 84
  71. #define INT_BATON_LV 96
  72. #define INT_BATON_HT 97
  73. #define INT_BAT_H 114
  74. #define INT_BAT_L 115
  75. #define INT_AUXADC_IMP 120
  76. #define INT_NAG_C_DLTV 121
  77. #define INT_AUDIO 128
  78. #define INT_ACCDET 133
  79. #define INT_ACCDET_EINT0 134
  80. #define INT_ACCDET_EINT1 135
  81. #define INT_SPI_CMD_ALERT 144
  82. #endif /* _DT_BINDINGS_MT6357_IRQ_H */