blob: 1583c11aab8cd0eb77e531cf1baf2e0267f336b8 [file] [log] [blame]
Fabio Estevam7dd65452012-09-24 08:09:33 +00001/*
2 * Copyright (C) 2012 Freescale Semiconductor, Inc.
3 *
Otavio Salvador903e7792012-10-02 09:22:10 +00004 * Configuration settings for the Freescale i.MX6Q SabreAuto board.
Fabio Estevam7dd65452012-09-24 08:09:33 +00005 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation; either version 2 of
9 * the License, or (at your option) any later version.
10 */
11
12#ifndef __MX6QSABREAUTO_CONFIG_H
13#define __MX6QSABREAUTO_CONFIG_H
Fabio Estevam7dd65452012-09-24 08:09:33 +000014
15#define CONFIG_MACH_TYPE 3529
16#define CONFIG_MXC_UART_BASE UART4_BASE
Otavio Salvador51535d92012-09-26 11:37:01 +000017#define CONFIG_CONSOLE_DEV "ttymxc3"
Otavio Salvadorbf0c2242013-01-10 09:45:09 +000018#define CONFIG_DEFAULT_FDT_FILE "imx6q-sabreauto.dtb"
Otavio Salvador903e7792012-10-02 09:22:10 +000019#define CONFIG_MMCROOT "/dev/mmcblk0p2"
Fabio Estevam7dd65452012-09-24 08:09:33 +000020#define PHYS_SDRAM_SIZE (2u * 1024 * 1024 * 1024)
21
Knut Wohlrab73448b12013-01-21 23:11:21 +000022/* USB Configs */
23#define CONFIG_CMD_USB
24#define CONFIG_USB_EHCI
25#define CONFIG_USB_EHCI_MX6
26#define CONFIG_USB_STORAGE
27#define CONFIG_USB_HOST_ETHER
28#define CONFIG_USB_ETHER_ASIX
29#define CONFIG_MXC_USB_PORT 1
30#define CONFIG_MXC_USB_PORTSC (PORT_PTS_UTMI | PORT_PTS_PTW)
31#define CONFIG_MXC_USB_FLAGS 0
32
Otavio Salvador51535d92012-09-26 11:37:01 +000033#include "mx6qsabre_common.h"
34
Shawn Guode7d02a2012-12-30 14:14:59 +000035#define CONFIG_SYS_FSL_USDHC_NUM 2
36#if defined(CONFIG_ENV_IS_IN_MMC)
37#define CONFIG_SYS_MMC_ENV_DEV 0
Fabio Estevame4f8d962013-01-14 08:59:24 +000038#define CONFIG_SYS_MMC_ENV_PART 1 /* Boot partition 1 */
Shawn Guode7d02a2012-12-30 14:14:59 +000039#endif
40
Fabio Estevam7dd65452012-09-24 08:09:33 +000041#endif /* __MX6QSABREAUTO_CONFIG_H */