ddb5074.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*
  2. * include/asm-mips/ddb5074.h -- NEC DDB Vrc-5074 definitions
  3. *
  4. * Copyright (C) 2000 Geert Uytterhoeven <geert@sonycom.com>
  5. * Sony Software Development Center Europe (SDCE), Brussels
  6. */
  7. #ifndef _ASM_DDB5XXX_DDB5074_H
  8. #define _ASM_DDB5XXX_DDB5074_H
  9. #include <asm/nile4.h>
  10. #define DDB_SDRAM_SIZE 0x04000000 /* 64MB */
  11. #define DDB_PCI_IO_BASE 0x06000000
  12. #define DDB_PCI_IO_SIZE 0x02000000 /* 32 MB */
  13. #define DDB_PCI_MEM_BASE 0x08000000
  14. #define DDB_PCI_MEM_SIZE 0x08000000 /* 128 MB */
  15. #define DDB_PCI_CONFIG_BASE DDB_PCI_MEM_BASE
  16. #define DDB_PCI_CONFIG_SIZE DDB_PCI_MEM_SIZE
  17. #define NILE4_PCI_IO_BASE 0xa6000000
  18. #define NILE4_PCI_MEM_BASE 0xa8000000
  19. #define NILE4_PCI_CFG_BASE NILE4_PCI_MEM_BASE
  20. #define DDB_PCI_IACK_BASE NILE4_PCI_IO_BASE
  21. #define NILE4_IRQ_BASE NUM_I8259_INTERRUPTS
  22. #define CPU_IRQ_BASE (NUM_NILE4_INTERRUPTS + NILE4_IRQ_BASE)
  23. #define CPU_NILE4_CASCADE 2
  24. extern void ddb5074_led_hex(int hex);
  25. extern void ddb5074_led_d2(int on);
  26. extern void ddb5074_led_d3(int on);
  27. extern void nile4_irq_setup(u32 base);
  28. #endif