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