xref: /kernel/linux/linux-6.6/arch/mips/sgi-ip30/ip30-common.h (revision 62306a36)
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/arch/mips/sgi-ip30/
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

Indexes created Thu Nov 07 10:32:03 CST 2024