GNU Linux-libre 6.1.90-gnu
[releases.git] / arch / arm / boot / dts / s3c64xx-pinctrl.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Samsung S3C64xx DTS pinctrl constants
4  *
5  * Copyright (c) 2016 Samsung Electronics Co., Ltd.
6  *              http://www.samsung.com
7  * Copyright (c) 2022 Linaro Ltd
8  * Author: Krzysztof Kozlowski <krzk@kernel.org>
9  */
10
11 #ifndef __DTS_ARM_SAMSUNG_S3C64XX_PINCTRL_H__
12 #define __DTS_ARM_SAMSUNG_S3C64XX_PINCTRL_H__
13
14 #define S3C64XX_PIN_PULL_NONE           0
15 #define S3C64XX_PIN_PULL_DOWN           1
16 #define S3C64XX_PIN_PULL_UP             2
17
18 #define S3C64XX_PIN_FUNC_INPUT          0
19 #define S3C64XX_PIN_FUNC_OUTPUT         1
20 #define S3C64XX_PIN_FUNC_2              2
21 #define S3C64XX_PIN_FUNC_3              3
22 #define S3C64XX_PIN_FUNC_4              4
23 #define S3C64XX_PIN_FUNC_5              5
24 #define S3C64XX_PIN_FUNC_6              6
25 #define S3C64XX_PIN_FUNC_EINT           7
26
27 #endif /* __DTS_ARM_SAMSUNG_S3C64XX_PINCTRL_H__ */