mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-12-08 13:42:10 -05:00
BCM4906, BCM4908 and BCM49408 are SoCs with 64 bit ARMv8 B53 CPUs. Upstream Linux is slowly getting support for that SoCs family so it makes sense to add target for it. This prepares initial support for: 1. Asus GT-AC5300 BCM4908 based device (4 CPUs) with 1024 MiB RAM, NAND, 8 LAN ports. 2. Netgear R8000P BCM4906 based device (2 CPUs) with 512 MiB RAM, NAND, 4 LAN ports. Flashing info will come later as we learn how to generate proper images. It isn't usable yet (it only produces a bootable kernel) so "source-only" is used. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
45 lines
1.4 KiB
Diff
45 lines
1.4 KiB
Diff
From dccb22d078ebd098115e4f66bde1ee2249c8640b Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
|
|
Date: Thu, 12 Nov 2020 16:08:30 +0100
|
|
Subject: [PATCH] arm64: add config for Broadcom BCM4908 SoCs
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
Add ARCH_BCM4908 config that can be used for compiling DTS files.
|
|
|
|
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
|
|
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
|
|
---
|
|
arch/arm64/Kconfig.platforms | 8 ++++++++
|
|
arch/arm64/configs/defconfig | 1 +
|
|
2 files changed, 9 insertions(+)
|
|
|
|
--- a/arch/arm64/Kconfig.platforms
|
|
+++ b/arch/arm64/Kconfig.platforms
|
|
@@ -43,6 +43,14 @@ config ARCH_BCM2835
|
|
This enables support for the Broadcom BCM2837 SoC.
|
|
This SoC is used in the Raspberry Pi 3 device.
|
|
|
|
+config ARCH_BCM4908
|
|
+ bool "Broadcom BCM4908 family"
|
|
+ select GPIOLIB
|
|
+ help
|
|
+ This enables support for the Broadcom BCM4906, BCM4908 and
|
|
+ BCM49408 SoCs. These SoCs use Brahma-B53 cores and can be
|
|
+ found in home routers.
|
|
+
|
|
config ARCH_BCM_IPROC
|
|
bool "Broadcom iProc SoC Family"
|
|
select COMMON_CLK_IPROC
|
|
--- a/arch/arm64/configs/defconfig
|
|
+++ b/arch/arm64/configs/defconfig
|
|
@@ -33,6 +33,7 @@ CONFIG_ARCH_AGILEX=y
|
|
CONFIG_ARCH_SUNXI=y
|
|
CONFIG_ARCH_ALPINE=y
|
|
CONFIG_ARCH_BCM2835=y
|
|
+CONFIG_ARCH_BCM4908=y
|
|
CONFIG_ARCH_BCM_IPROC=y
|
|
CONFIG_ARCH_BERLIN=y
|
|
CONFIG_ARCH_BRCMSTB=y
|