s5pv210-pinctrl.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * Samsung S5PV210 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 <[email protected]>
  9. */
  10. #ifndef __DTS_ARM_SAMSUNG_S5PV210_PINCTRL_H__
  11. #define __DTS_ARM_SAMSUNG_S5PV210_PINCTRL_H__
  12. #define S5PV210_PIN_PULL_NONE 0
  13. #define S5PV210_PIN_PULL_DOWN 1
  14. #define S5PV210_PIN_PULL_UP 2
  15. /* Pin function in power down mode */
  16. #define S5PV210_PIN_PDN_OUT0 0
  17. #define S5PV210_PIN_PDN_OUT1 1
  18. #define S5PV210_PIN_PDN_INPUT 2
  19. #define S5PV210_PIN_PDN_PREV 3
  20. #define S5PV210_PIN_DRV_LV1 0
  21. #define S5PV210_PIN_DRV_LV2 2
  22. #define S5PV210_PIN_DRV_LV3 1
  23. #define S5PV210_PIN_DRV_LV4 3
  24. #define S5PV210_PIN_FUNC_INPUT 0
  25. #define S5PV210_PIN_FUNC_OUTPUT 1
  26. #define S5PV210_PIN_FUNC_2 2
  27. #define S5PV210_PIN_FUNC_3 3
  28. #define S5PV210_PIN_FUNC_4 4
  29. #define S5PV210_PIN_FUNC_5 5
  30. #define S5PV210_PIN_FUNC_6 6
  31. #define S5PV210_PIN_FUNC_EINT 0xf
  32. #define S5PV210_PIN_FUNC_F S5PV210_PIN_FUNC_EINT
  33. #endif /* __DTS_ARM_SAMSUNG_S5PV210_PINCTRL_H__ */