Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Sébastien Szymanski | a7762e4 | 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 | a7762e4 | 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 | |
| 13 | #ifdef CONFIG_SPL |
| 14 | #include "imx6_spl.h" |
Sébastien Szymanski | a7762e4 | 2017-03-07 14:33:25 +0100 | [diff] [blame] | 15 | #endif |
| 16 | |
Sébastien Szymanski | a7762e4 | 2017-03-07 14:33:25 +0100 | [diff] [blame] | 17 | /* Miscellaneous configurable options */ |
| 18 | #define CONFIG_STANDALONE_LOAD_ADDR CONFIG_SYS_LOAD_ADDR |
| 19 | |
| 20 | /* Physical Memory Map */ |
Sébastien Szymanski | a7762e4 | 2017-03-07 14:33:25 +0100 | [diff] [blame] | 21 | #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 Szymanski | a7762e4 | 2017-03-07 14:33:25 +0100 | [diff] [blame] | 24 | |
Sébastien Szymanski | a7762e4 | 2017-03-07 14:33:25 +0100 | [diff] [blame] | 25 | /* USB */ |
| 26 | #ifdef CONFIG_USB_EHCI_MX6 |
Sébastien Szymanski | a7762e4 | 2017-03-07 14:33:25 +0100 | [diff] [blame] | 27 | #define CONFIG_MXC_USB_PORTSC (PORT_PTS_UTMI | PORT_PTS_PTW) |
| 28 | #define CONFIG_MXC_USB_FLAGS 0 |
Sébastien Szymanski | a7762e4 | 2017-03-07 14:33:25 +0100 | [diff] [blame] | 29 | #endif |
| 30 | |
Sébastien Szymanski | a7762e4 | 2017-03-07 14:33:25 +0100 | [diff] [blame] | 31 | /* LCD */ |
Sébastien Szymanski | a7762e4 | 2017-03-07 14:33:25 +0100 | [diff] [blame] | 32 | #define MXS_LCDIF_BASE MX6UL_LCDIF1_BASE_ADDR |
Sébastien Szymanski | a7762e4 | 2017-03-07 14:33:25 +0100 | [diff] [blame] | 33 | |
Tom Rini | 272eb5b | 2022-03-21 21:33:32 -0400 | [diff] [blame] | 34 | #define CONFIG_ROOTPATH "/tftpboot/opos6ul-root" |
Sébastien Szymanski | a7762e4 | 2017-03-07 14:33:25 +0100 | [diff] [blame] | 35 | |
Sébastien Szymanski | a7762e4 | 2017-03-07 14:33:25 +0100 | [diff] [blame] | 36 | #endif /* __OPOS6ULDEV_CONFIG_H */ |