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