carmel.h 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /* SPDX-License-Identifier: GPL-2.0-or-later */
  2. /*
  3. * Copyright (C) 2002 Broadcom Corporation
  4. */
  5. #ifndef __ASM_SIBYTE_CARMEL_H
  6. #define __ASM_SIBYTE_CARMEL_H
  7. #include <asm/sibyte/sb1250.h>
  8. #include <asm/sibyte/sb1250_int.h>
  9. #define SIBYTE_BOARD_NAME "Carmel"
  10. #define GPIO_PHY_INTERRUPT 2
  11. #define GPIO_NONMASKABLE_INT 3
  12. #define GPIO_CF_INSERTED 6
  13. #define GPIO_MONTEREY_RESET 7
  14. #define GPIO_QUADUART_INT 8
  15. #define GPIO_CF_INT 9
  16. #define GPIO_FPGA_CCLK 10
  17. #define GPIO_FPGA_DOUT 11
  18. #define GPIO_FPGA_DIN 12
  19. #define GPIO_FPGA_PGM 13
  20. #define GPIO_FPGA_DONE 14
  21. #define GPIO_FPGA_INIT 15
  22. #define LEDS_CS 2
  23. #define LEDS_PHYS 0x100C0000
  24. #define MLEDS_CS 3
  25. #define MLEDS_PHYS 0x100A0000
  26. #define UART_CS 4
  27. #define UART_PHYS 0x100D0000
  28. #define ARAVALI_CS 5
  29. #define ARAVALI_PHYS 0x11000000
  30. #define IDE_CS 6
  31. #define IDE_PHYS 0x100B0000
  32. #define ARAVALI2_CS 7
  33. #define ARAVALI2_PHYS 0x100E0000
  34. #if defined(CONFIG_SIBYTE_CARMEL)
  35. #define K_GPIO_GB_IDE 9
  36. #define K_INT_GB_IDE (K_INT_GPIO_0 + K_GPIO_GB_IDE)
  37. #endif
  38. #endif /* __ASM_SIBYTE_CARMEL_H */