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