Files
genode-world/include/spec/zc706/drivers/board_base.h
Johannes Schlatow 2e7bb650dc zynq: add specs for zynq-based boards
- zynq_parallella
- zynq_zedboard
- zynq_zc706
- zynq_zc702
2016-07-06 15:20:23 +02:00

45 lines
999 B
C++

/*
* \brief Base driver for ZC706 Board
* \author Johannes Schlatow
* \date 2016-03-24
*/
/*
* Copyright (C) 2016 Genode Labs GmbH
*
* This file is part of the Genode OS framework, which is distributed
* under the terms of the GNU General Public License version 2.
*/
#ifndef _INCLUDE__ZC706__DRIVERS__BOARD_BASE_H_
#define _INCLUDE__ZC706__DRIVERS__BOARD_BASE_H_
#include <spec/zynq/drivers/board_base_support.h>
namespace Genode { struct Board_base; }
/**
* Base driver for the ZC706 platform
*/
struct Genode::Board_base : Zynq::Board_base
{
enum
{
/* clocks (assuming 6:2:1 mode) */
CPU_1X_CLOCK = 111111100,
CPU_6X4X_CLOCK = 6*CPU_1X_CLOCK,
CORTEX_A9_CLOCK = CPU_6X4X_CLOCK,
CORTEX_A9_PRIVATE_TIMER_CLK = CORTEX_A9_CLOCK,
CORTEX_A9_PRIVATE_TIMER_DIV = 100,
SDHCI_BASE = MMIO_0_BASE + 0x100000,
SDHCI_SIZE = 0x100,
SDHCI_IRQ = 56,
UART_1_MMIO_BASE = MMIO_0_BASE + UART_SIZE,
};
};
#endif /* _INCLUDE__ZC706__DRIVERS__BOARD_BASE_H_ */