License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[linux-2.6-block.git] / arch / arm / mach-iop33x / include / mach / hardware.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
1da177e4 2/*
a09e64fb 3 * arch/arm/mach-iop33x/include/mach/hardware.h
1da177e4 4 */
c852ac80
LB
5
6#ifndef __HARDWARE_H
7#define __HARDWARE_H
1da177e4
LT
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
c852ac80 20 * arch/arm/mach-iop3xx/iop3xx-pci.c
1da177e4 21 */
1da177e4 22
c680b77e 23#ifndef __ASSEMBLY__
c852ac80
LB
24void iop33x_init_irq(void);
25
c680b77e
LB
26extern struct platform_device iop33x_uart0_device;
27extern struct platform_device iop33x_uart1_device;
28#endif
29
1da177e4 30
1da177e4
LT
31/*
32 * Generic chipset bits
33 *
34 */
c852ac80 35#include "iop33x.h"
1da177e4
LT
36
37/*
38 * Board specific bits
39 */
1da177e4
LT
40#include "iq80331.h"
41#include "iq80332.h"
42
c852ac80
LB
43
44#endif