1*3c910ecbSThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-only */ 2468c234fSCarlo Caione /* 3468c234fSCarlo Caione * GPIO definitions for Amlogic Meson GXBB SoCs 4468c234fSCarlo Caione * 5468c234fSCarlo Caione * Copyright (C) 2016 Endless Mobile, Inc. 6468c234fSCarlo Caione * Author: Carlo Caione <carlo@endlessm.com> 7468c234fSCarlo Caione */ 8468c234fSCarlo Caione 9468c234fSCarlo Caione #ifndef _DT_BINDINGS_MESON_GXBB_GPIO_H 10468c234fSCarlo Caione #define _DT_BINDINGS_MESON_GXBB_GPIO_H 11468c234fSCarlo Caione 12468c234fSCarlo Caione #define GPIOAO_0 0 13468c234fSCarlo Caione #define GPIOAO_1 1 14468c234fSCarlo Caione #define GPIOAO_2 2 15468c234fSCarlo Caione #define GPIOAO_3 3 16468c234fSCarlo Caione #define GPIOAO_4 4 17468c234fSCarlo Caione #define GPIOAO_5 5 18468c234fSCarlo Caione #define GPIOAO_6 6 19468c234fSCarlo Caione #define GPIOAO_7 7 20468c234fSCarlo Caione #define GPIOAO_8 8 21468c234fSCarlo Caione #define GPIOAO_9 9 22468c234fSCarlo Caione #define GPIOAO_10 10 23468c234fSCarlo Caione #define GPIOAO_11 11 24468c234fSCarlo Caione #define GPIOAO_12 12 25468c234fSCarlo Caione #define GPIOAO_13 13 26e891a5a4SJerome Brunet #define GPIO_TEST_N 14 27468c234fSCarlo Caione 28468c234fSCarlo Caione #define GPIOZ_0 0 29468c234fSCarlo Caione #define GPIOZ_1 1 30468c234fSCarlo Caione #define GPIOZ_2 2 31468c234fSCarlo Caione #define GPIOZ_3 3 32468c234fSCarlo Caione #define GPIOZ_4 4 33468c234fSCarlo Caione #define GPIOZ_5 5 34468c234fSCarlo Caione #define GPIOZ_6 6 35468c234fSCarlo Caione #define GPIOZ_7 7 36468c234fSCarlo Caione #define GPIOZ_8 8 37468c234fSCarlo Caione #define GPIOZ_9 9 38468c234fSCarlo Caione #define GPIOZ_10 10 39468c234fSCarlo Caione #define GPIOZ_11 11 40468c234fSCarlo Caione #define GPIOZ_12 12 41468c234fSCarlo Caione #define GPIOZ_13 13 42468c234fSCarlo Caione #define GPIOZ_14 14 43468c234fSCarlo Caione #define GPIOZ_15 15 44468c234fSCarlo Caione #define GPIOH_0 16 45468c234fSCarlo Caione #define GPIOH_1 17 46468c234fSCarlo Caione #define GPIOH_2 18 47468c234fSCarlo Caione #define GPIOH_3 19 48468c234fSCarlo Caione #define BOOT_0 20 49468c234fSCarlo Caione #define BOOT_1 21 50468c234fSCarlo Caione #define BOOT_2 22 51468c234fSCarlo Caione #define BOOT_3 23 52468c234fSCarlo Caione #define BOOT_4 24 53468c234fSCarlo Caione #define BOOT_5 25 54468c234fSCarlo Caione #define BOOT_6 26 55468c234fSCarlo Caione #define BOOT_7 27 56468c234fSCarlo Caione #define BOOT_8 28 57468c234fSCarlo Caione #define BOOT_9 29 58468c234fSCarlo Caione #define BOOT_10 30 59468c234fSCarlo Caione #define BOOT_11 31 60468c234fSCarlo Caione #define BOOT_12 32 61468c234fSCarlo Caione #define BOOT_13 33 62468c234fSCarlo Caione #define BOOT_14 34 63468c234fSCarlo Caione #define BOOT_15 35 64468c234fSCarlo Caione #define BOOT_16 36 65468c234fSCarlo Caione #define BOOT_17 37 66468c234fSCarlo Caione #define CARD_0 38 67468c234fSCarlo Caione #define CARD_1 39 68468c234fSCarlo Caione #define CARD_2 40 69468c234fSCarlo Caione #define CARD_3 41 70468c234fSCarlo Caione #define CARD_4 42 71468c234fSCarlo Caione #define CARD_5 43 72468c234fSCarlo Caione #define CARD_6 44 73468c234fSCarlo Caione #define GPIODV_0 45 74468c234fSCarlo Caione #define GPIODV_1 46 75468c234fSCarlo Caione #define GPIODV_2 47 76468c234fSCarlo Caione #define GPIODV_3 48 77468c234fSCarlo Caione #define GPIODV_4 49 78468c234fSCarlo Caione #define GPIODV_5 50 79468c234fSCarlo Caione #define GPIODV_6 51 80468c234fSCarlo Caione #define GPIODV_7 52 81468c234fSCarlo Caione #define GPIODV_8 53 82468c234fSCarlo Caione #define GPIODV_9 54 83468c234fSCarlo Caione #define GPIODV_10 55 84468c234fSCarlo Caione #define GPIODV_11 56 85468c234fSCarlo Caione #define GPIODV_12 57 86468c234fSCarlo Caione #define GPIODV_13 58 87468c234fSCarlo Caione #define GPIODV_14 59 88468c234fSCarlo Caione #define GPIODV_15 60 89468c234fSCarlo Caione #define GPIODV_16 61 90468c234fSCarlo Caione #define GPIODV_17 62 91468c234fSCarlo Caione #define GPIODV_18 63 92468c234fSCarlo Caione #define GPIODV_19 64 93468c234fSCarlo Caione #define GPIODV_20 65 94468c234fSCarlo Caione #define GPIODV_21 66 95468c234fSCarlo Caione #define GPIODV_22 67 96468c234fSCarlo Caione #define GPIODV_23 68 97468c234fSCarlo Caione #define GPIODV_24 69 98468c234fSCarlo Caione #define GPIODV_25 70 99468c234fSCarlo Caione #define GPIODV_26 71 100468c234fSCarlo Caione #define GPIODV_27 72 101468c234fSCarlo Caione #define GPIODV_28 73 102468c234fSCarlo Caione #define GPIODV_29 74 103468c234fSCarlo Caione #define GPIOY_0 75 104468c234fSCarlo Caione #define GPIOY_1 76 105468c234fSCarlo Caione #define GPIOY_2 77 106468c234fSCarlo Caione #define GPIOY_3 78 107468c234fSCarlo Caione #define GPIOY_4 79 108468c234fSCarlo Caione #define GPIOY_5 80 109468c234fSCarlo Caione #define GPIOY_6 81 110468c234fSCarlo Caione #define GPIOY_7 82 111468c234fSCarlo Caione #define GPIOY_8 83 112468c234fSCarlo Caione #define GPIOY_9 84 113468c234fSCarlo Caione #define GPIOY_10 85 114468c234fSCarlo Caione #define GPIOY_11 86 115468c234fSCarlo Caione #define GPIOY_12 87 116468c234fSCarlo Caione #define GPIOY_13 88 117468c234fSCarlo Caione #define GPIOY_14 89 118468c234fSCarlo Caione #define GPIOY_15 90 119468c234fSCarlo Caione #define GPIOY_16 91 120468c234fSCarlo Caione #define GPIOX_0 92 121468c234fSCarlo Caione #define GPIOX_1 93 122468c234fSCarlo Caione #define GPIOX_2 94 123468c234fSCarlo Caione #define GPIOX_3 95 124468c234fSCarlo Caione #define GPIOX_4 96 125468c234fSCarlo Caione #define GPIOX_5 97 126468c234fSCarlo Caione #define GPIOX_6 98 127468c234fSCarlo Caione #define GPIOX_7 99 128468c234fSCarlo Caione #define GPIOX_8 100 129468c234fSCarlo Caione #define GPIOX_9 101 130468c234fSCarlo Caione #define GPIOX_10 102 131468c234fSCarlo Caione #define GPIOX_11 103 132468c234fSCarlo Caione #define GPIOX_12 104 133468c234fSCarlo Caione #define GPIOX_13 105 134468c234fSCarlo Caione #define GPIOX_14 106 135468c234fSCarlo Caione #define GPIOX_15 107 136468c234fSCarlo Caione #define GPIOX_16 108 137468c234fSCarlo Caione #define GPIOX_17 109 138468c234fSCarlo Caione #define GPIOX_18 110 139468c234fSCarlo Caione #define GPIOX_19 111 140468c234fSCarlo Caione #define GPIOX_20 112 141468c234fSCarlo Caione #define GPIOX_21 113 142468c234fSCarlo Caione #define GPIOX_22 114 143468c234fSCarlo Caione #define GPIOCLK_0 115 144468c234fSCarlo Caione #define GPIOCLK_1 116 145468c234fSCarlo Caione #define GPIOCLK_2 117 146468c234fSCarlo Caione #define GPIOCLK_3 118 147468c234fSCarlo Caione 148468c234fSCarlo Caione #endif 149