2012-09-13 03:18:20 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2012 Freescale Semiconductor, Inc.
|
|
|
|
*
|
|
|
|
* Configuration settings for the Freescale i.MX6Q SabreSD board.
|
|
|
|
*
|
2013-07-08 07:37:19 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
2012-09-13 03:18:20 +00:00
|
|
|
*/
|
|
|
|
|
2012-09-24 08:09:32 +00:00
|
|
|
#ifndef __MX6QSABRESD_CONFIG_H
|
|
|
|
#define __MX6QSABRESD_CONFIG_H
|
2012-09-13 03:18:20 +00:00
|
|
|
|
2013-07-25 17:12:14 +00:00
|
|
|
#include <asm/arch/imx-regs.h>
|
|
|
|
#include <asm/imx-common/gpio.h>
|
|
|
|
|
2012-09-13 03:18:20 +00:00
|
|
|
#define CONFIG_MACH_TYPE 3980
|
2012-09-24 08:09:32 +00:00
|
|
|
#define CONFIG_MXC_UART_BASE UART1_BASE
|
2012-09-26 11:37:01 +00:00
|
|
|
#define CONFIG_CONSOLE_DEV "ttymxc0"
|
2012-10-02 09:22:10 +00:00
|
|
|
#define CONFIG_MMCROOT "/dev/mmcblk1p2"
|
2013-09-18 01:55:59 +00:00
|
|
|
#if defined(CONFIG_MX6Q)
|
2013-01-10 09:45:09 +00:00
|
|
|
#define CONFIG_DEFAULT_FDT_FILE "imx6q-sabresd.dtb"
|
2013-09-18 01:55:59 +00:00
|
|
|
#elif defined(CONFIG_MX6DL)
|
|
|
|
#define CONFIG_DEFAULT_FDT_FILE "imx6dl-sabresd.dtb"
|
|
|
|
#endif
|
2012-09-24 08:09:32 +00:00
|
|
|
#define PHYS_SDRAM_SIZE (1u * 1024 * 1024 * 1024)
|
2012-09-13 03:18:20 +00:00
|
|
|
|
2014-01-06 15:27:20 +00:00
|
|
|
#define CONFIG_SUPPORT_EMMC_BOOT /* eMMC specific */
|
|
|
|
|
2013-06-04 07:00:15 +00:00
|
|
|
#include "mx6sabre_common.h"
|
2012-09-26 11:37:01 +00:00
|
|
|
|
2012-12-30 14:14:59 +00:00
|
|
|
#define CONFIG_SYS_FSL_USDHC_NUM 3
|
|
|
|
#if defined(CONFIG_ENV_IS_IN_MMC)
|
2013-01-10 09:00:53 +00:00
|
|
|
#define CONFIG_SYS_MMC_ENV_DEV 1 /* SDHC3 */
|
2012-12-30 14:14:59 +00:00
|
|
|
#endif
|
|
|
|
|
2013-07-25 17:12:14 +00:00
|
|
|
/* Framebuffer */
|
|
|
|
#define CONFIG_VIDEO
|
|
|
|
#define CONFIG_VIDEO_IPUV3
|
|
|
|
#define CONFIG_CFB_CONSOLE
|
|
|
|
#define CONFIG_VGA_AS_SINGLE_DEVICE
|
|
|
|
#define CONFIG_SYS_CONSOLE_IS_IN_ENV
|
|
|
|
#define CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE
|
|
|
|
#define CONFIG_VIDEO_BMP_RLE8
|
|
|
|
#define CONFIG_SPLASH_SCREEN
|
|
|
|
#define CONFIG_SPLASH_SCREEN_ALIGN
|
|
|
|
#define CONFIG_BMP_16BPP
|
|
|
|
#define CONFIG_VIDEO_LOGO
|
|
|
|
#define CONFIG_VIDEO_BMP_LOGO
|
|
|
|
#define CONFIG_IPUV3_CLK 260000000
|
|
|
|
#define CONFIG_IMX_HDMI
|
|
|
|
|
2014-03-23 21:45:41 +00:00
|
|
|
#define CONFIG_CMD_PCI
|
|
|
|
#ifdef CONFIG_CMD_PCI
|
|
|
|
#define CONFIG_PCI
|
|
|
|
#define CONFIG_PCI_PNP
|
|
|
|
#define CONFIG_PCI_SCAN_SHOW
|
|
|
|
#define CONFIG_PCIE_IMX
|
|
|
|
#define CONFIG_PCIE_IMX_PERST_GPIO IMX_GPIO_NR(7, 12)
|
|
|
|
#define CONFIG_PCIE_IMX_POWER_GPIO IMX_GPIO_NR(3, 19)
|
|
|
|
#endif
|
|
|
|
|
2012-09-24 08:09:32 +00:00
|
|
|
#endif /* __MX6QSABRESD_CONFIG_H */
|