Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  * GPIO definitions for Amlogic Meson GXBB SoCs
0004  *
0005  * Copyright (C) 2016 Endless Mobile, Inc.
0006  * Author: Carlo Caione <carlo@endlessm.com>
0007  */
0008 
0009 #ifndef _DT_BINDINGS_MESON_GXBB_GPIO_H
0010 #define _DT_BINDINGS_MESON_GXBB_GPIO_H
0011 
0012 #define GPIOAO_0    0
0013 #define GPIOAO_1    1
0014 #define GPIOAO_2    2
0015 #define GPIOAO_3    3
0016 #define GPIOAO_4    4
0017 #define GPIOAO_5    5
0018 #define GPIOAO_6    6
0019 #define GPIOAO_7    7
0020 #define GPIOAO_8    8
0021 #define GPIOAO_9    9
0022 #define GPIOAO_10   10
0023 #define GPIOAO_11   11
0024 #define GPIOAO_12   12
0025 #define GPIOAO_13   13
0026 #define GPIO_TEST_N 14
0027 
0028 #define GPIOZ_0     0
0029 #define GPIOZ_1     1
0030 #define GPIOZ_2     2
0031 #define GPIOZ_3     3
0032 #define GPIOZ_4     4
0033 #define GPIOZ_5     5
0034 #define GPIOZ_6     6
0035 #define GPIOZ_7     7
0036 #define GPIOZ_8     8
0037 #define GPIOZ_9     9
0038 #define GPIOZ_10    10
0039 #define GPIOZ_11    11
0040 #define GPIOZ_12    12
0041 #define GPIOZ_13    13
0042 #define GPIOZ_14    14
0043 #define GPIOZ_15    15
0044 #define GPIOH_0     16
0045 #define GPIOH_1     17
0046 #define GPIOH_2     18
0047 #define GPIOH_3     19
0048 #define BOOT_0      20
0049 #define BOOT_1      21
0050 #define BOOT_2      22
0051 #define BOOT_3      23
0052 #define BOOT_4      24
0053 #define BOOT_5      25
0054 #define BOOT_6      26
0055 #define BOOT_7      27
0056 #define BOOT_8      28
0057 #define BOOT_9      29
0058 #define BOOT_10     30
0059 #define BOOT_11     31
0060 #define BOOT_12     32
0061 #define BOOT_13     33
0062 #define BOOT_14     34
0063 #define BOOT_15     35
0064 #define BOOT_16     36
0065 #define BOOT_17     37
0066 #define CARD_0      38
0067 #define CARD_1      39
0068 #define CARD_2      40
0069 #define CARD_3      41
0070 #define CARD_4      42
0071 #define CARD_5      43
0072 #define CARD_6      44
0073 #define GPIODV_0    45
0074 #define GPIODV_1    46
0075 #define GPIODV_2    47
0076 #define GPIODV_3    48
0077 #define GPIODV_4    49
0078 #define GPIODV_5    50
0079 #define GPIODV_6    51
0080 #define GPIODV_7    52
0081 #define GPIODV_8    53
0082 #define GPIODV_9    54
0083 #define GPIODV_10   55
0084 #define GPIODV_11   56
0085 #define GPIODV_12   57
0086 #define GPIODV_13   58
0087 #define GPIODV_14   59
0088 #define GPIODV_15   60
0089 #define GPIODV_16   61
0090 #define GPIODV_17   62
0091 #define GPIODV_18   63
0092 #define GPIODV_19   64
0093 #define GPIODV_20   65
0094 #define GPIODV_21   66
0095 #define GPIODV_22   67
0096 #define GPIODV_23   68
0097 #define GPIODV_24   69
0098 #define GPIODV_25   70
0099 #define GPIODV_26   71
0100 #define GPIODV_27   72
0101 #define GPIODV_28   73
0102 #define GPIODV_29   74
0103 #define GPIOY_0     75
0104 #define GPIOY_1     76
0105 #define GPIOY_2     77
0106 #define GPIOY_3     78
0107 #define GPIOY_4     79
0108 #define GPIOY_5     80
0109 #define GPIOY_6     81
0110 #define GPIOY_7     82
0111 #define GPIOY_8     83
0112 #define GPIOY_9     84
0113 #define GPIOY_10    85
0114 #define GPIOY_11    86
0115 #define GPIOY_12    87
0116 #define GPIOY_13    88
0117 #define GPIOY_14    89
0118 #define GPIOY_15    90
0119 #define GPIOY_16    91
0120 #define GPIOX_0     92
0121 #define GPIOX_1     93
0122 #define GPIOX_2     94
0123 #define GPIOX_3     95
0124 #define GPIOX_4     96
0125 #define GPIOX_5     97
0126 #define GPIOX_6     98
0127 #define GPIOX_7     99
0128 #define GPIOX_8     100
0129 #define GPIOX_9     101
0130 #define GPIOX_10    102
0131 #define GPIOX_11    103
0132 #define GPIOX_12    104
0133 #define GPIOX_13    105
0134 #define GPIOX_14    106
0135 #define GPIOX_15    107
0136 #define GPIOX_16    108
0137 #define GPIOX_17    109
0138 #define GPIOX_18    110
0139 #define GPIOX_19    111
0140 #define GPIOX_20    112
0141 #define GPIOX_21    113
0142 #define GPIOX_22    114
0143 #define GPIOCLK_0   115
0144 #define GPIOCLK_1   116
0145 #define GPIOCLK_2   117
0146 #define GPIOCLK_3   118
0147 
0148 #endif