2015-04-10 16:44:37 -07:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2014-2015 Wind River Systems, Inc.
|
|
|
|
*
|
2017-01-18 17:01:01 -08:00
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
2015-04-10 16:44:37 -07:00
|
|
|
*/
|
|
|
|
|
2015-12-04 10:09:39 -05:00
|
|
|
/**
|
|
|
|
* @file
|
|
|
|
* @brief Board configuration macros for the fsl_frdm_k64f platform
|
|
|
|
*
|
2015-10-20 09:42:33 -07:00
|
|
|
* This header file is used to specify and describe board-level aspects for the
|
|
|
|
* 'fsl_frdm_k64f' platform.
|
2015-07-01 17:22:39 -04:00
|
|
|
*/
|
2015-04-10 16:44:37 -07:00
|
|
|
|
2015-12-17 08:54:35 -05:00
|
|
|
#ifndef _SOC__H_
|
|
|
|
#define _SOC__H_
|
2015-04-10 16:44:37 -07:00
|
|
|
|
2019-06-26 10:33:55 -04:00
|
|
|
#include <sys/util.h>
|
2015-04-10 16:44:37 -07:00
|
|
|
|
|
|
|
/* default system clock */
|
|
|
|
|
|
|
|
#define SYSCLK_DEFAULT_IOSC_HZ MHZ(120)
|
2016-11-04 08:37:32 -05:00
|
|
|
#define BUSCLK_DEFAULT_IOSC_HZ (SYSCLK_DEFAULT_IOSC_HZ / \
|
2020-02-26 12:17:38 +01:00
|
|
|
CONFIG_K6X_BUS_CLOCK_DIVIDER)
|
2015-04-10 16:44:37 -07:00
|
|
|
|
|
|
|
/* address bases */
|
|
|
|
|
|
|
|
#define PERIPH_ADDR_BASE_WDOG 0x40052000 /* Watchdog Timer module */
|
|
|
|
|
|
|
|
#ifndef _ASMLANGUAGE
|
|
|
|
|
2017-01-13 10:46:53 -06:00
|
|
|
#include <fsl_common.h>
|
2019-09-22 19:24:34 +02:00
|
|
|
|
|
|
|
/* Add include for DTS generated information */
|
2020-01-16 13:29:53 +01:00
|
|
|
#include <devicetree.h>
|
2015-04-10 16:44:37 -07:00
|
|
|
|
|
|
|
#endif /* !_ASMLANGUAGE */
|
|
|
|
|
2015-12-17 08:54:35 -05:00
|
|
|
#endif /* _SOC__H_ */
|