diff options
Diffstat (limited to 'include/asm-cris/arch-v32/pinmux.h')
-rw-r--r-- | include/asm-cris/arch-v32/pinmux.h | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/include/asm-cris/arch-v32/pinmux.h b/include/asm-cris/arch-v32/pinmux.h deleted file mode 100644 index bb09bce42e7a..000000000000 --- a/include/asm-cris/arch-v32/pinmux.h +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | #ifndef _ASM_CRIS_ARCH_PINMUX_H | ||
2 | #define _ASM_CRIS_ARCH_PINMUX_H | ||
3 | |||
4 | #define PORT_B 0 | ||
5 | #define PORT_C 1 | ||
6 | #define PORT_D 2 | ||
7 | #define PORT_E 3 | ||
8 | |||
9 | enum pin_mode | ||
10 | { | ||
11 | pinmux_none = 0, | ||
12 | pinmux_fixed, | ||
13 | pinmux_gpio, | ||
14 | pinmux_iop | ||
15 | }; | ||
16 | |||
17 | enum fixed_function | ||
18 | { | ||
19 | pinmux_ser1, | ||
20 | pinmux_ser2, | ||
21 | pinmux_ser3, | ||
22 | pinmux_sser0, | ||
23 | pinmux_sser1, | ||
24 | pinmux_ata0, | ||
25 | pinmux_ata1, | ||
26 | pinmux_ata2, | ||
27 | pinmux_ata3, | ||
28 | pinmux_ata, | ||
29 | pinmux_eth1, | ||
30 | pinmux_timer | ||
31 | }; | ||
32 | |||
33 | int crisv32_pinmux_init(void); | ||
34 | int crisv32_pinmux_alloc(int port, int first_pin, int last_pin, enum pin_mode); | ||
35 | int crisv32_pinmux_alloc_fixed(enum fixed_function function); | ||
36 | int crisv32_pinmux_dealloc(int port, int first_pin, int last_pin); | ||
37 | int crisv32_pinmux_dealloc_fixed(enum fixed_function function); | ||
38 | void crisv32_pinmux_dump(void); | ||
39 | |||
40 | #endif | ||