xref: /rk3399_rockchip-uboot/include/configs/bmips_bcm3380.h (revision 31493dd5ffc74e2d5d1f1112fd2267e37d4fd698)
1*23a21683SÁlvaro Fernández Rojas /*
2*23a21683SÁlvaro Fernández Rojas  * Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com>
3*23a21683SÁlvaro Fernández Rojas  *
4*23a21683SÁlvaro Fernández Rojas  * SPDX-License-Identifier:	GPL-2.0+
5*23a21683SÁlvaro Fernández Rojas  */
6*23a21683SÁlvaro Fernández Rojas 
7*23a21683SÁlvaro Fernández Rojas #ifndef __CONFIG_BMIPS_BCM3380_H
8*23a21683SÁlvaro Fernández Rojas #define __CONFIG_BMIPS_BCM3380_H
9*23a21683SÁlvaro Fernández Rojas 
10*23a21683SÁlvaro Fernández Rojas /* CPU */
11*23a21683SÁlvaro Fernández Rojas #define CONFIG_SYS_MIPS_TIMER_FREQ	166500000
12*23a21683SÁlvaro Fernández Rojas 
13*23a21683SÁlvaro Fernández Rojas /* RAM */
14*23a21683SÁlvaro Fernández Rojas #define CONFIG_NR_DRAM_BANKS		1
15*23a21683SÁlvaro Fernández Rojas #define CONFIG_SYS_SDRAM_BASE		0x80000000
16*23a21683SÁlvaro Fernández Rojas 
17*23a21683SÁlvaro Fernández Rojas /* U-Boot */
18*23a21683SÁlvaro Fernández Rojas #define CONFIG_SYS_LOAD_ADDR		CONFIG_SYS_SDRAM_BASE + 0x100000
19*23a21683SÁlvaro Fernández Rojas 
20*23a21683SÁlvaro Fernández Rojas #if defined(CONFIG_BMIPS_BOOT_RAM)
21*23a21683SÁlvaro Fernández Rojas #define CONFIG_SKIP_LOWLEVEL_INIT
22*23a21683SÁlvaro Fernández Rojas #define CONFIG_SYS_INIT_SP_OFFSET	0x2000
23*23a21683SÁlvaro Fernández Rojas #endif
24*23a21683SÁlvaro Fernández Rojas 
25*23a21683SÁlvaro Fernández Rojas #endif /* __CONFIG_BMIPS_BCM3380_H */
26