diff options
author | Sudhakar Rajashekhara <sudhakar.raj@ti.com> | 2009-07-16 05:45:32 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2009-08-26 03:57:02 -0400 |
commit | c96b56c53fb76c540a1a8103c7594859db4351dd (patch) | |
tree | 45495df6f3b0c460d7745a62575f67c5b09f8c75 /arch/arm/mach-davinci/include/mach | |
parent | 2259bbd460c5c15567e2e311d0ab0fe763b40031 (diff) |
davinci: Rearrange the da830/omap-l137 macros and functions
Rearrange the PINMUX macros and pinmux_setup function which
are common between da830/omap-l137 and da850/omap-l138.
Also, replace the da830 string in function names to da8xx.
Signed-off-by: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-davinci/include/mach')
-rw-r--r-- | arch/arm/mach-davinci/include/mach/da8xx.h | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/arch/arm/mach-davinci/include/mach/da8xx.h b/arch/arm/mach-davinci/include/mach/da8xx.h index 65b42431ddec..8c8dc135472c 100644 --- a/arch/arm/mach-davinci/include/mach/da8xx.h +++ b/arch/arm/mach-davinci/include/mach/da8xx.h | |||
@@ -37,6 +37,27 @@ | |||
37 | #define DA8XX_GPIO_BASE 0x01e26000 | 37 | #define DA8XX_GPIO_BASE 0x01e26000 |
38 | #define DA8XX_PSC1_BASE 0x01e27000 | 38 | #define DA8XX_PSC1_BASE 0x01e27000 |
39 | 39 | ||
40 | #define PINMUX0 0x00 | ||
41 | #define PINMUX1 0x04 | ||
42 | #define PINMUX2 0x08 | ||
43 | #define PINMUX3 0x0c | ||
44 | #define PINMUX4 0x10 | ||
45 | #define PINMUX5 0x14 | ||
46 | #define PINMUX6 0x18 | ||
47 | #define PINMUX7 0x1c | ||
48 | #define PINMUX8 0x20 | ||
49 | #define PINMUX9 0x24 | ||
50 | #define PINMUX10 0x28 | ||
51 | #define PINMUX11 0x2c | ||
52 | #define PINMUX12 0x30 | ||
53 | #define PINMUX13 0x34 | ||
54 | #define PINMUX14 0x38 | ||
55 | #define PINMUX15 0x3c | ||
56 | #define PINMUX16 0x40 | ||
57 | #define PINMUX17 0x44 | ||
58 | #define PINMUX18 0x48 | ||
59 | #define PINMUX19 0x4c | ||
60 | |||
40 | void __init da830_init(void); | 61 | void __init da830_init(void); |
41 | 62 | ||
42 | int da8xx_register_edma(void); | 63 | int da8xx_register_edma(void); |
@@ -72,6 +93,6 @@ extern const short da830_ecap2_pins[]; | |||
72 | extern const short da830_eqep0_pins[]; | 93 | extern const short da830_eqep0_pins[]; |
73 | extern const short da830_eqep1_pins[]; | 94 | extern const short da830_eqep1_pins[]; |
74 | 95 | ||
75 | int da830_pinmux_setup(const short pins[]); | 96 | int da8xx_pinmux_setup(const short pins[]); |
76 | 97 | ||
77 | #endif /* __ASM_ARCH_DAVINCI_DA8XX_H */ | 98 | #endif /* __ASM_ARCH_DAVINCI_DA8XX_H */ |