1*b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */ 2a09e64fbSRussell King /* 3a09e64fbSRussell King * arch/arm/mach-sa1100/include/mach/neponset.h 4a09e64fbSRussell King * 52f82af08SNicolas Pitre * Created 2000/06/05 by Nicolas Pitre <nico@fluxnic.net> 6a09e64fbSRussell King * 7a09e64fbSRussell King * This file contains the hardware specific definitions for Assabet 8a09e64fbSRussell King * Only include this file from SA1100-specific files. 9a09e64fbSRussell King * 10a09e64fbSRussell King * 2000/05/23 John Dorsey <john+@cs.cmu.edu> 11a09e64fbSRussell King * Definitions for Neponset added. 12a09e64fbSRussell King */ 13a09e64fbSRussell King #ifndef __ASM_ARCH_NEPONSET_H 14a09e64fbSRussell King #define __ASM_ARCH_NEPONSET_H 15a09e64fbSRussell King 16a09e64fbSRussell King /* 17a09e64fbSRussell King * Neponset definitions: 18a09e64fbSRussell King */ 19a09e64fbSRussell King #define NCR_GP01_OFF (1<<0) 20a09e64fbSRussell King #define NCR_TP_PWR_EN (1<<1) 21a09e64fbSRussell King #define NCR_MS_PWR_EN (1<<2) 22a09e64fbSRussell King #define NCR_ENET_OSC_EN (1<<3) 23a09e64fbSRussell King #define NCR_SPI_KB_WK_UP (1<<4) 24a09e64fbSRussell King #define NCR_A0VPP (1<<5) 25a09e64fbSRussell King #define NCR_A1VPP (1<<6) 26a09e64fbSRussell King 276ad1b614SRussell King void neponset_ncr_frob(unsigned int, unsigned int); 286ad1b614SRussell King #define neponset_ncr_set(v) neponset_ncr_frob(0, v) 296ad1b614SRussell King #define neponset_ncr_clear(v) neponset_ncr_frob(v, 0) 306ad1b614SRussell King 31a09e64fbSRussell King #endif 32