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/clk.h>
#include <linux/platform_device.h>
#include <linux/platform_data/mv_usb.h>
#include <asm/mach/time.h>
#include <asm/system_misc.h>
#include <mach/cputype.h>
#include <mach/addr-map.h>
#include <mach/regs-apbc.h>
#include <mach/regs-apmu.h>
#include <mach/irqs.h>
#include <mach/dma.h>
#include <mach/devices.h>
#include <mach/mfp.h>
#include <linux/dma-mapping.h>
#include <mach/pxa168.h>
#include <mach/regs-usb.h>
#include "common.h"
#include "clock.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 | pxa168_init_irq (void) |
postcore_initcall (pxa168_init) | |
void | pxa168_clear_keypad_wakeup (void) |
PXA168_DEVICE (uart1,"pxa2xx-uart", 0, UART1, 0xd4017000, 0x30, 21, 22) | |
PXA168_DEVICE (uart2,"pxa2xx-uart", 1, UART2, 0xd4018000, 0x30, 23, 24) | |
PXA168_DEVICE (uart3,"pxa2xx-uart", 2, UART3, 0xd4026000, 0x30, 23, 24) | |
PXA168_DEVICE (twsi0,"pxa2xx-i2c", 0, TWSI0, 0xd4011000, 0x28) | |
PXA168_DEVICE (twsi1,"pxa2xx-i2c", 1, TWSI1, 0xd4025000, 0x28) | |
PXA168_DEVICE (pwm1,"pxa168-pwm", 0, NONE, 0xd401a000, 0x10) | |
PXA168_DEVICE (pwm2,"pxa168-pwm", 1, NONE, 0xd401a400, 0x10) | |
PXA168_DEVICE (pwm3,"pxa168-pwm", 2, NONE, 0xd401a800, 0x10) | |
PXA168_DEVICE (pwm4,"pxa168-pwm", 3, NONE, 0xd401ac00, 0x10) | |
PXA168_DEVICE (nand,"pxa3xx-nand",-1, NAND, 0xd4283000, 0x80, 97, 99) | |
PXA168_DEVICE (ssp1,"pxa168-ssp", 0, SSP1, 0xd401b000, 0x40, 52, 53) | |
PXA168_DEVICE (ssp2,"pxa168-ssp", 1, SSP2, 0xd401c000, 0x40, 54, 55) | |
PXA168_DEVICE (ssp3,"pxa168-ssp", 2, SSP3, 0xd401f000, 0x40, 56, 57) | |
PXA168_DEVICE (ssp4,"pxa168-ssp", 3, SSP4, 0xd4020000, 0x40, 58, 59) | |
PXA168_DEVICE (ssp5,"pxa168-ssp", 4, SSP5, 0xd4021000, 0x40, 60, 61) | |
PXA168_DEVICE (fb,"pxa168-fb",-1, LCD, 0xd420b000, 0x1c8) | |
PXA168_DEVICE (keypad,"pxa27x-keypad",-1, KEYPAD, 0xd4012000, 0x4c) | |
PXA168_DEVICE (eth,"pxa168-eth",-1, MFU, 0xc0800000, 0x0fff) | |
int __init | pxa168_add_usb_host (struct mv_usb_platform_data *pdata) |
void | pxa168_restart (char mode, const char *cmd) |
#define MFPR_VIRT_BASE (APB_VIRT_BASE + 0x1e000) |
#define TIMER_CLK_RST (APBC_APBCLK | APBC_FNCLK | APBC_FNCLKSEL(3)) |
postcore_initcall | ( | pxa168_init | ) |
int __init pxa168_add_usb_host | ( | struct mv_usb_platform_data * | pdata | ) |
PXA168_DEVICE | ( | uart1 | , |
"pxa2xx-uart" | , | ||
0 | , | ||
UART1 | , | ||
0xd4017000 | , | ||
0x30 | , | ||
21 | , | ||
22 | |||
) |
PXA168_DEVICE | ( | uart2 | , |
"pxa2xx-uart" | , | ||
1 | , | ||
UART2 | , | ||
0xd4018000 | , | ||
0x30 | , | ||
23 | , | ||
24 | |||
) |
PXA168_DEVICE | ( | uart3 | , |
"pxa2xx-uart" | , | ||
2 | , | ||
UART3 | , | ||
0xd4026000 | , | ||
0x30 | , | ||
23 | , | ||
24 | |||
) |
PXA168_DEVICE | ( | twsi0 | , |
"pxa2xx-i2c" | , | ||
0 | , | ||
TWSI0 | , | ||
0xd4011000 | , | ||
0x28 | |||
) |
PXA168_DEVICE | ( | twsi1 | , |
"pxa2xx-i2c" | , | ||
1 | , | ||
TWSI1 | , | ||
0xd4025000 | , | ||
0x28 | |||
) |
PXA168_DEVICE | ( | nand | , |
"pxa3xx-nand" | , | ||
- | 1, | ||
NAND | , | ||
0xd4283000 | , | ||
0x80 | , | ||
97 | , | ||
99 | |||
) |
PXA168_DEVICE | ( | ssp4 | , |
"pxa168-ssp" | , | ||
3 | , | ||
SSP4 | , | ||
0xd4020000 | , | ||
0x40 | , | ||
58 | , | ||
59 | |||
) |
PXA168_DEVICE | ( | ssp5 | , |
"pxa168-ssp" | , | ||
4 | , | ||
SSP5 | , | ||
0xd4021000 | , | ||
0x40 | , | ||
60 | , | ||
61 | |||
) |
PXA168_DEVICE | ( | keypad | , |
"pxa27x-keypad" | , | ||
- | 1, | ||
KEYPAD | , | ||
0xd4012000 | , | ||
0x4c | |||
) |
PXA168_DEVICE | ( | eth | , |
"pxa168-eth" | , | ||
- | 1, | ||
MFU | , | ||
0xc0800000 | , | ||
0x0fff | |||
) |
struct platform_device pxa168_device_gpio |
struct platform_device pxa168_device_usb_host |