Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-or-later */
0002 /*
0003  * Copyright (C) 2000, 2001, 2002, 2003 Broadcom Corporation
0004  */
0005 #ifndef __ASM_SIBYTE_SWARM_H
0006 #define __ASM_SIBYTE_SWARM_H
0007 
0008 #include <asm/sibyte/sb1250.h>
0009 #include <asm/sibyte/sb1250_int.h>
0010 
0011 #ifdef CONFIG_SIBYTE_SWARM
0012 #define SIBYTE_BOARD_NAME "BCM91250A (SWARM)"
0013 #define SIBYTE_HAVE_PCMCIA 1
0014 #define SIBYTE_HAVE_IDE    1
0015 #endif
0016 #ifdef CONFIG_SIBYTE_LITTLESUR
0017 #define SIBYTE_BOARD_NAME "BCM91250C2 (LittleSur)"
0018 #define SIBYTE_HAVE_PCMCIA 0
0019 #define SIBYTE_HAVE_IDE    1
0020 #define SIBYTE_DEFAULT_CONSOLE "cfe0"
0021 #endif
0022 #ifdef CONFIG_SIBYTE_CRHONE
0023 #define SIBYTE_BOARD_NAME "BCM91125C (CRhone)"
0024 #define SIBYTE_HAVE_PCMCIA 0
0025 #define SIBYTE_HAVE_IDE    0
0026 #endif
0027 #ifdef CONFIG_SIBYTE_CRHINE
0028 #define SIBYTE_BOARD_NAME "BCM91120C (CRhine)"
0029 #define SIBYTE_HAVE_PCMCIA 0
0030 #define SIBYTE_HAVE_IDE    0
0031 #endif
0032 
0033 /* Generic bus chip selects */
0034 #define LEDS_CS     3
0035 #define LEDS_PHYS   0x100a0000
0036 
0037 #ifdef SIBYTE_HAVE_IDE
0038 #define IDE_CS      4
0039 #define IDE_PHYS    0x100b0000
0040 #define K_GPIO_GB_IDE   4
0041 #define K_INT_GB_IDE    (K_INT_GPIO_0 + K_GPIO_GB_IDE)
0042 #endif
0043 
0044 #ifdef SIBYTE_HAVE_PCMCIA
0045 #define PCMCIA_CS   6
0046 #define PCMCIA_PHYS 0x11000000
0047 #define K_GPIO_PC_READY 9
0048 #define K_INT_PC_READY  (K_INT_GPIO_0 + K_GPIO_PC_READY)
0049 #endif
0050 
0051 #endif /* __ASM_SIBYTE_SWARM_H */