42bdbf51b6e43bd4da63ec040113640bc41adefc
[openwrt/staging/ynezz.git] /
1 From dccb22d078ebd098115e4f66bde1ee2249c8640b Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
3 Date: Thu, 12 Nov 2020 16:08:30 +0100
4 Subject: [PATCH] arm64: add config for Broadcom BCM4908 SoCs
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 Add ARCH_BCM4908 config that can be used for compiling DTS files.
10
11 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
12 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
13 ---
14 arch/arm64/Kconfig.platforms | 8 ++++++++
15 arch/arm64/configs/defconfig | 1 +
16 2 files changed, 9 insertions(+)
17
18 --- a/arch/arm64/Kconfig.platforms
19 +++ b/arch/arm64/Kconfig.platforms
20 @@ -43,6 +43,14 @@ config ARCH_BCM2835
21 This enables support for the Broadcom BCM2837 SoC.
22 This SoC is used in the Raspberry Pi 3 device.
23
24 +config ARCH_BCM4908
25 + bool "Broadcom BCM4908 family"
26 + select GPIOLIB
27 + help
28 + This enables support for the Broadcom BCM4906, BCM4908 and
29 + BCM49408 SoCs. These SoCs use Brahma-B53 cores and can be
30 + found in home routers.
31 +
32 config ARCH_BCM_IPROC
33 bool "Broadcom iProc SoC Family"
34 select COMMON_CLK_IPROC
35 --- a/arch/arm64/configs/defconfig
36 +++ b/arch/arm64/configs/defconfig
37 @@ -33,6 +33,7 @@ CONFIG_ARCH_AGILEX=y
38 CONFIG_ARCH_SUNXI=y
39 CONFIG_ARCH_ALPINE=y
40 CONFIG_ARCH_BCM2835=y
41 +CONFIG_ARCH_BCM4908=y
42 CONFIG_ARCH_BCM_IPROC=y
43 CONFIG_ARCH_BERLIN=y
44 CONFIG_ARCH_BRCMSTB=y