162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */ 262306a36Sopenharmony_ci 362306a36Sopenharmony_ci#ifndef __IP30_COMMON_H 462306a36Sopenharmony_ci#define __IP30_COMMON_H 562306a36Sopenharmony_ci 662306a36Sopenharmony_ci/* 762306a36Sopenharmony_ci * Power Switch is wired via BaseIO BRIDGE slot #6. 862306a36Sopenharmony_ci * 962306a36Sopenharmony_ci * ACFail is wired via BaseIO BRIDGE slot #7. 1062306a36Sopenharmony_ci */ 1162306a36Sopenharmony_ci#define IP30_POWER_IRQ HEART_L2_INT_POWER_BTN 1262306a36Sopenharmony_ci 1362306a36Sopenharmony_ci#define IP30_HEART_L0_IRQ (MIPS_CPU_IRQ_BASE + 2) 1462306a36Sopenharmony_ci#define IP30_HEART_L1_IRQ (MIPS_CPU_IRQ_BASE + 3) 1562306a36Sopenharmony_ci#define IP30_HEART_L2_IRQ (MIPS_CPU_IRQ_BASE + 4) 1662306a36Sopenharmony_ci#define IP30_HEART_TIMER_IRQ (MIPS_CPU_IRQ_BASE + 5) 1762306a36Sopenharmony_ci#define IP30_HEART_ERR_IRQ (MIPS_CPU_IRQ_BASE + 6) 1862306a36Sopenharmony_ci 1962306a36Sopenharmony_ciextern void __init ip30_install_ipi(void); 2062306a36Sopenharmony_ciextern struct plat_smp_ops ip30_smp_ops; 2162306a36Sopenharmony_ciextern void __init ip30_per_cpu_init(void); 2262306a36Sopenharmony_ci 2362306a36Sopenharmony_ci#endif /* __IP30_COMMON_H */ 24