Linux Kernel
3.7.1
|
#include <linux/platform_device.h>
#include <linux/syscore_ops.h>
#include <linux/irq.h>
#include <linux/gpio.h>
#include <linux/dm9000.h>
#include <linux/leds.h>
#include <asm/mach/arch.h>
#include <asm/mach-types.h>
#include <asm/mach/map.h>
#include <mach/pxa25x.h>
#include <mach/pxa27x.h>
#include <mach/audio.h>
#include <linux/platform_data/video-pxafb.h>
#include <mach/smemc.h>
#include <asm/hardware/it8152.h>
#include "generic.h"
#include "cm-x2xx-pci.h"
Go to the source code of this file.
Macros | |
#define | CMX2XX_NR_IRQS (IRQ_BOARD_START + 40) |
#define | CMX2XX_VIRT_BASE (void __iomem *)(0xe8000000) |
#define | CMX2XX_IT8152_VIRT (CMX2XX_VIRT_BASE) |
#define | CMX255_DM9000_PHYS_BASE (PXA_CS1_PHYS + (8 << 22)) |
#define | CMX270_DM9000_PHYS_BASE (PXA_CS1_PHYS + (6 << 22)) |
#define | CMX255_GPIO_RED (27) |
#define | CMX255_GPIO_GREEN (32) |
#define | CMX270_GPIO_RED (93) |
#define | CMX270_GPIO_GREEN (94) |
#define | GPIO22_ETHIRQ (22) |
#define | GPIO10_ETHIRQ (10) |
#define | CMX255_GPIO_IT8152_IRQ (0) |
#define | CMX270_GPIO_IT8152_IRQ (22) |
#define | CMX255_ETHIRQ PXA_GPIO_TO_IRQ(GPIO22_ETHIRQ) |
#define | CMX270_ETHIRQ PXA_GPIO_TO_IRQ(GPIO10_ETHIRQ) |
Functions | |
void | cmx255_init (void) |
void | cmx270_init (void) |
Variables | |
atag_offset = 0x100 | |
map_io = cmx2xx_map_io | |
nr_irqs = CMX2XX_NR_IRQS | |
init_irq = cmx2xx_init_irq | |
handle_irq = pxa25x_handle_irq | |
timer = &pxa_timer | |
init_machine = cmx2xx_init | |
restart = pxa_restart | |
#define CMX255_DM9000_PHYS_BASE (PXA_CS1_PHYS + (8 << 22)) |
#define CMX255_ETHIRQ PXA_GPIO_TO_IRQ(GPIO22_ETHIRQ) |
#define CMX270_DM9000_PHYS_BASE (PXA_CS1_PHYS + (6 << 22)) |
#define CMX270_ETHIRQ PXA_GPIO_TO_IRQ(GPIO10_ETHIRQ) |
#define CMX2XX_IT8152_VIRT (CMX2XX_VIRT_BASE) |
#define CMX2XX_NR_IRQS (IRQ_BOARD_START + 40) |
handle_irq = pxa25x_handle_irq |
nr_irqs = CMX2XX_NR_IRQS |
restart = pxa_restart |