1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3  * (C) Copyright 2022 - Analog Devices, Inc.
4  *
5  * Written and/or maintained by Timesys Corporation
6  *
7  * Contact: Nathan Barrett-Morrison <nathan.morrison@timesys.com>
8  * Contact: Greg Malysa <greg.malysa@timesys.com>
9  *
10  */
11 
12 #ifndef DT_BINDINGS_PINCTRL_ADI_ADSP
13 #define DT_BINDINGS_PINCTRL_ADI_ADSP
14 
15 #define ADI_ADSP_PIN(port, pin) (16 * ((port) - 'A') + (pin))
16 #define ADI_ADSP_PINFUNC_ALT0 0
17 #define ADI_ADSP_PINFUNC_ALT1 1
18 #define ADI_ADSP_PINFUNC_ALT2 2
19 #define ADI_ADSP_PINFUNC_ALT3 3
20 
21 #endif
22