1*724ba675SRob Herring /* SPDX-License-Identifier: GPL-2.0 */ 2*724ba675SRob Herring /* 3*724ba675SRob Herring * Samsung S5PV210 DTS pinctrl constants 4*724ba675SRob Herring * 5*724ba675SRob Herring * Copyright (c) 2016 Samsung Electronics Co., Ltd. 6*724ba675SRob Herring * http://www.samsung.com 7*724ba675SRob Herring * Copyright (c) 2022 Linaro Ltd 8*724ba675SRob Herring * Author: Krzysztof Kozlowski <krzk@kernel.org> 9*724ba675SRob Herring */ 10*724ba675SRob Herring 11*724ba675SRob Herring #ifndef __DTS_ARM_SAMSUNG_S5PV210_PINCTRL_H__ 12*724ba675SRob Herring #define __DTS_ARM_SAMSUNG_S5PV210_PINCTRL_H__ 13*724ba675SRob Herring 14*724ba675SRob Herring #define S5PV210_PIN_PULL_NONE 0 15*724ba675SRob Herring #define S5PV210_PIN_PULL_DOWN 1 16*724ba675SRob Herring #define S5PV210_PIN_PULL_UP 2 17*724ba675SRob Herring 18*724ba675SRob Herring /* Pin function in power down mode */ 19*724ba675SRob Herring #define S5PV210_PIN_PDN_OUT0 0 20*724ba675SRob Herring #define S5PV210_PIN_PDN_OUT1 1 21*724ba675SRob Herring #define S5PV210_PIN_PDN_INPUT 2 22*724ba675SRob Herring #define S5PV210_PIN_PDN_PREV 3 23*724ba675SRob Herring 24*724ba675SRob Herring #define S5PV210_PIN_DRV_LV1 0 25*724ba675SRob Herring #define S5PV210_PIN_DRV_LV2 2 26*724ba675SRob Herring #define S5PV210_PIN_DRV_LV3 1 27*724ba675SRob Herring #define S5PV210_PIN_DRV_LV4 3 28*724ba675SRob Herring 29*724ba675SRob Herring #define S5PV210_PIN_FUNC_INPUT 0 30*724ba675SRob Herring #define S5PV210_PIN_FUNC_OUTPUT 1 31*724ba675SRob Herring #define S5PV210_PIN_FUNC_2 2 32*724ba675SRob Herring #define S5PV210_PIN_FUNC_3 3 33*724ba675SRob Herring #define S5PV210_PIN_FUNC_4 4 34*724ba675SRob Herring #define S5PV210_PIN_FUNC_5 5 35*724ba675SRob Herring #define S5PV210_PIN_FUNC_6 6 36*724ba675SRob Herring #define S5PV210_PIN_FUNC_EINT 0xf 37*724ba675SRob Herring #define S5PV210_PIN_FUNC_F S5PV210_PIN_FUNC_EINT 38*724ba675SRob Herring 39*724ba675SRob Herring #endif /* __DTS_ARM_SAMSUNG_S5PV210_PINCTRL_H__ */ 40