xref: /openbmc/u-boot/include/configs/bmips_bcm6362.h (revision 86cf1c82850f7c226f23684e19616e526ffaf10f)
1*83d290c5STom Rini /* SPDX-License-Identifier: GPL-2.0+ */
28f240a3bSÁlvaro Fernández Rojas /*
38f240a3bSÁlvaro Fernández Rojas  * Copyright (C) 2018 Álvaro Fernández Rojas <noltari@gmail.com>
48f240a3bSÁlvaro Fernández Rojas  */
58f240a3bSÁlvaro Fernández Rojas 
68f240a3bSÁlvaro Fernández Rojas #ifndef __CONFIG_BMIPS_BCM6362_H
78f240a3bSÁlvaro Fernández Rojas #define __CONFIG_BMIPS_BCM6362_H
88f240a3bSÁlvaro Fernández Rojas 
98f240a3bSÁlvaro Fernández Rojas /* CPU */
108f240a3bSÁlvaro Fernández Rojas #define CONFIG_SYS_MIPS_TIMER_FREQ	200000000
118f240a3bSÁlvaro Fernández Rojas 
128f240a3bSÁlvaro Fernández Rojas /* RAM */
138f240a3bSÁlvaro Fernández Rojas #define CONFIG_SYS_SDRAM_BASE		0x80000000
148f240a3bSÁlvaro Fernández Rojas 
15ad7f6ed4SÁlvaro Fernández Rojas /* USB */
16ad7f6ed4SÁlvaro Fernández Rojas #define CONFIG_EHCI_DESC_BIG_ENDIAN
17ad7f6ed4SÁlvaro Fernández Rojas #define CONFIG_EHCI_MMIO_BIG_ENDIAN
18ad7f6ed4SÁlvaro Fernández Rojas #define CONFIG_SYS_OHCI_SWAP_REG_ACCESS
19ad7f6ed4SÁlvaro Fernández Rojas #define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 2
20ad7f6ed4SÁlvaro Fernández Rojas #define CONFIG_USB_OHCI_NEW
21ad7f6ed4SÁlvaro Fernández Rojas 
228f240a3bSÁlvaro Fernández Rojas /* U-Boot */
238f240a3bSÁlvaro Fernández Rojas #define CONFIG_SYS_LOAD_ADDR		CONFIG_SYS_SDRAM_BASE + 0x100000
248f240a3bSÁlvaro Fernández Rojas 
258f240a3bSÁlvaro Fernández Rojas #if defined(CONFIG_BMIPS_BOOT_RAM)
268f240a3bSÁlvaro Fernández Rojas #define CONFIG_SKIP_LOWLEVEL_INIT
278f240a3bSÁlvaro Fernández Rojas #define CONFIG_SYS_INIT_SP_OFFSET	0x2000
288f240a3bSÁlvaro Fernández Rojas #endif
298f240a3bSÁlvaro Fernández Rojas 
308f240a3bSÁlvaro Fernández Rojas #endif /* __CONFIG_BMIPS_BCM6362_H */
31