Fabio Estevam | afe20bf | 2012-09-24 08:09:33 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2012 Freescale Semiconductor, Inc. |
| 3 | * |
Otavio Salvador | c0bfaab | 2012-10-02 09:22:10 +0000 | [diff] [blame] | 4 | * Configuration settings for the Freescale i.MX6Q SabreAuto board. |
Fabio Estevam | afe20bf | 2012-09-24 08:09:33 +0000 | [diff] [blame] | 5 | * |
| 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 Estevam | afe20bf | 2012-09-24 08:09:33 +0000 | [diff] [blame] | 14 | |
| 15 | #define CONFIG_MACH_TYPE 3529 |
| 16 | #define CONFIG_MXC_UART_BASE UART4_BASE |
Otavio Salvador | 1c0b9be | 2012-09-26 11:37:01 +0000 | [diff] [blame] | 17 | #define CONFIG_CONSOLE_DEV "ttymxc3" |
Otavio Salvador | e5dd0a2 | 2013-01-10 09:45:09 +0000 | [diff] [blame] | 18 | #define CONFIG_DEFAULT_FDT_FILE "imx6q-sabreauto.dtb" |
Otavio Salvador | c0bfaab | 2012-10-02 09:22:10 +0000 | [diff] [blame] | 19 | #define CONFIG_MMCROOT "/dev/mmcblk0p2" |
Fabio Estevam | afe20bf | 2012-09-24 08:09:33 +0000 | [diff] [blame] | 20 | #define PHYS_SDRAM_SIZE (2u * 1024 * 1024 * 1024) |
| 21 | |
Knut Wohlrab | 54dbf15 | 2013-01-21 23:11:21 +0000 | [diff] [blame] | 22 | /* 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 Salvador | 1c0b9be | 2012-09-26 11:37:01 +0000 | [diff] [blame] | 33 | #include "mx6qsabre_common.h" |
| 34 | |
Shawn Guo | 7e5e833 | 2012-12-30 14:14:59 +0000 | [diff] [blame] | 35 | #define CONFIG_SYS_FSL_USDHC_NUM 2 |
| 36 | #if defined(CONFIG_ENV_IS_IN_MMC) |
| 37 | #define CONFIG_SYS_MMC_ENV_DEV 0 |
Fabio Estevam | a3b1853 | 2013-01-14 08:59:24 +0000 | [diff] [blame] | 38 | #define CONFIG_SYS_MMC_ENV_PART 1 /* Boot partition 1 */ |
Shawn Guo | 7e5e833 | 2012-12-30 14:14:59 +0000 | [diff] [blame] | 39 | #endif |
| 40 | |
Renato Frias | bf08432 | 2013-05-13 18:01:12 +0000 | [diff] [blame^] | 41 | /* 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 Estevam | afe20bf | 2012-09-24 08:09:33 +0000 | [diff] [blame] | 47 | #endif /* __MX6QSABREAUTO_CONFIG_H */ |