-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Eric Miao
committed
Mar 23, 2009
1 parent
28d3766
commit eed3ea7
Showing
4 changed files
with
56 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: a3929f31cb2300f1ab190a0168e55bb55222ee40 | ||
refs/heads/master: 01215e35c28a719f38e2cafe90a2806f0e452de6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
/* | ||
* linux/arch/arm/mach-mmp/ttc_dkb.c | ||
* | ||
* Support for the Marvell PXA910-based TTC_DKB 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 <linux/platform_device.h> | ||
|
||
#include <asm/mach-types.h> | ||
#include <asm/mach/arch.h> | ||
#include <mach/addr-map.h> | ||
#include <mach/mfp-pxa910.h> | ||
#include <mach/pxa910.h> | ||
|
||
#include "common.h" | ||
|
||
#define ARRAY_AND_SIZE(x) (x), ARRAY_SIZE(x) | ||
|
||
static unsigned long ttc_dkb_pin_config[] __initdata = { | ||
/* UART2 */ | ||
GPIO47_UART2_RXD, | ||
GPIO48_UART2_TXD, | ||
}; | ||
|
||
static void __init ttc_dkb_init(void) | ||
{ | ||
mfp_config(ARRAY_AND_SIZE(ttc_dkb_pin_config)); | ||
|
||
/* on-chip devices */ | ||
pxa910_add_uart(1); | ||
} | ||
|
||
MACHINE_START(TTC_DKB, "PXA910-based TTC_DKB 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 = pxa910_init_irq, | ||
.timer = &pxa910_timer, | ||
.init_machine = ttc_dkb_init, | ||
MACHINE_END |