2012-05-24 10:52:45 +00:00
|
|
|
/**
|
2017-04-28 13:27:26 +00:00
|
|
|
* \brief MMIO and IRQ definitions for the Realview PBXA9 board
|
2012-05-24 10:52:45 +00:00
|
|
|
* \author Martin stein
|
|
|
|
* \date 2011-11-03
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
2017-02-20 12:23:52 +00:00
|
|
|
* Copyright (C) 2011-2017 Genode Labs GmbH
|
2012-05-24 10:52:45 +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.
|
2012-05-24 10:52:45 +00:00
|
|
|
*/
|
|
|
|
|
2017-04-28 13:27:26 +00:00
|
|
|
#ifndef _INCLUDE__DRIVERS__DEFS__PBXA9_H_
|
|
|
|
#define _INCLUDE__DRIVERS__DEFS__PBXA9_H_
|
2012-05-24 10:52:45 +00:00
|
|
|
|
2017-04-28 13:27:26 +00:00
|
|
|
namespace Pbxa9 {
|
2015-03-04 20:12:14 +00:00
|
|
|
enum {
|
|
|
|
|
|
|
|
/* normal RAM */
|
|
|
|
RAM_0_BASE = 0x70000000,
|
|
|
|
RAM_0_SIZE = 0x20000000,
|
|
|
|
RAM_1_BASE = 0x20000000,
|
|
|
|
RAM_1_SIZE = 0x10000000,
|
|
|
|
|
|
|
|
/* device IO memory */
|
|
|
|
MMIO_0_BASE = 0x10000000,
|
|
|
|
MMIO_0_SIZE = 0x10000000,
|
|
|
|
MMIO_1_BASE = 0x4e000000,
|
|
|
|
MMIO_1_SIZE = 0x01000000,
|
|
|
|
|
|
|
|
NORTHBRIDGE_AHB_BASE = 0x10020000,
|
|
|
|
NORTHBRIDGE_AHB_SIZE = 768*1024,
|
|
|
|
|
|
|
|
/* southbridge */
|
|
|
|
SOUTHBRIDGE_APB_BASE = 0x10000000,
|
|
|
|
SOUTHBRIDGE_APB_SIZE = 128*1024,
|
|
|
|
|
|
|
|
/* clocks */
|
|
|
|
OSC_6_CLOCK = 24*1000*1000,
|
|
|
|
|
2016-01-11 10:02:52 +00:00
|
|
|
/* system controller */
|
|
|
|
SYSTEM_CONTROL_MMIO_BASE = 0x10000000,
|
|
|
|
|
2015-03-04 20:12:14 +00:00
|
|
|
/* CPU */
|
2023-01-11 14:25:25 +00:00
|
|
|
CORTEX_A9_GLOBAL_TIMER_CLK = 100000000,
|
|
|
|
CORTEX_A9_GLOBAL_TIMER_DIV = 100,
|
2015-03-04 20:12:14 +00:00
|
|
|
CORTEX_A9_PRIVATE_MEM_BASE = 0x1f000000,
|
2016-01-11 10:02:52 +00:00
|
|
|
CORTEX_A9_PRIVATE_MEM_SIZE = 0x2000,
|
|
|
|
|
|
|
|
/* L2 cache controller */
|
|
|
|
PL310_MMIO_BASE = 0x1f002000,
|
|
|
|
PL310_MMIO_SIZE = 0x00001000,
|
2015-03-04 20:12:14 +00:00
|
|
|
|
|
|
|
/* UART */
|
|
|
|
PL011_0_MMIO_BASE = 0x10009000,
|
|
|
|
PL011_0_MMIO_SIZE = 0x00001000,
|
|
|
|
PL011_0_CLOCK = OSC_6_CLOCK,
|
|
|
|
PL011_0_IRQ = 44,
|
|
|
|
PL011_1_IRQ = 45,
|
|
|
|
PL011_2_IRQ = 46,
|
|
|
|
PL011_3_IRQ = 47,
|
|
|
|
|
|
|
|
/* timer */
|
|
|
|
SP804_0_1_MMIO_BASE = 0x10011000,
|
|
|
|
SP804_0_1_MMIO_SIZE = 0x00001000,
|
|
|
|
SP804_0_1_IRQ = 36,
|
|
|
|
SP804_0_1_CLOCK = 1000*1000,
|
|
|
|
|
|
|
|
/* keyboard & mouse */
|
|
|
|
KMI_0_IRQ = 52,
|
|
|
|
KMI_1_IRQ = 53,
|
|
|
|
|
|
|
|
/* SD card */
|
|
|
|
PL180_IRQ_0 = 49,
|
|
|
|
PL180_IRQ_1 = 50,
|
2012-05-24 10:52:45 +00:00
|
|
|
};
|
2015-03-04 20:12:14 +00:00
|
|
|
};
|
2012-05-24 10:52:45 +00:00
|
|
|
|
2017-04-28 13:27:26 +00:00
|
|
|
#endif /* _INCLUDE__DRIVERS__DEFS__PBXA9_H_ */
|