]>
Commit | Line | Data |
---|---|---|
e379c039 | 1 | /* |
b4b39a7e | 2 | * (C) Copyright 2015 |
e379c039 HS |
3 | * (C) Copyright 2014 |
4 | * Heiko Schocher, DENX Software Engineering, hs@denx.de. | |
5 | * | |
6 | * Based on: | |
7 | * Copyright (C) 2012 Freescale Semiconductor, Inc. | |
8 | * | |
9 | * Configuration settings for the Freescale i.MX6Q SabreSD board. | |
10 | * | |
11 | * SPDX-License-Identifier: GPL-2.0+ | |
12 | */ | |
13 | #ifndef __ARISTAINETOS_CONFIG_H | |
14 | #define __ARISTAINETOS_CONFIG_H | |
15 | ||
7254d92e | 16 | #define CONFIG_SYS_BOARD_VERSION 1 |
e379c039 | 17 | #define CONFIG_HOSTNAME aristainetos |
7254d92e | 18 | #define CONFIG_BOARDNAME "aristainetos" |
e379c039 | 19 | |
e379c039 HS |
20 | #define CONFIG_MXC_UART_BASE UART5_BASE |
21 | #define CONFIG_CONSOLE_DEV "ttymxc4" | |
22 | ||
e379c039 | 23 | #define CONFIG_FEC_XCV_TYPE RMII |
e379c039 | 24 | |
9627084c | 25 | #define CONFIG_SF_DEFAULT_BUS 3 |
2f6bb0a9 | 26 | #define CONFIG_SF_DEFAULT_CS 0 |
e379c039 | 27 | |
7254d92e | 28 | #define CONFIG_EXTRA_ENV_BOARD_SETTINGS \ |
b4b39a7e | 29 | "board_type=aristainetos7@1\0" \ |
b4b39a7e HS |
30 | "mtdids=nand0=gpmi-nand,nor0=spi3.0\0" \ |
31 | "mtdparts=mtdparts=spi3.0:832k(u-boot),64k(env),64k(env-red)," \ | |
32 | "-(rescue-system);gpmi-nand:-(ubi)\0" \ | |
33 | "addmisc=setenv bootargs ${bootargs} consoleblank=0\0" \ | |
34 | "addmtd=setenv bootargs ${bootargs} ${mtdparts}\0" \ | |
b4b39a7e | 35 | "ubiargs=setenv bootargs console=${console},${baudrate} " \ |
9627084c HS |
36 | "ubi.mtd=0,2048 root=ubi0:rootfs rootfstype=ubifs\0 " \ |
37 | "ubifs_load_fit=sf probe;ubi part ubi 2048;ubifsmount ubi:rootfs;" \ | |
38 | "ubifsload ${fit_addr_r} /boot/system.itb; " \ | |
39 | "imi ${fit_addr_r}\0 " | |
e379c039 HS |
40 | |
41 | #define ARISTAINETOS_USB_OTG_PWR IMX_GPIO_NR(4, 15) | |
42 | #define ARISTAINETOS_USB_H1_PWR IMX_GPIO_NR(3, 31) | |
7254d92e | 43 | #define CONFIG_GPIO_ENABLE_SPI_FLASH IMX_GPIO_NR(2, 15) |
e379c039 | 44 | |
7254d92e | 45 | #include "aristainetos-common.h" |
e379c039 | 46 | |
e379c039 | 47 | #endif /* __ARISTAINETOS_CONFIG_H */ |