18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * GPIO definitions for Amlogic Meson GXBB SoCs 48c2ecf20Sopenharmony_ci * 58c2ecf20Sopenharmony_ci * Copyright (C) 2016 Endless Mobile, Inc. 68c2ecf20Sopenharmony_ci * Author: Carlo Caione <carlo@endlessm.com> 78c2ecf20Sopenharmony_ci */ 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ci#ifndef _DT_BINDINGS_MESON_GXBB_GPIO_H 108c2ecf20Sopenharmony_ci#define _DT_BINDINGS_MESON_GXBB_GPIO_H 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ci#define GPIOAO_0 0 138c2ecf20Sopenharmony_ci#define GPIOAO_1 1 148c2ecf20Sopenharmony_ci#define GPIOAO_2 2 158c2ecf20Sopenharmony_ci#define GPIOAO_3 3 168c2ecf20Sopenharmony_ci#define GPIOAO_4 4 178c2ecf20Sopenharmony_ci#define GPIOAO_5 5 188c2ecf20Sopenharmony_ci#define GPIOAO_6 6 198c2ecf20Sopenharmony_ci#define GPIOAO_7 7 208c2ecf20Sopenharmony_ci#define GPIOAO_8 8 218c2ecf20Sopenharmony_ci#define GPIOAO_9 9 228c2ecf20Sopenharmony_ci#define GPIOAO_10 10 238c2ecf20Sopenharmony_ci#define GPIOAO_11 11 248c2ecf20Sopenharmony_ci#define GPIOAO_12 12 258c2ecf20Sopenharmony_ci#define GPIOAO_13 13 268c2ecf20Sopenharmony_ci#define GPIO_TEST_N 14 278c2ecf20Sopenharmony_ci 288c2ecf20Sopenharmony_ci#define GPIOZ_0 0 298c2ecf20Sopenharmony_ci#define GPIOZ_1 1 308c2ecf20Sopenharmony_ci#define GPIOZ_2 2 318c2ecf20Sopenharmony_ci#define GPIOZ_3 3 328c2ecf20Sopenharmony_ci#define GPIOZ_4 4 338c2ecf20Sopenharmony_ci#define GPIOZ_5 5 348c2ecf20Sopenharmony_ci#define GPIOZ_6 6 358c2ecf20Sopenharmony_ci#define GPIOZ_7 7 368c2ecf20Sopenharmony_ci#define GPIOZ_8 8 378c2ecf20Sopenharmony_ci#define GPIOZ_9 9 388c2ecf20Sopenharmony_ci#define GPIOZ_10 10 398c2ecf20Sopenharmony_ci#define GPIOZ_11 11 408c2ecf20Sopenharmony_ci#define GPIOZ_12 12 418c2ecf20Sopenharmony_ci#define GPIOZ_13 13 428c2ecf20Sopenharmony_ci#define GPIOZ_14 14 438c2ecf20Sopenharmony_ci#define GPIOZ_15 15 448c2ecf20Sopenharmony_ci#define GPIOH_0 16 458c2ecf20Sopenharmony_ci#define GPIOH_1 17 468c2ecf20Sopenharmony_ci#define GPIOH_2 18 478c2ecf20Sopenharmony_ci#define GPIOH_3 19 488c2ecf20Sopenharmony_ci#define BOOT_0 20 498c2ecf20Sopenharmony_ci#define BOOT_1 21 508c2ecf20Sopenharmony_ci#define BOOT_2 22 518c2ecf20Sopenharmony_ci#define BOOT_3 23 528c2ecf20Sopenharmony_ci#define BOOT_4 24 538c2ecf20Sopenharmony_ci#define BOOT_5 25 548c2ecf20Sopenharmony_ci#define BOOT_6 26 558c2ecf20Sopenharmony_ci#define BOOT_7 27 568c2ecf20Sopenharmony_ci#define BOOT_8 28 578c2ecf20Sopenharmony_ci#define BOOT_9 29 588c2ecf20Sopenharmony_ci#define BOOT_10 30 598c2ecf20Sopenharmony_ci#define BOOT_11 31 608c2ecf20Sopenharmony_ci#define BOOT_12 32 618c2ecf20Sopenharmony_ci#define BOOT_13 33 628c2ecf20Sopenharmony_ci#define BOOT_14 34 638c2ecf20Sopenharmony_ci#define BOOT_15 35 648c2ecf20Sopenharmony_ci#define BOOT_16 36 658c2ecf20Sopenharmony_ci#define BOOT_17 37 668c2ecf20Sopenharmony_ci#define CARD_0 38 678c2ecf20Sopenharmony_ci#define CARD_1 39 688c2ecf20Sopenharmony_ci#define CARD_2 40 698c2ecf20Sopenharmony_ci#define CARD_3 41 708c2ecf20Sopenharmony_ci#define CARD_4 42 718c2ecf20Sopenharmony_ci#define CARD_5 43 728c2ecf20Sopenharmony_ci#define CARD_6 44 738c2ecf20Sopenharmony_ci#define GPIODV_0 45 748c2ecf20Sopenharmony_ci#define GPIODV_1 46 758c2ecf20Sopenharmony_ci#define GPIODV_2 47 768c2ecf20Sopenharmony_ci#define GPIODV_3 48 778c2ecf20Sopenharmony_ci#define GPIODV_4 49 788c2ecf20Sopenharmony_ci#define GPIODV_5 50 798c2ecf20Sopenharmony_ci#define GPIODV_6 51 808c2ecf20Sopenharmony_ci#define GPIODV_7 52 818c2ecf20Sopenharmony_ci#define GPIODV_8 53 828c2ecf20Sopenharmony_ci#define GPIODV_9 54 838c2ecf20Sopenharmony_ci#define GPIODV_10 55 848c2ecf20Sopenharmony_ci#define GPIODV_11 56 858c2ecf20Sopenharmony_ci#define GPIODV_12 57 868c2ecf20Sopenharmony_ci#define GPIODV_13 58 878c2ecf20Sopenharmony_ci#define GPIODV_14 59 888c2ecf20Sopenharmony_ci#define GPIODV_15 60 898c2ecf20Sopenharmony_ci#define GPIODV_16 61 908c2ecf20Sopenharmony_ci#define GPIODV_17 62 918c2ecf20Sopenharmony_ci#define GPIODV_18 63 928c2ecf20Sopenharmony_ci#define GPIODV_19 64 938c2ecf20Sopenharmony_ci#define GPIODV_20 65 948c2ecf20Sopenharmony_ci#define GPIODV_21 66 958c2ecf20Sopenharmony_ci#define GPIODV_22 67 968c2ecf20Sopenharmony_ci#define GPIODV_23 68 978c2ecf20Sopenharmony_ci#define GPIODV_24 69 988c2ecf20Sopenharmony_ci#define GPIODV_25 70 998c2ecf20Sopenharmony_ci#define GPIODV_26 71 1008c2ecf20Sopenharmony_ci#define GPIODV_27 72 1018c2ecf20Sopenharmony_ci#define GPIODV_28 73 1028c2ecf20Sopenharmony_ci#define GPIODV_29 74 1038c2ecf20Sopenharmony_ci#define GPIOY_0 75 1048c2ecf20Sopenharmony_ci#define GPIOY_1 76 1058c2ecf20Sopenharmony_ci#define GPIOY_2 77 1068c2ecf20Sopenharmony_ci#define GPIOY_3 78 1078c2ecf20Sopenharmony_ci#define GPIOY_4 79 1088c2ecf20Sopenharmony_ci#define GPIOY_5 80 1098c2ecf20Sopenharmony_ci#define GPIOY_6 81 1108c2ecf20Sopenharmony_ci#define GPIOY_7 82 1118c2ecf20Sopenharmony_ci#define GPIOY_8 83 1128c2ecf20Sopenharmony_ci#define GPIOY_9 84 1138c2ecf20Sopenharmony_ci#define GPIOY_10 85 1148c2ecf20Sopenharmony_ci#define GPIOY_11 86 1158c2ecf20Sopenharmony_ci#define GPIOY_12 87 1168c2ecf20Sopenharmony_ci#define GPIOY_13 88 1178c2ecf20Sopenharmony_ci#define GPIOY_14 89 1188c2ecf20Sopenharmony_ci#define GPIOY_15 90 1198c2ecf20Sopenharmony_ci#define GPIOY_16 91 1208c2ecf20Sopenharmony_ci#define GPIOX_0 92 1218c2ecf20Sopenharmony_ci#define GPIOX_1 93 1228c2ecf20Sopenharmony_ci#define GPIOX_2 94 1238c2ecf20Sopenharmony_ci#define GPIOX_3 95 1248c2ecf20Sopenharmony_ci#define GPIOX_4 96 1258c2ecf20Sopenharmony_ci#define GPIOX_5 97 1268c2ecf20Sopenharmony_ci#define GPIOX_6 98 1278c2ecf20Sopenharmony_ci#define GPIOX_7 99 1288c2ecf20Sopenharmony_ci#define GPIOX_8 100 1298c2ecf20Sopenharmony_ci#define GPIOX_9 101 1308c2ecf20Sopenharmony_ci#define GPIOX_10 102 1318c2ecf20Sopenharmony_ci#define GPIOX_11 103 1328c2ecf20Sopenharmony_ci#define GPIOX_12 104 1338c2ecf20Sopenharmony_ci#define GPIOX_13 105 1348c2ecf20Sopenharmony_ci#define GPIOX_14 106 1358c2ecf20Sopenharmony_ci#define GPIOX_15 107 1368c2ecf20Sopenharmony_ci#define GPIOX_16 108 1378c2ecf20Sopenharmony_ci#define GPIOX_17 109 1388c2ecf20Sopenharmony_ci#define GPIOX_18 110 1398c2ecf20Sopenharmony_ci#define GPIOX_19 111 1408c2ecf20Sopenharmony_ci#define GPIOX_20 112 1418c2ecf20Sopenharmony_ci#define GPIOX_21 113 1428c2ecf20Sopenharmony_ci#define GPIOX_22 114 1438c2ecf20Sopenharmony_ci#define GPIOCLK_0 115 1448c2ecf20Sopenharmony_ci#define GPIOCLK_1 116 1458c2ecf20Sopenharmony_ci#define GPIOCLK_2 117 1468c2ecf20Sopenharmony_ci#define GPIOCLK_3 118 1478c2ecf20Sopenharmony_ci 1488c2ecf20Sopenharmony_ci#endif 149