18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Copyright (c) 2019 Amlogic, Inc. All rights reserved. 48c2ecf20Sopenharmony_ci * Author: Qianggui Song <qianggui.song@amlogic.com> 58c2ecf20Sopenharmony_ci */ 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ci#ifndef _DT_BINDINGS_MESON_A1_GPIO_H 88c2ecf20Sopenharmony_ci#define _DT_BINDINGS_MESON_A1_GPIO_H 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ci#define GPIOP_0 0 118c2ecf20Sopenharmony_ci#define GPIOP_1 1 128c2ecf20Sopenharmony_ci#define GPIOP_2 2 138c2ecf20Sopenharmony_ci#define GPIOP_3 3 148c2ecf20Sopenharmony_ci#define GPIOP_4 4 158c2ecf20Sopenharmony_ci#define GPIOP_5 5 168c2ecf20Sopenharmony_ci#define GPIOP_6 6 178c2ecf20Sopenharmony_ci#define GPIOP_7 7 188c2ecf20Sopenharmony_ci#define GPIOP_8 8 198c2ecf20Sopenharmony_ci#define GPIOP_9 9 208c2ecf20Sopenharmony_ci#define GPIOP_10 10 218c2ecf20Sopenharmony_ci#define GPIOP_11 11 228c2ecf20Sopenharmony_ci#define GPIOP_12 12 238c2ecf20Sopenharmony_ci#define GPIOB_0 13 248c2ecf20Sopenharmony_ci#define GPIOB_1 14 258c2ecf20Sopenharmony_ci#define GPIOB_2 15 268c2ecf20Sopenharmony_ci#define GPIOB_3 16 278c2ecf20Sopenharmony_ci#define GPIOB_4 17 288c2ecf20Sopenharmony_ci#define GPIOB_5 18 298c2ecf20Sopenharmony_ci#define GPIOB_6 19 308c2ecf20Sopenharmony_ci#define GPIOX_0 20 318c2ecf20Sopenharmony_ci#define GPIOX_1 21 328c2ecf20Sopenharmony_ci#define GPIOX_2 22 338c2ecf20Sopenharmony_ci#define GPIOX_3 23 348c2ecf20Sopenharmony_ci#define GPIOX_4 24 358c2ecf20Sopenharmony_ci#define GPIOX_5 25 368c2ecf20Sopenharmony_ci#define GPIOX_6 26 378c2ecf20Sopenharmony_ci#define GPIOX_7 27 388c2ecf20Sopenharmony_ci#define GPIOX_8 28 398c2ecf20Sopenharmony_ci#define GPIOX_9 29 408c2ecf20Sopenharmony_ci#define GPIOX_10 30 418c2ecf20Sopenharmony_ci#define GPIOX_11 31 428c2ecf20Sopenharmony_ci#define GPIOX_12 32 438c2ecf20Sopenharmony_ci#define GPIOX_13 33 448c2ecf20Sopenharmony_ci#define GPIOX_14 34 458c2ecf20Sopenharmony_ci#define GPIOX_15 35 468c2ecf20Sopenharmony_ci#define GPIOX_16 36 478c2ecf20Sopenharmony_ci#define GPIOF_0 37 488c2ecf20Sopenharmony_ci#define GPIOF_1 38 498c2ecf20Sopenharmony_ci#define GPIOF_2 39 508c2ecf20Sopenharmony_ci#define GPIOF_3 40 518c2ecf20Sopenharmony_ci#define GPIOF_4 41 528c2ecf20Sopenharmony_ci#define GPIOF_5 42 538c2ecf20Sopenharmony_ci#define GPIOF_6 43 548c2ecf20Sopenharmony_ci#define GPIOF_7 44 558c2ecf20Sopenharmony_ci#define GPIOF_8 45 568c2ecf20Sopenharmony_ci#define GPIOF_9 46 578c2ecf20Sopenharmony_ci#define GPIOF_10 47 588c2ecf20Sopenharmony_ci#define GPIOF_11 48 598c2ecf20Sopenharmony_ci#define GPIOF_12 49 608c2ecf20Sopenharmony_ci#define GPIOA_0 50 618c2ecf20Sopenharmony_ci#define GPIOA_1 51 628c2ecf20Sopenharmony_ci#define GPIOA_2 52 638c2ecf20Sopenharmony_ci#define GPIOA_3 53 648c2ecf20Sopenharmony_ci#define GPIOA_4 54 658c2ecf20Sopenharmony_ci#define GPIOA_5 55 668c2ecf20Sopenharmony_ci#define GPIOA_6 56 678c2ecf20Sopenharmony_ci#define GPIOA_7 57 688c2ecf20Sopenharmony_ci#define GPIOA_8 58 698c2ecf20Sopenharmony_ci#define GPIOA_9 59 708c2ecf20Sopenharmony_ci#define GPIOA_10 60 718c2ecf20Sopenharmony_ci#define GPIOA_11 61 728c2ecf20Sopenharmony_ci 738c2ecf20Sopenharmony_ci#endif /* _DT_BINDINGS_MESON_A1_GPIO_H */ 74