]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/arm/include/asm/arch-socfpga/reset_manager.h
Add GPL-2.0+ SPDX-License-Identifier to source files
[karo-tx-uboot.git] / arch / arm / include / asm / arch-socfpga / reset_manager.h
1 /*
2  *  Copyright (C) 2012 Altera Corporation <www.altera.com>
3  *
4  * SPDX-License-Identifier:     GPL-2.0+
5  */
6
7 #ifndef _RESET_MANAGER_H_
8 #define _RESET_MANAGER_H_
9
10 void reset_cpu(ulong addr);
11 void reset_deassert_peripherals_handoff(void);
12
13 struct socfpga_reset_manager {
14         u32     padding1;
15         u32     ctrl;
16         u32     padding2;
17         u32     padding3;
18         u32     mpu_mod_reset;
19         u32     per_mod_reset;
20         u32     per2_mod_reset;
21         u32     brg_mod_reset;
22 };
23
24 #define RSTMGR_CTRL_SWWARMRSTREQ_LSB 1
25
26 #endif /* _RESET_MANAGER_H_ */