18 #include <linux/types.h>
20 #include <linux/kernel.h>
40 #include <asm/setup.h>
42 #include <mach/hardware.h>
43 #include <mach/common.h>
54 static unsigned int mx31lite_pins[] = {
79 static struct resource smsc911x_resources[] = {
93 .num_resources =
ARRAY_SIZE(smsc911x_resources),
94 .resource = smsc911x_resources,
96 .platform_data = &smsc911x_config,
106 static int spi_internal_chipselect[] = {
111 .chipselect = spi_internal_chipselect,
112 .num_chipselect =
ARRAY_SIZE(spi_internal_chipselect),
120 .modalias =
"mc13783",
121 .max_speed_hz = 1000000,
124 .platform_data = &mc13783_pdata,
132 #define USB_PAD_CFG (PAD_CTL_DRV_MAX | PAD_CTL_SRE_FAST | PAD_CTL_HYS_CMOS | \
133 PAD_CTL_ODE_CMOS | PAD_CTL_100K_PU)
187 static struct resource nor_flash_resource = {
194 .name =
"physmap-flash",
197 .platform_data = &nor_flash_data,
199 .resource = &nor_flash_resource,
208 static struct map_desc mx31lite_io_desc[] __initdata = {
226 static int mx31lite_baseboard;
227 core_param(mx31lite_baseboard, mx31lite_baseboard,
int, 0444);
234 static void __init mx31lite_init(
void)
240 switch (mx31lite_baseboard) {
276 smsc911x_resources[1].
start =
278 smsc911x_resources[1].
end =
284 static void __init mx31lite_timer_init(
void)
289 static struct sys_timer mx31lite_timer = {
290 .init = mx31lite_timer_init,
295 .atag_offset = 0x100,
300 .timer = &mx31lite_timer,
301 .init_machine = mx31lite_init,