hardware.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /*
  2. * arch/arm/mach-ks8695/include/mach/hardware.h
  3. *
  4. * Copyright (C) 2006 Ben Dooks <ben@simtec.co.uk>
  5. * Copyright (C) 2006 Simtec Electronics
  6. *
  7. * KS8695 - Memory Map definitions
  8. *
  9. * This program is free software; you can redistribute it and/or modify
  10. * it under the terms of the GNU General Public License version 2 as
  11. * published by the Free Software Foundation.
  12. */
  13. #ifndef __ASM_ARCH_HARDWARE_H
  14. #define __ASM_ARCH_HARDWARE_H
  15. #include <asm/sizes.h>
  16. /*
  17. * Clocks are derived from MCLK, which is 25Mhz
  18. */
  19. #define KS8695_CLOCK_RATE 25000000
  20. /*
  21. * Physical RAM address.
  22. */
  23. #define KS8695_SDRAM_PA 0x00000000
  24. /*
  25. * We map an entire MiB with the System Configuration Registers in even
  26. * though only 64KiB is needed. This makes it easier for use with the
  27. * head debug code as the initial MMU setup only deals in L1 sections.
  28. */
  29. #define KS8695_IO_PA 0x03F00000
  30. #define KS8695_IO_VA 0xF0000000
  31. #define KS8695_IO_SIZE SZ_1M
  32. #define KS8695_PCIMEM_PA 0x60000000
  33. #define KS8695_PCIMEM_SIZE SZ_512M
  34. #define KS8695_PCIIO_PA 0x80000000
  35. #define KS8695_PCIIO_SIZE SZ_64K
  36. /*
  37. * PCI support
  38. */
  39. #define pcibios_assign_all_busses() 1
  40. #define PCIBIOS_MIN_IO 0
  41. #define PCIBIOS_MIN_MEM 0
  42. #endif