ARM: dts: at91: sama5d2 Xplained: set pin muxing for usb gadget and usb host
[linux-2.6/btrfs-unstable.git] / arch / arm / boot / dts / mxs-pinfunc.h
blobc6da987b20cbffaf59958de401cd2e012f8e2b44
1 /*
2 * Header providing constants for i.MX28 pinctrl bindings.
4 * Copyright (C) 2013 Lothar Waßmann <LW@KARO-electronics.de>
6 * The code contained herein is licensed under the GNU General Public
7 * License. You may obtain a copy of the GNU General Public License
8 * Version 2 at the following locations:
10 * http://www.opensource.org/licenses/gpl-license.html
11 * http://www.gnu.org/copyleft/gpl.html
14 #ifndef __DT_BINDINGS_MXS_PINCTRL_H__
15 #define __DT_BINDINGS_MXS_PINCTRL_H__
17 /* fsl,drive-strength property */
18 #define MXS_DRIVE_4mA 0
19 #define MXS_DRIVE_8mA 1
20 #define MXS_DRIVE_12mA 2
21 #define MXS_DRIVE_16mA 3
23 /* fsl,voltage property */
24 #define MXS_VOLTAGE_LOW 0
25 #define MXS_VOLTAGE_HIGH 1
27 /* fsl,pull-up property */
28 #define MXS_PULL_DISABLE 0
29 #define MXS_PULL_ENABLE 1
31 #endif /* __DT_BINDINGS_MXS_PINCTRL_H__ */