18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Copyright (C) 2000, 2001, 2002, 2003 Broadcom Corporation
48c2ecf20Sopenharmony_ci */
58c2ecf20Sopenharmony_ci#ifndef __ASM_SIBYTE_SWARM_H
68c2ecf20Sopenharmony_ci#define __ASM_SIBYTE_SWARM_H
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ci#include <asm/sibyte/sb1250.h>
98c2ecf20Sopenharmony_ci#include <asm/sibyte/sb1250_int.h>
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ci#ifdef CONFIG_SIBYTE_SWARM
128c2ecf20Sopenharmony_ci#define SIBYTE_BOARD_NAME "BCM91250A (SWARM)"
138c2ecf20Sopenharmony_ci#define SIBYTE_HAVE_PCMCIA 1
148c2ecf20Sopenharmony_ci#define SIBYTE_HAVE_IDE	   1
158c2ecf20Sopenharmony_ci#endif
168c2ecf20Sopenharmony_ci#ifdef CONFIG_SIBYTE_LITTLESUR
178c2ecf20Sopenharmony_ci#define SIBYTE_BOARD_NAME "BCM91250C2 (LittleSur)"
188c2ecf20Sopenharmony_ci#define SIBYTE_HAVE_PCMCIA 0
198c2ecf20Sopenharmony_ci#define SIBYTE_HAVE_IDE	   1
208c2ecf20Sopenharmony_ci#define SIBYTE_DEFAULT_CONSOLE "cfe0"
218c2ecf20Sopenharmony_ci#endif
228c2ecf20Sopenharmony_ci#ifdef CONFIG_SIBYTE_CRHONE
238c2ecf20Sopenharmony_ci#define SIBYTE_BOARD_NAME "BCM91125C (CRhone)"
248c2ecf20Sopenharmony_ci#define SIBYTE_HAVE_PCMCIA 0
258c2ecf20Sopenharmony_ci#define SIBYTE_HAVE_IDE	   0
268c2ecf20Sopenharmony_ci#endif
278c2ecf20Sopenharmony_ci#ifdef CONFIG_SIBYTE_CRHINE
288c2ecf20Sopenharmony_ci#define SIBYTE_BOARD_NAME "BCM91120C (CRhine)"
298c2ecf20Sopenharmony_ci#define SIBYTE_HAVE_PCMCIA 0
308c2ecf20Sopenharmony_ci#define SIBYTE_HAVE_IDE	   0
318c2ecf20Sopenharmony_ci#endif
328c2ecf20Sopenharmony_ci
338c2ecf20Sopenharmony_ci/* Generic bus chip selects */
348c2ecf20Sopenharmony_ci#define LEDS_CS		3
358c2ecf20Sopenharmony_ci#define LEDS_PHYS	0x100a0000
368c2ecf20Sopenharmony_ci
378c2ecf20Sopenharmony_ci#ifdef SIBYTE_HAVE_IDE
388c2ecf20Sopenharmony_ci#define IDE_CS		4
398c2ecf20Sopenharmony_ci#define IDE_PHYS	0x100b0000
408c2ecf20Sopenharmony_ci#define K_GPIO_GB_IDE	4
418c2ecf20Sopenharmony_ci#define K_INT_GB_IDE	(K_INT_GPIO_0 + K_GPIO_GB_IDE)
428c2ecf20Sopenharmony_ci#endif
438c2ecf20Sopenharmony_ci
448c2ecf20Sopenharmony_ci#ifdef SIBYTE_HAVE_PCMCIA
458c2ecf20Sopenharmony_ci#define PCMCIA_CS	6
468c2ecf20Sopenharmony_ci#define PCMCIA_PHYS	0x11000000
478c2ecf20Sopenharmony_ci#define K_GPIO_PC_READY 9
488c2ecf20Sopenharmony_ci#define K_INT_PC_READY	(K_INT_GPIO_0 + K_GPIO_PC_READY)
498c2ecf20Sopenharmony_ci#endif
508c2ecf20Sopenharmony_ci
518c2ecf20Sopenharmony_ci#endif /* __ASM_SIBYTE_SWARM_H */
52