Skip to contentSkip to conversation

arm: bcmbca: Add BCM6813 SoC support

PATCH Applied William Zhang 3 participants 9 messages Jun 10, 2022 – Jun 15, 2022

Subsystems (2)
lore
Share & tools
lore

William Zhang

author maintainer
#0 lore raw

cover arm: bcmbca: Add BCM6813 SoC support

This change adds the basic support for Broadcom's ARM64 based Broadband SoC BCM6813. The initial support includes a bare-bone DTS for quad core ARM A53 with a Broadcom uart. Linux kernel image can be build with the ARM64 defconfig.

William Zhang (3):
dt-bindings: arm64: Add BCM6813 SoC
arm64: dts: Add DTS files for bcmbca SoC BCM6813
MAINTAINERS: Add BCM6813 to bcmbca arch entry

 .../bindings/arm/bcm/brcm,bcmbca.yaml         |   7 +
 MAINTAINERS                                   |   1 +
 arch/arm64/boot/dts/broadcom/bcmbca/Makefile  |   3 +-
 .../boot/dts/broadcom/bcmbca/bcm6813.dtsi     | 128 ++++++++++++++++++
 .../boot/dts/broadcom/bcmbca/bcm96813.dts     |  30 ++++
 5 files changed, 168 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm64/boot/dts/broadcom/bcmbca/bcm6813.dtsi
 create mode 100644 arch/arm64/boot/dts/broadcom/bcmbca/bcm96813.dts
Signature · 1 line
2.36.1
author maintainer
#1 lore raw

PATCH 1/3 dt-bindings: arm64: Add BCM6813 SoC

Add BCM6813 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
index cba736ef88c1..bac8a06c8f48 100644
@@ -63,6 +63,13 @@ properties:
           - const: brcm,bcm6756
           - const: brcm,bcmbca
 
+      - description: BCM6813 based boards
+        items:
+          - enum:
+              - brcm,bcm96813
+          - const: brcm,bcm6813
+          - const: brcm,bcmbca
+
       - description: BCM6846 based boards
         items:
           - enum:
Signature · 1 line
2.36.1
#2 lore raw

Re: [PATCH 1/3] dt-bindings: arm64: Add BCM6813 SoC

Quoted 3 lines · William Zhang

Add BCM6813 SoC device tree description to bcmbca binding document.

Rob, Krzysztof, can I get an Ack from you so I can go ahead and apply this series? Thanks!

Signature · 1 line
Florian
#3 lore raw

Re: [PATCH 1/3] dt-bindings: arm64: Add BCM6813 SoC

Quoted 7 lines · Florian Fainelli
Quoted 3 lines · William Zhang

Add BCM6813 SoC device tree description to bcmbca binding document.

Rob, Krzysztof, can I get an Ack from you so I can go ahead and apply this series? Thanks!

Sure, -ETOOMANYBCMNUMBERS :)

Best regards,
Krzysztof

author maintainer
#6 lore raw

PATCH 2/3 arm64: dts: Add DTS files for bcmbca SoC BCM6813

In reply to William Zhang

Add DTS for ARMv8 based broadband SoC BCM6813. bcm6813.dtsi is the SoC description DTS header and bcm96813.dts is a simple DTS file for Broadcom BCM96813 Reference board that only enable the UART port.

---

 arch/arm64/boot/dts/broadcom/bcmbca/Makefile  |   3 +-
 .../boot/dts/broadcom/bcmbca/bcm6813.dtsi     | 128 ++++++++++++++++++
 .../boot/dts/broadcom/bcmbca/bcm96813.dts     |  30 ++++
 3 files changed, 160 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm64/boot/dts/broadcom/bcmbca/bcm6813.dtsi
 create mode 100644 arch/arm64/boot/dts/broadcom/bcmbca/bcm96813.dts
arch/arm64/boot/dts/broadcom/bcmbca/Makefile +2 -1
index cee920bea124..8c6676a69fcb 100644
@@ -3,4 +3,5 @@ dtb-$(CONFIG_ARCH_BCMBCA) += bcm963158.dtb \
 				bcm96858.dtb \
 				bcm94912.dtb \
 				bcm963146.dtb \
-				bcm96856.dtb
+				bcm96856.dtb \
+				bcm96813.dtb
arch/arm64/boot/dts/broadcom/bcmbca/bcm6813.dtsi new file +128 -0

128 lines not on this page · raw message

arch/arm64/boot/dts/broadcom/bcmbca/bcm96813.dts new file +30 -0
new file mode 100644
index 000000000000..af17091ae764
@@ -0,0 +1,30 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright 2022 Broadcom Ltd.
+ */
+
+/dts-v1/;
+
+#include "bcm6813.dtsi"
+
+/ {
+	model = "Broadcom BCM96813 Reference Board";
+	compatible = "brcm,bcm96813", "brcm,bcm6813", "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.36.1
author maintainer
#7 lore raw

PATCH 3/3 MAINTAINERS: Add BCM6813 to bcmbca arch entry

In reply to William Zhang

Add BCM6813 related files to BCMBCA ARCH maintainer list entry

---

 MAINTAINERS | 1 +
 1 file changed, 1 insertion(+)
MAINTAINERS +1 -0
index 83f886fed140..5b225e3f11a0 100644
@@ -3782,6 +3782,7 @@ N:	bcm[9]?63146
 N:	bcm[9]?63158
 N:	bcm[9]?63178
 N:	bcm[9]?6756
+N:	bcm[9]?6813
 N:	bcm[9]?6846
 N:	bcm[9]?6855
 N:	bcm[9]?6856
Signature · 1 line
2.36.1