Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
mrmt.c File Reference
#include <linux/gpio.h>
#include <linux/init.h>
#include <linux/irq.h>
#include <linux/linkage.h>
#include <linux/platform_device.h>
#include <linux/types.h>
#include <linux/fb.h>
#include <linux/leds.h>
#include <linux/input.h>
#include <linux/gpio_keys.h>
#include <linux/atmel_serial.h>
#include <linux/spi/spi.h>
#include <linux/spi/ads7846.h>
#include <video/atmel_lcdc.h>
#include <sound/atmel-ac97c.h>
#include <asm/delay.h>
#include <asm/io.h>
#include <asm/setup.h>
#include <mach/at32ap700x.h>
#include <mach/board.h>
#include <mach/init.h>
#include <mach/portmux.h>

Go to the source code of this file.

Macros

#define PIN_LCD_BL   GPIO_PIN_PA(28)
 
#define PWM_CH_BL   0 /* Must match with GPIO pin definition */
 
#define PIN_LCD_DISP   GPIO_PIN_PA(31)
 
#define PIN_AC97_RST_N   GPIO_PIN_PA(30)
 
#define PB_EXTINT_BASE   25
 
#define TS_IRQ   0
 
#define PIN_TS_EXTINT   GPIO_PIN_PB(PB_EXTINT_BASE+TS_IRQ)
 
#define PIN_PB_LEFT   GPIO_PIN_PB(11)
 
#define PIN_PB_RIGHT   GPIO_PIN_PB(12)
 
#define PIN_PWR_SW_N   GPIO_PIN_PB(14)
 
#define PIN_PWR_ON   GPIO_PIN_PB(13)
 
#define PIN_ZB_RST_N   GPIO_PIN_PA(21)
 
#define PIN_BT_RST   GPIO_PIN_PA(22)
 
#define PIN_LED_SYS   GPIO_PIN_PA(16)
 
#define PIN_LED_A   GPIO_PIN_PA(19)
 
#define PIN_LED_B   GPIO_PIN_PE(19)
 

Functions

 arch_initcall (mrmt1_init)
 
 core_initcall (mrmt1_early_init)
 

Macro Definition Documentation

#define PB_EXTINT_BASE   25

Definition at line 43 of file mrmt.c.

#define PIN_AC97_RST_N   GPIO_PIN_PA(30)

Definition at line 42 of file mrmt.c.

#define PIN_BT_RST   GPIO_PIN_PA(22)

Definition at line 51 of file mrmt.c.

#define PIN_LCD_BL   GPIO_PIN_PA(28)

Definition at line 39 of file mrmt.c.

#define PIN_LCD_DISP   GPIO_PIN_PA(31)

Definition at line 41 of file mrmt.c.

#define PIN_LED_A   GPIO_PIN_PA(19)

Definition at line 53 of file mrmt.c.

#define PIN_LED_B   GPIO_PIN_PE(19)

Definition at line 54 of file mrmt.c.

#define PIN_LED_SYS   GPIO_PIN_PA(16)

Definition at line 52 of file mrmt.c.

#define PIN_PB_LEFT   GPIO_PIN_PB(11)

Definition at line 46 of file mrmt.c.

#define PIN_PB_RIGHT   GPIO_PIN_PB(12)

Definition at line 47 of file mrmt.c.

#define PIN_PWR_ON   GPIO_PIN_PB(13)

Definition at line 49 of file mrmt.c.

#define PIN_PWR_SW_N   GPIO_PIN_PB(14)

Definition at line 48 of file mrmt.c.

#define PIN_TS_EXTINT   GPIO_PIN_PB(PB_EXTINT_BASE+TS_IRQ)

Definition at line 45 of file mrmt.c.

#define PIN_ZB_RST_N   GPIO_PIN_PA(21)

Definition at line 50 of file mrmt.c.

#define PWM_CH_BL   0 /* Must match with GPIO pin definition */

Definition at line 40 of file mrmt.c.

#define TS_IRQ   0

Definition at line 44 of file mrmt.c.

Function Documentation

arch_initcall ( mrmt1_init  )
core_initcall ( mrmt1_early_init  )