2005-04-17 06:20:36 +08:00
|
|
|
/*
|
2008-08-05 23:14:15 +08:00
|
|
|
* arch/arm/mach-sa1100/include/mach/neponset.h
|
2005-04-17 06:20:36 +08:00
|
|
|
*
|
2009-09-14 15:25:28 +08:00
|
|
|
* Created 2000/06/05 by Nicolas Pitre <nico@fluxnic.net>
|
2005-04-17 06:20:36 +08:00
|
|
|
*
|
|
|
|
* This file contains the hardware specific definitions for Assabet
|
|
|
|
* Only include this file from SA1100-specific files.
|
|
|
|
*
|
|
|
|
* 2000/05/23 John Dorsey <john+@cs.cmu.edu>
|
|
|
|
* Definitions for Neponset added.
|
|
|
|
*/
|
|
|
|
#ifndef __ASM_ARCH_NEPONSET_H
|
|
|
|
#define __ASM_ARCH_NEPONSET_H
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Neponset definitions:
|
|
|
|
*/
|
|
|
|
#define NCR_GP01_OFF (1<<0)
|
|
|
|
#define NCR_TP_PWR_EN (1<<1)
|
|
|
|
#define NCR_MS_PWR_EN (1<<2)
|
|
|
|
#define NCR_ENET_OSC_EN (1<<3)
|
|
|
|
#define NCR_SPI_KB_WK_UP (1<<4)
|
|
|
|
#define NCR_A0VPP (1<<5)
|
|
|
|
#define NCR_A1VPP (1<<6)
|
|
|
|
|
2012-01-16 17:31:47 +08:00
|
|
|
void neponset_ncr_frob(unsigned int, unsigned int);
|
|
|
|
#define neponset_ncr_set(v) neponset_ncr_frob(0, v)
|
|
|
|
#define neponset_ncr_clear(v) neponset_ncr_frob(v, 0)
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
#endif
|