mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
1a59d1b8e0
Based on 1 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms of the gnu general public license as published by the free software foundation either version 2 of the license or at your option any later version this program is distributed in the hope that it will be useful but without any warranty without even the implied warranty of merchantability or fitness for a particular purpose see the gnu general public license for more details you should have received a copy of the gnu general public license along with this program if not write to the free software foundation inc 59 temple place suite 330 boston ma 02111 1307 usa extracted by the scancode license scanner the SPDX license identifier GPL-2.0-or-later has been chosen to replace the boilerplate/reference in 1334 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Allison Randal <allison@lohutok.net> Reviewed-by: Richard Fontana <rfontana@redhat.com> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190527070033.113240726@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
52 lines
1.3 KiB
C
52 lines
1.3 KiB
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/*
|
|
* Copyright (C) 2000, 2001, 2002, 2003 Broadcom Corporation
|
|
*/
|
|
#ifndef __ASM_SIBYTE_SWARM_H
|
|
#define __ASM_SIBYTE_SWARM_H
|
|
|
|
#include <asm/sibyte/sb1250.h>
|
|
#include <asm/sibyte/sb1250_int.h>
|
|
|
|
#ifdef CONFIG_SIBYTE_SWARM
|
|
#define SIBYTE_BOARD_NAME "BCM91250A (SWARM)"
|
|
#define SIBYTE_HAVE_PCMCIA 1
|
|
#define SIBYTE_HAVE_IDE 1
|
|
#endif
|
|
#ifdef CONFIG_SIBYTE_LITTLESUR
|
|
#define SIBYTE_BOARD_NAME "BCM91250C2 (LittleSur)"
|
|
#define SIBYTE_HAVE_PCMCIA 0
|
|
#define SIBYTE_HAVE_IDE 1
|
|
#define SIBYTE_DEFAULT_CONSOLE "cfe0"
|
|
#endif
|
|
#ifdef CONFIG_SIBYTE_CRHONE
|
|
#define SIBYTE_BOARD_NAME "BCM91125C (CRhone)"
|
|
#define SIBYTE_HAVE_PCMCIA 0
|
|
#define SIBYTE_HAVE_IDE 0
|
|
#endif
|
|
#ifdef CONFIG_SIBYTE_CRHINE
|
|
#define SIBYTE_BOARD_NAME "BCM91120C (CRhine)"
|
|
#define SIBYTE_HAVE_PCMCIA 0
|
|
#define SIBYTE_HAVE_IDE 0
|
|
#endif
|
|
|
|
/* Generic bus chip selects */
|
|
#define LEDS_CS 3
|
|
#define LEDS_PHYS 0x100a0000
|
|
|
|
#ifdef SIBYTE_HAVE_IDE
|
|
#define IDE_CS 4
|
|
#define IDE_PHYS 0x100b0000
|
|
#define K_GPIO_GB_IDE 4
|
|
#define K_INT_GB_IDE (K_INT_GPIO_0 + K_GPIO_GB_IDE)
|
|
#endif
|
|
|
|
#ifdef SIBYTE_HAVE_PCMCIA
|
|
#define PCMCIA_CS 6
|
|
#define PCMCIA_PHYS 0x11000000
|
|
#define K_GPIO_PC_READY 9
|
|
#define K_INT_PC_READY (K_INT_GPIO_0 + K_GPIO_PC_READY)
|
|
#endif
|
|
|
|
#endif /* __ASM_SIBYTE_SWARM_H */
|