1
0
Fork 0

ARM: at91: pm: add PMC fast startup registers defines

Add PMC fast startup registers defines.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
hifive-unleashed-5.1
Claudiu Beznea 2018-07-17 11:26:56 +03:00 committed by Alexandre Belloni
parent 5b56c182ed
commit 3abd729aa4
1 changed files with 13 additions and 0 deletions

View File

@ -157,6 +157,19 @@
#define AT91_PMC_GCKRDY (1 << 24) /* Generated Clocks */
#define AT91_PMC_IMR 0x6c /* Interrupt Mask Register */
#define AT91_PMC_FSMR 0x70 /* Fast Startup Mode Register */
#define AT91_PMC_FSTT(n) BIT(n)
#define AT91_PMC_RTCAL BIT(17) /* RTC Alarm Enable */
#define AT91_PMC_USBAL BIT(18) /* USB Resume Enable */
#define AT91_PMC_SDMMC_CD BIT(19) /* SDMMC Card Detect Enable */
#define AT91_PMC_LPM BIT(20) /* Low-power Mode */
#define AT91_PMC_RXLP_MCE BIT(24) /* Backup UART Receive Enable */
#define AT91_PMC_ACC_CE BIT(25) /* ACC Enable */
#define AT91_PMC_FSPR 0x74 /* Fast Startup Polarity Reg */
#define AT91_PMC_FS_INPUT_MASK 0x7ff
#define AT91_PMC_PLLICPR 0x80 /* PLL Charge Pump Current Register */
#define AT91_PMC_PROT 0xe4 /* Write Protect Mode Register [some SAM9] */