diff options
author | Benoit Cousson <b-cousson@ti.com> | 2010-08-10 11:27:48 -0400 |
---|---|---|
committer | Benoit Cousson <b-cousson@ti.com> | 2010-11-17 06:01:50 -0500 |
commit | a041a52c4d2b82e25de2267bce5f4dc3d2179b2a (patch) | |
tree | 8d6fc016231905d651d8a7d5981b8e45d6258e85 /arch/arm/mach-omap2/mux.h | |
parent | 112485e9c543b17fc08daea56c7a558b415d06af (diff) |
OMAP4: mux: Add CBL package data for OMAP4430 ES1
Add data for OMAP4430 generated from HW pinout & register database.
The data set is split in two partitions for both core and wkup.
Signed-off-by: Benoit Cousson <b-cousson@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Paul Walmsley <paul@pwsan.com>
Cc: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-omap2/mux.h')
-rw-r--r-- | arch/arm/mach-omap2/mux.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/mux.h b/arch/arm/mach-omap2/mux.h index 86549bedd526..7aca779b588c 100644 --- a/arch/arm/mach-omap2/mux.h +++ b/arch/arm/mach-omap2/mux.h | |||
@@ -10,6 +10,7 @@ | |||
10 | #include "mux2420.h" | 10 | #include "mux2420.h" |
11 | #include "mux2430.h" | 11 | #include "mux2430.h" |
12 | #include "mux34xx.h" | 12 | #include "mux34xx.h" |
13 | #include "mux44xx.h" | ||
13 | 14 | ||
14 | #define OMAP_MUX_TERMINATOR 0xffff | 15 | #define OMAP_MUX_TERMINATOR 0xffff |
15 | 16 | ||
@@ -37,6 +38,9 @@ | |||
37 | #define OMAP_OFF_PULL_UP (1 << 13) | 38 | #define OMAP_OFF_PULL_UP (1 << 13) |
38 | #define OMAP_WAKEUP_EN (1 << 14) | 39 | #define OMAP_WAKEUP_EN (1 << 14) |
39 | 40 | ||
41 | /* 44xx specific mux bit defines */ | ||
42 | #define OMAP_WAKEUP_EVENT (1 << 15) | ||
43 | |||
40 | /* Active pin states */ | 44 | /* Active pin states */ |
41 | #define OMAP_PIN_OUTPUT 0 | 45 | #define OMAP_PIN_OUTPUT 0 |
42 | #define OMAP_PIN_INPUT OMAP_INPUT_EN | 46 | #define OMAP_PIN_INPUT OMAP_INPUT_EN |
@@ -58,6 +62,7 @@ | |||
58 | 62 | ||
59 | /* Flags for omapX_mux_init */ | 63 | /* Flags for omapX_mux_init */ |
60 | #define OMAP_PACKAGE_MASK 0xffff | 64 | #define OMAP_PACKAGE_MASK 0xffff |
65 | #define OMAP_PACKAGE_CBL 7 /* 547-pin 0.40 0.40 */ | ||
61 | #define OMAP_PACKAGE_CBP 6 /* 515-pin 0.40 0.50 */ | 66 | #define OMAP_PACKAGE_CBP 6 /* 515-pin 0.40 0.50 */ |
62 | #define OMAP_PACKAGE_CUS 5 /* 423-pin 0.65 */ | 67 | #define OMAP_PACKAGE_CUS 5 /* 423-pin 0.65 */ |
63 | #define OMAP_PACKAGE_CBB 4 /* 515-pin 0.40 0.50 */ | 68 | #define OMAP_PACKAGE_CBB 4 /* 515-pin 0.40 0.50 */ |
@@ -240,6 +245,13 @@ int omap2430_mux_init(struct omap_board_mux *board_mux, int flags); | |||
240 | int omap3_mux_init(struct omap_board_mux *board_mux, int flags); | 245 | int omap3_mux_init(struct omap_board_mux *board_mux, int flags); |
241 | 246 | ||
242 | /** | 247 | /** |
248 | * omap4_mux_init() - initialize mux system with board specific set | ||
249 | * @board_mux: Board specific mux table | ||
250 | * @flags: OMAP package type used for the board | ||
251 | */ | ||
252 | int omap4_mux_init(struct omap_board_mux *board_mux, int flags); | ||
253 | |||
254 | /** | ||
243 | * omap_mux_init - private mux init function, do not call | 255 | * omap_mux_init - private mux init function, do not call |
244 | */ | 256 | */ |
245 | int omap_mux_init(const char *name, u32 flags, | 257 | int omap_mux_init(const char *name, u32 flags, |