Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Sébastien Szymanski | 77f2929 | 2017-03-07 14:33:25 +0100 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2017 Armadeus Systems |
| 4 | * |
| 5 | * Configuration settings for the OPOS6ULDev board |
Sébastien Szymanski | 77f2929 | 2017-03-07 14:33:25 +0100 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | #ifndef __OPOS6ULDEV_CONFIG_H |
| 9 | #define __OPOS6ULDEV_CONFIG_H |
| 10 | |
| 11 | #include "mx6_common.h" |
| 12 | |
Sébastien Szymanski | 77f2929 | 2017-03-07 14:33:25 +0100 | [diff] [blame] | 13 | /* Miscellaneous configurable options */ |
| 14 | #define CONFIG_STANDALONE_LOAD_ADDR CONFIG_SYS_LOAD_ADDR |
| 15 | |
| 16 | /* Physical Memory Map */ |
Tom Rini | aa6e94d | 2022-11-16 13:10:37 -0500 | [diff] [blame] | 17 | #define CFG_SYS_SDRAM_BASE MMDC0_ARB_BASE_ADDR |
Tom Rini | 65cc0e2 | 2022-11-16 13:10:41 -0500 | [diff] [blame] | 18 | #define CFG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR |
| 19 | #define CFG_SYS_INIT_RAM_SIZE IRAM_SIZE |
Sébastien Szymanski | 77f2929 | 2017-03-07 14:33:25 +0100 | [diff] [blame] | 20 | |
Sébastien Szymanski | 77f2929 | 2017-03-07 14:33:25 +0100 | [diff] [blame] | 21 | /* USB */ |
| 22 | #ifdef CONFIG_USB_EHCI_MX6 |
Sébastien Szymanski | 77f2929 | 2017-03-07 14:33:25 +0100 | [diff] [blame] | 23 | #define CONFIG_MXC_USB_PORTSC (PORT_PTS_UTMI | PORT_PTS_PTW) |
| 24 | #define CONFIG_MXC_USB_FLAGS 0 |
Sébastien Szymanski | 77f2929 | 2017-03-07 14:33:25 +0100 | [diff] [blame] | 25 | #endif |
| 26 | |
Sébastien Szymanski | 77f2929 | 2017-03-07 14:33:25 +0100 | [diff] [blame] | 27 | /* LCD */ |
Sébastien Szymanski | 77f2929 | 2017-03-07 14:33:25 +0100 | [diff] [blame] | 28 | #define MXS_LCDIF_BASE MX6UL_LCDIF1_BASE_ADDR |
Sébastien Szymanski | 77f2929 | 2017-03-07 14:33:25 +0100 | [diff] [blame] | 29 | |
Sébastien Szymanski | 77f2929 | 2017-03-07 14:33:25 +0100 | [diff] [blame] | 30 | #endif /* __OPOS6ULDEV_CONFIG_H */ |