Heiko Schocher | f853c6c | 2014-07-18 06:07:22 +0200 | [diff] [blame] | 1 | /* |
Heiko Schocher | 69f0e44 | 2015-01-20 10:06:18 +0100 | [diff] [blame] | 2 | * (C) Copyright 2015 |
Heiko Schocher | f853c6c | 2014-07-18 06:07:22 +0200 | [diff] [blame] | 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 | |
Heiko Schocher | 0572982 | 2015-05-18 13:32:31 +0200 | [diff] [blame] | 16 | #define CONFIG_SYS_BOARD_VERSION 1 |
Heiko Schocher | f853c6c | 2014-07-18 06:07:22 +0200 | [diff] [blame] | 17 | #define CONFIG_HOSTNAME aristainetos |
Heiko Schocher | 0572982 | 2015-05-18 13:32:31 +0200 | [diff] [blame] | 18 | #define CONFIG_BOARDNAME "aristainetos" |
Heiko Schocher | f853c6c | 2014-07-18 06:07:22 +0200 | [diff] [blame] | 19 | |
Heiko Schocher | f853c6c | 2014-07-18 06:07:22 +0200 | [diff] [blame] | 20 | #define CONFIG_MXC_UART_BASE UART5_BASE |
Simon Glass | 4694a74 | 2016-10-17 20:12:39 -0600 | [diff] [blame] | 21 | #define CONSOLE_DEV "ttymxc4" |
Heiko Schocher | f853c6c | 2014-07-18 06:07:22 +0200 | [diff] [blame] | 22 | |
Heiko Schocher | f853c6c | 2014-07-18 06:07:22 +0200 | [diff] [blame] | 23 | #define CONFIG_FEC_XCV_TYPE RMII |
Heiko Schocher | f853c6c | 2014-07-18 06:07:22 +0200 | [diff] [blame] | 24 | |
Heiko Schocher | 8fb9f3f | 2015-08-24 11:36:40 +0200 | [diff] [blame] | 25 | #define CONFIG_SF_DEFAULT_BUS 3 |
Heiko Schocher | 0cfb896 | 2014-10-30 13:14:03 +0100 | [diff] [blame] | 26 | #define CONFIG_SF_DEFAULT_CS 0 |
Heiko Schocher | f853c6c | 2014-07-18 06:07:22 +0200 | [diff] [blame] | 27 | |
Heiko Schocher | 0572982 | 2015-05-18 13:32:31 +0200 | [diff] [blame] | 28 | #define CONFIG_EXTRA_ENV_BOARD_SETTINGS \ |
Heiko Schocher | 69f0e44 | 2015-01-20 10:06:18 +0100 | [diff] [blame] | 29 | "board_type=aristainetos7@1\0" \ |
Heiko Schocher | 69f0e44 | 2015-01-20 10:06:18 +0100 | [diff] [blame] | 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" \ |
Heiko Schocher | 69f0e44 | 2015-01-20 10:06:18 +0100 | [diff] [blame] | 35 | "ubiargs=setenv bootargs console=${console},${baudrate} " \ |
Heiko Schocher | 8fb9f3f | 2015-08-24 11:36:40 +0200 | [diff] [blame] | 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 " |
Heiko Schocher | f853c6c | 2014-07-18 06:07:22 +0200 | [diff] [blame] | 40 | |
| 41 | #define ARISTAINETOS_USB_OTG_PWR IMX_GPIO_NR(4, 15) |
| 42 | #define ARISTAINETOS_USB_H1_PWR IMX_GPIO_NR(3, 31) |
Heiko Schocher | 0572982 | 2015-05-18 13:32:31 +0200 | [diff] [blame] | 43 | #define CONFIG_GPIO_ENABLE_SPI_FLASH IMX_GPIO_NR(2, 15) |
Heiko Schocher | f853c6c | 2014-07-18 06:07:22 +0200 | [diff] [blame] | 44 | |
Heiko Schocher | 0572982 | 2015-05-18 13:32:31 +0200 | [diff] [blame] | 45 | #include "aristainetos-common.h" |
Heiko Schocher | f853c6c | 2014-07-18 06:07:22 +0200 | [diff] [blame] | 46 | |
Heiko Schocher | f853c6c | 2014-07-18 06:07:22 +0200 | [diff] [blame] | 47 | #endif /* __ARISTAINETOS_CONFIG_H */ |