1*4882a593Smuzhiyun /* 2*4882a593Smuzhiyun * Header providing constants for bcm2835 pinctrl bindings. 3*4882a593Smuzhiyun * 4*4882a593Smuzhiyun * Copyright (C) 2015 Stefan Wahren <stefan.wahren@i2se.com> 5*4882a593Smuzhiyun * 6*4882a593Smuzhiyun * The code contained herein is licensed under the GNU General Public 7*4882a593Smuzhiyun * License. You may obtain a copy of the GNU General Public License 8*4882a593Smuzhiyun * Version 2 at the following locations: 9*4882a593Smuzhiyun * 10*4882a593Smuzhiyun * http://www.opensource.org/licenses/gpl-license.html 11*4882a593Smuzhiyun * http://www.gnu.org/copyleft/gpl.html 12*4882a593Smuzhiyun */ 13*4882a593Smuzhiyun 14*4882a593Smuzhiyun #ifndef __DT_BINDINGS_PINCTRL_BCM2835_H__ 15*4882a593Smuzhiyun #define __DT_BINDINGS_PINCTRL_BCM2835_H__ 16*4882a593Smuzhiyun 17*4882a593Smuzhiyun /* brcm,function property */ 18*4882a593Smuzhiyun #define BCM2835_FSEL_GPIO_IN 0 19*4882a593Smuzhiyun #define BCM2835_FSEL_GPIO_OUT 1 20*4882a593Smuzhiyun #define BCM2835_FSEL_ALT5 2 21*4882a593Smuzhiyun #define BCM2835_FSEL_ALT4 3 22*4882a593Smuzhiyun #define BCM2835_FSEL_ALT0 4 23*4882a593Smuzhiyun #define BCM2835_FSEL_ALT1 5 24*4882a593Smuzhiyun #define BCM2835_FSEL_ALT2 6 25*4882a593Smuzhiyun #define BCM2835_FSEL_ALT3 7 26*4882a593Smuzhiyun 27*4882a593Smuzhiyun #endif /* __DT_BINDINGS_PINCTRL_BCM2835_H__ */ 28