cpu.h 456 B

12345678910111213141516171819202122
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * (C) Copyright 2015 Hans de Goede <hdegoede@redhat.com>
  4. */
  5. #ifndef _SUNXI_CPU_H
  6. #define _SUNXI_CPU_H
  7. #if defined(CONFIG_MACH_SUN9I)
  8. #include <asm/arch/cpu_sun9i.h>
  9. #elif defined(CONFIG_MACH_SUN50I_H6)
  10. #include <asm/arch/cpu_sun50i_h6.h>
  11. #else
  12. #include <asm/arch/cpu_sun4i.h>
  13. #endif
  14. #define SOCID_A64 0x1689
  15. #define SOCID_H3 0x1680
  16. #define SOCID_H5 0x1718
  17. #define SOCID_R40 0x1701
  18. #endif /* _SUNXI_CPU_H */