2016-08-27 17:40:50 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2015 Endless Mobile, Inc.
|
|
|
|
* Author: Carlo Caione <carlo@endlessm.com>
|
|
|
|
*
|
|
|
|
* Copyright (c) 2016 BayLibre, Inc.
|
|
|
|
* Michael Turquette <mturquette@baylibre.com>
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
|
|
* under the terms and conditions of the GNU General Public License,
|
|
|
|
* version 2, as published by the Free Software Foundation.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope 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.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License along with
|
|
|
|
* this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __MESON8B_H
|
|
|
|
#define __MESON8B_H
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Clock controller register offsets
|
|
|
|
*
|
|
|
|
* Register offsets from the HardKernel[0] data sheet are listed in comment
|
|
|
|
* blocks below. Those offsets must be multiplied by 4 before adding them to
|
|
|
|
* the base address to get the right value
|
|
|
|
*
|
|
|
|
* [0] http://dn.odroid.com/S805/Datasheet/S805_Datasheet%20V0.8%2020150126.pdf
|
|
|
|
*/
|
2016-08-27 17:40:51 +00:00
|
|
|
#define HHI_SYS_CPU_CLK_CNTL1 0x15c /* 0x57 offset in data sheet */
|
|
|
|
#define HHI_MPEG_CLK_CNTL 0x174 /* 0x5d offset in data sheet */
|
|
|
|
#define HHI_MPLL_CNTL 0x280 /* 0xa0 offset in data sheet */
|
|
|
|
#define HHI_SYS_PLL_CNTL 0x300 /* 0xc0 offset in data sheet */
|
|
|
|
#define HHI_VID_PLL_CNTL 0x320 /* 0xc8 offset in data sheet */
|
2016-08-27 17:40:50 +00:00
|
|
|
|
|
|
|
#endif /* __MESON8B_H */
|