xref: /netbsd-src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/mxs-pinfunc.h (revision 6029d4abf2297d9a62ec7eb4150bf1ba5138736d)
1 /*	$NetBSD: mxs-pinfunc.h,v 1.1.1.1 2017/06/15 20:14:24 jmcneill Exp $	*/
2 
3 /*
4  * Header providing constants for i.MX28 pinctrl bindings.
5  *
6  * Copyright (C) 2013 Lothar Waßmann <LW@KARO-electronics.de>
7  *
8  * The code contained herein is licensed under the GNU General Public
9  * License. You may obtain a copy of the GNU General Public License
10  * Version 2 at the following locations:
11  *
12  * http://www.opensource.org/licenses/gpl-license.html
13  * http://www.gnu.org/copyleft/gpl.html
14  */
15 
16 #ifndef __DT_BINDINGS_MXS_PINCTRL_H__
17 #define __DT_BINDINGS_MXS_PINCTRL_H__
18 
19 /* fsl,drive-strength property */
20 #define MXS_DRIVE_4mA		0
21 #define MXS_DRIVE_8mA		1
22 #define MXS_DRIVE_12mA		2
23 #define MXS_DRIVE_16mA		3
24 
25 /* fsl,voltage property */
26 #define MXS_VOLTAGE_LOW		0
27 #define MXS_VOLTAGE_HIGH	1
28 
29 /* fsl,pull-up property */
30 #define MXS_PULL_DISABLE	0
31 #define MXS_PULL_ENABLE		1
32 
33 #endif /* __DT_BINDINGS_MXS_PINCTRL_H__ */
34