blob: 1edb1826c4e856cc9d8f2b98c0368cfd899388d0 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Sébastien Szymanski77f29292017-03-07 14:33:25 +01002/*
3 * Copyright (C) 2017 Armadeus Systems
4 *
5 * Configuration settings for the OPOS6ULDev board
Sébastien Szymanski77f29292017-03-07 14:33:25 +01006 */
7
8#ifndef __OPOS6ULDEV_CONFIG_H
9#define __OPOS6ULDEV_CONFIG_H
10
11#include "mx6_common.h"
12
Sébastien Szymanski77f29292017-03-07 14:33:25 +010013/* Miscellaneous configurable options */
Sébastien Szymanski77f29292017-03-07 14:33:25 +010014
15/* Physical Memory Map */
Tom Riniaa6e94d2022-11-16 13:10:37 -050016#define CFG_SYS_SDRAM_BASE MMDC0_ARB_BASE_ADDR
Tom Rini65cc0e22022-11-16 13:10:41 -050017#define CFG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR
18#define CFG_SYS_INIT_RAM_SIZE IRAM_SIZE
Sébastien Szymanski77f29292017-03-07 14:33:25 +010019
Sébastien Szymanski77f29292017-03-07 14:33:25 +010020/* USB */
21#ifdef CONFIG_USB_EHCI_MX6
Tom Rinidd11fdc2022-12-04 10:04:56 -050022#define CFG_MXC_USB_PORTSC (PORT_PTS_UTMI | PORT_PTS_PTW)
23#define CFG_MXC_USB_FLAGS 0
Sébastien Szymanski77f29292017-03-07 14:33:25 +010024#endif
25
Sébastien Szymanski77f29292017-03-07 14:33:25 +010026/* LCD */
Sébastien Szymanski77f29292017-03-07 14:33:25 +010027#define MXS_LCDIF_BASE MX6UL_LCDIF1_BASE_ADDR
Sébastien Szymanski77f29292017-03-07 14:33:25 +010028
Sébastien Szymanski77f29292017-03-07 14:33:25 +010029#endif /* __OPOS6ULDEV_CONFIG_H */