aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/board-da850-evm.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-davinci/board-da850-evm.c')
-rw-r--r--arch/arm/mach-davinci/board-da850-evm.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/board-da850-evm.c b/arch/arm/mach-davinci/board-da850-evm.c
index 190ebd37465..c1d45d7ac45 100644
--- a/arch/arm/mach-davinci/board-da850-evm.c
+++ b/arch/arm/mach-davinci/board-da850-evm.c
@@ -36,6 +36,7 @@
36#include <mach/da8xx.h> 36#include <mach/da8xx.h>
37#include <mach/nand.h> 37#include <mach/nand.h>
38#include <mach/mux.h> 38#include <mach/mux.h>
39#include <mach/aemif.h>
39 40
40#define DA850_EVM_PHY_MASK 0x1 41#define DA850_EVM_PHY_MASK 0x1
41#define DA850_EVM_MDIO_FREQUENCY 2200000 /* PHY bus frequency */ 42#define DA850_EVM_MDIO_FREQUENCY 2200000 /* PHY bus frequency */
@@ -143,12 +144,23 @@ static struct mtd_partition da850_evm_nandflash_partition[] = {
143 }, 144 },
144}; 145};
145 146
147static struct davinci_aemif_timing da850_evm_nandflash_timing = {
148 .wsetup = 24,
149 .wstrobe = 21,
150 .whold = 14,
151 .rsetup = 19,
152 .rstrobe = 50,
153 .rhold = 0,
154 .ta = 20,
155};
156
146static struct davinci_nand_pdata da850_evm_nandflash_data = { 157static struct davinci_nand_pdata da850_evm_nandflash_data = {
147 .parts = da850_evm_nandflash_partition, 158 .parts = da850_evm_nandflash_partition,
148 .nr_parts = ARRAY_SIZE(da850_evm_nandflash_partition), 159 .nr_parts = ARRAY_SIZE(da850_evm_nandflash_partition),
149 .ecc_mode = NAND_ECC_HW, 160 .ecc_mode = NAND_ECC_HW,
150 .ecc_bits = 4, 161 .ecc_bits = 4,
151 .options = NAND_USE_FLASH_BBT, 162 .options = NAND_USE_FLASH_BBT,
163 .timing = &da850_evm_nandflash_timing,
152}; 164};
153 165
154static struct resource da850_evm_nandflash_resource[] = { 166static struct resource da850_evm_nandflash_resource[] = {