Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Variables
dsmg600-setup.c File Reference
#include <linux/gpio.h>
#include <linux/irq.h>
#include <linux/jiffies.h>
#include <linux/timer.h>
#include <linux/serial.h>
#include <linux/serial_8250.h>
#include <linux/leds.h>
#include <linux/reboot.h>
#include <linux/i2c.h>
#include <linux/i2c-gpio.h>
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
#include <asm/mach/flash.h>
#include <asm/mach/time.h>

Go to the source code of this file.

Macros

#define DSMG600_SDA_PIN   5
 
#define DSMG600_SCL_PIN   4
 
#define DSMG600_FREQ   66000000
 
#define DSMG600_PB_GPIO   15 /* power button */
 
#define DSMG600_RB_GPIO   3 /* reset button */
 
#define DSMG600_PO_GPIO   2 /* power off */
 
#define DSMG600_LED_PWR_GPIO   0
 
#define DSMG600_LED_WLAN_GPIO   14
 
#define PBUTTON_HOLDDOWN_COUNT   4 /* 2 secs */
 

Variables

 atag_offset = 0x100
 
 map_io = ixp4xx_map_io
 
 init_early = ixp4xx_init_early
 
 init_irq = ixp4xx_init_irq
 
 timer = &dsmg600_timer
 
 init_machine = dsmg600_init
 
 restart = ixp4xx_restart
 

Macro Definition Documentation

#define DSMG600_FREQ   66000000

Definition at line 39 of file dsmg600-setup.c.

#define DSMG600_LED_PWR_GPIO   0

Definition at line 49 of file dsmg600-setup.c.

#define DSMG600_LED_WLAN_GPIO   14

Definition at line 50 of file dsmg600-setup.c.

#define DSMG600_PB_GPIO   15 /* power button */

Definition at line 42 of file dsmg600-setup.c.

#define DSMG600_PO_GPIO   2 /* power off */

Definition at line 46 of file dsmg600-setup.c.

#define DSMG600_RB_GPIO   3 /* reset button */

Definition at line 43 of file dsmg600-setup.c.

#define DSMG600_SCL_PIN   4

Definition at line 36 of file dsmg600-setup.c.

#define DSMG600_SDA_PIN   5

Definition at line 35 of file dsmg600-setup.c.

#define PBUTTON_HOLDDOWN_COUNT   4 /* 2 secs */

Definition at line 175 of file dsmg600-setup.c.

Variable Documentation

atag_offset = 0x100

Definition at line 281 of file dsmg600-setup.c.

init_early = ixp4xx_init_early

Definition at line 283 of file dsmg600-setup.c.

init_irq = ixp4xx_init_irq

Definition at line 284 of file dsmg600-setup.c.

init_machine = dsmg600_init

Definition at line 286 of file dsmg600-setup.c.

map_io = ixp4xx_map_io

Definition at line 282 of file dsmg600-setup.c.

restart = ixp4xx_restart

Definition at line 290 of file dsmg600-setup.c.

timer = &dsmg600_timer

Definition at line 285 of file dsmg600-setup.c.