board-dt.c 709 B

1234567891011121314151617181920212223242526272829
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. /*
  3. * Copyright (C) 2013 STMicroelectronics (R&D) Limited.
  4. * Author(s): Srinivas Kandagatla <srinivas.kandagatla@st.com>
  5. */
  6. #include <asm/hardware/cache-l2x0.h>
  7. #include <asm/mach/arch.h>
  8. #include "smp.h"
  9. static const char *const stih41x_dt_match[] __initconst = {
  10. "st,stih415",
  11. "st,stih416",
  12. "st,stih407",
  13. "st,stih410",
  14. "st,stih418",
  15. NULL
  16. };
  17. DT_MACHINE_START(STM, "STi SoC with Flattened Device Tree")
  18. .dt_compat = stih41x_dt_match,
  19. .l2c_aux_val = L2C_AUX_CTRL_SHARED_OVERRIDE |
  20. L310_AUX_CTRL_DATA_PREFETCH |
  21. L310_AUX_CTRL_INSTR_PREFETCH |
  22. L2C_AUX_CTRL_WAY_SIZE(4),
  23. .l2c_aux_mask = 0xc0000fff,
  24. .smp = smp_ops(sti_smp_ops),
  25. MACHINE_END