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