blob: 3e551e13aa67f880e3a2d68eb35540bb847f077f [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Sébastien Szymanskia7762e42017-03-07 14:33:25 +01002/*
3 * Copyright (C) 2017 Armadeus Systems
4 *
5 * Configuration settings for the OPOS6ULDev board
Sébastien Szymanskia7762e42017-03-07 14:33:25 +01006 */
7
8#ifndef __OPOS6ULDEV_CONFIG_H
9#define __OPOS6ULDEV_CONFIG_H
10
11#include "mx6_common.h"
12
13#ifdef CONFIG_SPL
14#include "imx6_spl.h"
Sébastien Szymanskia7762e42017-03-07 14:33:25 +010015#endif
16
Sébastien Szymanskia7762e42017-03-07 14:33:25 +010017/* Miscellaneous configurable options */
18#define CONFIG_STANDALONE_LOAD_ADDR CONFIG_SYS_LOAD_ADDR
19
20/* Physical Memory Map */
Sébastien Szymanskia7762e42017-03-07 14:33:25 +010021#define CONFIG_SYS_SDRAM_BASE MMDC0_ARB_BASE_ADDR
22#define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR
23#define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE
Sébastien Szymanskia7762e42017-03-07 14:33:25 +010024
Sébastien Szymanskia7762e42017-03-07 14:33:25 +010025/* USB */
26#ifdef CONFIG_USB_EHCI_MX6
Sébastien Szymanskia7762e42017-03-07 14:33:25 +010027#define CONFIG_MXC_USB_PORTSC (PORT_PTS_UTMI | PORT_PTS_PTW)
28#define CONFIG_MXC_USB_FLAGS 0
Sébastien Szymanskia7762e42017-03-07 14:33:25 +010029#endif
30
Sébastien Szymanskia7762e42017-03-07 14:33:25 +010031/* LCD */
Sébastien Szymanskia7762e42017-03-07 14:33:25 +010032#define MXS_LCDIF_BASE MX6UL_LCDIF1_BASE_ADDR
Sébastien Szymanskia7762e42017-03-07 14:33:25 +010033
Tom Rini272eb5b2022-03-21 21:33:32 -040034#define CONFIG_ROOTPATH "/tftpboot/opos6ul-root"
Sébastien Szymanskia7762e42017-03-07 14:33:25 +010035
Sébastien Szymanskia7762e42017-03-07 14:33:25 +010036#endif /* __OPOS6ULDEV_CONFIG_H */