blob: 3e7c430c6461ead5e6e2b058c20d596d0a3cece3 [file] [log] [blame]
Prabhakar Kushwahaff78aa22016-06-03 18:41:36 +05301/*
2 * Copyright 2016 Freescale Semiconductor, Inc.
3 *
4 * SPDX-License-Identifier: GPL-2.0+
5 */
6
7#ifndef __LS1012ARDB_H__
8#define __LS1012ARDB_H__
9
10#include "ls1012a_common.h"
11
12#define CONFIG_DIMM_SLOTS_PER_CTLR 1
13#define CONFIG_CHIP_SELECTS_PER_CTRL 1
14#define CONFIG_NR_DRAM_BANKS 2
15#define CONFIG_SYS_SDRAM_SIZE 0x20000000
16
17#define CONFIG_SYS_MMDC_CORE_CONTROL_1 0x04180000
18#define CONFIG_SYS_MMDC_CORE_CONTROL_2 0x84180000
19
20#define CONFIG_CMD_MEMINFO
21#define CONFIG_CMD_MEMTEST
22#define CONFIG_SYS_MEMTEST_START 0x80000000
23#define CONFIG_SYS_MEMTEST_END 0x9fffffff
24
25/*
26* USB
27*/
28#define CONFIG_HAS_FSL_XHCI_USB
29
30#ifdef CONFIG_HAS_FSL_XHCI_USB
31#define CONFIG_USB_XHCI
32#define CONFIG_USB_XHCI_FSL
33#define CONFIG_USB_XHCI_DWC3
34#define CONFIG_USB_MAX_CONTROLLER_COUNT 1
35#define CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS 2
36#define CONFIG_USB_STORAGE
37#endif
38
39#define CONFIG_CMD_MEMINFO
40#define CONFIG_CMD_MEMTEST
41#define CONFIG_SYS_MEMTEST_START 0x80000000
42#define CONFIG_SYS_MEMTEST_END 0x9fffffff
43
44#endif /* __LS1012ARDB_H__ */