23 #include <asm/machvec.h>
29 static struct resource cf_ide_resources[] = {
40 #ifndef CONFIG_RTS7751R2D_1
53 .name =
"pata_platform",
56 .resource = cf_ide_resources,
58 .platform_data = &pata_info,
64 .modalias =
"rtc-r9701",
65 .max_speed_hz = 1000000,
78 .chip_select = r2d_chip_select,
81 static struct resource spi_sh_sci_resources[] = {
92 .num_resources =
ARRAY_SIZE(spi_sh_sci_resources),
93 .resource = spi_sh_sci_resources,
95 .platform_data = &spi_info,
99 static struct resource heartbeat_resources[] = {
110 .num_resources =
ARRAY_SIZE(heartbeat_resources),
111 .resource = heartbeat_resources,
114 static struct resource sm501_resources[] = {
117 .end = 0x13e00000 - 1,
146 .def_mode = &sm501_default_mode,
163 .fb_crt = &sm501_pdata_fbsub_crt,
164 .fb_pnl = &sm501_pdata_fbsub_pnl,
173 .init = &sm501_initdata,
174 .fb = &sm501_fb_pdata,
181 .platform_data = &sm501_platform_data,
184 .resource = sm501_resources,
190 .offset = 0x00000000,
194 .name =
"Environment",
212 .parts = r2d_partitions,
215 static struct resource flash_resource = {
222 .
name =
"physmap-flash",
224 .resource = &flash_resource,
227 .platform_data = &flash_data,
243 .resource = cf_ide_resources,
245 .minimum_bus_width = 16,
248 static int __init rts7751r2d_devices_setup(
void)
253 if (mach_is_r2d_plus())
263 static void rts7751r2d_power_off(
void)
271 static void __init rts7751r2d_setup(
char **cmdline_p)
279 (ver >> 4) & 0xf, ver & 0xf);
304 .mv_name =
"RTS7751R2D",
305 .mv_setup = rts7751r2d_setup,