blob: 947ea600940d17111860fc22bbd168ef6fc928d7 [file] [log] [blame]
Fabio Estevamafe20bf2012-09-24 08:09:33 +00001/*
2 * Copyright (C) 2012 Freescale Semiconductor, Inc.
3 *
Otavio Salvadorc0bfaab2012-10-02 09:22:10 +00004 * Configuration settings for the Freescale i.MX6Q SabreAuto board.
Fabio Estevamafe20bf2012-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 Estevamafe20bf2012-09-24 08:09:33 +000014
15#define CONFIG_MACH_TYPE 3529
16#define CONFIG_MXC_UART_BASE UART4_BASE
Otavio Salvador1c0b9be2012-09-26 11:37:01 +000017#define CONFIG_CONSOLE_DEV "ttymxc3"
Otavio Salvadore5dd0a22013-01-10 09:45:09 +000018#define CONFIG_DEFAULT_FDT_FILE "imx6q-sabreauto.dtb"
Otavio Salvadorc0bfaab2012-10-02 09:22:10 +000019#define CONFIG_MMCROOT "/dev/mmcblk0p2"
Fabio Estevamafe20bf2012-09-24 08:09:33 +000020#define PHYS_SDRAM_SIZE (2u * 1024 * 1024 * 1024)
21
Knut Wohlrab54dbf152013-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 Salvador1c0b9be2012-09-26 11:37:01 +000033#include "mx6qsabre_common.h"
34
Shawn Guo7e5e8332012-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 Estevama3b18532013-01-14 08:59:24 +000038#define CONFIG_SYS_MMC_ENV_PART 1 /* Boot partition 1 */
Shawn Guo7e5e8332012-12-30 14:14:59 +000039#endif
40
Renato Friasbf084322013-05-13 18:01:12 +000041/* I2C Configs */
42#define CONFIG_CMD_I2C
43#define CONFIG_I2C_MULTI_BUS
44#define CONFIG_I2C_MXC
45#define CONFIG_SYS_I2C_SPEED 100000
46
Fabio Estevamafe20bf2012-09-24 08:09:33 +000047#endif /* __MX6QSABREAUTO_CONFIG_H */