Merge git://git.denx.de/u-boot-mips
This commit is contained in:
25
include/configs/bmips_bcm6318.h
Normal file
25
include/configs/bmips_bcm6318.h
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
* Copyright (C) 2018 Álvaro Fernández Rojas <noltari@gmail.com>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-2.0+
|
||||
*/
|
||||
|
||||
#ifndef __CONFIG_BMIPS_BCM6318_H
|
||||
#define __CONFIG_BMIPS_BCM6318_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_BCM6318_H */
|
||||
30
include/configs/bmips_bcm6368.h
Normal file
30
include/configs/bmips_bcm6368.h
Normal file
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
* Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-2.0+
|
||||
*/
|
||||
|
||||
#ifndef __CONFIG_BMIPS_BCM6368_H
|
||||
#define __CONFIG_BMIPS_BCM6368_H
|
||||
|
||||
/* CPU */
|
||||
#define CONFIG_SYS_MIPS_TIMER_FREQ 200000000
|
||||
|
||||
/* 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
|
||||
|
||||
#define CONFIG_SYS_FLASH_BASE 0xb8000000
|
||||
#define CONFIG_SYS_FLASH_EMPTY_INFO
|
||||
#define CONFIG_SYS_FLASH_PROTECTION
|
||||
#define CONFIG_SYS_MAX_FLASH_BANKS_DETECT 1
|
||||
|
||||
#endif /* __CONFIG_BMIPS_BCM6368_H */
|
||||
16
include/configs/comtrend_ar5315u.h
Normal file
16
include/configs/comtrend_ar5315u.h
Normal file
@@ -0,0 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2018 Álvaro Fernández Rojas <noltari@gmail.com>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-2.0+
|
||||
*/
|
||||
|
||||
#include <configs/bmips_common.h>
|
||||
#include <configs/bmips_bcm6318.h>
|
||||
|
||||
#define CONFIG_REMAKE_ELF
|
||||
|
||||
#define CONFIG_ENV_SIZE (8 * 1024)
|
||||
|
||||
#define CONFIG_AUTO_COMPLETE
|
||||
#define CONFIG_CMDLINE_EDITING
|
||||
#define CONFIG_SYS_LONGHELP
|
||||
19
include/configs/comtrend_wap5813n.h
Normal file
19
include/configs/comtrend_wap5813n.h
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
* Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-2.0+
|
||||
*/
|
||||
|
||||
#include <configs/bmips_common.h>
|
||||
#include <configs/bmips_bcm6368.h>
|
||||
|
||||
#define CONFIG_REMAKE_ELF
|
||||
|
||||
#define CONFIG_ENV_SIZE (8 * 1024)
|
||||
|
||||
#define CONFIG_AUTO_COMPLETE
|
||||
#define CONFIG_CMDLINE_EDITING
|
||||
#define CONFIG_SYS_LONGHELP
|
||||
|
||||
#define CONFIG_SYS_FLASH_CFI 1
|
||||
#define CONFIG_FLASH_CFI_DRIVER 1
|
||||
37
include/dt-bindings/clock/bcm6318-clock.h
Normal file
37
include/dt-bindings/clock/bcm6318-clock.h
Normal file
@@ -0,0 +1,37 @@
|
||||
/*
|
||||
* Copyright (C) 2018 Álvaro Fernández Rojas <noltari@gmail.com>
|
||||
*
|
||||
* Derived from linux/arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-2.0+
|
||||
*/
|
||||
|
||||
#ifndef __DT_BINDINGS_CLOCK_BCM6318_H
|
||||
#define __DT_BINDINGS_CLOCK_BCM6318_H
|
||||
|
||||
#define BCM6318_CLK_ADSL_ASB 0
|
||||
#define BCM6318_CLK_USB_ASB 1
|
||||
#define BCM6318_CLK_MIPS_ASB 2
|
||||
#define BCM6318_CLK_PCIE_ASB 3
|
||||
#define BCM6318_CLK_PHYMIPS_ASB 4
|
||||
#define BCM6318_CLK_ROBOSW_ASB 5
|
||||
#define BCM6318_CLK_SAR_ASB 6
|
||||
#define BCM6318_CLK_SDR_ASB 7
|
||||
#define BCM6318_CLK_SWREG_ASB 8
|
||||
#define BCM6318_CLK_PERIPH_ASB 9
|
||||
#define BCM6318_CLK_CPUBUS160 10
|
||||
#define BCM6318_CLK_ADSL 11
|
||||
#define BCM6318_CLK_SAR125 12
|
||||
#define BCM6318_CLK_MIPS 13
|
||||
#define BCM6318_CLK_PCIE 14
|
||||
#define BCM6318_CLK_ROBOSW250 16
|
||||
#define BCM6318_CLK_ROBOSW025 17
|
||||
#define BCM6318_CLK_SDR 19
|
||||
#define BCM6318_CLK_USB 20
|
||||
#define BCM6318_CLK_HSSPI 25
|
||||
#define BCM6318_CLK_PCIE25 27
|
||||
#define BCM6318_CLK_PHYMIPS 28
|
||||
#define BCM6318_CLK_AFE 29
|
||||
#define BCM6318_CLK_QPROC 30
|
||||
|
||||
#endif /* __DT_BINDINGS_CLOCK_BCM6318_H */
|
||||
31
include/dt-bindings/clock/bcm6368-clock.h
Normal file
31
include/dt-bindings/clock/bcm6368-clock.h
Normal file
@@ -0,0 +1,31 @@
|
||||
/*
|
||||
* Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com>
|
||||
*
|
||||
* Derived from linux/arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-2.0+
|
||||
*/
|
||||
|
||||
#ifndef __DT_BINDINGS_CLOCK_BCM6368_H
|
||||
#define __DT_BINDINGS_CLOCK_BCM6368_H
|
||||
|
||||
#define BCM6368_CLK_VDSL_QPROC 2
|
||||
#define BCM6368_CLK_VDSL_AFE 3
|
||||
#define BCM6368_CLK_VDSL_BONDING 4
|
||||
#define BCM6368_CLK_VDSL 5
|
||||
#define BCM6368_CLK_PHYMIPS 6
|
||||
#define BCM6368_CLK_SWPKT_USB 7
|
||||
#define BCM6368_CLK_SWPKT_SAR 8
|
||||
#define BCM6368_CLK_SPI 9
|
||||
#define BCM6368_CLK_USBD 10
|
||||
#define BCM6368_CLK_SAR 11
|
||||
#define BCM6368_CLK_ROBOSW 12
|
||||
#define BCM6368_CLK_UTOPIA 13
|
||||
#define BCM6368_CLK_PCM 14
|
||||
#define BCM6368_CLK_USBH 15
|
||||
#define BCM6368_CLK_GLESS 16
|
||||
#define BCM6368_CLK_NAND 17
|
||||
#define BCM6368_CLK_IPSEC 18
|
||||
#define BCM6368_CLK_USBH_IDDQ 19
|
||||
|
||||
#endif /* __DT_BINDINGS_CLOCK_BCM6368_H */
|
||||
13
include/dt-bindings/power-domain/bcm6318-power-domain.h
Normal file
13
include/dt-bindings/power-domain/bcm6318-power-domain.h
Normal file
@@ -0,0 +1,13 @@
|
||||
/*
|
||||
* Copyright (C) 2018 Álvaro Fernández Rojas <noltari@gmail.com>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-2.0+
|
||||
*/
|
||||
|
||||
#ifndef __DT_BINDINGS_POWER_DOMAIN_BCM6318_H
|
||||
#define __DT_BINDINGS_POWER_DOMAIN_BCM6318_H
|
||||
|
||||
#define BCM6318_PWR_PCIE 0
|
||||
#define BCM6318_PWR_USB 1
|
||||
|
||||
#endif /* __DT_BINDINGS_POWER_DOMAIN_BCM6318_H */
|
||||
26
include/dt-bindings/reset/bcm6318-reset.h
Normal file
26
include/dt-bindings/reset/bcm6318-reset.h
Normal file
@@ -0,0 +1,26 @@
|
||||
/*
|
||||
* Copyright (C) 2018 Álvaro Fernández Rojas <noltari@gmail.com>
|
||||
*
|
||||
* Derived from linux/arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-2.0+
|
||||
*/
|
||||
|
||||
#ifndef __DT_BINDINGS_RESET_BCM6318_H
|
||||
#define __DT_BINDINGS_RESET_BCM6318_H
|
||||
|
||||
#define BCM6318_RST_SPI 0
|
||||
#define BCM6318_RST_EPHY 1
|
||||
#define BCM6318_RST_SAR 2
|
||||
#define BCM6318_RST_ENETSW 3
|
||||
#define BCM6318_RST_USBD 4
|
||||
#define BCM6318_RST_USBH 5
|
||||
#define BCM6318_RST_PCIE_CORE 6
|
||||
#define BCM6318_RST_PCIE 7
|
||||
#define BCM6318_RST_PCIE_EXT 8
|
||||
#define BCM6318_RST_PCIE_HARD 9
|
||||
#define BCM6318_RST_ADSL 10
|
||||
#define BCM6318_RST_PHYMIPS 11
|
||||
#define BCM6318_RST_HOSTMIPS 11
|
||||
|
||||
#endif /* __DT_BINDINGS_RESET_BCM6318_H */
|
||||
22
include/dt-bindings/reset/bcm6368-reset.h
Normal file
22
include/dt-bindings/reset/bcm6368-reset.h
Normal file
@@ -0,0 +1,22 @@
|
||||
/*
|
||||
* Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com>
|
||||
*
|
||||
* Derived from linux/arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-2.0+
|
||||
*/
|
||||
|
||||
#ifndef __DT_BINDINGS_RESET_BCM6368_H
|
||||
#define __DT_BINDINGS_RESET_BCM6368_H
|
||||
|
||||
#define BCM6368_RST_SPI 0
|
||||
#define BCM6368_RST_MPI 3
|
||||
#define BCM6368_RST_IPSEC 4
|
||||
#define BCM6368_RST_EPHY 6
|
||||
#define BCM6368_RST_SAR 7
|
||||
#define BCM6368_RST_SWITCH 10
|
||||
#define BCM6368_RST_USBD 11
|
||||
#define BCM6368_RST_USBH 12
|
||||
#define BCM6368_RST_PCM 13
|
||||
|
||||
#endif /* __DT_BINDINGS_RESET_BCM6368_H */
|
||||
Reference in New Issue
Block a user