Skip to contentSkip to conversation

arm: bcmbca: introduce the bcmbca architecture and 47622 SOC

PATCH Applied William Zhang 3 participants 16 messages Apr 13, 2022 – Apr 22, 2022

Subsystems (6)

v2 of 3 Applied Latest is v3 →

lore
Share & tools
lore

William Zhang

author maintainer
#0 lore raw

v2 cover arm: bcmbca: introduce the bcmbca architecture and 47622 SOC

This change introduces Broadcom's ARCH_BCMBCA architecture for armv7 and armv8 based Broadband SoCs. We expect to send additional patches for each SoC in the near future.

The first SoC supported in this arch is Broadcom's ARM A7 based 47622 SOC. The initial support includes a bare-bone dts for quad core ARM A7 with a ARM PL011 uart. Linux kernel image can be built with multi_v7_defconfig.

Changes for V2:
* Update compatible string and node name in the 47622.dtsi
* Change Broadcom internal list from maintainer to reviewer in MAINTAINERS

William Zhang (5):
dt-bindings: arm: add bcmbca device tree binding document
arm: bcmbca: add arch bcmbca machine entry
ARM: dts: add dts files for bcmbca soc 47622
MAINTAINERS: update MAINTAINERS file
ARM: multi_v7_defconfig: enable CONFIG_ARCH_BCMBCA in armv7 defconfig

 .../bindings/arm/bcm/brcm,bcmbca.yaml         |  33 +++++
 MAINTAINERS                                   |  14 ++
 arch/arm/boot/dts/Makefile                    |   2 +
 arch/arm/boot/dts/bcm47622.dtsi               | 126 ++++++++++++++++++
 arch/arm/boot/dts/bcm947622.dts               |  30 +++++
 arch/arm/configs/multi_v7_defconfig           |   1 +
 arch/arm/mach-bcm/Kconfig                     |  12 ++
 7 files changed, 218 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml
 create mode 100644 arch/arm/boot/dts/bcm47622.dtsi
 create mode 100644 arch/arm/boot/dts/bcm947622.dts
Signature · 1 line
2.17.1
author maintainer
#1 lore raw

PATCH v2 1/5 dt-bindings: arm: add bcmbca device tree binding document

Add arch bcmbca device tree binding document for Broadcom ARM based broadband SoC chipsets. In this change, only BCM47622 is added. Other chipsets will be added in the future.

---

 .../bindings/arm/bcm/brcm,bcmbca.yaml         | 33 +++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml
Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml new file +33 -0
new file mode 100644
index 000000000000..5fb455840417
@@ -0,0 +1,33 @@
+# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/arm/bcm/brcm,bcmbca.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Broadcom Broadband SoC device tree bindings
+
+description:
+  Broadcom Broadband SoCs include family of high performance DSL/PON/Wireless
+  chips that can be used as home gateway, router and WLAN AP for residential,
+  enterprise and carrier applications.
+
+maintainers:
+  - William Zhang <[email protected]>
+  - Anand Gore <[email protected]>
+  - Kursad Oney <[email protected]>
+
+properties:
+  $nodename:
+    const: '/'
+  compatible:
+    oneOf:
+      - description: BCM47622 based boards
+        items:
+          - enum:
+              - brcm,bcm947622
+          - const: brcm,bcm47622
+          - const: brcm,bcmbca
+
+additionalProperties: true
+
+...
Signature · 1 line
2.17.1
#2 lore raw

Re: [PATCH v2 1/5] dt-bindings: arm: add bcmbca device tree binding document

Quoted 5 lines · William Zhang

Add arch bcmbca device tree binding document for Broadcom ARM based broadband SoC chipsets. In this change, only BCM47622 is added. Other chipsets will be added in the future.

I gave you here an ack. What happened?

Best regards,
Krzysztof

author maintainer
#3 lore raw

Re: [PATCH v2 1/5] dt-bindings: arm: add bcmbca device tree binding document

Hi Krzysztof,

Yeah I saw your ack. I guess I should put an ack-by in this v2 set? Still new to the upstream process and thanks for your help!

William

Quoted 12 lines · Krzysztof Kozlowski
Quoted 5 lines · William Zhang

Add arch bcmbca device tree binding document for Broadcom ARM based broadband SoC chipsets. In this change, only BCM47622 is added. Other chipsets will be added in the future.

I gave you here an ack. What happened?

Best regards,
Krzysztof

author maintainer
#5 lore raw

Re: [PATCH v2 1/5] dt-bindings: arm: add bcmbca device tree binding document

Quoted 10 lines · Krzysztof Kozlowski
Quoted 4 lines · William Zhang

Hi Krzysztof,

Yeah I saw your ack. I guess I should put an ack-by in this v2 set? Still new to the upstream process and thanks for your help!

Yes, please add all tags before your Signed-off-by part.
https://elixir.bootlin.com/linux/v5.18-rc2/source/Documentation/process/submitting-patches.rst#L541

Will add Acked-by: and Reviewed-by: tag in v3. Thanks!

Quoted 2 lines

Best regards,
Krzysztof

#7 lore raw

Re: [PATCH v2 1/5] dt-bindings: arm: add bcmbca device tree binding document

In reply to William Zhang
Quoted 6 lines · William Zhang

Add arch bcmbca device tree binding document for Broadcom ARM based broadband SoC chipsets. In this change, only BCM47622 is added. Other chipsets will be added in the future.

---

Applied to https://github.com/Broadcom/stblinux/commits/devicetree/next, thanks! --
Florian

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

author maintainer
#8 lore raw

PATCH v2 2/5 arm: bcmbca: add arch bcmbca machine entry

In reply to William Zhang

Update mach-bcm Kconfig to add ARCH_BCMBCA config and select the required configs for Broadcom Broadband SoC chipsets

---

 arch/arm/mach-bcm/Kconfig | 12 ++++++++++++
 1 file changed, 12 insertions(+)
arch/arm/mach-bcm/Kconfig +12 -0
index 8db655c3e321..f73a056bf560 100644
@@ -218,4 +218,16 @@ config ARCH_BRCMSTB
 	  This enables support for Broadcom ARM-based set-top box chipsets,
 	  including the 7445 family of chips.
 
+config ARCH_BCMBCA
+	bool "Broadcom Broadband SoC"
+	depends on ARCH_MULTI_V7
+	select ARM_AMBA
+	select ARM_GIC
+	select HAVE_ARM_ARCH_TIMER
+	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.
 endif
Signature · 1 line
2.17.1
#9 lore raw

Re: [PATCH v2 2/5] arm: bcmbca: add arch bcmbca machine entry

Quoted 5 lines · William Zhang

Update mach-bcm Kconfig to add ARCH_BCMBCA config and select the required configs for Broadcom Broadband SoC chipsets

---

Applied to https://github.com/Broadcom/stblinux/commits/soc/next, thanks! --
Florian

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

author maintainer
#10 lore raw

PATCH v2 3/5 ARM: dts: add dts files for bcmbca soc 47622

In reply to William Zhang

Add dts for ARMv7 based broadband SoC BCM47622. bcm47622.dtsi is the SoC description dts header and bcm947622.dts is a simple dts file for Broadcom BCM947622 Reference board that only enable the UART port.

---

Changes for V2:
* Update compatible string and node name in bcm47622.dtsi

 arch/arm/boot/dts/Makefile      |   2 +
 arch/arm/boot/dts/bcm47622.dtsi | 126 ++++++++++++++++++++++++++++++++
 arch/arm/boot/dts/bcm947622.dts |  30 ++++++++
 3 files changed, 158 insertions(+)
 create mode 100644 arch/arm/boot/dts/bcm47622.dtsi
 create mode 100644 arch/arm/boot/dts/bcm947622.dts
arch/arm/boot/dts/Makefile +2 -0
index 7c16f8a2b738..ff0054d55590 100644
@@ -179,6 +179,8 @@ dtb-$(CONFIG_ARCH_BERLIN) += \
 	berlin2q-marvell-dmp.dtb
 dtb-$(CONFIG_ARCH_BRCMSTB) += \
 	bcm7445-bcm97445svmb.dtb
+dtb-$(CONFIG_ARCH_BCMBCA) += \
+	bcm947622.dtb
 dtb-$(CONFIG_ARCH_CLPS711X) += \
 	ep7211-edb7211.dtb
 dtb-$(CONFIG_ARCH_DAVINCI) += \
arch/arm/boot/dts/bcm47622.dtsi new file +126 -0

126 lines not on this page · raw message

arch/arm/boot/dts/bcm947622.dts new file +30 -0
new file mode 100644
index 000000000000..6f083724ab8e
@@ -0,0 +1,30 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright 2019 Broadcom Ltd.
+ */
+
+/dts-v1/;
+
+#include "bcm47622.dtsi"
+
+/ {
+	model = "Broadcom BCM947622 Reference Board";
+	compatible = "brcm,bcm947622", "brcm,bcm47622", "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
#11 lore raw

Re: [PATCH v2 3/5] ARM: dts: add dts files for bcmbca soc 47622

Quoted 6 lines · William Zhang

Add dts for ARMv7 based broadband SoC BCM47622. bcm47622.dtsi is the SoC description dts header and bcm947622.dts is a simple dts file for Broadcom BCM947622 Reference board that only enable the UART port.

---

Applied to https://github.com/Broadcom/stblinux/commits/devicetree/next, thanks! --
Florian

author maintainer
#12 lore raw

PATCH v2 4/5 MAINTAINERS: update MAINTAINERS file

In reply to William Zhang

Add maintainers, SCM tree, files and directories for the new BCMBCA arch. Only add 47622 for this change and will update in the future when more SoCs are supported.

---

Changes for V2:
* Change Broadcom internal list from maintainer to reviewer

 MAINTAINERS | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
MAINTAINERS +14 -0
index 61d9f114c37f..382436f23c72 100644
@@ -3740,6 +3740,20 @@ F:	drivers/net/dsa/bcm_sf2*
 F:	include/linux/dsa/brcm.h
 F:	include/linux/platform_data/b53.h
 
+BROADCOM BCMBCA ARM ARCHITECTURE
+M:	William Zhang <[email protected]>
+M:	Anand Gore <[email protected]>
+M:	Kursad Oney <[email protected]>
+R:	Broadcom Kernel Team <[email protected]>
+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
+
 BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE
 M:	Nicolas Saenz Julienne <[email protected]>
 L:	[email protected]
Signature · 1 line
2.17.1
#13 lore raw

Re: [PATCH v2 4/5] MAINTAINERS: update MAINTAINERS file

Quoted 6 lines · William Zhang

Add maintainers, SCM tree, files and directories for the new BCMBCA arch. Only add 47622 for this change and will update in the future when more SoCs are supported.

---

Applied to https://github.com/Broadcom/stblinux/commits/maintainers/next, thanks!

Signature · 6 lines
Florian

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
author maintainer
#14 lore raw

PATCH v2 5/5 ARM: multi_v7_defconfig: enable CONFIG_ARCH_BCMBCA in armv7 defconfig

In reply to William Zhang

Enable CONFIG_ARCH_BCMBCA in multi_v7_defconfig. This config can be used to build a basic kernel for BCM47622 booting to console.

---

 arch/arm/configs/multi_v7_defconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm/configs/multi_v7_defconfig +1 -0
index 6e0c8c19b35c..8d333560bbca 100644
@@ -29,6 +29,7 @@ CONFIG_ARCH_BCM2835=y
 CONFIG_ARCH_BCM_53573=y
 CONFIG_ARCH_BCM_63XX=y
 CONFIG_ARCH_BRCMSTB=y
+CONFIG_ARCH_BCMBCA=y
 CONFIG_ARCH_BERLIN=y
 CONFIG_MACH_BERLIN_BG2=y
 CONFIG_MACH_BERLIN_BG2CD=y
Signature · 1 line
2.17.1
#15 lore raw

Re: [PATCH v2 5/5] ARM: multi_v7_defconfig: enable CONFIG_ARCH_BCMBCA in armv7 defconfig

Quoted 6 lines · William Zhang

Enable CONFIG_ARCH_BCMBCA in multi_v7_defconfig. This config can be used to build a basic kernel for BCM47622 booting to console.

---

Applied to https://github.com/Broadcom/stblinux/commits/defconfig/next, thanks! --
Florian

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel