2018-05-06 21:58:06 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
2014-07-18 04:07:22 +00:00
|
|
|
/*
|
2015-01-20 09:06:18 +00:00
|
|
|
* (C) Copyright 2015
|
2014-07-18 04:07:22 +00:00
|
|
|
* (C) Copyright 2014
|
|
|
|
* Heiko Schocher, DENX Software Engineering, hs@denx.de.
|
|
|
|
*
|
|
|
|
* Based on:
|
|
|
|
* Copyright (C) 2012 Freescale Semiconductor, Inc.
|
|
|
|
*
|
|
|
|
* Configuration settings for the Freescale i.MX6Q SabreSD board.
|
|
|
|
*/
|
|
|
|
#ifndef __ARISTAINETOS_CONFIG_H
|
|
|
|
#define __ARISTAINETOS_CONFIG_H
|
|
|
|
|
2015-05-18 11:32:31 +00:00
|
|
|
#define CONFIG_SYS_BOARD_VERSION 1
|
2018-03-28 12:38:20 +00:00
|
|
|
#define CONFIG_HOSTNAME "aristainetos"
|
2015-05-18 11:32:31 +00:00
|
|
|
#define CONFIG_BOARDNAME "aristainetos"
|
2014-07-18 04:07:22 +00:00
|
|
|
|
|
|
|
#define CONFIG_MXC_UART_BASE UART5_BASE
|
2016-10-18 02:12:39 +00:00
|
|
|
#define CONSOLE_DEV "ttymxc4"
|
2014-07-18 04:07:22 +00:00
|
|
|
|
|
|
|
#define CONFIG_FEC_XCV_TYPE RMII
|
|
|
|
|
2015-05-18 11:32:31 +00:00
|
|
|
#define CONFIG_EXTRA_ENV_BOARD_SETTINGS \
|
2015-01-20 09:06:18 +00:00
|
|
|
"board_type=aristainetos7@1\0" \
|
|
|
|
"mtdids=nand0=gpmi-nand,nor0=spi3.0\0" \
|
|
|
|
"mtdparts=mtdparts=spi3.0:832k(u-boot),64k(env),64k(env-red)," \
|
|
|
|
"-(rescue-system);gpmi-nand:-(ubi)\0" \
|
|
|
|
"addmisc=setenv bootargs ${bootargs} consoleblank=0\0" \
|
|
|
|
"addmtd=setenv bootargs ${bootargs} ${mtdparts}\0" \
|
|
|
|
"ubiargs=setenv bootargs console=${console},${baudrate} " \
|
2015-08-24 09:36:40 +00:00
|
|
|
"ubi.mtd=0,2048 root=ubi0:rootfs rootfstype=ubifs\0 " \
|
|
|
|
"ubifs_load_fit=sf probe;ubi part ubi 2048;ubifsmount ubi:rootfs;" \
|
|
|
|
"ubifsload ${fit_addr_r} /boot/system.itb; " \
|
|
|
|
"imi ${fit_addr_r}\0 "
|
2014-07-18 04:07:22 +00:00
|
|
|
|
|
|
|
#define ARISTAINETOS_USB_OTG_PWR IMX_GPIO_NR(4, 15)
|
|
|
|
#define ARISTAINETOS_USB_H1_PWR IMX_GPIO_NR(3, 31)
|
2015-05-18 11:32:31 +00:00
|
|
|
#define CONFIG_GPIO_ENABLE_SPI_FLASH IMX_GPIO_NR(2, 15)
|
2014-07-18 04:07:22 +00:00
|
|
|
|
2015-05-18 11:32:31 +00:00
|
|
|
#include "aristainetos-common.h"
|
2014-07-18 04:07:22 +00:00
|
|
|
|
|
|
|
#endif /* __ARISTAINETOS_CONFIG_H */
|