0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef __DT_BINDINGS_PINCTRL_SAMSUNG_H__
0011 #define __DT_BINDINGS_PINCTRL_SAMSUNG_H__
0012
0013 #define EXYNOS_PIN_PULL_NONE 0
0014 #define EXYNOS_PIN_PULL_DOWN 1
0015 #define EXYNOS_PIN_PULL_UP 3
0016
0017 #define S3C64XX_PIN_PULL_NONE 0
0018 #define S3C64XX_PIN_PULL_DOWN 1
0019 #define S3C64XX_PIN_PULL_UP 2
0020
0021
0022 #define EXYNOS_PIN_PDN_OUT0 0
0023 #define EXYNOS_PIN_PDN_OUT1 1
0024 #define EXYNOS_PIN_PDN_INPUT 2
0025 #define EXYNOS_PIN_PDN_PREV 3
0026
0027
0028 #define EXYNOS4_PIN_DRV_LV1 0
0029 #define EXYNOS4_PIN_DRV_LV2 2
0030 #define EXYNOS4_PIN_DRV_LV3 1
0031 #define EXYNOS4_PIN_DRV_LV4 3
0032
0033
0034 #define EXYNOS5260_PIN_DRV_LV1 0
0035 #define EXYNOS5260_PIN_DRV_LV2 1
0036 #define EXYNOS5260_PIN_DRV_LV4 2
0037 #define EXYNOS5260_PIN_DRV_LV6 3
0038
0039
0040
0041
0042
0043 #define EXYNOS5420_PIN_DRV_LV1 0
0044 #define EXYNOS5420_PIN_DRV_LV2 1
0045 #define EXYNOS5420_PIN_DRV_LV3 2
0046 #define EXYNOS5420_PIN_DRV_LV4 3
0047
0048
0049 #define EXYNOS5433_PIN_DRV_FAST_SR1 0
0050 #define EXYNOS5433_PIN_DRV_FAST_SR2 1
0051 #define EXYNOS5433_PIN_DRV_FAST_SR3 2
0052 #define EXYNOS5433_PIN_DRV_FAST_SR4 3
0053 #define EXYNOS5433_PIN_DRV_FAST_SR5 4
0054 #define EXYNOS5433_PIN_DRV_FAST_SR6 5
0055 #define EXYNOS5433_PIN_DRV_SLOW_SR1 8
0056 #define EXYNOS5433_PIN_DRV_SLOW_SR2 9
0057 #define EXYNOS5433_PIN_DRV_SLOW_SR3 0xa
0058 #define EXYNOS5433_PIN_DRV_SLOW_SR4 0xb
0059 #define EXYNOS5433_PIN_DRV_SLOW_SR5 0xc
0060 #define EXYNOS5433_PIN_DRV_SLOW_SR6 0xf
0061
0062
0063 #define EXYNOS850_HSI_PIN_DRV_LV1 0
0064 #define EXYNOS850_HSI_PIN_DRV_LV1_5 1
0065 #define EXYNOS850_HSI_PIN_DRV_LV2 2
0066 #define EXYNOS850_HSI_PIN_DRV_LV2_5 3
0067 #define EXYNOS850_HSI_PIN_DRV_LV3 4
0068 #define EXYNOS850_HSI_PIN_DRV_LV4 5
0069
0070 #define EXYNOS_PIN_FUNC_INPUT 0
0071 #define EXYNOS_PIN_FUNC_OUTPUT 1
0072 #define EXYNOS_PIN_FUNC_2 2
0073 #define EXYNOS_PIN_FUNC_3 3
0074 #define EXYNOS_PIN_FUNC_4 4
0075 #define EXYNOS_PIN_FUNC_5 5
0076 #define EXYNOS_PIN_FUNC_6 6
0077 #define EXYNOS_PIN_FUNC_EINT 0xf
0078 #define EXYNOS_PIN_FUNC_F EXYNOS_PIN_FUNC_EINT
0079
0080
0081 #define EXYNOS7_FSYS1_PIN_DRV_LV1 0
0082 #define EXYNOS7_FSYS1_PIN_DRV_LV2 4
0083 #define EXYNOS7_FSYS1_PIN_DRV_LV3 2
0084 #define EXYNOS7_FSYS1_PIN_DRV_LV4 6
0085 #define EXYNOS7_FSYS1_PIN_DRV_LV5 1
0086 #define EXYNOS7_FSYS1_PIN_DRV_LV6 5
0087
0088 #endif