162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * arch/arm/mach-sa1100/include/mach/neponset.h 462306a36Sopenharmony_ci * 562306a36Sopenharmony_ci * Created 2000/06/05 by Nicolas Pitre <nico@fluxnic.net> 662306a36Sopenharmony_ci * 762306a36Sopenharmony_ci * This file contains the hardware specific definitions for Assabet 862306a36Sopenharmony_ci * Only include this file from SA1100-specific files. 962306a36Sopenharmony_ci * 1062306a36Sopenharmony_ci * 2000/05/23 John Dorsey <john+@cs.cmu.edu> 1162306a36Sopenharmony_ci * Definitions for Neponset added. 1262306a36Sopenharmony_ci */ 1362306a36Sopenharmony_ci#ifndef __ASM_ARCH_NEPONSET_H 1462306a36Sopenharmony_ci#define __ASM_ARCH_NEPONSET_H 1562306a36Sopenharmony_ci 1662306a36Sopenharmony_ci/* 1762306a36Sopenharmony_ci * Neponset definitions: 1862306a36Sopenharmony_ci */ 1962306a36Sopenharmony_ci#define NCR_GP01_OFF (1<<0) 2062306a36Sopenharmony_ci#define NCR_TP_PWR_EN (1<<1) 2162306a36Sopenharmony_ci#define NCR_MS_PWR_EN (1<<2) 2262306a36Sopenharmony_ci#define NCR_ENET_OSC_EN (1<<3) 2362306a36Sopenharmony_ci#define NCR_SPI_KB_WK_UP (1<<4) 2462306a36Sopenharmony_ci#define NCR_A0VPP (1<<5) 2562306a36Sopenharmony_ci#define NCR_A1VPP (1<<6) 2662306a36Sopenharmony_ci 2762306a36Sopenharmony_civoid neponset_ncr_frob(unsigned int, unsigned int); 2862306a36Sopenharmony_ci#define neponset_ncr_set(v) neponset_ncr_frob(0, v) 2962306a36Sopenharmony_ci#define neponset_ncr_clear(v) neponset_ncr_frob(v, 0) 3062306a36Sopenharmony_ci 3162306a36Sopenharmony_ci#endif 32