Paul Burton | 25c7de2 | 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 | 25c7de2 | 2018-12-16 19:25:23 -0300 | [diff] [blame] | 12 | /* Memory configuration */ |
| 13 | #define CONFIG_SYS_MONITOR_LEN (512 * 1024) |
Paul Burton | 25c7de2 | 2018-12-16 19:25:23 -0300 | [diff] [blame] | 14 | |
| 15 | #define CONFIG_SYS_SDRAM_BASE 0x80000000 /* cached (KSEG0) address */ |
| 16 | #define CONFIG_SYS_INIT_SP_OFFSET 0x400000 |
Paul Burton | 25c7de2 | 2018-12-16 19:25:23 -0300 | [diff] [blame] | 17 | |
Paul Burton | 25c7de2 | 2018-12-16 19:25:23 -0300 | [diff] [blame] | 18 | /* NS16550-ish UARTs */ |
| 19 | #define CONFIG_SYS_NS16550_CLK 48000000 |
Paul Burton | 25c7de2 | 2018-12-16 19:25:23 -0300 | [diff] [blame] | 20 | |
| 21 | /* Ethernet: davicom DM9000 */ |
Paul Burton | 25c7de2 | 2018-12-16 19:25:23 -0300 | [diff] [blame] | 22 | #define CONFIG_DM9000_BASE 0xb6000000 |
| 23 | #define DM9000_IO CONFIG_DM9000_BASE |
| 24 | #define DM9000_DATA (CONFIG_DM9000_BASE + 2) |
| 25 | |
Paul Burton | 25c7de2 | 2018-12-16 19:25:23 -0300 | [diff] [blame] | 26 | /* Miscellaneous configuration options */ |
Paul Burton | 25c7de2 | 2018-12-16 19:25:23 -0300 | [diff] [blame] | 27 | |
Paul Burton | 25c7de2 | 2018-12-16 19:25:23 -0300 | [diff] [blame] | 28 | #endif /* __CONFIG_CI20_H__ */ |