22 #include <linux/types.h>
27 #include <linux/i2c.h>
29 #include <asm/machvec.h>
31 #include <asm/addrspace.h>
32 #include <asm/delay.h>
34 #include <asm/sizes.h>
37 #define BSC_CS4BCR 0xA4FD0010
38 #define BSC_CS4WCR 0xA4FD0030
40 #define SMC_IOBASE 0xA2000000
41 #define SMC_IO_OFFSET 0x300
42 #define SMC_IOADDR (SMC_IOBASE + SMC_IO_OFFSET)
45 static struct mtd_partition edosk7760_nor_flash_partitions[] = {
68 .parts = edosk7760_nor_flash_partitions,
69 .nr_parts =
ARRAY_SIZE(edosk7760_nor_flash_partitions),
72 static struct resource edosk7760_nor_flash_resources[] = {
76 .end = 0x00000000 +
SZ_32M - 1,
82 .
name =
"physmap-flash",
83 .resource = edosk7760_nor_flash_resources,
84 .num_resources =
ARRAY_SIZE(edosk7760_nor_flash_resources),
86 .platform_data = &edosk7760_nor_flash_data,
95 static struct resource sh7760_i2c1_res[] = {
109 .platform_data = &i2c_pd,
114 .resource = sh7760_i2c1_res,
118 static struct resource sh7760_i2c0_res[] = {
132 .platform_data = &i2c_pd,
136 .resource = sh7760_i2c0_res,
145 static struct resource smc91x_res[] = {
162 .resource = smc91x_res,
165 .platform_data = &smc91x_info,
172 &edosk7760_nor_flash_device,
177 static int __init init_edosk7760_devices(
void)
190 .mv_name =
"EDOSK7760",