1 /* SPDX-License-Identifier: (GPL-2.0-only OR M 1 /* SPDX-License-Identifier: (GPL-2.0-only OR MIT) */ 2 /* 2 /* 3 * Copyright (c) 2021 Amlogic, Inc. All rights 3 * Copyright (c) 2021 Amlogic, Inc. All rights reserved. 4 * Author: Huqiang Qin <huqiang.qin@amlogic.co 4 * Author: Huqiang Qin <huqiang.qin@amlogic.com> 5 */ 5 */ 6 6 7 #ifndef _DT_BINDINGS_AMLOGIC_C3_GPIO_H 7 #ifndef _DT_BINDINGS_AMLOGIC_C3_GPIO_H 8 #define _DT_BINDINGS_AMLOGIC_C3_GPIO_H 8 #define _DT_BINDINGS_AMLOGIC_C3_GPIO_H 9 9 10 #define GPIOE_0 0 10 #define GPIOE_0 0 11 #define GPIOE_1 1 11 #define GPIOE_1 1 12 #define GPIOE_2 2 12 #define GPIOE_2 2 13 #define GPIOE_3 3 13 #define GPIOE_3 3 14 #define GPIOE_4 4 14 #define GPIOE_4 4 15 15 16 #define GPIOB_0 5 16 #define GPIOB_0 5 17 #define GPIOB_1 6 17 #define GPIOB_1 6 18 #define GPIOB_2 7 18 #define GPIOB_2 7 19 #define GPIOB_3 8 19 #define GPIOB_3 8 20 #define GPIOB_4 9 20 #define GPIOB_4 9 21 #define GPIOB_5 10 21 #define GPIOB_5 10 22 #define GPIOB_6 11 22 #define GPIOB_6 11 23 #define GPIOB_7 12 23 #define GPIOB_7 12 24 #define GPIOB_8 13 24 #define GPIOB_8 13 25 #define GPIOB_9 14 25 #define GPIOB_9 14 26 #define GPIOB_10 15 26 #define GPIOB_10 15 27 #define GPIOB_11 16 27 #define GPIOB_11 16 28 #define GPIOB_12 17 28 #define GPIOB_12 17 29 #define GPIOB_13 18 29 #define GPIOB_13 18 30 #define GPIOB_14 19 30 #define GPIOB_14 19 31 31 32 #define GPIOC_0 20 32 #define GPIOC_0 20 33 #define GPIOC_1 21 33 #define GPIOC_1 21 34 #define GPIOC_2 22 34 #define GPIOC_2 22 35 #define GPIOC_3 23 35 #define GPIOC_3 23 36 #define GPIOC_4 24 36 #define GPIOC_4 24 37 #define GPIOC_5 25 37 #define GPIOC_5 25 38 #define GPIOC_6 26 38 #define GPIOC_6 26 39 39 40 #define GPIOX_0 27 40 #define GPIOX_0 27 41 #define GPIOX_1 28 41 #define GPIOX_1 28 42 #define GPIOX_2 29 42 #define GPIOX_2 29 43 #define GPIOX_3 30 43 #define GPIOX_3 30 44 #define GPIOX_4 31 44 #define GPIOX_4 31 45 #define GPIOX_5 32 45 #define GPIOX_5 32 46 #define GPIOX_6 33 46 #define GPIOX_6 33 47 #define GPIOX_7 34 47 #define GPIOX_7 34 48 #define GPIOX_8 35 48 #define GPIOX_8 35 49 #define GPIOX_9 36 49 #define GPIOX_9 36 50 #define GPIOX_10 37 50 #define GPIOX_10 37 51 #define GPIOX_11 38 51 #define GPIOX_11 38 52 #define GPIOX_12 39 52 #define GPIOX_12 39 53 #define GPIOX_13 40 53 #define GPIOX_13 40 54 54 55 #define GPIOD_0 41 55 #define GPIOD_0 41 56 #define GPIOD_1 42 56 #define GPIOD_1 42 57 #define GPIOD_2 43 57 #define GPIOD_2 43 58 #define GPIOD_3 44 58 #define GPIOD_3 44 59 #define GPIOD_4 45 59 #define GPIOD_4 45 60 #define GPIOD_5 46 60 #define GPIOD_5 46 61 #define GPIOD_6 47 61 #define GPIOD_6 47 62 62 63 #define GPIOA_0 48 63 #define GPIOA_0 48 64 #define GPIOA_1 49 64 #define GPIOA_1 49 65 #define GPIOA_2 50 65 #define GPIOA_2 50 66 #define GPIOA_3 51 66 #define GPIOA_3 51 67 #define GPIOA_4 52 67 #define GPIOA_4 52 68 #define GPIOA_5 53 68 #define GPIOA_5 53 69 69 70 #define GPIO_TEST_N 54 70 #define GPIO_TEST_N 54 71 71 72 #endif /* _DT_BINDINGS_AMLOGIC_C3_GPIO_H */ 72 #endif /* _DT_BINDINGS_AMLOGIC_C3_GPIO_H */ 73 73
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.