12 #include <linux/kernel.h>
15 #include <linux/pci.h>
21 #include <linux/input.h>
22 #include <linux/i2c.h>
29 #include <mach/bridge-regs.h>
33 #define MSS2_NOR_BOOT_BASE 0xff800000
34 #define MSS2_NOR_BOOT_SIZE SZ_256K
57 static struct resource mss2_nor_flash_resource = {
64 .name =
"physmap-flash",
67 .platform_data = &mss2_nor_flash_data,
69 .resource = &mss2_nor_flash_resource,
94 .map_irq = mss2_pci_map_irq,
97 static int __init mss2_pci_init(
void)
99 if (machine_is_mss2())
127 #define MSS2_GPIO_KEY_RESET 12
128 #define MSS2_GPIO_KEY_POWER 11
145 .buttons = mss2_buttons,
153 .platform_data = &mss2_button_data,
161 #define MSS2_GPIO_RTC_IRQ 3
176 static void mss2_power_off(
void)
195 static unsigned int mss2_mpp_modes[] __initdata = {
219 static void __init mss2_init(
void)
263 .atag_offset = 0x100,
264 .init_machine = mss2_init,