3 * Heiko Schocher, DENX Software Engineering, hs@denx.de.
6 * Copyright (C) 2012 Freescale Semiconductor, Inc.
8 * Configuration settings for the Freescale i.MX6DL aristainetos2 board.
10 * SPDX-License-Identifier: GPL-2.0+
12 #ifndef __ARISTAINETOS2_CONFIG_H
13 #define __ARISTAINETOS2_CONFIG_H
15 #define CONFIG_SYS_BOARD_VERSION 2
16 #define CONFIG_HOSTNAME aristainetos2
17 #define CONFIG_BOARDNAME "aristainetos2"
19 #define CONFIG_BOARD_LATE_INIT
21 #define CONFIG_MXC_UART_BASE UART2_BASE
22 #define CONFIG_CONSOLE_DEV "ttymxc1"
24 #define CONFIG_FEC_XCV_TYPE RGMII
25 #define CONFIG_PHY_MICREL_KSZ9031
27 #define CONFIG_SF_DEFAULT_BUS 3
28 #define CONFIG_SF_DEFAULT_CS 1
30 #define CONFIG_EXTRA_ENV_BOARD_SETTINGS \
31 "board_type=aristainetos2_7@1\0" \
32 "nor_bootdelay=-2\0" \
33 "mtdids=nand0=gpmi-nand,nor0=spi3.1\0" \
34 "mtdparts=mtdparts=spi3.1:832k(u-boot),64k(env),64k(env-red)," \
35 "-(rescue-system);gpmi-nand:-(ubi)\0" \
36 "addmisc=setenv bootargs ${bootargs} net.ifnames=0 consoleblank=0\0" \
37 "ubiargs=setenv bootargs console=${console},${baudrate} " \
38 "ubi.mtd=0,4096 root=ubi0:rootfs rootfstype=ubifs\0 " \
39 "ubifs_load_fit=sf probe;ubi part ubi 4096;ubifsmount ubi:rootfs;" \
40 "ubifsload ${fit_addr_r} /boot/system.itb; " \
41 "imi ${fit_addr_r}\0 "
43 #define CONFIG_SYS_I2C_MXC_I2C4 /* enable I2C bus 4 */
45 #define ARISTAINETOS_USB_OTG_PWR IMX_GPIO_NR(4, 15)
46 #define ARISTAINETOS_USB_H1_PWR IMX_GPIO_NR(1, 0)
47 #define CONFIG_GPIO_ENABLE_SPI_FLASH IMX_GPIO_NR(2, 15)
50 #define CONFIG_SYS_LDB_CLOCK 33246000
52 #define CONFIG_LG4573_BUS 0
53 #define CONFIG_LG4573_CS 0
55 #define CONFIG_CMD_BMP
57 #define CONFIG_PWM_IMX
58 #define CONFIG_IMX6_PWM_PER_CLK 66000000
60 #include "aristainetos-common.h"
62 #endif /* __ARISTAINETOS2_CONFIG_H */