~funderscore blog cgit wiki get in touch
aboutsummaryrefslogtreecommitdiff
blob: 67f0b3ec67727866872b8bff5cd160600973084a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* SPDX-License-Identifier: GPL-2.0+ */
/*
 * (C) Copyright 2009
 * Marvell Semiconductor <www.marvell.com>
 * Written-by: Prafulla Wadaskar <prafulla@marvell.com>
 *
 * Header file for Feroceon CPU core 88FR131 Based KW88F6281 SOC.
 */

#ifndef _ASM_ARCH_KW88F6281_H
#define _ASM_ARCH_KW88F6281_H

/* SOC specific definitions */
#define KW88F6281_REGS_PHYS_BASE	0xf1000000
#define KW_REGS_PHY_BASE		KW88F6281_REGS_PHYS_BASE

/* TCLK Core Clock definition */
#define CFG_SYS_TCLK			((readl(CFG_SAR_REG) & BIT(21)) ? \
					166666667 : 200000000)

#endif /* _ASM_ARCH_KW88F6281_H */