/
pinctrl.h
executable file
·43 lines (38 loc) · 1.09 KB
/
pinctrl.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/*
* arch/arm/mach-sunxi/include/mach/pinctrl.h
*
* Copyright(c) 2013-2015 Allwinnertech Co., Ltd.
* http://www.allwinnertech.com
*
* Author: sunny <sunny@allwinnertech.com>
*
* allwinner sunxi pinctrl defines.
*
* 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.
*/
#ifndef __SUNXI_MACH_PINCTRL_H
#define __SUNXI_MACH_PINCTRL_H
/* pin group */
#define SUNXI_PA_BASE 0
#define SUNXI_PB_BASE 32
#define SUNXI_PC_BASE 64
#define SUNXI_PD_BASE 96
#define SUNXI_PE_BASE 128
#define SUNXI_PF_BASE 160
#define SUNXI_PG_BASE 192
#define SUNXI_PH_BASE 224
#define SUNXI_PI_BASE 256
#define SUNXI_PJ_BASE 288
#define SUNXI_PK_BASE 320
#define SUNXI_PL_BASE 352
#define SUNXI_PM_BASE 384
#define SUNXI_PN_BASE 416
/* input and output pin defines */
#define SUNXI_PIN_INPUT_MUX (0)
#define SUNXI_PIN_OUTPUT_MUX (1)
#define SUNXI_PIN_EINT_MUX (6)
/* pin group */
#endif /* __SUNXI_MACH_PINCTRL_H */