]>
Commit | Line | Data |
---|---|---|
83d290c5 | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
400df309 MV |
2 | /* |
3 | * Copyright (C) 2016 Marek Vasut <[email protected]> | |
400df309 MV |
4 | */ |
5 | ||
6 | #ifndef __CONFIG_H | |
7 | #define __CONFIG_H | |
8 | ||
400df309 MV |
9 | #define CONFIG_SYS_MHZ 280 |
10 | #define CONFIG_SYS_MIPS_TIMER_FREQ (CONFIG_SYS_MHZ * 1000000) | |
11 | ||
400df309 | 12 | #define CONFIG_SYS_SDRAM_BASE 0xa0000000 |
400df309 | 13 | |
400df309 MV |
14 | #define CONFIG_SYS_INIT_RAM_ADDR 0xbd000000 |
15 | #define CONFIG_SYS_INIT_RAM_SIZE 0x8000 | |
16 | #define CONFIG_SYS_INIT_SP_ADDR \ | |
17 | (CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_INIT_RAM_SIZE) | |
18 | ||
19 | /* | |
20 | * Serial Port | |
21 | */ | |
22 | #define CONFIG_SYS_NS16550_CLK 40000000 | |
400df309 | 23 | |
400df309 MV |
24 | /* |
25 | * Command | |
26 | */ | |
27 | /* Miscellaneous configurable options */ | |
400df309 MV |
28 | |
29 | /* USB, USB storage, USB ethernet */ | |
30 | #define CONFIG_EHCI_MMIO_BIG_ENDIAN | |
31 | #define CONFIG_EHCI_DESC_BIG_ENDIAN | |
400df309 | 32 | |
400df309 MV |
33 | /* |
34 | * Diagnostics | |
35 | */ | |
400df309 | 36 | |
400df309 | 37 | #endif /* __CONFIG_H */ |