1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * UniPhier SC (System Control) block registers for ARMv8 SoCs
5 * Copyright (C) 2016 Socionext Inc.
6 * Author: Masahiro Yamada <yamada.masahiro@socionext.com>
13 #include <linux/compiler.h>
14 extern void __iomem *sc_base;
17 #define SC_BASE 0x61840000
19 #define SC_RSTCTRL 0x2000
20 #define SC_RSTCTRL3 0x2008
21 #define SC_RSTCTRL4 0x200c
22 #define SC_RSTCTRL5 0x2010
23 #define SC_RSTCTRL6 0x2014
24 #define SC_RSTCTRL7 0x2018
26 #define SC_CLKCTRL 0x2100
27 #define SC_CLKCTRL3 0x2108
28 #define SC_CLKCTRL4 0x210c
29 #define SC_CLKCTRL5 0x2110
30 #define SC_CLKCTRL6 0x2114
31 #define SC_CLKCTRL7 0x2118
33 #define SC_CA72_GEARST 0x8000
34 #define SC_CA72_GEARSET 0x8004
35 #define SC_CA72_GEARUPD 0x8008
36 #define SC_CA53_GEARST 0x8080
37 #define SC_CA53_GEARSET 0x8084
38 #define SC_CA53_GEARUPD 0x8088
39 #define SC_CA_GEARUPD (1 << 0)
41 #endif /* SC64_REGS_H */