xref: /optee_os/core/arch/arm/plat-sam/sam_sfr.h (revision 7ad2713dc97199fc5eab04702b20b18e6f56ad5d)
1 /* SPDX-License-Identifier: BSD-2-Clause */
2 /*
3  * Copyright (c) 2021, Bootlin
4  */
5 
6 #ifndef SAM_SFR_H
7 #define SAM_SFR_H
8 
9 #include <util.h>
10 
11 /* UTMI Clock Trimming Register */
12 #define AT91_SFR_UTMICKTRIM	0x30
13 /* L2 cache RAM used as an internal SRAM */
14 #define AT91_SFR_L2CC_HRAMC		0x58
15 /* I2SC Register */
16 #define AT91_SFR_I2SCLKSEL	0x90
17 
18 /* Field definitions */
19 #define AT91_UTMICKTRIM_FREQ			GENMASK_32(1, 0)
20 
21 vaddr_t sam_sfr_base(void);
22 
23 #endif
24