18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Copyright (C) 2002 Broadcom Corporation 48c2ecf20Sopenharmony_ci */ 58c2ecf20Sopenharmony_ci#ifndef __ASM_SIBYTE_CARMEL_H 68c2ecf20Sopenharmony_ci#define __ASM_SIBYTE_CARMEL_H 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_ci#include <asm/sibyte/sb1250.h> 98c2ecf20Sopenharmony_ci#include <asm/sibyte/sb1250_int.h> 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ci#define SIBYTE_BOARD_NAME "Carmel" 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ci#define GPIO_PHY_INTERRUPT 2 148c2ecf20Sopenharmony_ci#define GPIO_NONMASKABLE_INT 3 158c2ecf20Sopenharmony_ci#define GPIO_CF_INSERTED 6 168c2ecf20Sopenharmony_ci#define GPIO_MONTEREY_RESET 7 178c2ecf20Sopenharmony_ci#define GPIO_QUADUART_INT 8 188c2ecf20Sopenharmony_ci#define GPIO_CF_INT 9 198c2ecf20Sopenharmony_ci#define GPIO_FPGA_CCLK 10 208c2ecf20Sopenharmony_ci#define GPIO_FPGA_DOUT 11 218c2ecf20Sopenharmony_ci#define GPIO_FPGA_DIN 12 228c2ecf20Sopenharmony_ci#define GPIO_FPGA_PGM 13 238c2ecf20Sopenharmony_ci#define GPIO_FPGA_DONE 14 248c2ecf20Sopenharmony_ci#define GPIO_FPGA_INIT 15 258c2ecf20Sopenharmony_ci 268c2ecf20Sopenharmony_ci#define LEDS_CS 2 278c2ecf20Sopenharmony_ci#define LEDS_PHYS 0x100C0000 288c2ecf20Sopenharmony_ci#define MLEDS_CS 3 298c2ecf20Sopenharmony_ci#define MLEDS_PHYS 0x100A0000 308c2ecf20Sopenharmony_ci#define UART_CS 4 318c2ecf20Sopenharmony_ci#define UART_PHYS 0x100D0000 328c2ecf20Sopenharmony_ci#define ARAVALI_CS 5 338c2ecf20Sopenharmony_ci#define ARAVALI_PHYS 0x11000000 348c2ecf20Sopenharmony_ci#define IDE_CS 6 358c2ecf20Sopenharmony_ci#define IDE_PHYS 0x100B0000 368c2ecf20Sopenharmony_ci#define ARAVALI2_CS 7 378c2ecf20Sopenharmony_ci#define ARAVALI2_PHYS 0x100E0000 388c2ecf20Sopenharmony_ci 398c2ecf20Sopenharmony_ci#if defined(CONFIG_SIBYTE_CARMEL) 408c2ecf20Sopenharmony_ci#define K_GPIO_GB_IDE 9 418c2ecf20Sopenharmony_ci#define K_INT_GB_IDE (K_INT_GPIO_0 + K_GPIO_GB_IDE) 428c2ecf20Sopenharmony_ci#endif 438c2ecf20Sopenharmony_ci 448c2ecf20Sopenharmony_ci 458c2ecf20Sopenharmony_ci#endif /* __ASM_SIBYTE_CARMEL_H */ 46