Home | History | Annotate | Line # | Download | only in gpio
      1      1.1  jmcneill /*	$NetBSD: meson-gxbb-gpio.h,v 1.1.1.3 2020/01/03 14:33:02 skrll Exp $	*/
      2      1.1  jmcneill 
      3  1.1.1.3     skrll /* SPDX-License-Identifier: GPL-2.0-only */
      4      1.1  jmcneill /*
      5      1.1  jmcneill  * GPIO definitions for Amlogic Meson GXBB SoCs
      6      1.1  jmcneill  *
      7      1.1  jmcneill  * Copyright (C) 2016 Endless Mobile, Inc.
      8      1.1  jmcneill  * Author: Carlo Caione <carlo (at) endlessm.com>
      9      1.1  jmcneill  */
     10      1.1  jmcneill 
     11      1.1  jmcneill #ifndef _DT_BINDINGS_MESON_GXBB_GPIO_H
     12      1.1  jmcneill #define _DT_BINDINGS_MESON_GXBB_GPIO_H
     13      1.1  jmcneill 
     14      1.1  jmcneill #define	GPIOAO_0	0
     15      1.1  jmcneill #define	GPIOAO_1	1
     16      1.1  jmcneill #define	GPIOAO_2	2
     17      1.1  jmcneill #define	GPIOAO_3	3
     18      1.1  jmcneill #define	GPIOAO_4	4
     19      1.1  jmcneill #define	GPIOAO_5	5
     20      1.1  jmcneill #define	GPIOAO_6	6
     21      1.1  jmcneill #define	GPIOAO_7	7
     22      1.1  jmcneill #define	GPIOAO_8	8
     23      1.1  jmcneill #define	GPIOAO_9	9
     24      1.1  jmcneill #define	GPIOAO_10	10
     25      1.1  jmcneill #define	GPIOAO_11	11
     26      1.1  jmcneill #define	GPIOAO_12	12
     27      1.1  jmcneill #define	GPIOAO_13	13
     28  1.1.1.2  jmcneill #define	GPIO_TEST_N	14
     29      1.1  jmcneill 
     30      1.1  jmcneill #define	GPIOZ_0		0
     31      1.1  jmcneill #define	GPIOZ_1		1
     32      1.1  jmcneill #define	GPIOZ_2		2
     33      1.1  jmcneill #define	GPIOZ_3		3
     34      1.1  jmcneill #define	GPIOZ_4		4
     35      1.1  jmcneill #define	GPIOZ_5		5
     36      1.1  jmcneill #define	GPIOZ_6		6
     37      1.1  jmcneill #define	GPIOZ_7		7
     38      1.1  jmcneill #define	GPIOZ_8		8
     39      1.1  jmcneill #define	GPIOZ_9		9
     40      1.1  jmcneill #define	GPIOZ_10	10
     41      1.1  jmcneill #define	GPIOZ_11	11
     42      1.1  jmcneill #define	GPIOZ_12	12
     43      1.1  jmcneill #define	GPIOZ_13	13
     44      1.1  jmcneill #define	GPIOZ_14	14
     45      1.1  jmcneill #define	GPIOZ_15	15
     46      1.1  jmcneill #define	GPIOH_0		16
     47      1.1  jmcneill #define	GPIOH_1		17
     48      1.1  jmcneill #define	GPIOH_2		18
     49      1.1  jmcneill #define	GPIOH_3		19
     50      1.1  jmcneill #define	BOOT_0		20
     51      1.1  jmcneill #define	BOOT_1		21
     52      1.1  jmcneill #define	BOOT_2		22
     53      1.1  jmcneill #define	BOOT_3		23
     54      1.1  jmcneill #define	BOOT_4		24
     55      1.1  jmcneill #define	BOOT_5		25
     56      1.1  jmcneill #define	BOOT_6		26
     57      1.1  jmcneill #define	BOOT_7		27
     58      1.1  jmcneill #define	BOOT_8		28
     59      1.1  jmcneill #define	BOOT_9		29
     60      1.1  jmcneill #define	BOOT_10		30
     61      1.1  jmcneill #define	BOOT_11		31
     62      1.1  jmcneill #define	BOOT_12		32
     63      1.1  jmcneill #define	BOOT_13		33
     64      1.1  jmcneill #define	BOOT_14		34
     65      1.1  jmcneill #define	BOOT_15		35
     66      1.1  jmcneill #define	BOOT_16		36
     67      1.1  jmcneill #define	BOOT_17		37
     68      1.1  jmcneill #define	CARD_0		38
     69      1.1  jmcneill #define	CARD_1		39
     70      1.1  jmcneill #define	CARD_2		40
     71      1.1  jmcneill #define	CARD_3		41
     72      1.1  jmcneill #define	CARD_4		42
     73      1.1  jmcneill #define	CARD_5		43
     74      1.1  jmcneill #define	CARD_6		44
     75      1.1  jmcneill #define	GPIODV_0	45
     76      1.1  jmcneill #define	GPIODV_1	46
     77      1.1  jmcneill #define	GPIODV_2	47
     78      1.1  jmcneill #define	GPIODV_3	48
     79      1.1  jmcneill #define	GPIODV_4	49
     80      1.1  jmcneill #define	GPIODV_5	50
     81      1.1  jmcneill #define	GPIODV_6	51
     82      1.1  jmcneill #define	GPIODV_7	52
     83      1.1  jmcneill #define	GPIODV_8	53
     84      1.1  jmcneill #define	GPIODV_9	54
     85      1.1  jmcneill #define	GPIODV_10	55
     86      1.1  jmcneill #define	GPIODV_11	56
     87      1.1  jmcneill #define	GPIODV_12	57
     88      1.1  jmcneill #define	GPIODV_13	58
     89      1.1  jmcneill #define	GPIODV_14	59
     90      1.1  jmcneill #define	GPIODV_15	60
     91      1.1  jmcneill #define	GPIODV_16	61
     92      1.1  jmcneill #define	GPIODV_17	62
     93      1.1  jmcneill #define	GPIODV_18	63
     94      1.1  jmcneill #define	GPIODV_19	64
     95      1.1  jmcneill #define	GPIODV_20	65
     96      1.1  jmcneill #define	GPIODV_21	66
     97      1.1  jmcneill #define	GPIODV_22	67
     98      1.1  jmcneill #define	GPIODV_23	68
     99      1.1  jmcneill #define	GPIODV_24	69
    100      1.1  jmcneill #define	GPIODV_25	70
    101      1.1  jmcneill #define	GPIODV_26	71
    102      1.1  jmcneill #define	GPIODV_27	72
    103      1.1  jmcneill #define	GPIODV_28	73
    104      1.1  jmcneill #define	GPIODV_29	74
    105      1.1  jmcneill #define	GPIOY_0		75
    106      1.1  jmcneill #define	GPIOY_1		76
    107      1.1  jmcneill #define	GPIOY_2		77
    108      1.1  jmcneill #define	GPIOY_3		78
    109      1.1  jmcneill #define	GPIOY_4		79
    110      1.1  jmcneill #define	GPIOY_5		80
    111      1.1  jmcneill #define	GPIOY_6		81
    112      1.1  jmcneill #define	GPIOY_7		82
    113      1.1  jmcneill #define	GPIOY_8		83
    114      1.1  jmcneill #define	GPIOY_9		84
    115      1.1  jmcneill #define	GPIOY_10	85
    116      1.1  jmcneill #define	GPIOY_11	86
    117      1.1  jmcneill #define	GPIOY_12	87
    118      1.1  jmcneill #define	GPIOY_13	88
    119      1.1  jmcneill #define	GPIOY_14	89
    120      1.1  jmcneill #define	GPIOY_15	90
    121      1.1  jmcneill #define	GPIOY_16	91
    122      1.1  jmcneill #define	GPIOX_0		92
    123      1.1  jmcneill #define	GPIOX_1		93
    124      1.1  jmcneill #define	GPIOX_2		94
    125      1.1  jmcneill #define	GPIOX_3		95
    126      1.1  jmcneill #define	GPIOX_4		96
    127      1.1  jmcneill #define	GPIOX_5		97
    128      1.1  jmcneill #define	GPIOX_6		98
    129      1.1  jmcneill #define	GPIOX_7		99
    130      1.1  jmcneill #define	GPIOX_8		100
    131      1.1  jmcneill #define	GPIOX_9		101
    132      1.1  jmcneill #define	GPIOX_10	102
    133      1.1  jmcneill #define	GPIOX_11	103
    134      1.1  jmcneill #define	GPIOX_12	104
    135      1.1  jmcneill #define	GPIOX_13	105
    136      1.1  jmcneill #define	GPIOX_14	106
    137      1.1  jmcneill #define	GPIOX_15	107
    138      1.1  jmcneill #define	GPIOX_16	108
    139      1.1  jmcneill #define	GPIOX_17	109
    140      1.1  jmcneill #define	GPIOX_18	110
    141      1.1  jmcneill #define	GPIOX_19	111
    142      1.1  jmcneill #define	GPIOX_20	112
    143      1.1  jmcneill #define	GPIOX_21	113
    144      1.1  jmcneill #define	GPIOX_22	114
    145      1.1  jmcneill #define	GPIOCLK_0	115
    146      1.1  jmcneill #define	GPIOCLK_1	116
    147      1.1  jmcneill #define	GPIOCLK_2	117
    148      1.1  jmcneill #define	GPIOCLK_3	118
    149      1.1  jmcneill 
    150      1.1  jmcneill #endif
    151