Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
dev.c File Reference
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/interrupt.h>
#include <linux/list.h>
#include <linux/timer.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/mtd/physmap.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/partitions.h>
#include <linux/spi/spi.h>
#include <linux/spi/flash.h>
#include <asm/system_misc.h>
#include <asm/mach/arch.h>
#include <asm/mach/map.h>
#include <asm/mach/irq.h>
#include <asm/mach-types.h>
#include <mach/regs-serial.h>
#include <linux/platform_data/spi-nuc900.h>
#include <mach/map.h>
#include <linux/platform_data/video-nuc900fb.h>
#include <mach/regs-ldm.h>
#include <linux/platform_data/keypad-w90p910.h>
#include "cpu.h"

Go to the source code of this file.

Macros

#define NUC900_FLASH_BASE   0xA0000000
 
#define NUC900_FLASH_SIZE   0x400000
 
#define SPIOFFSET   0x200
 
#define SPIOREG_SIZE   0x100
 

Functions

void __init nuc900_board_init (struct platform_device **device, int size)
 

Variables

struct platform_device nuc900_device_rtc
 
struct platform_device nuc900_device_ts
 
struct platform_device nuc900_device_fmi
 
struct w90p910_keypad_platform_data nuc900_keypad_info
 
struct platform_device nuc900_device_kpi
 
struct platform_device nuc900_device_lcd
 
struct platform_device nuc900_device_ac97
 

Macro Definition Documentation

#define NUC900_FLASH_BASE   0xA0000000

Definition at line 47 of file dev.c.

#define NUC900_FLASH_SIZE   0x400000

Definition at line 48 of file dev.c.

#define SPIOFFSET   0x200

Definition at line 49 of file dev.c.

#define SPIOREG_SIZE   0x100

Definition at line 50 of file dev.c.

Function Documentation

void __init nuc900_board_init ( struct platform_device **  device,
int  size 
)

Definition at line 532 of file dev.c.

Variable Documentation

struct platform_device nuc900_device_ac97
Initial value:
= {
.name = "nuc900-ac97",
.id = -1,
.num_resources = ARRAY_SIZE(nuc900_ac97_resource),
.resource = nuc900_ac97_resource,
.dev = {
.dma_mask = &nuc900_device_audio_dmamask,
.coherent_dma_mask = -1,
}
}

Definition at line 505 of file dev.c.

struct platform_device nuc900_device_fmi
Initial value:
= {
.name = "nuc900-fmi",
.id = -1,
.num_resources = ARRAY_SIZE(nuc900_fmi_resource),
.resource = nuc900_fmi_resource,
}

Definition at line 358 of file dev.c.

struct platform_device nuc900_device_kpi
Initial value:
= {
.name = "nuc900-kpi",
.id = -1,
.num_resources = ARRAY_SIZE(nuc900_kpi_resource),
.resource = nuc900_kpi_resource,
.dev = {
.platform_data = &nuc900_keypad_info,
}
}

Definition at line 414 of file dev.c.

struct platform_device nuc900_device_lcd
Initial value:
= {
.name = "nuc900-lcd",
.id = -1,
.num_resources = ARRAY_SIZE(nuc900_lcd_resource),
.resource = nuc900_lcd_resource,
.dev = {
.dma_mask = &nuc900_device_lcd_dmamask,
.coherent_dma_mask = -1,
.platform_data = &nuc900_fb_info,
}
}

Definition at line 477 of file dev.c.

struct platform_device nuc900_device_rtc
Initial value:
= {
.name = "nuc900-rtc",
.id = -1,
.num_resources = ARRAY_SIZE(nuc900_rtc_resource),
.resource = nuc900_rtc_resource,
}

Definition at line 314 of file dev.c.

struct platform_device nuc900_device_ts
Initial value:
= {
.name = "nuc900-ts",
.id = -1,
.resource = nuc900_ts_resource,
.num_resources = ARRAY_SIZE(nuc900_ts_resource),
}

Definition at line 336 of file dev.c.

Initial value:
= {
.keymap_data = &nuc900_map_data,
.prescale = 0xfa,
.debounce = 0x50,
}

Definition at line 394 of file dev.c.