16471a225SÁlvaro Fernández Rojas /*
26471a225SÁlvaro Fernández Rojas  * Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com>
36471a225SÁlvaro Fernández Rojas  *
46471a225SÁlvaro Fernández Rojas  * SPDX-License-Identifier:	GPL-2.0+
56471a225SÁlvaro Fernández Rojas  */
66471a225SÁlvaro Fernández Rojas 
76471a225SÁlvaro Fernández Rojas #ifndef __CONFIG_BMIPS_BCM6328_H
86471a225SÁlvaro Fernández Rojas #define __CONFIG_BMIPS_BCM6328_H
96471a225SÁlvaro Fernández Rojas 
106471a225SÁlvaro Fernández Rojas /* CPU */
116471a225SÁlvaro Fernández Rojas #define CONFIG_SYS_MIPS_TIMER_FREQ	160000000
126471a225SÁlvaro Fernández Rojas 
136471a225SÁlvaro Fernández Rojas /* RAM */
146471a225SÁlvaro Fernández Rojas #define CONFIG_NR_DRAM_BANKS		1
156471a225SÁlvaro Fernández Rojas #define CONFIG_SYS_SDRAM_BASE		0x80000000
166471a225SÁlvaro Fernández Rojas 
17*f94e3606SÁlvaro Fernández Rojas /* USB */
18*f94e3606SÁlvaro Fernández Rojas #define CONFIG_EHCI_DESC_BIG_ENDIAN
19*f94e3606SÁlvaro Fernández Rojas #define CONFIG_EHCI_MMIO_BIG_ENDIAN
20*f94e3606SÁlvaro Fernández Rojas #define CONFIG_SYS_OHCI_SWAP_REG_ACCESS
21*f94e3606SÁlvaro Fernández Rojas #define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 2
22*f94e3606SÁlvaro Fernández Rojas #define CONFIG_USB_OHCI_NEW
23*f94e3606SÁlvaro Fernández Rojas 
246471a225SÁlvaro Fernández Rojas /* U-Boot */
256471a225SÁlvaro Fernández Rojas #define CONFIG_SYS_LOAD_ADDR		CONFIG_SYS_SDRAM_BASE + 0x100000
266471a225SÁlvaro Fernández Rojas 
276471a225SÁlvaro Fernández Rojas #if defined(CONFIG_BMIPS_BOOT_RAM)
286471a225SÁlvaro Fernández Rojas #define CONFIG_SKIP_LOWLEVEL_INIT
296471a225SÁlvaro Fernández Rojas #define CONFIG_SYS_INIT_SP_OFFSET	0x2000
306471a225SÁlvaro Fernández Rojas #endif
316471a225SÁlvaro Fernández Rojas 
326471a225SÁlvaro Fernández Rojas #endif /* __CONFIG_BMIPS_BCM6328_H */
33