* [PATCH 0/3] arm: bcmbca: add bcm6846 SoC support
@ 2022-05-25 0:32 William Zhang
2022-05-25 0:32 ` [PATCH 1/3] dt-bindings: arm: add BCM6846 SoC to device tree binding document William Zhang
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: William Zhang @ 2022-05-25 0:32 UTC (permalink / raw)
To: Linux ARM List
Cc: samyon.furman, philippe.reynes, kursad.oney, florian.fainelli,
joel.peshkin, anand.gore, dan.beygelman, tomer.yacoby,
William Zhang, Arnd Bergmann,
Broadcom internal kernel review list, Krzysztof Kozlowski,
Olof Johansson, Rob Herring, devicetree, linux-kernel, soc
[-- Attachment #1: Type: text/plain, Size: 825 bytes --]
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.
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 | 6 +
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, 142 insertions(+), 3 deletions(-)
create mode 100644 arch/arm/boot/dts/bcm6846.dtsi
create mode 100644 arch/arm/boot/dts/bcm96846.dts
--
2.17.1
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4212 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/3] dt-bindings: arm: add BCM6846 SoC to device tree binding document
2022-05-25 0:32 [PATCH 0/3] arm: bcmbca: add bcm6846 SoC support William Zhang
@ 2022-05-25 0:32 ` William Zhang
2022-05-25 11:14 ` Krzysztof Kozlowski
2022-05-25 0:32 ` [PATCH 2/3] ARM: dts: add dts files for bcmbca SoC bcm6846 William Zhang
2022-05-25 0:32 ` [PATCH 3/3] MAINTAINERS: add bcm6846 to bcmbca arch entry William Zhang
2 siblings, 1 reply; 5+ messages in thread
From: William Zhang @ 2022-05-25 0:32 UTC (permalink / raw)
To: Linux ARM List
Cc: samyon.furman, philippe.reynes, kursad.oney, florian.fainelli,
joel.peshkin, anand.gore, dan.beygelman, tomer.yacoby,
William Zhang, Broadcom internal kernel review list,
Krzysztof Kozlowski, Rob Herring, devicetree, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 887 bytes --]
Add BCM6846 SoC device tree description to bcmbca binding document.
Signed-off-by: William Zhang <william.zhang@broadcom.com>
---
Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml b/Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml
index 5fb455840417..93eb30422dd6 100644
--- a/Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml
+++ b/Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml
@@ -27,6 +27,12 @@ properties:
- brcm,bcm947622
- const: brcm,bcm47622
- const: brcm,bcmbca
+ - description: BCM6846 based boards
+ items:
+ - enum:
+ - brcm,bcm96846
+ - const: brcm,bcm6846
+ - const: brcm,bcmbca
additionalProperties: true
--
2.17.1
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4212 bytes --]
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/3] ARM: dts: add dts files for bcmbca SoC bcm6846
2022-05-25 0:32 [PATCH 0/3] arm: bcmbca: add bcm6846 SoC support William Zhang
2022-05-25 0:32 ` [PATCH 1/3] dt-bindings: arm: add BCM6846 SoC to device tree binding document William Zhang
@ 2022-05-25 0:32 ` William Zhang
2022-05-25 0:32 ` [PATCH 3/3] MAINTAINERS: add bcm6846 to bcmbca arch entry William Zhang
2 siblings, 0 replies; 5+ messages in thread
From: William Zhang @ 2022-05-25 0:32 UTC (permalink / raw)
To: Linux ARM List
Cc: samyon.furman, philippe.reynes, kursad.oney, florian.fainelli,
joel.peshkin, anand.gore, dan.beygelman, tomer.yacoby,
William Zhang, Arnd Bergmann,
Broadcom internal kernel review list, Krzysztof Kozlowski,
Olof Johansson, Rob Herring, devicetree, linux-kernel, soc
[-- Attachment #1: Type: text/plain, Size: 4185 bytes --]
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.
Signed-off-by: William Zhang <william.zhang@broadcom.com>
---
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
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index edfbedaa6168..b4143031860b 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -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) += \
diff --git a/arch/arm/boot/dts/bcm6846.dtsi b/arch/arm/boot/dts/bcm6846.dtsi
new file mode 100644
index 000000000000..e610c102498f
--- /dev/null
+++ b/arch/arm/boot/dts/bcm6846.dtsi
@@ -0,0 +1,103 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright 2022 Broadcom Ltd.
+ */
+
+#include <dt-bindings/interrupt-controller/arm-gic.h>
+#include <dt-bindings/interrupt-controller/irq.h>
+
+/ {
+ compatible = "brcm,bcm6846", "brcm,bcmbca";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ interrupt-parent = <&gic>;
+
+ cpus {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ CA7_0: cpu@0 {
+ device_type = "cpu";
+ compatible = "arm,cortex-a7";
+ reg = <0x0>;
+ next-level-cache = <&L2_0>;
+ enable-method = "psci";
+ };
+
+ CA7_1: cpu@1 {
+ device_type = "cpu";
+ compatible = "arm,cortex-a7";
+ reg = <0x1>;
+ next-level-cache = <&L2_0>;
+ enable-method = "psci";
+ };
+
+ L2_0: l2-cache0 {
+ compatible = "cache";
+ };
+ };
+
+ timer {
+ compatible = "arm,armv7-timer";
+ interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
+ <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
+ <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
+ <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
+ arm,cpu-registers-not-fw-configured;
+ };
+
+ pmu: pmu {
+ compatible = "arm,cortex-a7-pmu";
+ interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-affinity = <&CA7_0>, <&CA7_1>;
+ };
+
+ clocks: clocks {
+ periph_clk: periph-clk {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <200000000>;
+ };
+ };
+
+ psci {
+ compatible = "arm,psci-0.2";
+ method = "smc";
+ cpu_off = <1>;
+ cpu_on = <2>;
+ };
+
+ axi@81000000 {
+ compatible = "simple-bus";
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges = <0 0x81000000 0x4000>;
+
+ gic: interrupt-controller@1000 {
+ compatible = "arm,cortex-a7-gic";
+ #interrupt-cells = <3>;
+ #address-cells = <0>;
+ interrupt-controller;
+ reg = <0x1000 0x1000>,
+ <0x2000 0x2000>;
+ };
+ };
+
+ bus@ff800000 {
+ compatible = "simple-bus";
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges = <0 0xff800000 0x800000>;
+
+ uart0: serial@640 {
+ compatible = "brcm,bcm6345-uart";
+ reg = <0x640 0x1b>;
+ interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&periph_clk>;
+ clock-names = "refclk";
+ status = "disabled";
+ };
+ };
+};
diff --git a/arch/arm/boot/dts/bcm96846.dts b/arch/arm/boot/dts/bcm96846.dts
new file mode 100644
index 000000000000..c70ebccabc19
--- /dev/null
+++ b/arch/arm/boot/dts/bcm96846.dts
@@ -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";
+};
--
2.17.1
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4212 bytes --]
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 3/3] MAINTAINERS: add bcm6846 to bcmbca arch entry
2022-05-25 0:32 [PATCH 0/3] arm: bcmbca: add bcm6846 SoC support William Zhang
2022-05-25 0:32 ` [PATCH 1/3] dt-bindings: arm: add BCM6846 SoC to device tree binding document William Zhang
2022-05-25 0:32 ` [PATCH 2/3] ARM: dts: add dts files for bcmbca SoC bcm6846 William Zhang
@ 2022-05-25 0:32 ` William Zhang
2 siblings, 0 replies; 5+ messages in thread
From: William Zhang @ 2022-05-25 0:32 UTC (permalink / raw)
To: Linux ARM List
Cc: samyon.furman, philippe.reynes, kursad.oney, florian.fainelli,
joel.peshkin, anand.gore, dan.beygelman, tomer.yacoby,
William Zhang, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 752 bytes --]
Add bcm6846 related files to BCMBCA ARCH maintainer list entry
Signed-off-by: William Zhang <william.zhang@broadcom.com>
---
MAINTAINERS | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 4fdbbd6c1984..29770e7cf389 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -3774,10 +3774,9 @@ L: linux-arm-kernel@lists.infradead.org (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 <nsaenz@kernel.org>
--
2.17.1
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4212 bytes --]
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 1/3] dt-bindings: arm: add BCM6846 SoC to device tree binding document
2022-05-25 0:32 ` [PATCH 1/3] dt-bindings: arm: add BCM6846 SoC to device tree binding document William Zhang
@ 2022-05-25 11:14 ` Krzysztof Kozlowski
0 siblings, 0 replies; 5+ messages in thread
From: Krzysztof Kozlowski @ 2022-05-25 11:14 UTC (permalink / raw)
To: William Zhang, Linux ARM List
Cc: samyon.furman, philippe.reynes, kursad.oney, florian.fainelli,
joel.peshkin, anand.gore, dan.beygelman, tomer.yacoby,
Broadcom internal kernel review list, Krzysztof Kozlowski,
Rob Herring, devicetree, linux-kernel
On 25/05/2022 02:32, William Zhang wrote:
> Add BCM6846 SoC device tree description to bcmbca binding document.
>
> Signed-off-by: William Zhang <william.zhang@broadcom.com>
> ---
>
> Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml b/Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml
> index 5fb455840417..93eb30422dd6 100644
> --- a/Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml
> +++ b/Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml
> @@ -27,6 +27,12 @@ properties:
> - brcm,bcm947622
> - const: brcm,bcm47622
> - const: brcm,bcmbca
New line here.
With that:
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2022-05-25 11:15 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-25 0:32 [PATCH 0/3] arm: bcmbca: add bcm6846 SoC support William Zhang
2022-05-25 0:32 ` [PATCH 1/3] dt-bindings: arm: add BCM6846 SoC to device tree binding document William Zhang
2022-05-25 11:14 ` Krzysztof Kozlowski
2022-05-25 0:32 ` [PATCH 2/3] ARM: dts: add dts files for bcmbca SoC bcm6846 William Zhang
2022-05-25 0:32 ` [PATCH 3/3] MAINTAINERS: add bcm6846 to bcmbca arch entry William Zhang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).