162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Samsung S5PV210 DTS pinctrl constants
462306a36Sopenharmony_ci *
562306a36Sopenharmony_ci * Copyright (c) 2016 Samsung Electronics Co., Ltd.
662306a36Sopenharmony_ci *		http://www.samsung.com
762306a36Sopenharmony_ci * Copyright (c) 2022 Linaro Ltd
862306a36Sopenharmony_ci * Author: Krzysztof Kozlowski <krzk@kernel.org>
962306a36Sopenharmony_ci */
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ci#ifndef __DTS_ARM_SAMSUNG_S5PV210_PINCTRL_H__
1262306a36Sopenharmony_ci#define __DTS_ARM_SAMSUNG_S5PV210_PINCTRL_H__
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_ci#define S5PV210_PIN_PULL_NONE		0
1562306a36Sopenharmony_ci#define S5PV210_PIN_PULL_DOWN		1
1662306a36Sopenharmony_ci#define S5PV210_PIN_PULL_UP		2
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ci/* Pin function in power down mode */
1962306a36Sopenharmony_ci#define S5PV210_PIN_PDN_OUT0		0
2062306a36Sopenharmony_ci#define S5PV210_PIN_PDN_OUT1		1
2162306a36Sopenharmony_ci#define S5PV210_PIN_PDN_INPUT		2
2262306a36Sopenharmony_ci#define S5PV210_PIN_PDN_PREV		3
2362306a36Sopenharmony_ci
2462306a36Sopenharmony_ci#define S5PV210_PIN_DRV_LV1		0
2562306a36Sopenharmony_ci#define S5PV210_PIN_DRV_LV2		2
2662306a36Sopenharmony_ci#define S5PV210_PIN_DRV_LV3		1
2762306a36Sopenharmony_ci#define S5PV210_PIN_DRV_LV4		3
2862306a36Sopenharmony_ci
2962306a36Sopenharmony_ci#define S5PV210_PIN_FUNC_INPUT		0
3062306a36Sopenharmony_ci#define S5PV210_PIN_FUNC_OUTPUT		1
3162306a36Sopenharmony_ci#define S5PV210_PIN_FUNC_2		2
3262306a36Sopenharmony_ci#define S5PV210_PIN_FUNC_3		3
3362306a36Sopenharmony_ci#define S5PV210_PIN_FUNC_4		4
3462306a36Sopenharmony_ci#define S5PV210_PIN_FUNC_5		5
3562306a36Sopenharmony_ci#define S5PV210_PIN_FUNC_6		6
3662306a36Sopenharmony_ci#define S5PV210_PIN_FUNC_EINT		0xf
3762306a36Sopenharmony_ci#define S5PV210_PIN_FUNC_F		S5PV210_PIN_FUNC_EINT
3862306a36Sopenharmony_ci
3962306a36Sopenharmony_ci#endif /* __DTS_ARM_SAMSUNG_S5PV210_PINCTRL_H__ */
40