hardware.h 846 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * arch/arm/mach-iop33x/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/mach-iop3xx/iop3xx-pci.c
  18. */
  19. #ifndef __ASSEMBLY__
  20. void iop33x_init_irq(void);
  21. extern struct platform_device iop33x_uart0_device;
  22. extern struct platform_device iop33x_uart1_device;
  23. #endif
  24. /*
  25. * Generic chipset bits
  26. *
  27. */
  28. #include "iop33x.h"
  29. /*
  30. * Board specific bits
  31. */
  32. #include "iq80331.h"
  33. #include "iq80332.h"
  34. #endif