diff options
| author | Gabriel Fernandez <gabriel.fernandez@st.com> | 2013-06-12 10:35:34 -0400 |
|---|---|---|
| committer | Linus Walleij <linus.walleij@stericsson.com> | 2013-08-06 17:48:50 -0400 |
| commit | 3d0899e8dab638dd00a7a36b8620ec80bb812fea (patch) | |
| tree | 32174552af34debe9099d59dc24f58e1fb251a6e /include/dt-bindings/pinctrl | |
| parent | 49c129519a7a8840767321c38d2eaf84a263529b (diff) | |
ARM: u8540: Add Pinctrl Device Tree settings for uart0, uart2
This patch adds pinctrl device tree settings for uart0 and uart2
for ccu8540 board.
Signed-off-by: Gabriel Fernandez <gabriel.fernandez@st.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include/dt-bindings/pinctrl')
| -rw-r--r-- | include/dt-bindings/pinctrl/nomadik.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/include/dt-bindings/pinctrl/nomadik.h b/include/dt-bindings/pinctrl/nomadik.h new file mode 100644 index 000000000000..638fb321a1cb --- /dev/null +++ b/include/dt-bindings/pinctrl/nomadik.h | |||
| @@ -0,0 +1,36 @@ | |||
| 1 | /* | ||
| 2 | * nomadik.h | ||
| 3 | * | ||
| 4 | * Copyright (C) ST-Ericsson SA 2013 | ||
| 5 | * Author: Gabriel Fernandez <gabriel.fernandez@st.com> for ST-Ericsson. | ||
| 6 | * License terms: GNU General Public License (GPL), version 2 | ||
| 7 | */ | ||
| 8 | |||
| 9 | #define INPUT_NOPULL 0 | ||
| 10 | #define INPUT_PULLUP 1 | ||
| 11 | #define INPUT_PULLDOWN 2 | ||
| 12 | |||
| 13 | #define OUTPUT_LOW 0 | ||
| 14 | #define OUTPUT_HIGH 1 | ||
| 15 | #define DIR_OUTPUT 2 | ||
| 16 | |||
| 17 | #define SLPM_DISABLED 0 | ||
| 18 | #define SLPM_ENABLED 1 | ||
| 19 | |||
| 20 | #define SLPM_INPUT_NOPULL 0 | ||
| 21 | #define SLPM_INPUT_PULLUP 1 | ||
| 22 | #define SLPM_INPUT_PULLDOWN 2 | ||
| 23 | #define SLPM_DIR_INPUT 3 | ||
| 24 | |||
| 25 | #define SLPM_OUTPUT_LOW 0 | ||
| 26 | #define SLPM_OUTPUT_HIGH 1 | ||
| 27 | #define SLPM_DIR_OUTPUT 2 | ||
| 28 | |||
| 29 | #define SLPM_WAKEUP_DISABLE 0 | ||
| 30 | #define SLPM_WAKEUP_ENABLE 1 | ||
| 31 | |||
| 32 | #define GPIOMODE_DISABLED 0 | ||
| 33 | #define GPIOMODE_ENABLED 1 | ||
| 34 | |||
| 35 | #define SLPM_PDIS_DISABLED 0 | ||
| 36 | #define SLPM_PDIS_ENABLED 1 | ||
