Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/io.h>
#include <linux/platform_device.h>
#include <asm/hardware/cache-tauros2.h>
#include <asm/mach/time.h>
#include <mach/addr-map.h>
#include <mach/regs-apbc.h>
#include <mach/cputype.h>
#include <mach/irqs.h>
#include <mach/dma.h>
#include <mach/mfp.h>
#include <mach/devices.h>
#include <mach/mmp2.h>
#include "common.h"
Go to the source code of this file.
Macros | |
#define | MFPR_VIRT_BASE (APB_VIRT_BASE + 0x1e000) |
#define | APBC_TIMERS APBC_REG(0x024) |
Functions | |
void | mmp2_clear_pmic_int (void) |
void __init | mmp2_init_irq (void) |
postcore_initcall (mmp2_init) | |
MMP2_DEVICE (uart1,"pxa2xx-uart", 0, UART1, 0xd4030000, 0x30, 4, 5) | |
MMP2_DEVICE (uart2,"pxa2xx-uart", 1, UART2, 0xd4017000, 0x30, 20, 21) | |
MMP2_DEVICE (uart3,"pxa2xx-uart", 2, UART3, 0xd4018000, 0x30, 22, 23) | |
MMP2_DEVICE (uart4,"pxa2xx-uart", 3, UART4, 0xd4016000, 0x30, 18, 19) | |
MMP2_DEVICE (twsi1,"pxa2xx-i2c", 0, TWSI1, 0xd4011000, 0x70) | |
MMP2_DEVICE (twsi2,"pxa2xx-i2c", 1, TWSI2, 0xd4031000, 0x70) | |
MMP2_DEVICE (twsi3,"pxa2xx-i2c", 2, TWSI3, 0xd4032000, 0x70) | |
MMP2_DEVICE (twsi4,"pxa2xx-i2c", 3, TWSI4, 0xd4033000, 0x70) | |
MMP2_DEVICE (twsi5,"pxa2xx-i2c", 4, TWSI5, 0xd4033800, 0x70) | |
MMP2_DEVICE (twsi6,"pxa2xx-i2c", 5, TWSI6, 0xd4034000, 0x70) | |
MMP2_DEVICE (nand,"pxa3xx-nand",-1, NAND, 0xd4283000, 0x100, 28, 29) | |
MMP2_DEVICE (sdh0,"sdhci-pxav3", 0, MMC, 0xd4280000, 0x120) | |
MMP2_DEVICE (sdh1,"sdhci-pxav3", 1, MMC2, 0xd4280800, 0x120) | |
MMP2_DEVICE (sdh2,"sdhci-pxav3", 2, MMC3, 0xd4281000, 0x120) | |
MMP2_DEVICE (sdh3,"sdhci-pxav3", 3, MMC4, 0xd4281800, 0x120) | |
MMP2_DEVICE (asram,"asram",-1, NONE, 0xe0000000, 0x4000) | |
MMP2_DEVICE (isram,"isram",-1, NONE, 0xd1020000, 0x18000) | |
Variables | |
struct sys_timer | mmp2_timer |
struct resource | mmp2_resource_gpio [] |
struct platform_device | mmp2_device_gpio |
#define MFPR_VIRT_BASE (APB_VIRT_BASE + 0x1e000) |
MMP2_DEVICE | ( | uart1 | , |
"pxa2xx-uart" | , | ||
0 | , | ||
UART1 | , | ||
0xd4030000 | , | ||
0x30 | , | ||
4 | , | ||
5 | |||
) |
MMP2_DEVICE | ( | uart2 | , |
"pxa2xx-uart" | , | ||
1 | , | ||
UART2 | , | ||
0xd4017000 | , | ||
0x30 | , | ||
20 | , | ||
21 | |||
) |
MMP2_DEVICE | ( | uart3 | , |
"pxa2xx-uart" | , | ||
2 | , | ||
UART3 | , | ||
0xd4018000 | , | ||
0x30 | , | ||
22 | , | ||
23 | |||
) |
MMP2_DEVICE | ( | uart4 | , |
"pxa2xx-uart" | , | ||
3 | , | ||
UART4 | , | ||
0xd4016000 | , | ||
0x30 | , | ||
18 | , | ||
19 | |||
) |
MMP2_DEVICE | ( | twsi1 | , |
"pxa2xx-i2c" | , | ||
0 | , | ||
TWSI1 | , | ||
0xd4011000 | , | ||
0x70 | |||
) |
MMP2_DEVICE | ( | twsi2 | , |
"pxa2xx-i2c" | , | ||
1 | , | ||
TWSI2 | , | ||
0xd4031000 | , | ||
0x70 | |||
) |
MMP2_DEVICE | ( | twsi3 | , |
"pxa2xx-i2c" | , | ||
2 | , | ||
TWSI3 | , | ||
0xd4032000 | , | ||
0x70 | |||
) |
MMP2_DEVICE | ( | twsi4 | , |
"pxa2xx-i2c" | , | ||
3 | , | ||
TWSI4 | , | ||
0xd4033000 | , | ||
0x70 | |||
) |
MMP2_DEVICE | ( | twsi5 | , |
"pxa2xx-i2c" | , | ||
4 | , | ||
TWSI5 | , | ||
0xd4033800 | , | ||
0x70 | |||
) |
MMP2_DEVICE | ( | twsi6 | , |
"pxa2xx-i2c" | , | ||
5 | , | ||
TWSI6 | , | ||
0xd4034000 | , | ||
0x70 | |||
) |
MMP2_DEVICE | ( | nand | , |
"pxa3xx-nand" | , | ||
- | 1, | ||
NAND | , | ||
0xd4283000 | , | ||
0x100 | , | ||
28 | , | ||
29 | |||
) |
MMP2_DEVICE | ( | sdh0 | , |
"sdhci-pxav3" | , | ||
0 | , | ||
MMC | , | ||
0xd4280000 | , | ||
0x120 | |||
) |
MMP2_DEVICE | ( | sdh1 | , |
"sdhci-pxav3" | , | ||
1 | , | ||
MMC2 | , | ||
0xd4280800 | , | ||
0x120 | |||
) |
MMP2_DEVICE | ( | sdh2 | , |
"sdhci-pxav3" | , | ||
2 | , | ||
MMC3 | , | ||
0xd4281000 | , | ||
0x120 | |||
) |
MMP2_DEVICE | ( | sdh3 | , |
"sdhci-pxav3" | , | ||
3 | , | ||
MMC4 | , | ||
0xd4281800 | , | ||
0x120 | |||
) |
MMP2_DEVICE | ( | asram | , |
"asram" | , | ||
- | 1, | ||
NONE | , | ||
0xe0000000 | , | ||
0x4000 | |||
) |
MMP2_DEVICE | ( | isram | , |
"isram" | , | ||
- | 1, | ||
NONE | , | ||
0xd1020000 | , | ||
0x18000 | |||
) |
postcore_initcall | ( | mmp2_init | ) |
struct platform_device mmp2_device_gpio |