ip30-common.h 663 B

1234567891011121314151617181920212223
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. #ifndef __IP30_COMMON_H
  3. #define __IP30_COMMON_H
  4. /*
  5. * Power Switch is wired via BaseIO BRIDGE slot #6.
  6. *
  7. * ACFail is wired via BaseIO BRIDGE slot #7.
  8. */
  9. #define IP30_POWER_IRQ HEART_L2_INT_POWER_BTN
  10. #define IP30_HEART_L0_IRQ (MIPS_CPU_IRQ_BASE + 2)
  11. #define IP30_HEART_L1_IRQ (MIPS_CPU_IRQ_BASE + 3)
  12. #define IP30_HEART_L2_IRQ (MIPS_CPU_IRQ_BASE + 4)
  13. #define IP30_HEART_TIMER_IRQ (MIPS_CPU_IRQ_BASE + 5)
  14. #define IP30_HEART_ERR_IRQ (MIPS_CPU_IRQ_BASE + 6)
  15. extern void __init ip30_install_ipi(void);
  16. extern struct plat_smp_ops ip30_smp_ops;
  17. extern void __init ip30_per_cpu_init(void);
  18. #endif /* __IP30_COMMON_H */