Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
mach-pb44.c File Reference
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/i2c.h>
#include <linux/i2c-gpio.h>
#include <linux/i2c/pcf857x.h>
#include "machtypes.h"
#include "dev-gpio-buttons.h"
#include "dev-leds-gpio.h"
#include "dev-spi.h"
#include "dev-usb.h"
#include "pci.h"

Go to the source code of this file.

Macros

#define PB44_GPIO_I2C_SCL   0
 
#define PB44_GPIO_I2C_SDA   1
 
#define PB44_GPIO_EXP_BASE   16
 
#define PB44_GPIO_SW_RESET   (PB44_GPIO_EXP_BASE + 6)
 
#define PB44_GPIO_SW_JUMP   (PB44_GPIO_EXP_BASE + 8)
 
#define PB44_GPIO_LED_JUMP1   (PB44_GPIO_EXP_BASE + 9)
 
#define PB44_GPIO_LED_JUMP2   (PB44_GPIO_EXP_BASE + 10)
 
#define PB44_KEYS_POLL_INTERVAL   20 /* msecs */
 
#define PB44_KEYS_DEBOUNCE_INTERVAL   (3 * PB44_KEYS_POLL_INTERVAL)
 

Functions

 MIPS_MACHINE (ATH79_MACH_PB44,"PB44","Atheros PB44 reference board", pb44_init)
 

Macro Definition Documentation

#define PB44_GPIO_EXP_BASE   16

Definition at line 27 of file mach-pb44.c.

#define PB44_GPIO_I2C_SCL   0

Definition at line 24 of file mach-pb44.c.

#define PB44_GPIO_I2C_SDA   1

Definition at line 25 of file mach-pb44.c.

#define PB44_GPIO_LED_JUMP1   (PB44_GPIO_EXP_BASE + 9)

Definition at line 30 of file mach-pb44.c.

#define PB44_GPIO_LED_JUMP2   (PB44_GPIO_EXP_BASE + 10)

Definition at line 31 of file mach-pb44.c.

#define PB44_GPIO_SW_JUMP   (PB44_GPIO_EXP_BASE + 8)

Definition at line 29 of file mach-pb44.c.

#define PB44_GPIO_SW_RESET   (PB44_GPIO_EXP_BASE + 6)

Definition at line 28 of file mach-pb44.c.

#define PB44_KEYS_DEBOUNCE_INTERVAL   (3 * PB44_KEYS_POLL_INTERVAL)

Definition at line 34 of file mach-pb44.c.

#define PB44_KEYS_POLL_INTERVAL   20 /* msecs */

Definition at line 33 of file mach-pb44.c.

Function Documentation

MIPS_MACHINE ( ATH79_MACH_PB44  ,
"PB44"  ,
"Atheros PB44 reference board ,
pb44_init   
)