hardware.h 916 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /*
  2. * arch/arm/mach-iop33x/include/mach/hardware.h
  3. */
  4. #ifndef __HARDWARE_H
  5. #define __HARDWARE_H
  6. #include <asm/types.h>
  7. /*
  8. * Note about PCI IO space mappings
  9. *
  10. * To make IO space accesses efficient, we store virtual addresses in
  11. * the IO resources.
  12. *
  13. * The PCI IO space is located at virtual 0xfe000000 from physical
  14. * 0x90000000. The PCI BARs must be programmed with physical addresses,
  15. * but when we read them, we convert them to virtual addresses. See
  16. * arch/arm/mach-iop3xx/iop3xx-pci.c
  17. */
  18. #define pcibios_assign_all_busses() 1
  19. #define PCIBIOS_MIN_IO 0x00000000
  20. #define PCIBIOS_MIN_MEM 0x00000000
  21. #ifndef __ASSEMBLY__
  22. void iop33x_init_irq(void);
  23. extern struct platform_device iop33x_uart0_device;
  24. extern struct platform_device iop33x_uart1_device;
  25. #endif
  26. /*
  27. * Generic chipset bits
  28. *
  29. */
  30. #include "iop33x.h"
  31. /*
  32. * Board specific bits
  33. */
  34. #include "iq80331.h"
  35. #include "iq80332.h"
  36. #endif