123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- /*
- * linux/arch/arm/mach-mmp/aspenite.c
- *
- * Support for the Marvell PXA168-based Aspenite and Zylonite2
- * Development Platform.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * publishhed by the Free Software Foundation.
- */
- #include <linux/init.h>
- #include <linux/kernel.h>
- #include <asm/mach-types.h>
- #include <asm/mach/arch.h>
- #include <mach/addr-map.h>
- #include <mach/mfp-pxa168.h>
- #include <mach/pxa168.h>
- #include "common.h"
- static unsigned long common_pin_config[] __initdata = {
- /* UART1 */
- GPIO107_UART1_RXD,
- GPIO108_UART1_TXD,
- };
- static void __init common_init(void)
- {
- mfp_config(ARRAY_AND_SIZE(common_pin_config));
- pxa168_add_uart(1);
- }
- MACHINE_START(ASPENITE, "PXA168-based Aspenite Development Platform")
- .phys_io = APB_PHYS_BASE,
- .boot_params = 0x00000100,
- .io_pg_offst = (APB_VIRT_BASE >> 18) & 0xfffc,
- .map_io = pxa_map_io,
- .init_irq = pxa168_init_irq,
- .timer = &pxa168_timer,
- .init_machine = common_init,
- MACHINE_END
- MACHINE_START(ZYLONITE2, "PXA168-based Zylonite2 Development Platform")
- .phys_io = APB_PHYS_BASE,
- .boot_params = 0x00000100,
- .io_pg_offst = (APB_VIRT_BASE >> 18) & 0xfffc,
- .map_io = pxa_map_io,
- .init_irq = pxa168_init_irq,
- .timer = &pxa168_timer,
- .init_machine = common_init,
- MACHINE_END
|