2015-03-25 18:30:37 +00:00
|
|
|
/*
|
2017-04-28 13:27:26 +00:00
|
|
|
* \brief MMIO and IRQ definitions of the Wandboard Quad
|
2015-03-25 18:30:37 +00:00
|
|
|
* \author Nikolay Golikov <nik@ksyslabs.org>
|
|
|
|
* \author Josef Soentgen
|
|
|
|
* \author Martin Stein
|
|
|
|
* \date 2014-02-25
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
2016-01-11 10:02:52 +00:00
|
|
|
* Copyright (C) 2014-2016 Ksys Labs LLC
|
2017-02-20 12:23:52 +00:00
|
|
|
* Copyright (C) 2014-2017 Genode Labs GmbH
|
2015-03-25 18:30:37 +00:00
|
|
|
*
|
|
|
|
* This file is part of the Genode OS framework, which is distributed
|
2017-02-20 12:23:52 +00:00
|
|
|
* under the terms of the GNU Affero General Public License version 3.
|
2015-03-25 18:30:37 +00:00
|
|
|
*/
|
|
|
|
|
2017-04-28 13:27:26 +00:00
|
|
|
#ifndef _INCLUDE__DRIVERS__DEFS__WAND_QUAD_H_
|
|
|
|
#define _INCLUDE__DRIVERS__DEFS__WAND_QUAD_H_
|
2015-03-25 18:30:37 +00:00
|
|
|
|
2017-04-28 13:27:26 +00:00
|
|
|
namespace Wand_quad {
|
2015-03-25 18:30:37 +00:00
|
|
|
enum {
|
|
|
|
/* normal RAM */
|
|
|
|
RAM0_BASE = 0x10000000,
|
|
|
|
RAM0_SIZE = 0x80000000,
|
|
|
|
|
|
|
|
/* device IO memory */
|
|
|
|
MMIO_BASE = 0x00000000,
|
|
|
|
MMIO_SIZE = 0x10000000,
|
|
|
|
|
|
|
|
UART_1_IRQ = 58,
|
|
|
|
UART_1_MMIO_BASE = 0x02020000,
|
|
|
|
UART_1_MMIO_SIZE = 0x00004000,
|
|
|
|
|
2016-12-15 14:37:18 +00:00
|
|
|
/* SD host controller */
|
|
|
|
SDHC_IRQ = 54,
|
|
|
|
SDHC_MMIO_BASE = 0x02190000,
|
|
|
|
SDHC_MMIO_SIZE = 0x00004000,
|
|
|
|
|
2015-03-25 18:30:37 +00:00
|
|
|
/* timer */
|
|
|
|
EPIT_2_IRQ = 89,
|
|
|
|
EPIT_2_MMIO_BASE = 0x020d4000,
|
|
|
|
EPIT_2_MMIO_SIZE = 0x00004000,
|
|
|
|
|
|
|
|
/* ARM IP Bus control */
|
|
|
|
AIPS_1_MMIO_BASE = 0x0207c000,
|
|
|
|
AIPS_1_MMIO_SIZE = 0x00004000,
|
|
|
|
AIPS_2_MMIO_BASE = 0x0217c000,
|
|
|
|
AIPS_2_MMIO_SIZE = 0x00004000,
|
|
|
|
|
|
|
|
/* CPU */
|
|
|
|
CORTEX_A9_PRIVATE_MEM_BASE = 0x00a00000,
|
|
|
|
CORTEX_A9_PRIVATE_MEM_SIZE = 0x00002000,
|
|
|
|
CORTEX_A9_PRIVATE_TIMER_CLK = 395037500,
|
2016-05-18 10:20:04 +00:00
|
|
|
CORTEX_A9_PRIVATE_TIMER_DIV = 170,
|
2015-03-25 18:30:37 +00:00
|
|
|
|
2016-01-11 10:02:52 +00:00
|
|
|
/* L2 cache controller */
|
|
|
|
PL310_MMIO_BASE = 0x00a02000,
|
|
|
|
PL310_MMIO_SIZE = 0x00001000,
|
|
|
|
|
2017-01-23 09:23:55 +00:00
|
|
|
/* System reset controller */
|
|
|
|
SRC_MMIO_BASE = 0x20d8000,
|
|
|
|
|
2015-03-25 18:30:37 +00:00
|
|
|
/* CPU cache */
|
|
|
|
CACHE_LINE_SIZE_LOG2 = 5,
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2017-04-28 13:27:26 +00:00
|
|
|
#endif /* _INCLUDE__DRIVERS__DEFS__WAND_QUAD_H_ */
|