meson-gxbb-gpio.h 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * GPIO definitions for Amlogic Meson GXBB SoCs
  4. *
  5. * Copyright (C) 2016 Endless Mobile, Inc.
  6. * Author: Carlo Caione <carlo@endlessm.com>
  7. */
  8. #ifndef _DT_BINDINGS_MESON_GXBB_GPIO_H
  9. #define _DT_BINDINGS_MESON_GXBB_GPIO_H
  10. #define GPIOAO_0 0
  11. #define GPIOAO_1 1
  12. #define GPIOAO_2 2
  13. #define GPIOAO_3 3
  14. #define GPIOAO_4 4
  15. #define GPIOAO_5 5
  16. #define GPIOAO_6 6
  17. #define GPIOAO_7 7
  18. #define GPIOAO_8 8
  19. #define GPIOAO_9 9
  20. #define GPIOAO_10 10
  21. #define GPIOAO_11 11
  22. #define GPIOAO_12 12
  23. #define GPIOAO_13 13
  24. #define GPIO_TEST_N 14
  25. #define GPIOZ_0 0
  26. #define GPIOZ_1 1
  27. #define GPIOZ_2 2
  28. #define GPIOZ_3 3
  29. #define GPIOZ_4 4
  30. #define GPIOZ_5 5
  31. #define GPIOZ_6 6
  32. #define GPIOZ_7 7
  33. #define GPIOZ_8 8
  34. #define GPIOZ_9 9
  35. #define GPIOZ_10 10
  36. #define GPIOZ_11 11
  37. #define GPIOZ_12 12
  38. #define GPIOZ_13 13
  39. #define GPIOZ_14 14
  40. #define GPIOZ_15 15
  41. #define GPIOH_0 16
  42. #define GPIOH_1 17
  43. #define GPIOH_2 18
  44. #define GPIOH_3 19
  45. #define BOOT_0 20
  46. #define BOOT_1 21
  47. #define BOOT_2 22
  48. #define BOOT_3 23
  49. #define BOOT_4 24
  50. #define BOOT_5 25
  51. #define BOOT_6 26
  52. #define BOOT_7 27
  53. #define BOOT_8 28
  54. #define BOOT_9 29
  55. #define BOOT_10 30
  56. #define BOOT_11 31
  57. #define BOOT_12 32
  58. #define BOOT_13 33
  59. #define BOOT_14 34
  60. #define BOOT_15 35
  61. #define BOOT_16 36
  62. #define BOOT_17 37
  63. #define CARD_0 38
  64. #define CARD_1 39
  65. #define CARD_2 40
  66. #define CARD_3 41
  67. #define CARD_4 42
  68. #define CARD_5 43
  69. #define CARD_6 44
  70. #define GPIODV_0 45
  71. #define GPIODV_1 46
  72. #define GPIODV_2 47
  73. #define GPIODV_3 48
  74. #define GPIODV_4 49
  75. #define GPIODV_5 50
  76. #define GPIODV_6 51
  77. #define GPIODV_7 52
  78. #define GPIODV_8 53
  79. #define GPIODV_9 54
  80. #define GPIODV_10 55
  81. #define GPIODV_11 56
  82. #define GPIODV_12 57
  83. #define GPIODV_13 58
  84. #define GPIODV_14 59
  85. #define GPIODV_15 60
  86. #define GPIODV_16 61
  87. #define GPIODV_17 62
  88. #define GPIODV_18 63
  89. #define GPIODV_19 64
  90. #define GPIODV_20 65
  91. #define GPIODV_21 66
  92. #define GPIODV_22 67
  93. #define GPIODV_23 68
  94. #define GPIODV_24 69
  95. #define GPIODV_25 70
  96. #define GPIODV_26 71
  97. #define GPIODV_27 72
  98. #define GPIODV_28 73
  99. #define GPIODV_29 74
  100. #define GPIOY_0 75
  101. #define GPIOY_1 76
  102. #define GPIOY_2 77
  103. #define GPIOY_3 78
  104. #define GPIOY_4 79
  105. #define GPIOY_5 80
  106. #define GPIOY_6 81
  107. #define GPIOY_7 82
  108. #define GPIOY_8 83
  109. #define GPIOY_9 84
  110. #define GPIOY_10 85
  111. #define GPIOY_11 86
  112. #define GPIOY_12 87
  113. #define GPIOY_13 88
  114. #define GPIOY_14 89
  115. #define GPIOY_15 90
  116. #define GPIOY_16 91
  117. #define GPIOX_0 92
  118. #define GPIOX_1 93
  119. #define GPIOX_2 94
  120. #define GPIOX_3 95
  121. #define GPIOX_4 96
  122. #define GPIOX_5 97
  123. #define GPIOX_6 98
  124. #define GPIOX_7 99
  125. #define GPIOX_8 100
  126. #define GPIOX_9 101
  127. #define GPIOX_10 102
  128. #define GPIOX_11 103
  129. #define GPIOX_12 104
  130. #define GPIOX_13 105
  131. #define GPIOX_14 106
  132. #define GPIOX_15 107
  133. #define GPIOX_16 108
  134. #define GPIOX_17 109
  135. #define GPIOX_18 110
  136. #define GPIOX_19 111
  137. #define GPIOX_20 112
  138. #define GPIOX_21 113
  139. #define GPIOX_22 114
  140. #define GPIOCLK_0 115
  141. #define GPIOCLK_1 116
  142. #define GPIOCLK_2 117
  143. #define GPIOCLK_3 118
  144. #endif