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