1*440b075bSKrzysztof Kozlowski /* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ 23cd3c83fSYixun Lan /* 33cd3c83fSYixun Lan * Copyright (c) 2018 Amlogic, Inc. All rights reserved. 43cd3c83fSYixun Lan * Author: Xingyu Chen <xingyu.chen@amlogic.com> 53cd3c83fSYixun Lan */ 63cd3c83fSYixun Lan 73cd3c83fSYixun Lan #ifndef _DT_BINDINGS_MESON_G12A_GPIO_H 83cd3c83fSYixun Lan #define _DT_BINDINGS_MESON_G12A_GPIO_H 93cd3c83fSYixun Lan 103cd3c83fSYixun Lan /* First GPIO chip */ 113cd3c83fSYixun Lan #define GPIOAO_0 0 123cd3c83fSYixun Lan #define GPIOAO_1 1 133cd3c83fSYixun Lan #define GPIOAO_2 2 143cd3c83fSYixun Lan #define GPIOAO_3 3 153cd3c83fSYixun Lan #define GPIOAO_4 4 163cd3c83fSYixun Lan #define GPIOAO_5 5 173cd3c83fSYixun Lan #define GPIOAO_6 6 183cd3c83fSYixun Lan #define GPIOAO_7 7 193cd3c83fSYixun Lan #define GPIOAO_8 8 203cd3c83fSYixun Lan #define GPIOAO_9 9 213cd3c83fSYixun Lan #define GPIOAO_10 10 223cd3c83fSYixun Lan #define GPIOAO_11 11 233cd3c83fSYixun Lan #define GPIOE_0 12 243cd3c83fSYixun Lan #define GPIOE_1 13 253cd3c83fSYixun Lan #define GPIOE_2 14 263cd3c83fSYixun Lan 273cd3c83fSYixun Lan /* Second GPIO chip */ 283cd3c83fSYixun Lan #define GPIOZ_0 0 293cd3c83fSYixun Lan #define GPIOZ_1 1 303cd3c83fSYixun Lan #define GPIOZ_2 2 313cd3c83fSYixun Lan #define GPIOZ_3 3 323cd3c83fSYixun Lan #define GPIOZ_4 4 333cd3c83fSYixun Lan #define GPIOZ_5 5 343cd3c83fSYixun Lan #define GPIOZ_6 6 353cd3c83fSYixun Lan #define GPIOZ_7 7 363cd3c83fSYixun Lan #define GPIOZ_8 8 373cd3c83fSYixun Lan #define GPIOZ_9 9 383cd3c83fSYixun Lan #define GPIOZ_10 10 393cd3c83fSYixun Lan #define GPIOZ_11 11 403cd3c83fSYixun Lan #define GPIOZ_12 12 413cd3c83fSYixun Lan #define GPIOZ_13 13 423cd3c83fSYixun Lan #define GPIOZ_14 14 433cd3c83fSYixun Lan #define GPIOZ_15 15 443cd3c83fSYixun Lan #define GPIOH_0 16 453cd3c83fSYixun Lan #define GPIOH_1 17 463cd3c83fSYixun Lan #define GPIOH_2 18 473cd3c83fSYixun Lan #define GPIOH_3 19 483cd3c83fSYixun Lan #define GPIOH_4 20 493cd3c83fSYixun Lan #define GPIOH_5 21 503cd3c83fSYixun Lan #define GPIOH_6 22 513cd3c83fSYixun Lan #define GPIOH_7 23 523cd3c83fSYixun Lan #define GPIOH_8 24 533cd3c83fSYixun Lan #define BOOT_0 25 543cd3c83fSYixun Lan #define BOOT_1 26 553cd3c83fSYixun Lan #define BOOT_2 27 563cd3c83fSYixun Lan #define BOOT_3 28 573cd3c83fSYixun Lan #define BOOT_4 29 583cd3c83fSYixun Lan #define BOOT_5 30 593cd3c83fSYixun Lan #define BOOT_6 31 603cd3c83fSYixun Lan #define BOOT_7 32 613cd3c83fSYixun Lan #define BOOT_8 33 623cd3c83fSYixun Lan #define BOOT_9 34 633cd3c83fSYixun Lan #define BOOT_10 35 643cd3c83fSYixun Lan #define BOOT_11 36 653cd3c83fSYixun Lan #define BOOT_12 37 663cd3c83fSYixun Lan #define BOOT_13 38 673cd3c83fSYixun Lan #define BOOT_14 39 683cd3c83fSYixun Lan #define BOOT_15 40 693cd3c83fSYixun Lan #define GPIOC_0 41 703cd3c83fSYixun Lan #define GPIOC_1 42 713cd3c83fSYixun Lan #define GPIOC_2 43 723cd3c83fSYixun Lan #define GPIOC_3 44 733cd3c83fSYixun Lan #define GPIOC_4 45 743cd3c83fSYixun Lan #define GPIOC_5 46 753cd3c83fSYixun Lan #define GPIOC_6 47 763cd3c83fSYixun Lan #define GPIOC_7 48 773cd3c83fSYixun Lan #define GPIOA_0 49 783cd3c83fSYixun Lan #define GPIOA_1 50 793cd3c83fSYixun Lan #define GPIOA_2 51 803cd3c83fSYixun Lan #define GPIOA_3 52 813cd3c83fSYixun Lan #define GPIOA_4 53 823cd3c83fSYixun Lan #define GPIOA_5 54 833cd3c83fSYixun Lan #define GPIOA_6 55 843cd3c83fSYixun Lan #define GPIOA_7 56 853cd3c83fSYixun Lan #define GPIOA_8 57 863cd3c83fSYixun Lan #define GPIOA_9 58 873cd3c83fSYixun Lan #define GPIOA_10 59 883cd3c83fSYixun Lan #define GPIOA_11 60 893cd3c83fSYixun Lan #define GPIOA_12 61 903cd3c83fSYixun Lan #define GPIOA_13 62 913cd3c83fSYixun Lan #define GPIOA_14 63 923cd3c83fSYixun Lan #define GPIOA_15 64 933cd3c83fSYixun Lan #define GPIOX_0 65 943cd3c83fSYixun Lan #define GPIOX_1 66 953cd3c83fSYixun Lan #define GPIOX_2 67 963cd3c83fSYixun Lan #define GPIOX_3 68 973cd3c83fSYixun Lan #define GPIOX_4 69 983cd3c83fSYixun Lan #define GPIOX_5 70 993cd3c83fSYixun Lan #define GPIOX_6 71 1003cd3c83fSYixun Lan #define GPIOX_7 72 1013cd3c83fSYixun Lan #define GPIOX_8 73 1023cd3c83fSYixun Lan #define GPIOX_9 74 1033cd3c83fSYixun Lan #define GPIOX_10 75 1043cd3c83fSYixun Lan #define GPIOX_11 76 1053cd3c83fSYixun Lan #define GPIOX_12 77 1063cd3c83fSYixun Lan #define GPIOX_13 78 1073cd3c83fSYixun Lan #define GPIOX_14 79 1083cd3c83fSYixun Lan #define GPIOX_15 80 1093cd3c83fSYixun Lan #define GPIOX_16 81 1103cd3c83fSYixun Lan #define GPIOX_17 82 1113cd3c83fSYixun Lan #define GPIOX_18 83 1123cd3c83fSYixun Lan #define GPIOX_19 84 1133cd3c83fSYixun Lan 1143cd3c83fSYixun Lan #endif /* _DT_BINDINGS_MESON_G12A_GPIO_H */ 115