1 /* SPDX-License-Identifier: GPL-2.0-only */ << 2 /* 1 /* 3 * GPIO definitions for Amlogic Meson GXL SoCs 2 * GPIO definitions for Amlogic Meson GXL 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_GXL_GPIO_H 15 #ifndef _DT_BINDINGS_MESON_GXL_GPIO_H 10 #define _DT_BINDINGS_MESON_GXL_GPIO_H 16 #define _DT_BINDINGS_MESON_GXL_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 GPIO_TEST_N 10 << 23 28 24 #define GPIOZ_0 0 29 #define GPIOZ_0 0 25 #define GPIOZ_1 1 30 #define GPIOZ_1 1 26 #define GPIOZ_2 2 31 #define GPIOZ_2 2 27 #define GPIOZ_3 3 32 #define GPIOZ_3 3 28 #define GPIOZ_4 4 33 #define GPIOZ_4 4 29 #define GPIOZ_5 5 34 #define GPIOZ_5 5 30 #define GPIOZ_6 6 35 #define GPIOZ_6 6 31 #define GPIOZ_7 7 36 #define GPIOZ_7 7 32 #define GPIOZ_8 8 37 #define GPIOZ_8 8 33 #define GPIOZ_9 9 38 #define GPIOZ_9 9 34 #define GPIOZ_10 10 39 #define GPIOZ_10 10 35 #define GPIOZ_11 11 40 #define GPIOZ_11 11 36 #define GPIOZ_12 12 41 #define GPIOZ_12 12 37 #define GPIOZ_13 13 42 #define GPIOZ_13 13 38 #define GPIOZ_14 14 43 #define GPIOZ_14 14 39 #define GPIOZ_15 15 44 #define GPIOZ_15 15 40 #define GPIOH_0 16 45 #define GPIOH_0 16 41 #define GPIOH_1 17 46 #define GPIOH_1 17 42 #define GPIOH_2 18 47 #define GPIOH_2 18 43 #define GPIOH_3 19 48 #define GPIOH_3 19 44 #define GPIOH_4 20 49 #define GPIOH_4 20 45 #define GPIOH_5 21 50 #define GPIOH_5 21 46 #define GPIOH_6 22 51 #define GPIOH_6 22 47 #define GPIOH_7 23 52 #define GPIOH_7 23 48 #define GPIOH_8 24 53 #define GPIOH_8 24 49 #define GPIOH_9 25 54 #define GPIOH_9 25 50 #define BOOT_0 26 55 #define BOOT_0 26 51 #define BOOT_1 27 56 #define BOOT_1 27 52 #define BOOT_2 28 57 #define BOOT_2 28 53 #define BOOT_3 29 58 #define BOOT_3 29 54 #define BOOT_4 30 59 #define BOOT_4 30 55 #define BOOT_5 31 60 #define BOOT_5 31 56 #define BOOT_6 32 61 #define BOOT_6 32 57 #define BOOT_7 33 62 #define BOOT_7 33 58 #define BOOT_8 34 63 #define BOOT_8 34 59 #define BOOT_9 35 64 #define BOOT_9 35 60 #define BOOT_10 36 65 #define BOOT_10 36 61 #define BOOT_11 37 66 #define BOOT_11 37 62 #define BOOT_12 38 67 #define BOOT_12 38 63 #define BOOT_13 39 68 #define BOOT_13 39 64 #define BOOT_14 40 69 #define BOOT_14 40 65 #define BOOT_15 41 70 #define BOOT_15 41 66 #define CARD_0 42 71 #define CARD_0 42 67 #define CARD_1 43 72 #define CARD_1 43 68 #define CARD_2 44 73 #define CARD_2 44 69 #define CARD_3 45 74 #define CARD_3 45 70 #define CARD_4 46 75 #define CARD_4 46 71 #define CARD_5 47 76 #define CARD_5 47 72 #define CARD_6 48 77 #define CARD_6 48 73 #define GPIODV_0 49 78 #define GPIODV_0 49 74 #define GPIODV_1 50 79 #define GPIODV_1 50 75 #define GPIODV_2 51 80 #define GPIODV_2 51 76 #define GPIODV_3 52 81 #define GPIODV_3 52 77 #define GPIODV_4 53 82 #define GPIODV_4 53 78 #define GPIODV_5 54 83 #define GPIODV_5 54 79 #define GPIODV_6 55 84 #define GPIODV_6 55 80 #define GPIODV_7 56 85 #define GPIODV_7 56 81 #define GPIODV_8 57 86 #define GPIODV_8 57 82 #define GPIODV_9 58 87 #define GPIODV_9 58 83 #define GPIODV_10 59 88 #define GPIODV_10 59 84 #define GPIODV_11 60 89 #define GPIODV_11 60 85 #define GPIODV_12 61 90 #define GPIODV_12 61 86 #define GPIODV_13 62 91 #define GPIODV_13 62 87 #define GPIODV_14 63 92 #define GPIODV_14 63 88 #define GPIODV_15 64 93 #define GPIODV_15 64 89 #define GPIODV_16 65 94 #define GPIODV_16 65 90 #define GPIODV_17 66 95 #define GPIODV_17 66 91 #define GPIODV_18 67 96 #define GPIODV_18 67 92 #define GPIODV_19 68 97 #define GPIODV_19 68 93 #define GPIODV_20 69 98 #define GPIODV_20 69 94 #define GPIODV_21 70 99 #define GPIODV_21 70 95 #define GPIODV_22 71 100 #define GPIODV_22 71 96 #define GPIODV_23 72 101 #define GPIODV_23 72 97 #define GPIODV_24 73 102 #define GPIODV_24 73 98 #define GPIODV_25 74 103 #define GPIODV_25 74 99 #define GPIODV_26 75 104 #define GPIODV_26 75 100 #define GPIODV_27 76 105 #define GPIODV_27 76 101 #define GPIODV_28 77 106 #define GPIODV_28 77 102 #define GPIODV_29 78 107 #define GPIODV_29 78 103 #define GPIOX_0 79 108 #define GPIOX_0 79 104 #define GPIOX_1 80 109 #define GPIOX_1 80 105 #define GPIOX_2 81 110 #define GPIOX_2 81 106 #define GPIOX_3 82 111 #define GPIOX_3 82 107 #define GPIOX_4 83 112 #define GPIOX_4 83 108 #define GPIOX_5 84 113 #define GPIOX_5 84 109 #define GPIOX_6 85 114 #define GPIOX_6 85 110 #define GPIOX_7 86 115 #define GPIOX_7 86 111 #define GPIOX_8 87 116 #define GPIOX_8 87 112 #define GPIOX_9 88 117 #define GPIOX_9 88 113 #define GPIOX_10 89 118 #define GPIOX_10 89 114 #define GPIOX_11 90 119 #define GPIOX_11 90 115 #define GPIOX_12 91 120 #define GPIOX_12 91 116 #define GPIOX_13 92 121 #define GPIOX_13 92 117 #define GPIOX_14 93 122 #define GPIOX_14 93 118 #define GPIOX_15 94 123 #define GPIOX_15 94 119 #define GPIOX_16 95 124 #define GPIOX_16 95 120 #define GPIOX_17 96 125 #define GPIOX_17 96 121 #define GPIOX_18 97 126 #define GPIOX_18 97 122 #define GPIOCLK_0 98 127 #define GPIOCLK_0 98 123 #define GPIOCLK_1 99 128 #define GPIOCLK_1 99 >> 129 #define GPIO_TEST_N 100 124 130 125 #endif 131 #endif 126 132
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.