Linux-libre 5.4.48-gnu
[librecmc/linux-libre.git] / arch / arm / mach-iop32x / hardware.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __HARDWARE_H
3 #define __HARDWARE_H
4
5 #include <asm/types.h>
6
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/plat-iop/pci.c.
17  */
18
19 #ifndef __ASSEMBLY__
20 void iop32x_init_irq(void);
21 #endif
22
23
24 /*
25  * Generic chipset bits
26  */
27 #include "iop3xx.h"
28
29 /*
30  * Board specific bits
31  */
32 #include "glantank.h"
33 #include "iq80321.h"
34 #include "iq31244.h"
35 #include "n2100.h"
36
37
38 #endif