Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Heiko Schocher | 7254d92 | 2015-05-18 13:32:31 +0200 | [diff] [blame] | 2 | /* |
| 3 | * (C) Copyright 2015 |
| 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.MX6DL aristainetos2 board. |
Heiko Schocher | 7254d92 | 2015-05-18 13:32:31 +0200 | [diff] [blame] | 10 | */ |
| 11 | #ifndef __ARISTAINETOS2_CONFIG_H |
| 12 | #define __ARISTAINETOS2_CONFIG_H |
| 13 | |
Mario Six | 5bc0543 | 2018-03-28 14:38:20 +0200 | [diff] [blame] | 14 | #define CONFIG_HOSTNAME "aristainetos2" |
Heiko Schocher | 7254d92 | 2015-05-18 13:32:31 +0200 | [diff] [blame] | 15 | |
Heiko Schocher | 7254d92 | 2015-05-18 13:32:31 +0200 | [diff] [blame] | 16 | #define CONFIG_MXC_UART_BASE UART2_BASE |
Simon Glass | 12ca05a | 2016-10-17 20:12:39 -0600 | [diff] [blame] | 17 | #define CONSOLE_DEV "ttymxc1" |
Heiko Schocher | 7254d92 | 2015-05-18 13:32:31 +0200 | [diff] [blame] | 18 | |
| 19 | #define CONFIG_FEC_XCV_TYPE RGMII |
Heiko Schocher | 7254d92 | 2015-05-18 13:32:31 +0200 | [diff] [blame] | 20 | |
Heiko Schocher | 7254d92 | 2015-05-18 13:32:31 +0200 | [diff] [blame] | 21 | #define CONFIG_EXTRA_ENV_BOARD_SETTINGS \ |
| 22 | "board_type=aristainetos2_7@1\0" \ |
| 23 | "nor_bootdelay=-2\0" \ |
| 24 | "mtdids=nand0=gpmi-nand,nor0=spi3.1\0" \ |
| 25 | "mtdparts=mtdparts=spi3.1:832k(u-boot),64k(env),64k(env-red)," \ |
| 26 | "-(rescue-system);gpmi-nand:-(ubi)\0" \ |
| 27 | "addmisc=setenv bootargs ${bootargs} net.ifnames=0 consoleblank=0\0" \ |
| 28 | "ubiargs=setenv bootargs console=${console},${baudrate} " \ |
Heiko Schocher | 9627084 | 2015-08-24 11:36:40 +0200 | [diff] [blame] | 29 | "ubi.mtd=0,4096 root=ubi0:rootfs rootfstype=ubifs\0 " \ |
| 30 | "ubifs_load_fit=sf probe;ubi part ubi 4096;ubifsmount ubi:rootfs;" \ |
| 31 | "ubifsload ${fit_addr_r} /boot/system.itb; " \ |
| 32 | "imi ${fit_addr_r}\0 " |
Heiko Schocher | 7254d92 | 2015-05-18 13:32:31 +0200 | [diff] [blame] | 33 | |
Heiko Schocher | 7254d92 | 2015-05-18 13:32:31 +0200 | [diff] [blame] | 34 | #define ARISTAINETOS_USB_OTG_PWR IMX_GPIO_NR(4, 15) |
| 35 | #define ARISTAINETOS_USB_H1_PWR IMX_GPIO_NR(1, 0) |
| 36 | #define CONFIG_GPIO_ENABLE_SPI_FLASH IMX_GPIO_NR(2, 15) |
| 37 | |
| 38 | /* Framebuffer */ |
| 39 | #define CONFIG_SYS_LDB_CLOCK 33246000 |
| 40 | #define CONFIG_LG4573 |
Heiko Schocher | 7254d92 | 2015-05-18 13:32:31 +0200 | [diff] [blame] | 41 | |
Heiko Schocher | 7254d92 | 2015-05-18 13:32:31 +0200 | [diff] [blame] | 42 | #include "aristainetos-common.h" |
| 43 | |
| 44 | #endif /* __ARISTAINETOS2_CONFIG_H */ |