1295011Sandrew/* 2295011Sandrew * Header providing constants for bcm2835 pinctrl bindings. 3295011Sandrew * 4295011Sandrew * Copyright (C) 2015 Stefan Wahren <stefan.wahren@i2se.com> 5295011Sandrew * 6295011Sandrew * The code contained herein is licensed under the GNU General Public 7295011Sandrew * License. You may obtain a copy of the GNU General Public License 8295011Sandrew * Version 2 at the following locations: 9295011Sandrew * 10295011Sandrew * http://www.opensource.org/licenses/gpl-license.html 11295011Sandrew * http://www.gnu.org/copyleft/gpl.html 12295011Sandrew */ 13295011Sandrew 14295011Sandrew#ifndef __DT_BINDINGS_PINCTRL_BCM2835_H__ 15295011Sandrew#define __DT_BINDINGS_PINCTRL_BCM2835_H__ 16295011Sandrew 17295011Sandrew/* brcm,function property */ 18295011Sandrew#define BCM2835_FSEL_GPIO_IN 0 19295011Sandrew#define BCM2835_FSEL_GPIO_OUT 1 20295011Sandrew#define BCM2835_FSEL_ALT5 2 21295011Sandrew#define BCM2835_FSEL_ALT4 3 22295011Sandrew#define BCM2835_FSEL_ALT0 4 23295011Sandrew#define BCM2835_FSEL_ALT1 5 24295011Sandrew#define BCM2835_FSEL_ALT2 6 25295011Sandrew#define BCM2835_FSEL_ALT3 7 26295011Sandrew 27295011Sandrew#endif /* __DT_BINDINGS_PINCTRL_BCM2835_H__ */ 28