Commit 181d363852b8b92e2175fd8ea220b7db444796f1
1 parent
b5e9b29625
Exists in
v2017.01-smarct4x
and in
37 other branches
arm: socfpga: scu: Add SCU register file
Add the Snoop Control Unit register definition file. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Chin Liang See <clsee@altera.com> Cc: Dinh Nguyen <dinguyen@altera.com> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Tom Rini <trini@ti.com> Cc: Wolfgang Denk <wd@denx.de> Cc: Pavel Machek <pavel@denx.de> Acked-by: Pavel Machek <pavel@denx.de>
Showing 1 changed file with 23 additions and 0 deletions Side-by-side Diff
arch/arm/include/asm/arch-socfpga/scu.h
1 | +/* | |
2 | + * Copyright (C) 2014 Marek Vasut <marex@denx.de> | |
3 | + * | |
4 | + * SPDX-License-Identifier: GPL-2.0+ | |
5 | + */ | |
6 | + | |
7 | +#ifndef __SOCFPGA_SCU_H__ | |
8 | +#define __SOCFPGA_SCU_H__ | |
9 | + | |
10 | +struct scu_registers { | |
11 | + u32 ctrl; /* 0x00 */ | |
12 | + u32 cfg; | |
13 | + u32 cpsr; | |
14 | + u32 iassr; | |
15 | + u32 _pad_0x10_0x3c[12]; /* 0x10 */ | |
16 | + u32 fsar; /* 0x40 */ | |
17 | + u32 fear; | |
18 | + u32 _pad_0x48_0x50[2]; | |
19 | + u32 acr; /* 0x54 */ | |
20 | + u32 sacr; | |
21 | +}; | |
22 | + | |
23 | +#endif /* __SOCFPGA_SCU_H__ */ |