hardware.h 770 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * arch/arm/mach-iop32x/include/mach/hardware.h
  4. */
  5. #ifndef __HARDWARE_H
  6. #define __HARDWARE_H
  7. #include <asm/types.h>
  8. /*
  9. * Note about PCI IO space mappings
  10. *
  11. * To make IO space accesses efficient, we store virtual addresses in
  12. * the IO resources.
  13. *
  14. * The PCI IO space is located at virtual 0xfe000000 from physical
  15. * 0x90000000. The PCI BARs must be programmed with physical addresses,
  16. * but when we read them, we convert them to virtual addresses. See
  17. * arch/arm/plat-iop/pci.c.
  18. */
  19. #ifndef __ASSEMBLY__
  20. void iop32x_init_irq(void);
  21. #endif
  22. /*
  23. * Generic chipset bits
  24. */
  25. #include "iop32x.h"
  26. /*
  27. * Board specific bits
  28. */
  29. #include "glantank.h"
  30. #include "iq80321.h"
  31. #include "iq31244.h"
  32. #include "n2100.h"
  33. #endif