]>
Commit | Line | Data |
---|---|---|
7254d92e HS |
1 | /* |
2 | * (C) Copyright 2015 | |
3 | * Heiko Schocher, DENX Software Engineering, [email protected]. | |
4 | * | |
5 | * Based on: | |
6 | * Copyright (C) 2012 Freescale Semiconductor, Inc. | |
7 | * | |
8 | * Configuration settings for the Freescale i.MX6DL aristainetos2 board. | |
9 | * | |
10 | * SPDX-License-Identifier: GPL-2.0+ | |
11 | */ | |
12 | #ifndef __ARISTAINETOS2_CONFIG_H | |
13 | #define __ARISTAINETOS2_CONFIG_H | |
14 | ||
15 | #define CONFIG_SYS_BOARD_VERSION 2 | |
16 | #define CONFIG_HOSTNAME aristainetos2 | |
17 | #define CONFIG_BOARDNAME "aristainetos2" | |
18 | ||
7254d92e | 19 | #define CONFIG_MXC_UART_BASE UART2_BASE |
12ca05a3 | 20 | #define CONSOLE_DEV "ttymxc1" |
7254d92e HS |
21 | |
22 | #define CONFIG_FEC_XCV_TYPE RGMII | |
7254d92e | 23 | |
9627084c | 24 | #define CONFIG_SF_DEFAULT_BUS 3 |
7254d92e HS |
25 | #define CONFIG_SF_DEFAULT_CS 1 |
26 | ||
27 | #define CONFIG_EXTRA_ENV_BOARD_SETTINGS \ | |
28 | "board_type=aristainetos2_7@1\0" \ | |
29 | "nor_bootdelay=-2\0" \ | |
30 | "mtdids=nand0=gpmi-nand,nor0=spi3.1\0" \ | |
31 | "mtdparts=mtdparts=spi3.1:832k(u-boot),64k(env),64k(env-red)," \ | |
32 | "-(rescue-system);gpmi-nand:-(ubi)\0" \ | |
33 | "addmisc=setenv bootargs ${bootargs} net.ifnames=0 consoleblank=0\0" \ | |
34 | "ubiargs=setenv bootargs console=${console},${baudrate} " \ | |
9627084c HS |
35 | "ubi.mtd=0,4096 root=ubi0:rootfs rootfstype=ubifs\0 " \ |
36 | "ubifs_load_fit=sf probe;ubi part ubi 4096;ubifsmount ubi:rootfs;" \ | |
37 | "ubifsload ${fit_addr_r} /boot/system.itb; " \ | |
38 | "imi ${fit_addr_r}\0 " | |
7254d92e HS |
39 | |
40 | #define CONFIG_SYS_I2C_MXC_I2C4 /* enable I2C bus 4 */ | |
41 | ||
42 | #define ARISTAINETOS_USB_OTG_PWR IMX_GPIO_NR(4, 15) | |
43 | #define ARISTAINETOS_USB_H1_PWR IMX_GPIO_NR(1, 0) | |
44 | #define CONFIG_GPIO_ENABLE_SPI_FLASH IMX_GPIO_NR(2, 15) | |
45 | ||
46 | /* Framebuffer */ | |
47 | #define CONFIG_SYS_LDB_CLOCK 33246000 | |
48 | #define CONFIG_LG4573 | |
c4e498d9 HS |
49 | #define CONFIG_LG4573_BUS 0 |
50 | #define CONFIG_LG4573_CS 0 | |
7254d92e | 51 | |
7254d92e HS |
52 | #define CONFIG_PWM_IMX |
53 | #define CONFIG_IMX6_PWM_PER_CLK 66000000 | |
54 | ||
55 | #include "aristainetos-common.h" | |
56 | ||
57 | #endif /* __ARISTAINETOS2_CONFIG_H */ |