hardware.h 807 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. #ifndef __ASSEMBLY__
  19. void iop33x_init_irq(void);
  20. extern struct platform_device iop33x_uart0_device;
  21. extern struct platform_device iop33x_uart1_device;
  22. #endif
  23. /*
  24. * Generic chipset bits
  25. *
  26. */
  27. #include "iop33x.h"
  28. /*
  29. * Board specific bits
  30. */
  31. #include "iq80331.h"
  32. #include "iq80332.h"
  33. #endif