1*83d290c5STom Rini /* SPDX-License-Identifier: GPL-2.0+ */
223a21683SÁlvaro Fernández Rojas /*
323a21683SÁlvaro Fernández Rojas  * Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com>
423a21683SÁlvaro Fernández Rojas  */
523a21683SÁlvaro Fernández Rojas 
623a21683SÁlvaro Fernández Rojas #ifndef __CONFIG_BMIPS_BCM3380_H
723a21683SÁlvaro Fernández Rojas #define __CONFIG_BMIPS_BCM3380_H
823a21683SÁlvaro Fernández Rojas 
923a21683SÁlvaro Fernández Rojas /* CPU */
1023a21683SÁlvaro Fernández Rojas #define CONFIG_SYS_MIPS_TIMER_FREQ	166500000
1123a21683SÁlvaro Fernández Rojas 
1223a21683SÁlvaro Fernández Rojas /* RAM */
1323a21683SÁlvaro Fernández Rojas #define CONFIG_SYS_SDRAM_BASE		0x80000000
1423a21683SÁlvaro Fernández Rojas 
1523a21683SÁlvaro Fernández Rojas /* U-Boot */
1623a21683SÁlvaro Fernández Rojas #define CONFIG_SYS_LOAD_ADDR		CONFIG_SYS_SDRAM_BASE + 0x100000
1723a21683SÁlvaro Fernández Rojas 
1823a21683SÁlvaro Fernández Rojas #if defined(CONFIG_BMIPS_BOOT_RAM)
1923a21683SÁlvaro Fernández Rojas #define CONFIG_SKIP_LOWLEVEL_INIT
2023a21683SÁlvaro Fernández Rojas #define CONFIG_SYS_INIT_SP_OFFSET	0x2000
2123a21683SÁlvaro Fernández Rojas #endif
2223a21683SÁlvaro Fernández Rojas 
2323a21683SÁlvaro Fernández Rojas #endif /* __CONFIG_BMIPS_BCM3380_H */
24