linux/include/dt-bindings/pinctrl/bcm2835.h

/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Header providing constants for bcm2835 pinctrl bindings.
 *
 * Copyright (C) 2015 Stefan Wahren <[email protected]>
 */

#ifndef __DT_BINDINGS_PINCTRL_BCM2835_H__
#define __DT_BINDINGS_PINCTRL_BCM2835_H__

/* brcm,function property */
#define BCM2835_FSEL_GPIO_IN
#define BCM2835_FSEL_GPIO_OUT
#define BCM2835_FSEL_ALT5
#define BCM2835_FSEL_ALT4
#define BCM2835_FSEL_ALT0
#define BCM2835_FSEL_ALT1
#define BCM2835_FSEL_ALT2
#define BCM2835_FSEL_ALT3

/* brcm,pull property */
#define BCM2835_PUD_OFF
#define BCM2835_PUD_DOWN
#define BCM2835_PUD_UP

#endif /* __DT_BINDINGS_PINCTRL_BCM2835_H__ */