1 /* SPDX-License-Identifier: (GPL-2.0+ OR MIT) 1 /* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ 2 /* 2 /* 3 * Copyright (c) 2021 Amlogic, Inc. All rights 3 * Copyright (c) 2021 Amlogic, Inc. All rights reserved. 4 * Author: Qianggui Song <qianggui.song@amlogi 4 * Author: Qianggui Song <qianggui.song@amlogic.com> 5 */ 5 */ 6 6 7 #ifndef _DT_BINDINGS_MESON_S4_GPIO_H 7 #ifndef _DT_BINDINGS_MESON_S4_GPIO_H 8 #define _DT_BINDINGS_MESON_S4_GPIO_H 8 #define _DT_BINDINGS_MESON_S4_GPIO_H 9 9 10 #define GPIOB_0 0 10 #define GPIOB_0 0 11 #define GPIOB_1 1 11 #define GPIOB_1 1 12 #define GPIOB_2 2 12 #define GPIOB_2 2 13 #define GPIOB_3 3 13 #define GPIOB_3 3 14 #define GPIOB_4 4 14 #define GPIOB_4 4 15 #define GPIOB_5 5 15 #define GPIOB_5 5 16 #define GPIOB_6 6 16 #define GPIOB_6 6 17 #define GPIOB_7 7 17 #define GPIOB_7 7 18 #define GPIOB_8 8 18 #define GPIOB_8 8 19 #define GPIOB_9 9 19 #define GPIOB_9 9 20 #define GPIOB_10 10 20 #define GPIOB_10 10 21 #define GPIOB_11 11 21 #define GPIOB_11 11 22 #define GPIOB_12 12 22 #define GPIOB_12 12 23 #define GPIOB_13 13 23 #define GPIOB_13 13 24 24 25 #define GPIOC_0 14 25 #define GPIOC_0 14 26 #define GPIOC_1 15 26 #define GPIOC_1 15 27 #define GPIOC_2 16 27 #define GPIOC_2 16 28 #define GPIOC_3 17 28 #define GPIOC_3 17 29 #define GPIOC_4 18 29 #define GPIOC_4 18 30 #define GPIOC_5 19 30 #define GPIOC_5 19 31 #define GPIOC_6 20 31 #define GPIOC_6 20 32 #define GPIOC_7 21 32 #define GPIOC_7 21 33 33 34 #define GPIOE_0 22 34 #define GPIOE_0 22 35 #define GPIOE_1 23 35 #define GPIOE_1 23 36 36 37 #define GPIOD_0 24 37 #define GPIOD_0 24 38 #define GPIOD_1 25 38 #define GPIOD_1 25 39 #define GPIOD_2 26 39 #define GPIOD_2 26 40 #define GPIOD_3 27 40 #define GPIOD_3 27 41 #define GPIOD_4 28 41 #define GPIOD_4 28 42 #define GPIOD_5 29 42 #define GPIOD_5 29 43 #define GPIOD_6 30 43 #define GPIOD_6 30 44 #define GPIOD_7 31 44 #define GPIOD_7 31 45 #define GPIOD_8 32 45 #define GPIOD_8 32 46 #define GPIOD_9 33 46 #define GPIOD_9 33 47 #define GPIOD_10 34 47 #define GPIOD_10 34 48 #define GPIOD_11 35 48 #define GPIOD_11 35 49 49 50 #define GPIOH_0 36 50 #define GPIOH_0 36 51 #define GPIOH_1 37 51 #define GPIOH_1 37 52 #define GPIOH_2 38 52 #define GPIOH_2 38 53 #define GPIOH_3 39 53 #define GPIOH_3 39 54 #define GPIOH_4 40 54 #define GPIOH_4 40 55 #define GPIOH_5 41 55 #define GPIOH_5 41 56 #define GPIOH_6 42 56 #define GPIOH_6 42 57 #define GPIOH_7 43 57 #define GPIOH_7 43 58 #define GPIOH_8 44 58 #define GPIOH_8 44 59 #define GPIOH_9 45 59 #define GPIOH_9 45 60 #define GPIOH_10 46 60 #define GPIOH_10 46 61 #define GPIOH_11 47 61 #define GPIOH_11 47 62 62 63 #define GPIOX_0 48 63 #define GPIOX_0 48 64 #define GPIOX_1 49 64 #define GPIOX_1 49 65 #define GPIOX_2 50 65 #define GPIOX_2 50 66 #define GPIOX_3 51 66 #define GPIOX_3 51 67 #define GPIOX_4 52 67 #define GPIOX_4 52 68 #define GPIOX_5 53 68 #define GPIOX_5 53 69 #define GPIOX_6 54 69 #define GPIOX_6 54 70 #define GPIOX_7 55 70 #define GPIOX_7 55 71 #define GPIOX_8 56 71 #define GPIOX_8 56 72 #define GPIOX_9 57 72 #define GPIOX_9 57 73 #define GPIOX_10 58 73 #define GPIOX_10 58 74 #define GPIOX_11 59 74 #define GPIOX_11 59 75 #define GPIOX_12 60 75 #define GPIOX_12 60 76 #define GPIOX_13 61 76 #define GPIOX_13 61 77 #define GPIOX_14 62 77 #define GPIOX_14 62 78 #define GPIOX_15 63 78 #define GPIOX_15 63 79 #define GPIOX_16 64 79 #define GPIOX_16 64 80 #define GPIOX_17 65 80 #define GPIOX_17 65 81 #define GPIOX_18 66 81 #define GPIOX_18 66 82 #define GPIOX_19 67 82 #define GPIOX_19 67 83 83 84 #define GPIOZ_0 68 84 #define GPIOZ_0 68 85 #define GPIOZ_1 69 85 #define GPIOZ_1 69 86 #define GPIOZ_2 70 86 #define GPIOZ_2 70 87 #define GPIOZ_3 71 87 #define GPIOZ_3 71 88 #define GPIOZ_4 72 88 #define GPIOZ_4 72 89 #define GPIOZ_5 73 89 #define GPIOZ_5 73 90 #define GPIOZ_6 74 90 #define GPIOZ_6 74 91 #define GPIOZ_7 75 91 #define GPIOZ_7 75 92 #define GPIOZ_8 76 92 #define GPIOZ_8 76 93 #define GPIOZ_9 77 93 #define GPIOZ_9 77 94 #define GPIOZ_10 78 94 #define GPIOZ_10 78 95 #define GPIOZ_11 79 95 #define GPIOZ_11 79 96 #define GPIOZ_12 80 96 #define GPIOZ_12 80 97 97 98 #define GPIO_TEST_N 81 98 #define GPIO_TEST_N 81 99 #endif /* _DT_BINDINGS_MESON_S4_GPIO_H */ 99 #endif /* _DT_BINDINGS_MESON_S4_GPIO_H */ 100 100
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.