1*53ab4af3SHans de Goede /*
2*53ab4af3SHans de Goede  * Copyright 2014 Maxime Ripard
3*53ab4af3SHans de Goede  *
4*53ab4af3SHans de Goede  * Maxime Ripard <maxime.ripard@free-electrons.com>
5*53ab4af3SHans de Goede  *
6*53ab4af3SHans de Goede  * This file is dual-licensed: you can use it either under the terms
7*53ab4af3SHans de Goede  * of the GPL or the X11 license, at your option. Note that this dual
8*53ab4af3SHans de Goede  * licensing only applies to this file, and not this project as a
9*53ab4af3SHans de Goede  * whole.
10*53ab4af3SHans de Goede  *
11*53ab4af3SHans de Goede  *  a) This file is free software; you can redistribute it and/or
12*53ab4af3SHans de Goede  *     modify it under the terms of the GNU General Public License as
13*53ab4af3SHans de Goede  *     published by the Free Software Foundation; either version 2 of the
14*53ab4af3SHans de Goede  *     License, or (at your option) any later version.
15*53ab4af3SHans de Goede  *
16*53ab4af3SHans de Goede  *     This file is distributed in the hope that it will be useful,
17*53ab4af3SHans de Goede  *     but WITHOUT ANY WARRANTY; without even the implied warranty of
18*53ab4af3SHans de Goede  *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19*53ab4af3SHans de Goede  *     GNU General Public License for more details.
20*53ab4af3SHans de Goede  *
21*53ab4af3SHans de Goede  *     You should have received a copy of the GNU General Public
22*53ab4af3SHans de Goede  *     License along with this file; if not, write to the Free
23*53ab4af3SHans de Goede  *     Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
24*53ab4af3SHans de Goede  *     MA 02110-1301 USA
25*53ab4af3SHans de Goede  *
26*53ab4af3SHans de Goede  * Or, alternatively,
27*53ab4af3SHans de Goede  *
28*53ab4af3SHans de Goede  *  b) Permission is hereby granted, free of charge, to any person
29*53ab4af3SHans de Goede  *     obtaining a copy of this software and associated documentation
30*53ab4af3SHans de Goede  *     files (the "Software"), to deal in the Software without
31*53ab4af3SHans de Goede  *     restriction, including without limitation the rights to use,
32*53ab4af3SHans de Goede  *     copy, modify, merge, publish, distribute, sublicense, and/or
33*53ab4af3SHans de Goede  *     sell copies of the Software, and to permit persons to whom the
34*53ab4af3SHans de Goede  *     Software is furnished to do so, subject to the following
35*53ab4af3SHans de Goede  *     conditions:
36*53ab4af3SHans de Goede  *
37*53ab4af3SHans de Goede  *     The above copyright notice and this permission notice shall be
38*53ab4af3SHans de Goede  *     included in all copies or substantial portions of the Software.
39*53ab4af3SHans de Goede  *
40*53ab4af3SHans de Goede  *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
41*53ab4af3SHans de Goede  *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
42*53ab4af3SHans de Goede  *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
43*53ab4af3SHans de Goede  *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
44*53ab4af3SHans de Goede  *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
45*53ab4af3SHans de Goede  *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
46*53ab4af3SHans de Goede  *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
47*53ab4af3SHans de Goede  *     OTHER DEALINGS IN THE SOFTWARE.
48*53ab4af3SHans de Goede  */
49*53ab4af3SHans de Goede 
50*53ab4af3SHans de Goede #ifndef __DT_BINDINGS_PINCTRL_SUN4I_A10_H_
51*53ab4af3SHans de Goede #define __DT_BINDINGS_PINCTRL_SUN4I_A10_H_
52*53ab4af3SHans de Goede 
53*53ab4af3SHans de Goede #define SUN4I_PINCTRL_10_MA	0
54*53ab4af3SHans de Goede #define SUN4I_PINCTRL_20_MA	1
55*53ab4af3SHans de Goede #define SUN4I_PINCTRL_30_MA	2
56*53ab4af3SHans de Goede #define SUN4I_PINCTRL_40_MA	3
57*53ab4af3SHans de Goede 
58*53ab4af3SHans de Goede #define SUN4I_PINCTRL_NO_PULL	0
59*53ab4af3SHans de Goede #define SUN4I_PINCTRL_PULL_UP	1
60*53ab4af3SHans de Goede #define SUN4I_PINCTRL_PULL_DOWN	2
61*53ab4af3SHans de Goede 
62*53ab4af3SHans de Goede #endif /* __DT_BINDINGS_PINCTRL_SUN4I_A10_H_ */
63