summaryrefslogtreecommitdiffstats
path: root/src/soc/intel/quark/include/soc/iomap.h
blob: 0da34c28b8642fddf7010dda22cfa485c6917add (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/* SPDX-License-Identifier: GPL-2.0-only */

#ifndef _QUARK_IOMAP_H_
#define _QUARK_IOMAP_H_

/*
 * Memory Mapped IO base addresses.
 */

/* UART MMIO */
#define UART_BASE_ADDRESS		CONFIG_TTYS0_BASE

/* I2C/GPIO Controller */
#define I2C_BASE_ADDRESS		0xa0020000
#define GPIO_BASE_ADDRESS		0xa0021000

/* Temporary BAR for SD controller */
#define SD_BASE_ADDRESS			0xa0022000

/*
 * I/O port address space
 */
#define GPE0_BASE_ADDRESS		0x2000
#define GPE0_SIZE			0x40

#define PM1BLK_BASE_ADDRESS		0x2040
#define PM1BLK_SIZE			0x10

#define LEGACY_GPIO_BASE_ADDRESS	0x2080
#define LEGACY_GPIO_SIZE		0x80

#define IO_ADDRESS_VALID		0x80000000

#endif /* _QUARK_IOMAP_H_ */