Linux 4.16.11
[linux/fpc-iii.git] / include / soc / at91 / atmel-sfr.h
blob482337af06b8d5a1c226b4b18bce2956b37768d1
1 /*
2 * Atmel SFR (Special Function Registers) register offsets and bit definitions.
4 * Copyright (C) 2016 Atmel
6 * Author: Ludovic Desroches <ludovic.desroches@atmel.com>
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
13 #ifndef _LINUX_MFD_SYSCON_ATMEL_SFR_H
14 #define _LINUX_MFD_SYSCON_ATMEL_SFR_H
16 #define AT91_SFR_DDRCFG 0x04 /* DDR Configuration Register */
17 /* 0x08 ~ 0x0c: Reserved */
18 #define AT91_SFR_OHCIICR 0x10 /* OHCI INT Configuration Register */
19 #define AT91_SFR_OHCIISR 0x14 /* OHCI INT Status Register */
20 #define AT91_SFR_UTMICKTRIM 0x30 /* UTMI Clock Trimming Register */
21 #define AT91_SFR_I2SCLKSEL 0x90 /* I2SC Register */
23 /* Field definitions */
24 #define AT91_OHCIICR_SUSPEND_A BIT(8)
25 #define AT91_OHCIICR_SUSPEND_B BIT(9)
26 #define AT91_OHCIICR_SUSPEND_C BIT(10)
28 #define AT91_OHCIICR_USB_SUSPEND (AT91_OHCIICR_SUSPEND_A | \
29 AT91_OHCIICR_SUSPEND_B | \
30 AT91_OHCIICR_SUSPEND_C)
32 #define AT91_UTMICKTRIM_FREQ GENMASK(1, 0)
34 #endif /* _LINUX_MFD_SYSCON_ATMEL_SFR_H */