mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
7254d92ebc
add support for imx6dl based aristainetos2 board U-Boot 2015.04-rc5-00066-g60f6ed4 (Apr 10 2015 - 08:46:27) CPU: Freescale i.MX6DL rev1.1 at 792 MHz Reset cause: WDOG Board: aristaitenos2 Watchdog enabled I2C: ready DRAM: 1 GiB NAND: 1024 MiB MMC: FSL_SDHC: 0 SF: Detected N25Q128A with page size 256 Bytes, erase size 64 KiB, total 16 MiB Display: lg4573 (480x800) In: serial Out: serial Err: serial Net: FEC [PRIME] Hit any key to stop autoboot: 0 => Signed-off-by: Heiko Schocher <hs@denx.de>
56 lines
1.6 KiB
C
56 lines
1.6 KiB
C
/*
|
|
* (C) Copyright 2015
|
|
* Heiko Schocher, DENX Software Engineering, hs@denx.de.
|
|
*
|
|
* Based on:
|
|
* Copyright (C) 2012 Freescale Semiconductor, Inc.
|
|
*
|
|
* Configuration settings for the Freescale i.MX6DL aristainetos2 board.
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
#ifndef __ARISTAINETOS2_CONFIG_H
|
|
#define __ARISTAINETOS2_CONFIG_H
|
|
|
|
#define CONFIG_SYS_BOARD_VERSION 2
|
|
#define CONFIG_HOSTNAME aristainetos2
|
|
#define CONFIG_BOARDNAME "aristainetos2"
|
|
|
|
#define CONFIG_BOARD_LATE_INIT
|
|
|
|
#define CONFIG_MXC_UART_BASE UART2_BASE
|
|
#define CONFIG_CONSOLE_DEV "ttymxc1"
|
|
|
|
#define CONFIG_FEC_XCV_TYPE RGMII
|
|
#define CONFIG_PHY_MICREL_KSZ9031
|
|
|
|
#define CONFIG_SF_DEFAULT_CS 1
|
|
|
|
#define CONFIG_EXTRA_ENV_BOARD_SETTINGS \
|
|
"board_type=aristainetos2_7@1\0" \
|
|
"nor_bootdelay=-2\0" \
|
|
"mtdids=nand0=gpmi-nand,nor0=spi3.1\0" \
|
|
"mtdparts=mtdparts=spi3.1:832k(u-boot),64k(env),64k(env-red)," \
|
|
"-(rescue-system);gpmi-nand:-(ubi)\0" \
|
|
"addmisc=setenv bootargs ${bootargs} net.ifnames=0 consoleblank=0\0" \
|
|
"ubiargs=setenv bootargs console=${console},${baudrate} " \
|
|
"ubi.mtd=0,4096 root=ubi0:rootfs rootfstype=ubifs\0 "
|
|
|
|
#define CONFIG_SYS_I2C_MXC_I2C4 /* enable I2C bus 4 */
|
|
|
|
#define ARISTAINETOS_USB_OTG_PWR IMX_GPIO_NR(4, 15)
|
|
#define ARISTAINETOS_USB_H1_PWR IMX_GPIO_NR(1, 0)
|
|
#define CONFIG_GPIO_ENABLE_SPI_FLASH IMX_GPIO_NR(2, 15)
|
|
|
|
/* Framebuffer */
|
|
#define CONFIG_SYS_LDB_CLOCK 33246000
|
|
#define CONFIG_LG4573
|
|
|
|
#define CONFIG_CMD_BMP
|
|
|
|
#define CONFIG_PWM_IMX
|
|
#define CONFIG_IMX6_PWM_PER_CLK 66000000
|
|
|
|
#include "aristainetos-common.h"
|
|
|
|
#endif /* __ARISTAINETOS2_CONFIG_H */
|