Russell King | a09e64f | 2008-08-05 16:14:15 +0100 | [diff] [blame] | 1 | /* |
| 2 | * arch/arm/mach-sa1100/include/mach/neponset.h |
| 3 | * |
Nicolas Pitre | 2f82af0 | 2009-09-14 03:25:28 -0400 | [diff] [blame] | 4 | * Created 2000/06/05 by Nicolas Pitre <nico@fluxnic.net> |
Russell King | a09e64f | 2008-08-05 16:14:15 +0100 | [diff] [blame] | 5 | * |
| 6 | * This file contains the hardware specific definitions for Assabet |
| 7 | * Only include this file from SA1100-specific files. |
| 8 | * |
| 9 | * 2000/05/23 John Dorsey <john+@cs.cmu.edu> |
| 10 | * Definitions for Neponset added. |
| 11 | */ |
| 12 | #ifndef __ASM_ARCH_NEPONSET_H |
| 13 | #define __ASM_ARCH_NEPONSET_H |
| 14 | |
| 15 | /* |
| 16 | * Neponset definitions: |
| 17 | */ |
Russell King | a09e64f | 2008-08-05 16:14:15 +0100 | [diff] [blame] | 18 | #define NCR_GP01_OFF (1<<0) |
| 19 | #define NCR_TP_PWR_EN (1<<1) |
| 20 | #define NCR_MS_PWR_EN (1<<2) |
| 21 | #define NCR_ENET_OSC_EN (1<<3) |
| 22 | #define NCR_SPI_KB_WK_UP (1<<4) |
| 23 | #define NCR_A0VPP (1<<5) |
| 24 | #define NCR_A1VPP (1<<6) |
| 25 | |
Russell King | 6ad1b61 | 2012-01-16 09:31:47 +0000 | [diff] [blame] | 26 | void neponset_ncr_frob(unsigned int, unsigned int); |
| 27 | #define neponset_ncr_set(v) neponset_ncr_frob(0, v) |
| 28 | #define neponset_ncr_clear(v) neponset_ncr_frob(v, 0) |
| 29 | |
Russell King | a09e64f | 2008-08-05 16:14:15 +0100 | [diff] [blame] | 30 | #endif |