1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Copyright 2014-2015 Freescale Semiconductor, Inc.
4 * Copyright Jasbir Matharu
5 * Copyright 2015 UDOO Team
7 * Configuration settings for the UDOO NEO board.
13 #include "mx6_common.h"
17 /* MMC Configuration */
18 #define CFG_SYS_FSL_ESDHC_ADDR USDHC2_BASE_ADDR
20 /* Command definition */
21 #define CONFIG_MXC_UART_BASE UART1_BASE
24 #define CONFIG_EXTRA_ENV_SETTINGS \
25 "console=ttymxc0,115200\0" \
26 "fdt_high=0xffffffff\0" \
27 "initrd_high=0xffffffff\0" \
28 "fdtfile=undefined\0" \
29 "fdt_addr=0x83000000\0" \
30 "fdt_addr_r=0x83000000\0" \
33 "mmcrootfstype=ext4\0" \
35 "if test $board_name = BASIC; then " \
36 "setenv fdtfile imx6sx-udoo-neo-basic.dtb; fi; " \
37 "if test $board_name = BASICKS; then " \
38 "setenv fdtfile imx6sx-udoo-neo-basic.dtb; fi; " \
39 "if test $board_name = FULL; then " \
40 "setenv fdtfile imx6sx-udoo-neo-full.dtb; fi; " \
41 "if test $board_name = EXTENDED; then " \
42 "setenv fdtfile imx6sx-udoo-neo-extended.dtb; fi; " \
43 "if test $fdtfile = UNDEFINED; then " \
44 "echo WARNING: Could not determine dtb to use; fi\0" \
45 "kernel_addr_r=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \
46 "pxefile_addr_r=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \
47 "ramdisk_addr_r=0x84000000\0" \
48 "scriptaddr=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \
51 #define BOOT_TARGET_DEVICES(func) \
56 #include <config_distro_bootcmd.h>
58 /* Miscellaneous configurable options */
60 /* Physical Memory Map */
61 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR
62 #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM
63 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR
64 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE
67 #define CONFIG_POWER_PFUZE3000
68 #define CONFIG_POWER_PFUZE3000_I2C_ADDR 0x08
69 #define PFUZE3000_I2C_BUS 0
71 #endif /* __CONFIG_H */