aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/apollolake/include/soc/iomap.h
blob: e676ba5a7f9257e2adbf0d5d730641a379dcb631 (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
/*
 * This file is part of the coreboot project.
 *
 * Copyright (C) 2015 Intel Corp.
 * (Written by Andrey Petrov <andrey.petrov@intel.com> for Intel Corp.)
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

#ifndef _SOC_APOLLOLAKE_IOMAP_H_
#define _SOC_APOLLOLAKE_IOMAP_H_

#define P2SB_BAR			CONFIG_IOSF_BASE_ADDRESS
#define MCH_BASE_ADDR			0xfed10000
#define MCH_BASE_SIZE			(32 * KiB)

#define ACPI_PMIO_BASE			0x400
#define ACPI_PMIO_SIZE			0x100
#define  R_ACPI_PM1_TMR			0x8

/* Accesses to these BARs are hardcoded in FSP */
#define PMC_BAR0			0xfe042000
#define PMC_BAR1			0xfe044000

#endif /* _SOC_APOLLOLAKE_IOMAP_H_ */