treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / mips / include / asm / sibyte / bigsur.h
blob86c876196594d79077ec172e5982c90ca6b8a55f
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 * Copyright (C) 2000,2001,2002,2003,2004 Broadcom Corporation
4 */
5 #ifndef __ASM_SIBYTE_BIGSUR_H
6 #define __ASM_SIBYTE_BIGSUR_H
8 #include <asm/sibyte/sb1250.h>
9 #include <asm/sibyte/bcm1480_int.h>
11 #ifdef CONFIG_SIBYTE_BIGSUR
12 #define SIBYTE_BOARD_NAME "BCM91x80A/B (BigSur)"
13 #define SIBYTE_HAVE_PCMCIA 1
14 #define SIBYTE_HAVE_IDE 1
15 #endif
17 /* Generic bus chip selects */
18 #define LEDS_CS 3
19 #define LEDS_PHYS 0x100a0000
21 #ifdef SIBYTE_HAVE_IDE
22 #define IDE_CS 4
23 #define IDE_PHYS 0x100b0000
24 #define K_GPIO_GB_IDE 4
25 #define K_INT_GB_IDE (K_INT_GPIO_0 + K_GPIO_GB_IDE)
26 #endif
28 #ifdef SIBYTE_HAVE_PCMCIA
29 #define PCMCIA_CS 6
30 #define PCMCIA_PHYS 0x11000000
31 #define K_GPIO_PC_READY 9
32 #define K_INT_PC_READY (K_INT_GPIO_0 + K_GPIO_PC_READY)
33 #endif
35 #endif /* __ASM_SIBYTE_BIGSUR_H */