sc64-regs.h 957 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. #ifndef SC64_REGS_H
  9. #define SC64_REGS_H
  10. #ifndef __ASSEMBLY__
  11. #include <linux/compiler.h>
  12. extern void __iomem *sc_base;
  13. #endif
  14. #define SC_BASE 0x61840000
  15. #define SC_RSTCTRL 0x2000
  16. #define SC_RSTCTRL3 0x2008
  17. #define SC_RSTCTRL4 0x200c
  18. #define SC_RSTCTRL5 0x2010
  19. #define SC_RSTCTRL6 0x2014
  20. #define SC_RSTCTRL7 0x2018
  21. #define SC_CLKCTRL 0x2100
  22. #define SC_CLKCTRL3 0x2108
  23. #define SC_CLKCTRL4 0x210c
  24. #define SC_CLKCTRL5 0x2110
  25. #define SC_CLKCTRL6 0x2114
  26. #define SC_CLKCTRL7 0x2118
  27. #define SC_CA72_GEARST 0x8000
  28. #define SC_CA72_GEARSET 0x8004
  29. #define SC_CA72_GEARUPD 0x8008
  30. #define SC_CA53_GEARST 0x8080
  31. #define SC_CA53_GEARSET 0x8084
  32. #define SC_CA53_GEARUPD 0x8088
  33. #define SC_CA_GEARUPD (1 << 0)
  34. #endif /* SC64_REGS_H */