| /* |
| * include/dt-bindings/gpio/meson-txl-gpio.h |
| * |
| * Copyright (C) 2017 Amlogic, Inc. All rights reserved. |
| * |
| * This program is free software; you can redistribute it and/or modify |
| * it under the terms of the GNU General Public License as published by |
| * the Free Software Foundation; either version 2 of the License, or |
| * (at your option) any later version. |
| * |
| * This program is distributed in the hope that it will be useful, but WITHOUT |
| * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
| * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
| * more details. |
| * |
| */ |
| |
| #ifndef __DT_BINDINGS_MESON_TXL_GPIO_H |
| #define __DT_BINDINGS_MESON_TXL_GPIO_H |
| |
| /* |
| * NOTICE: The gpio number sequence according to the gpio interrupts. |
| */ |
| |
| |
| /* AO Bank */ |
| #define GPIOAO_0 0 |
| #define GPIOAO_1 1 |
| #define GPIOAO_2 2 |
| #define GPIOAO_3 3 |
| #define GPIOAO_4 4 |
| #define GPIOAO_5 5 |
| #define GPIOAO_6 6 |
| #define GPIOAO_7 7 |
| #define GPIOAO_8 8 |
| #define GPIOAO_9 9 |
| #define GPIOAO_10 10 |
| #define GPIOAO_11 11 |
| #define GPIO_TEST_N 12 |
| |
| /* EE Bank */ |
| #define GPIOZ_0 0 |
| #define GPIOZ_1 1 |
| #define GPIOZ_2 2 |
| #define GPIOZ_3 3 |
| #define GPIOZ_4 4 |
| #define GPIOZ_5 5 |
| #define GPIOZ_6 6 |
| #define GPIOZ_7 7 |
| #define GPIOZ_8 8 |
| #define GPIOZ_9 9 |
| #define GPIOZ_10 10 |
| #define GPIOZ_11 11 |
| #define GPIOZ_12 12 |
| #define GPIOZ_13 13 |
| #define GPIOZ_14 14 |
| #define GPIOZ_15 15 |
| #define GPIOZ_16 16 |
| #define GPIOZ_17 17 |
| #define GPIOZ_18 18 |
| #define GPIOZ_19 19 |
| #define GPIOZ_20 20 |
| #define GPIOZ_21 21 |
| |
| #define GPIOH_0 22 |
| #define GPIOH_1 23 |
| #define GPIOH_2 24 |
| #define GPIOH_3 25 |
| #define GPIOH_4 26 |
| #define GPIOH_5 27 |
| #define GPIOH_6 28 |
| #define GPIOH_7 29 |
| #define GPIOH_8 30 |
| #define GPIOH_9 31 |
| |
| #define BOOT_0 32 |
| #define BOOT_1 33 |
| #define BOOT_2 34 |
| #define BOOT_3 35 |
| #define BOOT_4 36 |
| #define BOOT_5 37 |
| #define BOOT_6 38 |
| #define BOOT_7 39 |
| #define BOOT_8 40 |
| #define BOOT_9 41 |
| #define BOOT_10 42 |
| #define BOOT_11 43 |
| |
| #define CARD_0 44 |
| #define CARD_1 45 |
| #define CARD_2 46 |
| #define CARD_3 47 |
| #define CARD_4 48 |
| #define CARD_5 49 |
| #define CARD_6 50 |
| |
| #define GPIODV_0 51 |
| #define GPIODV_1 52 |
| #define GPIODV_2 53 |
| #define GPIODV_3 54 |
| #define GPIODV_4 55 |
| #define GPIODV_5 56 |
| #define GPIODV_6 57 |
| #define GPIODV_7 58 |
| #define GPIODV_8 59 |
| #define GPIODV_9 60 |
| #define GPIODV_10 61 |
| #define GPIODV_11 62 |
| |
| #define GPIOW_0 63 |
| #define GPIOW_1 64 |
| #define GPIOW_2 65 |
| #define GPIOW_3 66 |
| #define GPIOW_4 67 |
| #define GPIOW_5 68 |
| #define GPIOW_6 69 |
| #define GPIOW_7 70 |
| #define GPIOW_8 71 |
| #define GPIOW_9 72 |
| #define GPIOW_10 73 |
| #define GPIOW_11 74 |
| #define GPIOW_12 75 |
| #define GPIOW_13 76 |
| #define GPIOW_14 77 |
| #define GPIOW_15 78 |
| |
| #define GPIOCLK_0 79 |
| #define GPIOCLK_1 80 |
| |
| #endif |