1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 3 * Copyright (c) 2013, NVIDIA CORPORATION. All rights reserved. 4 */ 5 6 #ifndef __MX6_COMMON_H 7 #define __MX6_COMMON_H 8 9 #include <linux/stringify.h> 10 11 #if (defined(CONFIG_MX6UL) || defined(CONFIG_MX6ULL)) 12 #define CFG_SC_TIMER_CLK 8000000 /* 8Mhz */ 13 #else 14 #ifndef CONFIG_SYS_L2CACHE_OFF 15 #define CFG_SYS_PL310_BASE L2_PL310_BASE 16 #endif 17 18 #endif 19 20 #include <linux/sizes.h> 21 #include <asm/arch/imx-regs.h> 22 #include <asm/mach-imx/gpio.h> 23 24 #endif 25