21 #include <linux/kernel.h>
22 #include <linux/types.h>
28 #include <asm/bootinfo.h>
29 #include <asm/addrspace.h>
33 #include <asm/reboot.h>
34 #include <asm/traps.h>
39 #define I2C_EMMA2RH "emma2rh-iic"
41 static struct resource i2c_emma_resources_0[] = {
87 .resource = i2c_emma_resources_0,
88 .num_resources =
ARRAY_SIZE(i2c_emma_resources_0),
94 .num_resources =
ARRAY_SIZE(i2c_emma_resources_1),
100 .num_resources =
ARRAY_SIZE(i2c_emma_resources_2),
104 #define EMMA2RH_SERIAL_CLOCK 18544000
105 #define EMMA2RH_SERIAL_FLAGS UPF_BOOT_AUTOCONF | UPF_SKIP_TEST
138 .name =
"serial8250",
140 .platform_data = &platform_serial_ports,
147 .offset = 0x00000000,
151 .name =
"boot code area",
156 .name =
"kernel image",
166 .name =
"boot code area2",
171 .name =
"kernel image2",
180 .parts = markeins_parts
183 static struct resource markeins_flash_resource = {
190 .name =
"physmap-flash",
193 .platform_data = &markeins_flash_data,
196 .resource = &markeins_flash_resource,
201 i2c_emma_devices + 1,
202 i2c_emma_devices + 2,
204 &markeins_flash_device,
207 static int __init platform_devices_setup(
void)