linux/include/soc/at91/atmel-sfr.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Atmel SFR (Special Function Registers) register offsets and bit definitions.
 *
 * Copyright (C) 2016 Atmel
 *
 * Author: Ludovic Desroches <[email protected]>
 */

#ifndef _LINUX_MFD_SYSCON_ATMEL_SFR_H
#define _LINUX_MFD_SYSCON_ATMEL_SFR_H

#define AT91_SFR_DDRCFG
#define AT91_SFR_CCFG_EBICSA
/* 0x08 ~ 0x0c: Reserved */
#define AT91_SFR_OHCIICR
#define AT91_SFR_OHCIISR
#define AT91_SFR_UTMICKTRIM
#define AT91_SFR_UTMISWAP
#define AT91_SFR_LS
#define AT91_SFR_I2SCLKSEL
#define AT91_SFR_WPMR

/* Field definitions */
#define AT91_SFR_CCFG_EBI_CSA(cs, val)
#define AT91_SFR_CCFG_EBI_DBPUC
#define AT91_SFR_CCFG_EBI_DBPDC
#define AT91_SFR_CCFG_EBI_DRIVE
#define AT91_SFR_CCFG_NFD0_ON_D16
#define AT91_SFR_CCFG_DDR_MP_EN

#define AT91_SFR_OHCIICR_RES(x)
#define AT91_SFR_OHCIICR_ARIE
#define AT91_SFR_OHCIICR_APPSTART
#define AT91_SFR_OHCIICR_USB_SUSP(x)
#define AT91_SFR_OHCIICR_UDPPUDIS
#define AT91_OHCIICR_USB_SUSPEND

#define AT91_SFR_OHCIISR_RIS(x)

#define AT91_UTMICKTRIM_FREQ

#define AT91_SFR_UTMISWAP_PORT(x)

#define AT91_SFR_LS_VALUE(x)
#define AT91_SFR_LS_MEM_POWER_GATING_ULP1_EN

#define AT91_SFR_WPMR_WPEN
#define AT91_SFR_WPMR_WPKEY_MASK

#endif /* _LINUX_MFD_SYSCON_ATMEL_SFR_H */