Paul Burton | 993ae66 | 2018-12-16 19:25:23 -0300 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
| 2 | /* |
| 3 | * CI20 configuration |
| 4 | * |
| 5 | * Copyright (c) 2013 Imagination Technologies |
| 6 | * Author: Paul Burton <paul.burton@imgtec.com> |
| 7 | */ |
| 8 | |
| 9 | #ifndef __CONFIG_CI20_H__ |
| 10 | #define __CONFIG_CI20_H__ |
| 11 | |
Paul Burton | 993ae66 | 2018-12-16 19:25:23 -0300 | [diff] [blame] | 12 | /* Memory configuration */ |
Paul Burton | 993ae66 | 2018-12-16 19:25:23 -0300 | [diff] [blame] | 13 | |
| 14 | #define CONFIG_SYS_SDRAM_BASE 0x80000000 /* cached (KSEG0) address */ |
| 15 | #define CONFIG_SYS_INIT_SP_OFFSET 0x400000 |
Paul Burton | 993ae66 | 2018-12-16 19:25:23 -0300 | [diff] [blame] | 16 | |
Paul Burton | 993ae66 | 2018-12-16 19:25:23 -0300 | [diff] [blame] | 17 | /* NS16550-ish UARTs */ |
| 18 | #define CONFIG_SYS_NS16550_CLK 48000000 |
Paul Burton | 993ae66 | 2018-12-16 19:25:23 -0300 | [diff] [blame] | 19 | |
| 20 | /* Ethernet: davicom DM9000 */ |
Paul Burton | 993ae66 | 2018-12-16 19:25:23 -0300 | [diff] [blame] | 21 | #define CONFIG_DM9000_BASE 0xb6000000 |
| 22 | #define DM9000_IO CONFIG_DM9000_BASE |
| 23 | #define DM9000_DATA (CONFIG_DM9000_BASE + 2) |
| 24 | |
Paul Burton | 993ae66 | 2018-12-16 19:25:23 -0300 | [diff] [blame] | 25 | /* Miscellaneous configuration options */ |
Paul Burton | 993ae66 | 2018-12-16 19:25:23 -0300 | [diff] [blame] | 26 | |
Paul Burton | 993ae66 | 2018-12-16 19:25:23 -0300 | [diff] [blame] | 27 | #endif /* __CONFIG_CI20_H__ */ |