Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/list.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 "common.h"
Go to the source code of this file.
Macros | |
#define | MFPR_VIRT_BASE (APB_VIRT_BASE + 0x1e000) |
#define | TIMER_CLK_RST (APBC_APBCLK | APBC_FNCLK | APBC_FNCLKSEL(3)) |
#define | APBC_TIMERS APBC_REG(0x34) |
Functions | |
void __init | pxa910_init_irq (void) |
postcore_initcall (pxa910_init) | |
PXA910_DEVICE (uart1,"pxa2xx-uart", 0, UART2, 0xd4017000, 0x30, 21, 22) | |
PXA910_DEVICE (uart2,"pxa2xx-uart", 1, UART3, 0xd4018000, 0x30, 23, 24) | |
PXA910_DEVICE (twsi0,"pxa2xx-i2c", 0, TWSI0, 0xd4011000, 0x28) | |
PXA910_DEVICE (twsi1,"pxa2xx-i2c", 1, TWSI1, 0xd4025000, 0x28) | |
PXA910_DEVICE (pwm1,"pxa910-pwm", 0, NONE, 0xd401a000, 0x10) | |
PXA910_DEVICE (pwm2,"pxa910-pwm", 1, NONE, 0xd401a400, 0x10) | |
PXA910_DEVICE (pwm3,"pxa910-pwm", 2, NONE, 0xd401a800, 0x10) | |
PXA910_DEVICE (pwm4,"pxa910-pwm", 3, NONE, 0xd401ac00, 0x10) | |
PXA910_DEVICE (nand,"pxa3xx-nand",-1, NAND, 0xd4283000, 0x80, 97, 99) | |
Variables | |
struct sys_timer | pxa910_timer |
struct resource | pxa910_resource_gpio [] |
struct platform_device | pxa910_device_gpio |
struct platform_device | pxa910_device_rtc |
#define MFPR_VIRT_BASE (APB_VIRT_BASE + 0x1e000) |
#define TIMER_CLK_RST (APBC_APBCLK | APBC_FNCLK | APBC_FNCLKSEL(3)) |
postcore_initcall | ( | pxa910_init | ) |
PXA910_DEVICE | ( | uart1 | , |
"pxa2xx-uart" | , | ||
0 | , | ||
UART2 | , | ||
0xd4017000 | , | ||
0x30 | , | ||
21 | , | ||
22 | |||
) |
PXA910_DEVICE | ( | uart2 | , |
"pxa2xx-uart" | , | ||
1 | , | ||
UART3 | , | ||
0xd4018000 | , | ||
0x30 | , | ||
23 | , | ||
24 | |||
) |
PXA910_DEVICE | ( | twsi0 | , |
"pxa2xx-i2c" | , | ||
0 | , | ||
TWSI0 | , | ||
0xd4011000 | , | ||
0x28 | |||
) |
PXA910_DEVICE | ( | twsi1 | , |
"pxa2xx-i2c" | , | ||
1 | , | ||
TWSI1 | , | ||
0xd4025000 | , | ||
0x28 | |||
) |
PXA910_DEVICE | ( | nand | , |
"pxa3xx-nand" | , | ||
- | 1, | ||
NAND | , | ||
0xd4283000 | , | ||
0x80 | , | ||
97 | , | ||
99 | |||
) |
struct platform_device pxa910_device_gpio |
struct platform_device pxa910_device_rtc |