Skip to contentSkip to conversation

arm: bcmbca: add bcm6846 SoC support

PATCH Superseded William Zhang 2 participants 5 messages May 25, 2022 – May 26, 2022

Subsystems (3)

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

William Zhang

author maintainer
#0 lore raw

v2 cover arm: bcmbca: add bcm6846 SoC support

This change adds the basic support for Broadcom's ARMv7 based Broadband SoC BCM6846. The initial support includes a bare-bone dts for dual core ARM A7 with a Broadcom uart.

Changes in v2:
- Add new line between entries in dts binding document

William Zhang (3):
dt-bindings: arm: add BCM6846 SoC to device tree binding document
ARM: dts: add dts files for bcmbca SoC bcm6846
MAINTAINERS: add bcm6846 to bcmbca arch entry

 .../bindings/arm/bcm/brcm,bcmbca.yaml         |   7 ++
 MAINTAINERS                                   |   3 +-
 arch/arm/boot/dts/Makefile                    |   3 +-
 arch/arm/boot/dts/bcm6846.dtsi                | 103 ++++++++++++++++++
 arch/arm/boot/dts/bcm96846.dts                |  30 +++++
 5 files changed, 143 insertions(+), 3 deletions(-)
 create mode 100644 arch/arm/boot/dts/bcm6846.dtsi
 create mode 100644 arch/arm/boot/dts/bcm96846.dts
Signature · 1 line
2.17.1
author maintainer
#1 lore raw

PATCH v2 1/3 dt-bindings: arm: add BCM6846 SoC to device tree binding document

Add BCM6846 SoC device tree description to bcmbca binding document.

---

Changes in v2:
- Add new line between entries

 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 5fb455840417..b0a96092b239 100644
@@ -28,6 +28,13 @@ properties:
           - const: brcm,bcm47622
           - const: brcm,bcmbca
 
+      - description: BCM6846 based boards
+        items:
+          - enum:
+              - brcm,bcm96846
+          - const: brcm,bcm6846
+          - const: brcm,bcmbca
+
 additionalProperties: true
 
 ...
Signature · 1 line
2.17.1
maintainer Acked-by on v2 1/3
#2 lore raw

Re: [PATCH v2 1/3] dt-bindings: arm: add BCM6846 SoC to device tree binding document

Quoted 5 lines · William Zhang

Add BCM6846 SoC device tree description to bcmbca binding document.

Quoted 8 lines

---

Changes in v2:
- Add new line between entries

 Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml | 7 +++++++
 1 file changed, 7 insertions(+)
author maintainer
#3 lore raw

PATCH v2 2/3 ARM: dts: add dts files for bcmbca SoC bcm6846

In reply to William Zhang

Add dts for ARMv7 based broadband SoC BCM6846. bcm6846.dtsi is the SoC description dts header and bcm96846.dts is a simple dts file for Broadcom BCM96846 Reference board that only enable the UART port.

---

(no changes since v1)

 arch/arm/boot/dts/Makefile     |   3 +-
 arch/arm/boot/dts/bcm6846.dtsi | 103 +++++++++++++++++++++++++++++++++
 arch/arm/boot/dts/bcm96846.dts |  30 ++++++++++
 3 files changed, 135 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/boot/dts/bcm6846.dtsi
 create mode 100644 arch/arm/boot/dts/bcm96846.dts
arch/arm/boot/dts/Makefile +2 -1
index edfbedaa6168..b4143031860b 100644
@@ -182,7 +182,8 @@ dtb-$(CONFIG_ARCH_BERLIN) += \
 dtb-$(CONFIG_ARCH_BRCMSTB) += \
 	bcm7445-bcm97445svmb.dtb
 dtb-$(CONFIG_ARCH_BCMBCA) += \
-	bcm947622.dtb
+	bcm947622.dtb \
+	bcm96846.dtb
 dtb-$(CONFIG_ARCH_CLPS711X) += \
 	ep7211-edb7211.dtb
 dtb-$(CONFIG_ARCH_DAVINCI) += \
arch/arm/boot/dts/bcm6846.dtsi new file +103 -0

103 lines not on this page · raw message

arch/arm/boot/dts/bcm96846.dts new file +30 -0
new file mode 100644
index 000000000000..c70ebccabc19
@@ -0,0 +1,30 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright 2022 Broadcom Ltd.
+ */
+
+/dts-v1/;
+
+#include "bcm6846.dtsi"
+
+/ {
+	model = "Broadcom BCM96846 Reference Board";
+	compatible = "brcm,bcm96846", "brcm,bcm6846", "brcm,bcmbca";
+
+	aliases {
+		serial0 = &uart0;
+	};
+
+	chosen {
+		stdout-path = "serial0:115200n8";
+	};
+
+	memory@0 {
+		device_type = "memory";
+		reg = <0x0 0x08000000>;
+	};
+};
+
+&uart0 {
+	status = "okay";
+};
Signature · 1 line
2.17.1
author maintainer
#4 lore raw

PATCH v2 3/3 MAINTAINERS: add bcm6846 to bcmbca arch entry

In reply to William Zhang

Add bcm6846 related files to BCMBCA ARCH maintainer list entry

---

(no changes since v1)

 MAINTAINERS | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
MAINTAINERS +1 -2
index 4fdbbd6c1984..29770e7cf389 100644
@@ -3774,10 +3774,9 @@ L:	[email protected] (moderated for non-subscribers)
 S:	Maintained
 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
 N:	bcmbca
 N:	bcm[9]?47622
+N:	bcm[9]?6846
 
 BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE
 M:	Nicolas Saenz Julienne <[email protected]>
Signature · 1 line
2.17.1