1 /* SPDX-License-Identifier: GPL-2.0+ */ 2 /* 3 * UniPhier SC (System Control) block registers for ARMv8 SoCs 4 * 5 * Copyright (C) 2016 Socionext Inc. 6 * Author: Masahiro Yamada <yamada.masahiro@socionext.com> 7 */ 8 9 #ifndef SC64_REGS_H 10 #define SC64_REGS_H 11 12 #ifndef __ASSEMBLY__ 13 #include <linux/compiler.h> 14 extern void __iomem *sc_base; 15 #endif 16 17 #define SC_BASE 0x61840000 18 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 25 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 32 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) 40 41 #endif /* SC64_REGS_H */ 42