arm64: bcmbca: add bcm63158 soc support
Subsystems (3)
William Zhang
maintainercover arm64: bcmbca: add bcm63158 soc support
This change adds the basic support for Broadcom's ARM64 based Broadband SoC BCM63158. The initial support includes a bare-bone dts for quad core ARM A53 with a ARM PL011 uart. Linux kernel image can be built with the ARM64 defconfig.
William Zhang (5):
dt-bindings: arm64: add BCM63158 soc to binding document
arm64: bcmbca: add arch bcmbca machine entry
arm64: dts: add dts files for bcmbca soc 63158
MAINTAINERS: add bcm63158 to bcmbca arch entry
arm64: defconfig: enable bcmbca soc support
.../bindings/arm/bcm/brcm,bcmbca.yaml | 7 + MAINTAINERS | 2 + arch/arm64/Kconfig.platforms | 9 ++ arch/arm64/boot/dts/broadcom/Makefile | 1 + arch/arm64/boot/dts/broadcom/bcmbca/Makefile | 2 + .../boot/dts/broadcom/bcmbca/bcm63158.dtsi | 128 ++++++++++++++++++ .../boot/dts/broadcom/bcmbca/bcm963158.dts | 30 ++++ arch/arm64/configs/defconfig | 1 + 8 files changed, 180 insertions(+) create mode 100644 arch/arm64/boot/dts/broadcom/bcmbca/Makefile create mode 100644 arch/arm64/boot/dts/broadcom/bcmbca/bcm63158.dtsi create mode 100644 arch/arm64/boot/dts/broadcom/bcmbca/bcm963158.dts
Signature · 1 line
2.17.1
William Zhang
maintainerPATCH 1/5 dt-bindings: arm64: add BCM63158 soc to binding document
Add BCM63158 SOC device tree description to bcmbca binding document.
---
Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml | 7 +++++++ 1 file changed, 7 insertions(+)
Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml +7 -0
@@ -28,6 +28,13 @@ properties: - const: brcm,bcm47622 - const: brcm,bcmbca + - description: BCM63158 based boards + items: + - enum: + - brcm,bcm963158 + - const: brcm,bcm63158 + - const: brcm,bcmbca + additionalProperties: true ...
Signature · 1 line
2.17.1
Rob Herring
maintainerRe: [PATCH 1/5] dt-bindings: arm64: add BCM63158 soc to binding document
Quoted 13 lines · William Zhang
Add BCM63158 SOC device tree description to bcmbca binding document.
Signed-off-by William Zhang <[email protected]>---
Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml | 7 +++++++ 1 file changed, 7 insertions(+)Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml +0
-0
Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml properties: · line 34
Quoted 7 lines
Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml +4
-0@@ -28,6 +28,13 @@ properties: - const: brcm,bcm47622 - const: brcm,bcmbca + - description: BCM63158 based boards + items: + - enum: + - brcm,bcm963158
bcm963158 is a board?
Quoted 9 lines
Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml +3
-0+ - const: brcm,bcm63158 + - const: brcm,bcmbca + additionalProperties: trueSignature · 1 line
2.17.1
William Zhang
maintainerRe: [PATCH 1/5] dt-bindings: arm64: add BCM63158 soc to binding document
Hi Rob,
Quoted 17 lines · Rob Herring
Quoted 16 lines · William Zhang
Add BCM63158 SOC device tree description to bcmbca binding document.
Signed-off-by William Zhang <[email protected]>---
Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml | 7 +++++++ 1 file changed, 7 insertions(+)Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml +0
-0@@ -28,6 +28,13 @@ properties: - const: brcm,bcm47622 - const: brcm,bcmbca
Quoted 7 lines
Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml properties: · line 34
Quoted 4 lines
Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml +4
-0+ - description: BCM63158 based boards + items: + - enum: + - brcm,bcm963158bcm963158 is a board?
Yes it is the generic board id with only minimum hardware blocks(cpu, memory, uart) enabled for all BCM63158 based boards. Specific board id can be added in the future with actual hardware blocks that are used on the board.
Quoted 11 lines
Quoted 9 lines
Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml +3
-0+ - const: brcm,bcm63158 + - const: brcm,bcmbca + additionalProperties: trueSignature · 1 line
2.17.1
Re: [PATCH 1/5] dt-bindings: arm64: add BCM63158 soc to binding document
In reply to William ZhangQuoted 8 lines · William Zhang
Add BCM63158 SOC device tree description to bcmbca binding document.
Signed-off-by William Zhang <[email protected]>---
Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml | 7 +++++++ 1 file changed, 7 insertions(+)
Florian Fainelli
AppliedRe: [PATCH 1/5] dt-bindings: arm64: add BCM63158 soc to binding document
In reply to William ZhangQuoted 4 lines · William Zhang
Add BCM63158 SOC device tree description to bcmbca binding document.
Signed-off-by William Zhang <[email protected]>---
Applied to https://github.com/Broadcom/stblinux/commits/devicetree/next, thanks!
Signature · 1 line
Florian
William Zhang
maintainerPATCH 2/5 arm64: bcmbca: add arch bcmbca machine entry
In reply to William ZhangAdd ARCH_BCMBCA config for Broadcom Broadband SoC chipsets
---
arch/arm64/Kconfig.platforms | 9 +++++++++ 1 file changed, 9 insertions(+)
arch/arm64/Kconfig.platforms +9 -0
@@ -64,6 +64,15 @@ config ARCH_BCM_IPROC help This enables support for Broadcom iProc based SoCs +config ARCH_BCMBCA + bool "Broadcom Broadband SoC" + help + Say Y if you intend to run the kernel on a Broadcom Broadband ARM-based + BCA chipset. + + This enables support for Broadcom BCA ARM-based broadband chipsets, + including the DSL, PON and Wireless family of chips. + config ARCH_BERLIN bool "Marvell Berlin SoC Family" select DW_APB_ICTL
Signature · 1 line
2.17.1
Florian Fainelli
AppliedRe: [PATCH 2/5] arm64: bcmbca: add arch bcmbca machine entry
Quoted 4 lines · William Zhang
Add
ARCH_BCMBCAconfig for Broadcom Broadband SoC chipsetsSigned-off-by William Zhang <[email protected]>---
Applied to https://github.com/Broadcom/stblinux/commits/devicetree-arm64/next, thanks! --
Florian
William Zhang
maintainerPATCH 3/5 arm64: dts: add dts files for bcmbca soc 63158
In reply to William ZhangAdd dts for ARMv8 based broadband SoC BCM63158. bcm63158.dtsi is the SoC description dts header and bcm963158.dts is a simple dts file for Broadcom BCM963158 Reference board that only enable the UART port.
---
arch/arm64/boot/dts/broadcom/Makefile | 1 + arch/arm64/boot/dts/broadcom/bcmbca/Makefile | 2 + .../boot/dts/broadcom/bcmbca/bcm63158.dtsi | 128 ++++++++++++++++++ .../boot/dts/broadcom/bcmbca/bcm963158.dts | 30 ++++ 4 files changed, 161 insertions(+) create mode 100644 arch/arm64/boot/dts/broadcom/bcmbca/Makefile create mode 100644 arch/arm64/boot/dts/broadcom/bcmbca/bcm63158.dtsi create mode 100644 arch/arm64/boot/dts/broadcom/bcmbca/bcm963158.dts
arch/arm64/boot/dts/broadcom/Makefile +1 -0
@@ -9,5 +9,6 @@ dtb-$(CONFIG_ARCH_BCM2835) += bcm2711-rpi-400.dtb \ bcm2837-rpi-zero-2-w.dtb subdir-y += bcm4908 +subdir-y += bcmbca subdir-y += northstar2 subdir-y += stingray
arch/arm64/boot/dts/broadcom/bcmbca/Makefile new file +2 -0
@@ -0,0 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_BCMBCA) += bcm963158.dtb
arch/arm64/boot/dts/broadcom/bcmbca/bcm63158.dtsi new file +128 -0
128 lines not on this page · raw message
arch/arm64/boot/dts/broadcom/bcmbca/bcm963158.dts new file +30 -0
@@ -0,0 +1,30 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright 2022 Broadcom Ltd. + */ + +/dts-v1/; + +#include "bcm63158.dtsi" + +/ { + model = "Broadcom BCM963158 Reference Board"; + compatible = "brcm,bcm963158", "brcm,bcm63158", "brcm,bcmbca"; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x0 0x0 0x08000000>; + }; +}; + +&uart0 { + status = "okay"; +};
Signature · 1 line
2.17.1
Florian Fainelli
AppliedRe: [PATCH 3/5] arm64: dts: add dts files for bcmbca soc 63158
Quoted 6 lines · William Zhang
Add dts for ARMv8 based broadband SoC BCM63158.
bcm63158.dtsiis the SoC description dts header andbcm963158.dtsis a simple dts file for Broadcom BCM963158 Reference board that only enable the UART port.Signed-off-by William Zhang <[email protected]>---
Applied to https://github.com/Broadcom/stblinux/commits/devicetree-arm64/next, thanks! --
Florian
William Zhang
maintainerPATCH 4/5 MAINTAINERS: add bcm63158 to bcmbca arch entry
In reply to William ZhangAdd bcm63158 related files to BCMBCA ARCH maintainer list entry
---
MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+)
MAINTAINERS +2 -0
@@ -3766,8 +3766,10 @@ T: git git://github.com/broadcom/stblinux.git F: Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml F: arch/arm/boot/dts/bcm47622.dtsi F: arch/arm/boot/dts/bcm947622.dts +F: arch/arm64/boot/dts/broadcom/bcmbca/* N: bcmbca N: bcm[9]?47622 +N: bcm[9]?63158 BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE M: Nicolas Saenz Julienne <[email protected]>
Signature · 1 line
2.17.1
Florian Fainelli
AppliedRe: [PATCH 4/5] MAINTAINERS: add bcm63158 to bcmbca arch entry
Quoted 4 lines · William Zhang
Add bcm63158 related files to BCMBCA ARCH maintainer list entry
Signed-off-by William Zhang <[email protected]>---
Applied to https://github.com/Broadcom/stblinux/commits/maintainers/next, thanks!
Signature · 1 line
Florian
William Zhang
maintainerPATCH 5/5 arm64: defconfig: enable bcmbca soc support
In reply to William ZhangEnable CONFIG_ARCH_BCMBCA in defconfig. This config can be used to build a basic kernel for arm64 based Broadcom Broadband SoC booting to console.
---
arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+)
arch/arm64/configs/defconfig +1 -0
@@ -36,6 +36,7 @@ CONFIG_ARCH_ALPINE=y CONFIG_ARCH_APPLE=y CONFIG_ARCH_BCM2835=y CONFIG_ARCH_BCM4908=y +CONFIG_ARCH_BCMBCA=y CONFIG_ARCH_BCM_IPROC=y CONFIG_ARCH_BERLIN=y CONFIG_ARCH_BRCMSTB=y
Signature · 1 line
2.17.1
Florian Fainelli
AppliedRe: [PATCH 5/5] arm64: defconfig: enable bcmbca soc support
Quoted 7 lines · William Zhang
Enable
CONFIG_ARCH_BCMBCAin defconfig. This config can be used to build a basic kernel for arm64 based Broadcom Broadband SoC booting to console.Signed-off-by William Zhang <[email protected]>---
Applied to https://github.com/Broadcom/stblinux/commits/defconfig-arm64/next, thanks! --
Florian