1*48622156SNeil Armstrong /* 2*48622156SNeil Armstrong * GPIO definitions for Amlogic Meson GXL SoCs 3*48622156SNeil Armstrong * 4*48622156SNeil Armstrong * Copyright (C) 2016 Endless Mobile, Inc. 5*48622156SNeil Armstrong * Author: Carlo Caione <carlo@endlessm.com> 6*48622156SNeil Armstrong * 7*48622156SNeil Armstrong * This program is free software; you can redistribute it and/or 8*48622156SNeil Armstrong * modify it under the terms of the GNU General Public License 9*48622156SNeil Armstrong * version 2 as published by the Free Software Foundation. 10*48622156SNeil Armstrong * 11*48622156SNeil Armstrong * You should have received a copy of the GNU General Public License 12*48622156SNeil Armstrong * along with this program. If not, see <http://www.gnu.org/licenses/>. 13*48622156SNeil Armstrong */ 14*48622156SNeil Armstrong 15*48622156SNeil Armstrong #ifndef _DT_BINDINGS_MESON_GXL_GPIO_H 16*48622156SNeil Armstrong #define _DT_BINDINGS_MESON_GXL_GPIO_H 17*48622156SNeil Armstrong 18*48622156SNeil Armstrong #define GPIOAO_0 0 19*48622156SNeil Armstrong #define GPIOAO_1 1 20*48622156SNeil Armstrong #define GPIOAO_2 2 21*48622156SNeil Armstrong #define GPIOAO_3 3 22*48622156SNeil Armstrong #define GPIOAO_4 4 23*48622156SNeil Armstrong #define GPIOAO_5 5 24*48622156SNeil Armstrong #define GPIOAO_6 6 25*48622156SNeil Armstrong #define GPIOAO_7 7 26*48622156SNeil Armstrong #define GPIOAO_8 8 27*48622156SNeil Armstrong #define GPIOAO_9 9 28*48622156SNeil Armstrong 29*48622156SNeil Armstrong #define GPIOZ_0 0 30*48622156SNeil Armstrong #define GPIOZ_1 1 31*48622156SNeil Armstrong #define GPIOZ_2 2 32*48622156SNeil Armstrong #define GPIOZ_3 3 33*48622156SNeil Armstrong #define GPIOZ_4 4 34*48622156SNeil Armstrong #define GPIOZ_5 5 35*48622156SNeil Armstrong #define GPIOZ_6 6 36*48622156SNeil Armstrong #define GPIOZ_7 7 37*48622156SNeil Armstrong #define GPIOZ_8 8 38*48622156SNeil Armstrong #define GPIOZ_9 9 39*48622156SNeil Armstrong #define GPIOZ_10 10 40*48622156SNeil Armstrong #define GPIOZ_11 11 41*48622156SNeil Armstrong #define GPIOZ_12 12 42*48622156SNeil Armstrong #define GPIOZ_13 13 43*48622156SNeil Armstrong #define GPIOZ_14 14 44*48622156SNeil Armstrong #define GPIOZ_15 15 45*48622156SNeil Armstrong #define GPIOH_0 16 46*48622156SNeil Armstrong #define GPIOH_1 17 47*48622156SNeil Armstrong #define GPIOH_2 18 48*48622156SNeil Armstrong #define GPIOH_3 19 49*48622156SNeil Armstrong #define GPIOH_4 20 50*48622156SNeil Armstrong #define GPIOH_5 21 51*48622156SNeil Armstrong #define GPIOH_6 22 52*48622156SNeil Armstrong #define GPIOH_7 23 53*48622156SNeil Armstrong #define GPIOH_8 24 54*48622156SNeil Armstrong #define GPIOH_9 25 55*48622156SNeil Armstrong #define BOOT_0 26 56*48622156SNeil Armstrong #define BOOT_1 27 57*48622156SNeil Armstrong #define BOOT_2 28 58*48622156SNeil Armstrong #define BOOT_3 29 59*48622156SNeil Armstrong #define BOOT_4 30 60*48622156SNeil Armstrong #define BOOT_5 31 61*48622156SNeil Armstrong #define BOOT_6 32 62*48622156SNeil Armstrong #define BOOT_7 33 63*48622156SNeil Armstrong #define BOOT_8 34 64*48622156SNeil Armstrong #define BOOT_9 35 65*48622156SNeil Armstrong #define BOOT_10 36 66*48622156SNeil Armstrong #define BOOT_11 37 67*48622156SNeil Armstrong #define BOOT_12 38 68*48622156SNeil Armstrong #define BOOT_13 39 69*48622156SNeil Armstrong #define BOOT_14 40 70*48622156SNeil Armstrong #define BOOT_15 41 71*48622156SNeil Armstrong #define CARD_0 42 72*48622156SNeil Armstrong #define CARD_1 43 73*48622156SNeil Armstrong #define CARD_2 44 74*48622156SNeil Armstrong #define CARD_3 45 75*48622156SNeil Armstrong #define CARD_4 46 76*48622156SNeil Armstrong #define CARD_5 47 77*48622156SNeil Armstrong #define CARD_6 48 78*48622156SNeil Armstrong #define GPIODV_0 49 79*48622156SNeil Armstrong #define GPIODV_1 50 80*48622156SNeil Armstrong #define GPIODV_2 51 81*48622156SNeil Armstrong #define GPIODV_3 52 82*48622156SNeil Armstrong #define GPIODV_4 53 83*48622156SNeil Armstrong #define GPIODV_5 54 84*48622156SNeil Armstrong #define GPIODV_6 55 85*48622156SNeil Armstrong #define GPIODV_7 56 86*48622156SNeil Armstrong #define GPIODV_8 57 87*48622156SNeil Armstrong #define GPIODV_9 58 88*48622156SNeil Armstrong #define GPIODV_10 59 89*48622156SNeil Armstrong #define GPIODV_11 60 90*48622156SNeil Armstrong #define GPIODV_12 61 91*48622156SNeil Armstrong #define GPIODV_13 62 92*48622156SNeil Armstrong #define GPIODV_14 63 93*48622156SNeil Armstrong #define GPIODV_15 64 94*48622156SNeil Armstrong #define GPIODV_16 65 95*48622156SNeil Armstrong #define GPIODV_17 66 96*48622156SNeil Armstrong #define GPIODV_18 67 97*48622156SNeil Armstrong #define GPIODV_19 68 98*48622156SNeil Armstrong #define GPIODV_20 69 99*48622156SNeil Armstrong #define GPIODV_21 70 100*48622156SNeil Armstrong #define GPIODV_22 71 101*48622156SNeil Armstrong #define GPIODV_23 72 102*48622156SNeil Armstrong #define GPIODV_24 73 103*48622156SNeil Armstrong #define GPIODV_25 74 104*48622156SNeil Armstrong #define GPIODV_26 75 105*48622156SNeil Armstrong #define GPIODV_27 76 106*48622156SNeil Armstrong #define GPIODV_28 77 107*48622156SNeil Armstrong #define GPIODV_29 78 108*48622156SNeil Armstrong #define GPIOX_0 79 109*48622156SNeil Armstrong #define GPIOX_1 80 110*48622156SNeil Armstrong #define GPIOX_2 81 111*48622156SNeil Armstrong #define GPIOX_3 82 112*48622156SNeil Armstrong #define GPIOX_4 83 113*48622156SNeil Armstrong #define GPIOX_5 84 114*48622156SNeil Armstrong #define GPIOX_6 85 115*48622156SNeil Armstrong #define GPIOX_7 86 116*48622156SNeil Armstrong #define GPIOX_8 87 117*48622156SNeil Armstrong #define GPIOX_9 88 118*48622156SNeil Armstrong #define GPIOX_10 89 119*48622156SNeil Armstrong #define GPIOX_11 90 120*48622156SNeil Armstrong #define GPIOX_12 91 121*48622156SNeil Armstrong #define GPIOX_13 92 122*48622156SNeil Armstrong #define GPIOX_14 93 123*48622156SNeil Armstrong #define GPIOX_15 94 124*48622156SNeil Armstrong #define GPIOX_16 95 125*48622156SNeil Armstrong #define GPIOX_17 96 126*48622156SNeil Armstrong #define GPIOX_18 97 127*48622156SNeil Armstrong #define GPIOCLK_0 98 128*48622156SNeil Armstrong #define GPIOCLK_1 99 129*48622156SNeil Armstrong #define GPIO_TEST_N 100 130*48622156SNeil Armstrong 131*48622156SNeil Armstrong #endif 132