cache-tauros3.h 771 B

1234567891011121314151617181920212223242526272829
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Marvell Tauros3 cache controller includes
  4. *
  5. * Sebastian Hesselbarth <[email protected]>
  6. *
  7. * based on GPL'ed 2.6 kernel sources
  8. * (c) Marvell International Ltd.
  9. */
  10. #ifndef __ASM_ARM_HARDWARE_TAUROS3_H
  11. #define __ASM_ARM_HARDWARE_TAUROS3_H
  12. /*
  13. * Marvell Tauros3 L2CC is compatible with PL310 r0p0
  14. * but with PREFETCH_CTRL (r2p0) and an additional event counter.
  15. * Also, there is AUX2_CTRL for some Marvell specific control.
  16. */
  17. #define TAUROS3_EVENT_CNT2_CFG 0x224
  18. #define TAUROS3_EVENT_CNT2_VAL 0x228
  19. #define TAUROS3_INV_ALL 0x780
  20. #define TAUROS3_CLEAN_ALL 0x784
  21. #define TAUROS3_AUX2_CTRL 0x820
  22. /* Registers shifts and masks */
  23. #define TAUROS3_AUX2_CTRL_LINEFILL_BURST8_EN (1 << 2)
  24. #endif