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