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

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * This header provides constants for most at91 pinctrl bindings.
 *
 * Copyright (C) 2013 Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
 */

#ifndef __DT_BINDINGS_AT91_PINCTRL_H__
#define __DT_BINDINGS_AT91_PINCTRL_H__

#define AT91_PINCTRL_NONE
#define AT91_PINCTRL_PULL_UP
#define AT91_PINCTRL_MULTI_DRIVE
#define AT91_PINCTRL_DEGLITCH
#define AT91_PINCTRL_PULL_DOWN
#define AT91_PINCTRL_DIS_SCHMIT
#define AT91_PINCTRL_OUTPUT
#define AT91_PINCTRL_OUTPUT_VAL(x)
#define AT91_PINCTRL_SLEWRATE
#define AT91_PINCTRL_DEBOUNCE
#define AT91_PINCTRL_DEBOUNCE_VAL(x)

#define AT91_PINCTRL_PULL_UP_DEGLITCH

#define AT91_PINCTRL_DRIVE_STRENGTH_DEFAULT
#define AT91_PINCTRL_DRIVE_STRENGTH_LOW
#define AT91_PINCTRL_DRIVE_STRENGTH_MED
#define AT91_PINCTRL_DRIVE_STRENGTH_HI

#define AT91_PINCTRL_SLEWRATE_ENA
#define AT91_PINCTRL_SLEWRATE_DIS

#define AT91_PIOA
#define AT91_PIOB
#define AT91_PIOC
#define AT91_PIOD
#define AT91_PIOE

#define AT91_PERIPH_GPIO
#define AT91_PERIPH_A
#define AT91_PERIPH_B
#define AT91_PERIPH_C
#define AT91_PERIPH_D

#define ATMEL_PIO_DRVSTR_LO
#define ATMEL_PIO_DRVSTR_ME
#define ATMEL_PIO_DRVSTR_HI

#endif /* __DT_BINDINGS_AT91_PINCTRL_H__ */