Path: blob/master/arch/arm/mach-mmp/avengers_lite.c
10817 views
/*1* linux/arch/arm/mach-mmp/avengers_lite.c2*3* Support for the Marvell PXA168-based Avengers lite Development Platform.4*5* Copyright (C) 2009-2010 Marvell International Ltd.6*7* This program is free software; you can redistribute it and/or modify8* it under the terms of the GNU General Public License version 2 as9* publishhed by the Free Software Foundation.10*/1112#include <linux/init.h>13#include <linux/kernel.h>14#include <linux/platform_device.h>1516#include <asm/mach-types.h>17#include <asm/mach/arch.h>18#include <mach/addr-map.h>19#include <mach/mfp-pxa168.h>20#include <mach/pxa168.h>21#include <mach/irqs.h>222324#include "common.h"25#include <linux/delay.h>2627/* Avengers lite MFP configurations */28static unsigned long avengers_lite_pin_config_V16F[] __initdata = {29/* DEBUG_UART */30GPIO88_UART2_TXD,31GPIO89_UART2_RXD,32};3334static void __init avengers_lite_init(void)35{36mfp_config(ARRAY_AND_SIZE(avengers_lite_pin_config_V16F));3738/* on-chip devices */39pxa168_add_uart(2);40}4142MACHINE_START(AVENGERS_LITE, "PXA168 Avengers lite Development Platform")43.map_io = mmp_map_io,44.init_irq = pxa168_init_irq,45.timer = &pxa168_timer,46.init_machine = avengers_lite_init,47MACHINE_END484950