1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 3 * Tesla FSD 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_ARM64_TESLA_FSD_PINCTRL_H__ 12 #define __DTS_ARM64_TESLA_FSD_PINCTRL_H__ 13 14 #define FSD_PIN_PULL_NONE 0 15 #define FSD_PIN_PULL_DOWN 1 16 #define FSD_PIN_PULL_UP 3 17 18 #define FSD_PIN_DRV_LV1 0 19 #define FSD_PIN_DRV_LV2 1 20 #define FSD_PIN_DRV_LV4 2 21 #define FSD_PIN_DRV_LV6 3 22 23 #define FSD_PIN_FUNC_INPUT 0 24 #define FSD_PIN_FUNC_OUTPUT 1 25 #define FSD_PIN_FUNC_2 2 26 #define FSD_PIN_FUNC_3 3 27 #define FSD_PIN_FUNC_4 4 28 #define FSD_PIN_FUNC_5 5 29 #define FSD_PIN_FUNC_6 6 30 #define FSD_PIN_FUNC_EINT 0xf 31 #define FSD_PIN_FUNC_F FSD_PIN_FUNC_EINT 32 33 #endif /* __DTS_ARM64_TESLA_FSD_PINCTRL_H__ */ 34