mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
MIPS: add support for Broadcom MIPS BCM3380 SoC family
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
committed by
Daniel Schwierzeck
parent
603058f4ab
commit
23a2168398
25
include/configs/bmips_bcm3380.h
Normal file
25
include/configs/bmips_bcm3380.h
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
* Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-2.0+
|
||||
*/
|
||||
|
||||
#ifndef __CONFIG_BMIPS_BCM3380_H
|
||||
#define __CONFIG_BMIPS_BCM3380_H
|
||||
|
||||
/* CPU */
|
||||
#define CONFIG_SYS_MIPS_TIMER_FREQ 166500000
|
||||
|
||||
/* RAM */
|
||||
#define CONFIG_NR_DRAM_BANKS 1
|
||||
#define CONFIG_SYS_SDRAM_BASE 0x80000000
|
||||
|
||||
/* U-Boot */
|
||||
#define CONFIG_SYS_LOAD_ADDR CONFIG_SYS_SDRAM_BASE + 0x100000
|
||||
|
||||
#if defined(CONFIG_BMIPS_BOOT_RAM)
|
||||
#define CONFIG_SKIP_LOWLEVEL_INIT
|
||||
#define CONFIG_SYS_INIT_SP_OFFSET 0x2000
|
||||
#endif
|
||||
|
||||
#endif /* __CONFIG_BMIPS_BCM3380_H */
|
||||
23
include/dt-bindings/clock/bcm3380-clock.h
Normal file
23
include/dt-bindings/clock/bcm3380-clock.h
Normal file
@@ -0,0 +1,23 @@
|
||||
/*
|
||||
* Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com>
|
||||
*
|
||||
* Derived from Broadcom GPL Source Code:
|
||||
* Copyright (C) Broadcom Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-2.0+
|
||||
*/
|
||||
|
||||
#ifndef __DT_BINDINGS_CLOCK_BCM3380_H
|
||||
#define __DT_BINDINGS_CLOCK_BCM3380_H
|
||||
|
||||
#define BCM3380_CLK0_DDR 0
|
||||
#define BCM3380_CLK0_FPM 1
|
||||
#define BCM3380_CLK0_CRYPTO 2
|
||||
#define BCM3380_CLK0_EPHY 3
|
||||
#define BCM3380_CLK0_PCIE 16
|
||||
#define BCM3380_CLK0_SPI 17
|
||||
#define BCM3380_CLK0_ENET0 18
|
||||
#define BCM3380_CLK0_ENET1 19
|
||||
#define BCM3380_CLK0_PCM 27
|
||||
|
||||
#endif /* __DT_BINDINGS_CLOCK_BCM3380_H */
|
||||
16
include/dt-bindings/reset/bcm3380-reset.h
Normal file
16
include/dt-bindings/reset/bcm3380-reset.h
Normal file
@@ -0,0 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com>
|
||||
*
|
||||
* Derived from Broadcom GPL Source Code:
|
||||
* Copyright (C) Broadcom Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-2.0+
|
||||
*/
|
||||
|
||||
#ifndef __DT_BINDINGS_RESET_BCM3380_H
|
||||
#define __DT_BINDINGS_RESET_BCM3380_H
|
||||
|
||||
#define BCM3380_RST0_SPI 0
|
||||
#define BCM3380_RST0_PCM 13
|
||||
|
||||
#endif /* __DT_BINDINGS_RESET_BCM3380_H */
|
||||
Reference in New Issue
Block a user