blob: 258866a473a87675cf7b4bc9eb9fa1884afc71a9 [file] [log] [blame]
Heiko Schocherf853c6c2014-07-18 06:07:22 +02001/*
Heiko Schocher69f0e442015-01-20 10:06:18 +01002 * (C) Copyright 2015
Heiko Schocherf853c6c2014-07-18 06:07:22 +02003 * (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
Heiko Schocher05729822015-05-18 13:32:31 +020016#define CONFIG_SYS_BOARD_VERSION 1
Heiko Schocherf853c6c2014-07-18 06:07:22 +020017#define CONFIG_HOSTNAME aristainetos
Heiko Schocher05729822015-05-18 13:32:31 +020018#define CONFIG_BOARDNAME "aristainetos"
Heiko Schocherf853c6c2014-07-18 06:07:22 +020019
Heiko Schocherf853c6c2014-07-18 06:07:22 +020020#define CONFIG_MXC_UART_BASE UART5_BASE
21#define CONFIG_CONSOLE_DEV "ttymxc4"
22
Heiko Schocherf853c6c2014-07-18 06:07:22 +020023#define CONFIG_FEC_XCV_TYPE RMII
Heiko Schocherf853c6c2014-07-18 06:07:22 +020024
Heiko Schocher0cfb8962014-10-30 13:14:03 +010025#define CONFIG_SF_DEFAULT_CS 0
Heiko Schocherf853c6c2014-07-18 06:07:22 +020026
Heiko Schocher05729822015-05-18 13:32:31 +020027#define CONFIG_EXTRA_ENV_BOARD_SETTINGS \
Heiko Schocher69f0e442015-01-20 10:06:18 +010028 "board_type=aristainetos7@1\0" \
Heiko Schocher69f0e442015-01-20 10:06:18 +010029 "mtdids=nand0=gpmi-nand,nor0=spi3.0\0" \
30 "mtdparts=mtdparts=spi3.0:832k(u-boot),64k(env),64k(env-red)," \
31 "-(rescue-system);gpmi-nand:-(ubi)\0" \
32 "addmisc=setenv bootargs ${bootargs} consoleblank=0\0" \
33 "addmtd=setenv bootargs ${bootargs} ${mtdparts}\0" \
Heiko Schocher69f0e442015-01-20 10:06:18 +010034 "ubiargs=setenv bootargs console=${console},${baudrate} " \
Heiko Schocher05729822015-05-18 13:32:31 +020035 "ubi.mtd=0,2048 root=ubi0:rootfs rootfstype=ubifs\0 "
Heiko Schocherf853c6c2014-07-18 06:07:22 +020036
37#define ARISTAINETOS_USB_OTG_PWR IMX_GPIO_NR(4, 15)
38#define ARISTAINETOS_USB_H1_PWR IMX_GPIO_NR(3, 31)
Heiko Schocher05729822015-05-18 13:32:31 +020039#define CONFIG_GPIO_ENABLE_SPI_FLASH IMX_GPIO_NR(2, 15)
Heiko Schocherf853c6c2014-07-18 06:07:22 +020040
Heiko Schocher05729822015-05-18 13:32:31 +020041#include "aristainetos-common.h"
Heiko Schocherf853c6c2014-07-18 06:07:22 +020042
Heiko Schocherf853c6c2014-07-18 06:07:22 +020043#endif /* __ARISTAINETOS_CONFIG_H */