1279377Simp/*
2279377Simp * Copyright 2014 Maxime Ripard
3279377Simp *
4279377Simp * Maxime Ripard <maxime.ripard@free-electrons.com>
5279377Simp *
6279377Simp * This file is dual-licensed: you can use it either under the terms
7279377Simp * of the GPL or the X11 license, at your option. Note that this dual
8279377Simp * licensing only applies to this file, and not this project as a
9279377Simp * whole.
10279377Simp *
11279377Simp *  a) This file is free software; you can redistribute it and/or
12279377Simp *     modify it under the terms of the GNU General Public License as
13279377Simp *     published by the Free Software Foundation; either version 2 of the
14279377Simp *     License, or (at your option) any later version.
15279377Simp *
16279377Simp *     This file is distributed in the hope that it will be useful,
17279377Simp *     but WITHOUT ANY WARRANTY; without even the implied warranty of
18279377Simp *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19279377Simp *     GNU General Public License for more details.
20279377Simp *
21279377Simp *     You should have received a copy of the GNU General Public
22279377Simp *     License along with this file; if not, write to the Free
23279377Simp *     Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
24279377Simp *     MA 02110-1301 USA
25279377Simp *
26279377Simp * Or, alternatively,
27279377Simp *
28279377Simp *  b) Permission is hereby granted, free of charge, to any person
29279377Simp *     obtaining a copy of this software and associated documentation
30279377Simp *     files (the "Software"), to deal in the Software without
31279377Simp *     restriction, including without limitation the rights to use,
32279377Simp *     copy, modify, merge, publish, distribute, sublicense, and/or
33279377Simp *     sell copies of the Software, and to permit persons to whom the
34279377Simp *     Software is furnished to do so, subject to the following
35279377Simp *     conditions:
36279377Simp *
37279377Simp *     The above copyright notice and this permission notice shall be
38279377Simp *     included in all copies or substantial portions of the Software.
39279377Simp *
40279377Simp *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
41279377Simp *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
42279377Simp *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
43279377Simp *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
44279377Simp *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
45279377Simp *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
46279377Simp *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
47279377Simp *     OTHER DEALINGS IN THE SOFTWARE.
48279377Simp */
49279377Simp
50279377Simp#ifndef __DT_BINDINGS_PINCTRL_SUN4I_A10_H_
51279377Simp#define __DT_BINDINGS_PINCTRL_SUN4I_A10_H_
52279377Simp
53279377Simp#define SUN4I_PINCTRL_10_MA	0
54279377Simp#define SUN4I_PINCTRL_20_MA	1
55279377Simp#define SUN4I_PINCTRL_30_MA	2
56279377Simp#define SUN4I_PINCTRL_40_MA	3
57279377Simp
58279377Simp#define SUN4I_PINCTRL_NO_PULL	0
59279377Simp#define SUN4I_PINCTRL_PULL_UP	1
60279377Simp#define SUN4I_PINCTRL_PULL_DOWN	2
61279377Simp
62279377Simp#endif /* __DT_BINDINGS_PINCTRL_SUN4I_A10_H_ */
63