2018-05-06 17:58:06 -04:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
2013-02-26 12:28:29 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2013, NVIDIA CORPORATION. All rights reserved.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __MX6_COMMON_H
|
|
|
|
#define __MX6_COMMON_H
|
|
|
|
|
2020-05-10 11:40:09 -06:00
|
|
|
#include <linux/stringify.h>
|
|
|
|
|
2018-01-05 15:08:19 +01:00
|
|
|
#if (defined(CONFIG_MX6UL) || defined(CONFIG_MX6ULL))
|
2022-12-04 10:13:45 -05:00
|
|
|
#define CFG_SC_TIMER_CLK 8000000 /* 8Mhz */
|
2018-01-05 15:08:19 +01:00
|
|
|
#else
|
2014-01-29 17:39:49 -02:00
|
|
|
#ifndef CONFIG_SYS_L2CACHE_OFF
|
2022-11-16 13:10:41 -05:00
|
|
|
#define CFG_SYS_PL310_BASE L2_PL310_BASE
|
2014-01-29 17:39:49 -02:00
|
|
|
#endif
|
|
|
|
|
2015-07-20 19:28:26 +08:00
|
|
|
#endif
|
2014-07-26 11:35:43 -07:00
|
|
|
|
2015-05-22 17:30:45 +01:00
|
|
|
#include <linux/sizes.h>
|
|
|
|
#include <asm/arch/imx-regs.h>
|
2017-06-29 10:16:06 +02:00
|
|
|
#include <asm/mach-imx/gpio.h>
|
2015-05-22 17:30:45 +01:00
|
|
|
|
2013-02-26 12:28:29 +00:00
|
|
|
#endif
|