diff options
author | Sudhakar Rajashekhara <sudhakar.raj@ti.com> | 2009-08-13 16:21:11 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2009-08-26 04:55:56 -0400 |
commit | 38beb929f2c33a37bf3af6103c064a9edfbe242b (patch) | |
tree | b4393295180b2b40ebc3e00c5b42aa61b06f2cd2 /arch/arm/mach-davinci/include/mach | |
parent | 700691f27ed9b0891cece9032e4de8c0b482c625 (diff) |
davinci: Add NAND flash support for DA850/OMAP-L138
This patch adds platform data for the 512MB NAND Flash
found on DA850/OMAP-L138 EVM. Currently it supports
only 1-bit ECC.
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 | 3 | ||||
-rw-r--r-- | arch/arm/mach-davinci/include/mach/mux.h | 16 |
2 files changed, 19 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/include/mach/da8xx.h b/arch/arm/mach-davinci/include/mach/da8xx.h index 0af141ffc3b4..77e5d2398e21 100644 --- a/arch/arm/mach-davinci/include/mach/da8xx.h +++ b/arch/arm/mach-davinci/include/mach/da8xx.h | |||
@@ -40,6 +40,8 @@ | |||
40 | #define DA8XX_PSC1_BASE 0x01e27000 | 40 | #define DA8XX_PSC1_BASE 0x01e27000 |
41 | #define DA8XX_LCD_CNTRL_BASE 0x01e13000 | 41 | #define DA8XX_LCD_CNTRL_BASE 0x01e13000 |
42 | #define DA8XX_MMCSD0_BASE 0x01c40000 | 42 | #define DA8XX_MMCSD0_BASE 0x01c40000 |
43 | #define DA8XX_AEMIF_CS3_BASE 0x62000000 | ||
44 | #define DA8XX_AEMIF_CTL_BASE 0x68000000 | ||
43 | 45 | ||
44 | #define PINMUX0 0x00 | 46 | #define PINMUX0 0x00 |
45 | #define PINMUX1 0x04 | 47 | #define PINMUX1 0x04 |
@@ -110,6 +112,7 @@ extern const short da850_cpgmac_pins[]; | |||
110 | extern const short da850_mcasp_pins[]; | 112 | extern const short da850_mcasp_pins[]; |
111 | extern const short da850_lcdcntl_pins[]; | 113 | extern const short da850_lcdcntl_pins[]; |
112 | extern const short da850_mmcsd0_pins[]; | 114 | extern const short da850_mmcsd0_pins[]; |
115 | extern const short da850_nand_pins[]; | ||
113 | 116 | ||
114 | int da8xx_pinmux_setup(const short pins[]); | 117 | int da8xx_pinmux_setup(const short pins[]); |
115 | 118 | ||
diff --git a/arch/arm/mach-davinci/include/mach/mux.h b/arch/arm/mach-davinci/include/mach/mux.h index b2335640c222..ee6f29db4452 100644 --- a/arch/arm/mach-davinci/include/mach/mux.h +++ b/arch/arm/mach-davinci/include/mach/mux.h | |||
@@ -806,6 +806,22 @@ enum davinci_da850_index { | |||
806 | DA850_MMCSD0_CLK, | 806 | DA850_MMCSD0_CLK, |
807 | DA850_MMCSD0_CMD, | 807 | DA850_MMCSD0_CMD, |
808 | 808 | ||
809 | /* EMIF2.5/EMIFA function */ | ||
810 | DA850_EMA_D_7, | ||
811 | DA850_EMA_D_6, | ||
812 | DA850_EMA_D_5, | ||
813 | DA850_EMA_D_4, | ||
814 | DA850_EMA_D_3, | ||
815 | DA850_EMA_D_2, | ||
816 | DA850_EMA_D_1, | ||
817 | DA850_EMA_D_0, | ||
818 | DA850_EMA_A_1, | ||
819 | DA850_EMA_A_2, | ||
820 | DA850_NEMA_CS_3, | ||
821 | DA850_NEMA_CS_4, | ||
822 | DA850_NEMA_WE, | ||
823 | DA850_NEMA_OE, | ||
824 | |||
809 | /* GPIO function */ | 825 | /* GPIO function */ |
810 | DA850_GPIO2_15, | 826 | DA850_GPIO2_15, |
811 | DA850_GPIO8_10, | 827 | DA850_GPIO8_10, |