* [PATCH v3 0/9] arm64: bcmbca: Move BCM4908 SoC support under ARCH_BCMBCA
@ 2022-08-03 17:54 William Zhang
2022-08-03 17:54 ` [PATCH v3 1/9] dt-bindings: arm64: bcmbca: Merge BCM4908 into BCMBCA William Zhang
` (4 more replies)
0 siblings, 5 replies; 11+ messages in thread
From: William Zhang @ 2022-08-03 17:54 UTC (permalink / raw)
To: Linux ARM List
Cc: Broadcom Kernel List, joel.peshkin, dan.beygelman, f.fainelli,
krzysztof.kozlowski, rafal, William Zhang, Rob Herring,
Krzysztof Kozlowski,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
open list, Philipp Zabel, open list:I2C SUBSYSTEM HOST DRIVERS,
open list:MEMORY TECHNOLOGY DEVICES (MTD),
open list:NETWORKING DRIVERS,
open list:PCI NATIVE HOST BRIDGE AND ENDPOINT DRIVERS,
open list:GENERIC PHY FRAMEWORK, open list:PIN CONTROL SUBSYSTEM,
open list:BROADCOM BMIPS MIPS ARCHITECTURE,
open list:SERIAL DRIVERS, open list:WATCHDOG DEVICE DRIVERS,
Catalin Marinas, Will Deacon
[-- Attachment #1: Type: text/plain, Size: 3276 bytes --]
BCM4908 is one of the Broadcom Broadband origin WLAN Router/Access
Pointer SoCs. It was originally added by Rafał before Broadcom started
to upstream the support for broadband SoCs. All other ARM based Broadcom
Broadband SoCs are now supported under arch ARCH_BCMBCA. This patch
series migrate the BCM4908 support to ARCH_BCMBCA.
Changes in v3:
- Add Reviewed-by tag
- Add Acked-by tags
- Remove the dts break warning from commit message
Changes in v2:
- Add Acked-by tag
- Improve commit message with more details
- Insert the 4908 generic compatible string in alphabetical order
William Zhang (9):
dt-bindings: arm64: bcmbca: Merge BCM4908 into BCMBCA
dt-bindings: arm64: bcmbca: Update BCM4908 description
arm64: dts: bcmbca: update BCM4908 board dts files
arm64: dts: Move BCM4908 dts to bcmbca folder
arm64: dts: Add BCM4908 generic board dts
arm64: bcmbca: Make BCM4908 drivers depend on ARCH_BCMBCA
arm64: bcmbca: Merge ARCH_BCM4908 to ARCH_BCMBCA
MAINTAINERS: Add BCM4908 maintainer to BCMBCA entry
arm64: defconfig: remove BCM4908
.../bindings/arm/bcm/brcm,bcm4908.yaml | 42 -------------------
.../bindings/arm/bcm/brcm,bcmbca.yaml | 25 +++++++++++
MAINTAINERS | 1 +
arch/arm64/Kconfig.platforms | 10 +----
arch/arm64/boot/dts/broadcom/Makefile | 1 -
arch/arm64/boot/dts/broadcom/bcm4908/Makefile | 5 ---
arch/arm64/boot/dts/broadcom/bcmbca/Makefile | 5 +++
.../bcm4906-netgear-r8000p.dts | 2 +-
.../bcm4906-tplink-archer-c2300-v1.dts | 2 +-
.../broadcom/{bcm4908 => bcmbca}/bcm4906.dtsi | 0
.../bcm4908-asus-gt-ac5300.dts | 2 +-
.../bcm4908-netgear-raxe500.dts | 2 +-
.../broadcom/{bcm4908 => bcmbca}/bcm4908.dtsi | 0
.../boot/dts/broadcom/bcmbca/bcm94908.dts | 30 +++++++++++++
arch/arm64/configs/defconfig | 1 -
drivers/i2c/busses/Kconfig | 4 +-
drivers/mtd/parsers/Kconfig | 6 +--
drivers/net/ethernet/broadcom/Kconfig | 4 +-
drivers/pci/controller/Kconfig | 2 +-
drivers/phy/broadcom/Kconfig | 4 +-
drivers/pinctrl/bcm/Kconfig | 4 +-
drivers/reset/Kconfig | 2 +-
drivers/soc/bcm/bcm63xx/Kconfig | 4 +-
drivers/tty/serial/Kconfig | 4 +-
drivers/watchdog/Kconfig | 2 +-
25 files changed, 84 insertions(+), 80 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,bcm4908.yaml
delete mode 100644 arch/arm64/boot/dts/broadcom/bcm4908/Makefile
rename arch/arm64/boot/dts/broadcom/{bcm4908 => bcmbca}/bcm4906-netgear-r8000p.dts (96%)
rename arch/arm64/boot/dts/broadcom/{bcm4908 => bcmbca}/bcm4906-tplink-archer-c2300-v1.dts (99%)
rename arch/arm64/boot/dts/broadcom/{bcm4908 => bcmbca}/bcm4906.dtsi (100%)
rename arch/arm64/boot/dts/broadcom/{bcm4908 => bcmbca}/bcm4908-asus-gt-ac5300.dts (97%)
rename arch/arm64/boot/dts/broadcom/{bcm4908 => bcmbca}/bcm4908-netgear-raxe500.dts (89%)
rename arch/arm64/boot/dts/broadcom/{bcm4908 => bcmbca}/bcm4908.dtsi (100%)
create mode 100644 arch/arm64/boot/dts/broadcom/bcmbca/bcm94908.dts
--
2.34.1
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4212 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH v3 1/9] dt-bindings: arm64: bcmbca: Merge BCM4908 into BCMBCA
2022-08-03 17:54 [PATCH v3 0/9] arm64: bcmbca: Move BCM4908 SoC support under ARCH_BCMBCA William Zhang
@ 2022-08-03 17:54 ` William Zhang
2022-08-15 16:58 ` Florian Fainelli
2022-08-03 17:54 ` [PATCH v3 2/9] dt-bindings: arm64: bcmbca: Update BCM4908 description William Zhang
` (3 subsequent siblings)
4 siblings, 1 reply; 11+ messages in thread
From: William Zhang @ 2022-08-03 17:54 UTC (permalink / raw)
To: Linux ARM List
Cc: Broadcom Kernel List, joel.peshkin, dan.beygelman, f.fainelli,
krzysztof.kozlowski, rafal, William Zhang, Rob Herring,
Anand Gore, Krzysztof Kozlowski, Kursad Oney, Rob Herring,
devicetree, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 3422 bytes --]
BCM4908 is one of the Broadcom Broadband origin WLAN Router/Access
Pointer SoCs. It was originally added by Rafał before Broadcom
started to upstream the support for broadband SoCs. Now that Broadcom
Broadband SoC is supported under arch ARCH_BCMBCA, this patch moves
BCM4908 SoC device tree descriptions into BCMBCA binding.
Signed-off-by: William Zhang <william.zhang@broadcom.com>
Acked-by: Rafał Miłecki <rafal@milecki.pl>
Reviewed-by: Rob Herring <robh@kernel.org>
---
Changes in v3:
- Add Reviewed-by tag
Changes in v2:
- Add Acked-by tag
- Improve commit message with more details
.../bindings/arm/bcm/brcm,bcm4908.yaml | 42 -------------------
.../bindings/arm/bcm/brcm,bcmbca.yaml | 21 ++++++++++
2 files changed, 21 insertions(+), 42 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,bcm4908.yaml
diff --git a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4908.yaml b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4908.yaml
deleted file mode 100644
index 9b745531ff04..000000000000
--- a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4908.yaml
+++ /dev/null
@@ -1,42 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
-%YAML 1.2
----
-$id: http://devicetree.org/schemas/arm/bcm/brcm,bcm4908.yaml#
-$schema: http://devicetree.org/meta-schemas/core.yaml#
-
-title: Broadcom BCM4908 device tree bindings
-
-description:
- Broadcom BCM4906 / BCM4908 / BCM49408 Wi-Fi/network SoCs with Brahma CPUs.
-
-maintainers:
- - Rafał Miłecki <rafal@milecki.pl>
-
-properties:
- $nodename:
- const: '/'
- compatible:
- oneOf:
- - description: BCM4906 based boards
- items:
- - enum:
- - netgear,r8000p
- - tplink,archer-c2300-v1
- - const: brcm,bcm4906
- - const: brcm,bcm4908
-
- - description: BCM4908 based boards
- items:
- - enum:
- - asus,gt-ac5300
- - netgear,raxe500
- - const: brcm,bcm4908
-
- - description: BCM49408 based boards
- items:
- - const: brcm,bcm49408
- - const: brcm,bcm4908
-
-additionalProperties: true
-
-...
diff --git a/Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml b/Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml
index 324e59104360..6a64afa95918 100644
--- a/Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml
+++ b/Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml
@@ -15,6 +15,7 @@ maintainers:
- William Zhang <william.zhang@broadcom.com>
- Anand Gore <anand.gore@broadcom.com>
- Kursad Oney <kursad.oney@broadcom.com>
+ - Rafał Miłecki <rafal@milecki.pl>
properties:
$nodename:
@@ -28,6 +29,26 @@ properties:
- const: brcm,bcm47622
- const: brcm,bcmbca
+ - description: BCM4906 based boards
+ items:
+ - enum:
+ - netgear,r8000p
+ - tplink,archer-c2300-v1
+ - const: brcm,bcm4906
+ - const: brcm,bcm4908
+
+ - description: BCM4908 based boards
+ items:
+ - enum:
+ - asus,gt-ac5300
+ - netgear,raxe500
+ - const: brcm,bcm4908
+
+ - description: BCM49408 based boards
+ items:
+ - const: brcm,bcm49408
+ - const: brcm,bcm4908
+
- description: BCM4912 based boards
items:
- enum:
--
2.34.1
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4212 bytes --]
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH v3 2/9] dt-bindings: arm64: bcmbca: Update BCM4908 description
2022-08-03 17:54 [PATCH v3 0/9] arm64: bcmbca: Move BCM4908 SoC support under ARCH_BCMBCA William Zhang
2022-08-03 17:54 ` [PATCH v3 1/9] dt-bindings: arm64: bcmbca: Merge BCM4908 into BCMBCA William Zhang
@ 2022-08-03 17:54 ` William Zhang
2022-08-15 16:49 ` Florian Fainelli
2022-08-03 17:54 ` [PATCH v3 3/9] arm64: dts: bcmbca: update BCM4908 board dts files William Zhang
` (2 subsequent siblings)
4 siblings, 1 reply; 11+ messages in thread
From: William Zhang @ 2022-08-03 17:54 UTC (permalink / raw)
To: Linux ARM List
Cc: Broadcom Kernel List, joel.peshkin, dan.beygelman, f.fainelli,
krzysztof.kozlowski, rafal, William Zhang, Rob Herring,
Anand Gore, Krzysztof Kozlowski, Kursad Oney, Rob Herring,
devicetree, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1725 bytes --]
Append "brcm,bcmbca" to BCM4908 chip family compatible strings to
follow the convention of BCMBCA chip and help identifying chip family.
Also add a bare bone generic 4908 board compatbile string to support any
4908 based board. This is useful for board bring-up test and kernel test
with CPU and memory related change.
Signed-off-by: William Zhang <william.zhang@broadcom.com>
Acked-by: Rafał Miłecki <rafal@milecki.pl>
Acked-by: Rob Herring <robh@kernel.org>
---
Changes in v3:
- Add Acked-by tag
Changes in v2:
- Add Acked-by tag
- Insert the 4908 generic compatible string in alphabetical order
- Update commit message with more details of 4908 generic board dts
Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml b/Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml
index 6a64afa95918..84866e29cab0 100644
--- a/Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml
+++ b/Documentation/devicetree/bindings/arm/bcm/brcm,bcmbca.yaml
@@ -36,18 +36,22 @@ properties:
- tplink,archer-c2300-v1
- const: brcm,bcm4906
- const: brcm,bcm4908
+ - const: brcm,bcmbca
- description: BCM4908 based boards
items:
- enum:
- asus,gt-ac5300
+ - brcm,bcm94908
- netgear,raxe500
- const: brcm,bcm4908
+ - const: brcm,bcmbca
- description: BCM49408 based boards
items:
- const: brcm,bcm49408
- const: brcm,bcm4908
+ - const: brcm,bcmbca
- description: BCM4912 based boards
items:
--
2.34.1
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4212 bytes --]
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH v3 3/9] arm64: dts: bcmbca: update BCM4908 board dts files
2022-08-03 17:54 [PATCH v3 0/9] arm64: bcmbca: Move BCM4908 SoC support under ARCH_BCMBCA William Zhang
2022-08-03 17:54 ` [PATCH v3 1/9] dt-bindings: arm64: bcmbca: Merge BCM4908 into BCMBCA William Zhang
2022-08-03 17:54 ` [PATCH v3 2/9] dt-bindings: arm64: bcmbca: Update BCM4908 description William Zhang
@ 2022-08-03 17:54 ` William Zhang
2022-08-15 16:50 ` Florian Fainelli
2022-08-03 17:54 ` [PATCH v3 4/9] arm64: dts: Move BCM4908 dts to bcmbca folder William Zhang
2022-08-03 17:54 ` [PATCH v3 5/9] arm64: dts: Add BCM4908 generic board dts William Zhang
4 siblings, 1 reply; 11+ messages in thread
From: William Zhang @ 2022-08-03 17:54 UTC (permalink / raw)
To: Linux ARM List
Cc: Broadcom Kernel List, joel.peshkin, dan.beygelman, f.fainelli,
krzysztof.kozlowski, rafal, William Zhang, Krzysztof Kozlowski,
Rob Herring, devicetree, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 2912 bytes --]
Append "brcm,bcmbca" to compatible strings based on the new bcmbca
binding rule for BCM4908 family based boards.
Signed-off-by: William Zhang <william.zhang@broadcom.com>
Acked-by: Rafał Miłecki <rafal@milecki.pl>
---
Changes in v3:
- Remove the dts break warning from commit message
Changes in v2:
- Add Acked-by tag
arch/arm64/boot/dts/broadcom/bcm4908/bcm4906-netgear-r8000p.dts | 2 +-
.../dts/broadcom/bcm4908/bcm4906-tplink-archer-c2300-v1.dts | 2 +-
arch/arm64/boot/dts/broadcom/bcm4908/bcm4908-asus-gt-ac5300.dts | 2 +-
.../arm64/boot/dts/broadcom/bcm4908/bcm4908-netgear-raxe500.dts | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4906-netgear-r8000p.dts b/arch/arm64/boot/dts/broadcom/bcm4908/bcm4906-netgear-r8000p.dts
index 2dd028438c22..d8b60575eb4f 100644
--- a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4906-netgear-r8000p.dts
+++ b/arch/arm64/boot/dts/broadcom/bcm4908/bcm4906-netgear-r8000p.dts
@@ -7,7 +7,7 @@
#include "bcm4906.dtsi"
/ {
- compatible = "netgear,r8000p", "brcm,bcm4906", "brcm,bcm4908";
+ compatible = "netgear,r8000p", "brcm,bcm4906", "brcm,bcm4908", "brcm,bcmbca";
model = "Netgear R8000P";
memory@0 {
diff --git a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4906-tplink-archer-c2300-v1.dts b/arch/arm64/boot/dts/broadcom/bcm4908/bcm4906-tplink-archer-c2300-v1.dts
index 064f7f549665..296393d4aaab 100644
--- a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4906-tplink-archer-c2300-v1.dts
+++ b/arch/arm64/boot/dts/broadcom/bcm4908/bcm4906-tplink-archer-c2300-v1.dts
@@ -7,7 +7,7 @@
#include "bcm4906.dtsi"
/ {
- compatible = "tplink,archer-c2300-v1", "brcm,bcm4906", "brcm,bcm4908";
+ compatible = "tplink,archer-c2300-v1", "brcm,bcm4906", "brcm,bcm4908", "brcm,bcmbca";
model = "TP-Link Archer C2300 V1";
memory@0 {
diff --git a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908-asus-gt-ac5300.dts b/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908-asus-gt-ac5300.dts
index 04f8524b5335..787c7ddf9102 100644
--- a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908-asus-gt-ac5300.dts
+++ b/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908-asus-gt-ac5300.dts
@@ -6,7 +6,7 @@
#include "bcm4908.dtsi"
/ {
- compatible = "asus,gt-ac5300", "brcm,bcm4908";
+ compatible = "asus,gt-ac5300", "brcm,bcm4908", "brcm,bcmbca";
model = "Asus GT-AC5300";
memory@0 {
diff --git a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908-netgear-raxe500.dts b/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908-netgear-raxe500.dts
index 3c2cf2d238b6..23b96c663239 100644
--- a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908-netgear-raxe500.dts
+++ b/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908-netgear-raxe500.dts
@@ -3,7 +3,7 @@
#include "bcm4908.dtsi"
/ {
- compatible = "netgear,raxe500", "brcm,bcm4908";
+ compatible = "netgear,raxe500", "brcm,bcm4908", "brcm,bcmbca";
model = "Netgear RAXE500";
memory@0 {
--
2.34.1
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4212 bytes --]
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH v3 4/9] arm64: dts: Move BCM4908 dts to bcmbca folder
2022-08-03 17:54 [PATCH v3 0/9] arm64: bcmbca: Move BCM4908 SoC support under ARCH_BCMBCA William Zhang
` (2 preceding siblings ...)
2022-08-03 17:54 ` [PATCH v3 3/9] arm64: dts: bcmbca: update BCM4908 board dts files William Zhang
@ 2022-08-03 17:54 ` William Zhang
2022-08-15 16:51 ` Florian Fainelli
2022-08-03 17:54 ` [PATCH v3 5/9] arm64: dts: Add BCM4908 generic board dts William Zhang
4 siblings, 1 reply; 11+ messages in thread
From: William Zhang @ 2022-08-03 17:54 UTC (permalink / raw)
To: Linux ARM List
Cc: Broadcom Kernel List, joel.peshkin, dan.beygelman, f.fainelli,
krzysztof.kozlowski, rafal, William Zhang, Anand Gore,
Krzysztof Kozlowski, Kursad Oney, Nicolas Saenz Julienne,
Rob Herring, Stefan Wahren, devicetree, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 4879 bytes --]
As part of ARCH_BCM4908 to ARCH_BCMBCA migration, move the BCM4908 dts
files to bcmbca folder and use CONFIG_ARCH_BCMBCA to build all the
BCM4908 board dts. Delete bcm4908 folder and its makefile as well.
Signed-off-by: William Zhang <william.zhang@broadcom.com>
---
(no changes since v1)
arch/arm64/boot/dts/broadcom/Makefile | 1 -
arch/arm64/boot/dts/broadcom/bcm4908/Makefile | 5 -----
arch/arm64/boot/dts/broadcom/bcmbca/Makefile | 4 ++++
.../broadcom/{bcm4908 => bcmbca}/bcm4906-netgear-r8000p.dts | 0
.../{bcm4908 => bcmbca}/bcm4906-tplink-archer-c2300-v1.dts | 0
.../arm64/boot/dts/broadcom/{bcm4908 => bcmbca}/bcm4906.dtsi | 0
.../broadcom/{bcm4908 => bcmbca}/bcm4908-asus-gt-ac5300.dts | 0
.../broadcom/{bcm4908 => bcmbca}/bcm4908-netgear-raxe500.dts | 0
.../arm64/boot/dts/broadcom/{bcm4908 => bcmbca}/bcm4908.dtsi | 0
9 files changed, 4 insertions(+), 6 deletions(-)
delete mode 100644 arch/arm64/boot/dts/broadcom/bcm4908/Makefile
rename arch/arm64/boot/dts/broadcom/{bcm4908 => bcmbca}/bcm4906-netgear-r8000p.dts (100%)
rename arch/arm64/boot/dts/broadcom/{bcm4908 => bcmbca}/bcm4906-tplink-archer-c2300-v1.dts (100%)
rename arch/arm64/boot/dts/broadcom/{bcm4908 => bcmbca}/bcm4906.dtsi (100%)
rename arch/arm64/boot/dts/broadcom/{bcm4908 => bcmbca}/bcm4908-asus-gt-ac5300.dts (100%)
rename arch/arm64/boot/dts/broadcom/{bcm4908 => bcmbca}/bcm4908-netgear-raxe500.dts (100%)
rename arch/arm64/boot/dts/broadcom/{bcm4908 => bcmbca}/bcm4908.dtsi (100%)
diff --git a/arch/arm64/boot/dts/broadcom/Makefile b/arch/arm64/boot/dts/broadcom/Makefile
index e8584d3b698f..05d8c5ecf3b0 100644
--- a/arch/arm64/boot/dts/broadcom/Makefile
+++ b/arch/arm64/boot/dts/broadcom/Makefile
@@ -8,7 +8,6 @@ dtb-$(CONFIG_ARCH_BCM2835) += bcm2711-rpi-400.dtb \
bcm2837-rpi-cm3-io3.dtb \
bcm2837-rpi-zero-2-w.dtb
-subdir-y += bcm4908
subdir-y += bcmbca
subdir-y += northstar2
subdir-y += stingray
diff --git a/arch/arm64/boot/dts/broadcom/bcm4908/Makefile b/arch/arm64/boot/dts/broadcom/bcm4908/Makefile
deleted file mode 100644
index 6e364e304d4f..000000000000
--- a/arch/arm64/boot/dts/broadcom/bcm4908/Makefile
+++ /dev/null
@@ -1,5 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0
-dtb-$(CONFIG_ARCH_BCM4908) += bcm4906-netgear-r8000p.dtb
-dtb-$(CONFIG_ARCH_BCM4908) += bcm4906-tplink-archer-c2300-v1.dtb
-dtb-$(CONFIG_ARCH_BCM4908) += bcm4908-asus-gt-ac5300.dtb
-dtb-$(CONFIG_ARCH_BCM4908) += bcm4908-netgear-raxe500.dtb
diff --git a/arch/arm64/boot/dts/broadcom/bcmbca/Makefile b/arch/arm64/boot/dts/broadcom/bcmbca/Makefile
index 38f14307184b..d30fa75f0611 100644
--- a/arch/arm64/boot/dts/broadcom/bcmbca/Makefile
+++ b/arch/arm64/boot/dts/broadcom/bcmbca/Makefile
@@ -1,5 +1,9 @@
# SPDX-License-Identifier: GPL-2.0
dtb-$(CONFIG_ARCH_BCMBCA) += \
+ bcm4906-netgear-r8000p.dtb \
+ bcm4906-tplink-archer-c2300-v1.dtb \
+ bcm4908-asus-gt-ac5300.dtb \
+ bcm4908-netgear-raxe500.dtb \
bcm4912-asus-gt-ax6000.dtb \
bcm94912.dtb \
bcm963158.dtb \
diff --git a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4906-netgear-r8000p.dts b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4906-netgear-r8000p.dts
similarity index 100%
rename from arch/arm64/boot/dts/broadcom/bcm4908/bcm4906-netgear-r8000p.dts
rename to arch/arm64/boot/dts/broadcom/bcmbca/bcm4906-netgear-r8000p.dts
diff --git a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4906-tplink-archer-c2300-v1.dts b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4906-tplink-archer-c2300-v1.dts
similarity index 100%
rename from arch/arm64/boot/dts/broadcom/bcm4908/bcm4906-tplink-archer-c2300-v1.dts
rename to arch/arm64/boot/dts/broadcom/bcmbca/bcm4906-tplink-archer-c2300-v1.dts
diff --git a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4906.dtsi b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4906.dtsi
similarity index 100%
rename from arch/arm64/boot/dts/broadcom/bcm4908/bcm4906.dtsi
rename to arch/arm64/boot/dts/broadcom/bcmbca/bcm4906.dtsi
diff --git a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908-asus-gt-ac5300.dts b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4908-asus-gt-ac5300.dts
similarity index 100%
rename from arch/arm64/boot/dts/broadcom/bcm4908/bcm4908-asus-gt-ac5300.dts
rename to arch/arm64/boot/dts/broadcom/bcmbca/bcm4908-asus-gt-ac5300.dts
diff --git a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908-netgear-raxe500.dts b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4908-netgear-raxe500.dts
similarity index 100%
rename from arch/arm64/boot/dts/broadcom/bcm4908/bcm4908-netgear-raxe500.dts
rename to arch/arm64/boot/dts/broadcom/bcmbca/bcm4908-netgear-raxe500.dts
diff --git a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4908.dtsi
similarity index 100%
rename from arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi
rename to arch/arm64/boot/dts/broadcom/bcmbca/bcm4908.dtsi
--
2.34.1
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4212 bytes --]
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH v3 5/9] arm64: dts: Add BCM4908 generic board dts
2022-08-03 17:54 [PATCH v3 0/9] arm64: bcmbca: Move BCM4908 SoC support under ARCH_BCMBCA William Zhang
` (3 preceding siblings ...)
2022-08-03 17:54 ` [PATCH v3 4/9] arm64: dts: Move BCM4908 dts to bcmbca folder William Zhang
@ 2022-08-03 17:54 ` William Zhang
2022-08-15 16:51 ` Florian Fainelli
4 siblings, 1 reply; 11+ messages in thread
From: William Zhang @ 2022-08-03 17:54 UTC (permalink / raw)
To: Linux ARM List
Cc: Broadcom Kernel List, joel.peshkin, dan.beygelman, f.fainelli,
krzysztof.kozlowski, rafal, William Zhang, Anand Gore,
Krzysztof Kozlowski, Kursad Oney, Rob Herring, devicetree,
linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1829 bytes --]
Add generic bare bone bcm94908.dts file to support any 4908 based
design. It supports cpu subsystem, memory and an uart console. This can
be useful for board bring-up and cpu subsystem and memory related kernel
test as well.
Signed-off-by: William Zhang <william.zhang@broadcom.com>
---
(no changes since v2)
Changes in v2:
- Update commit message with more details
arch/arm64/boot/dts/broadcom/bcmbca/Makefile | 1 +
.../boot/dts/broadcom/bcmbca/bcm94908.dts | 30 +++++++++++++++++++
2 files changed, 31 insertions(+)
create mode 100644 arch/arm64/boot/dts/broadcom/bcmbca/bcm94908.dts
diff --git a/arch/arm64/boot/dts/broadcom/bcmbca/Makefile b/arch/arm64/boot/dts/broadcom/bcmbca/Makefile
index d30fa75f0611..27741b71ba9e 100644
--- a/arch/arm64/boot/dts/broadcom/bcmbca/Makefile
+++ b/arch/arm64/boot/dts/broadcom/bcmbca/Makefile
@@ -4,6 +4,7 @@ dtb-$(CONFIG_ARCH_BCMBCA) += \
bcm4906-tplink-archer-c2300-v1.dtb \
bcm4908-asus-gt-ac5300.dtb \
bcm4908-netgear-raxe500.dtb \
+ bcm94908.dtb \
bcm4912-asus-gt-ax6000.dtb \
bcm94912.dtb \
bcm963158.dtb \
diff --git a/arch/arm64/boot/dts/broadcom/bcmbca/bcm94908.dts b/arch/arm64/boot/dts/broadcom/bcmbca/bcm94908.dts
new file mode 100644
index 000000000000..fcbd3c430ace
--- /dev/null
+++ b/arch/arm64/boot/dts/broadcom/bcmbca/bcm94908.dts
@@ -0,0 +1,30 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright 2022 Broadcom Ltd.
+ */
+
+/dts-v1/;
+
+#include "bcm4908.dtsi"
+
+/ {
+ model = "Broadcom BCM94908 Reference Board";
+ compatible = "brcm,bcm94908", "brcm,bcm4908", "brcm,bcmbca";
+
+ aliases {
+ serial0 = &uart0;
+ };
+
+ chosen {
+ stdout-path = "serial0:115200n8";
+ };
+
+ memory@0 {
+ device_type = "memory";
+ reg = <0x0 0x0 0x0 0x08000000>;
+ };
+};
+
+&uart0 {
+ status = "okay";
+};
--
2.34.1
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4212 bytes --]
^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [PATCH v3 2/9] dt-bindings: arm64: bcmbca: Update BCM4908 description
2022-08-03 17:54 ` [PATCH v3 2/9] dt-bindings: arm64: bcmbca: Update BCM4908 description William Zhang
@ 2022-08-15 16:49 ` Florian Fainelli
0 siblings, 0 replies; 11+ messages in thread
From: Florian Fainelli @ 2022-08-15 16:49 UTC (permalink / raw)
To: bcm-kernel-feedback-list, William Zhang, Linux ARM List
Cc: joel.peshkin, dan.beygelman, krzysztof.kozlowski, rafal,
Rob Herring, Anand Gore, Krzysztof Kozlowski, Kursad Oney,
Rob Herring, devicetree, linux-kernel
On Wed, 3 Aug 2022 10:54:48 -0700, William Zhang <william.zhang@broadcom.com> wrote:
> Append "brcm,bcmbca" to BCM4908 chip family compatible strings to
> follow the convention of BCMBCA chip and help identifying chip family.
>
> Also add a bare bone generic 4908 board compatbile string to support any
> 4908 based board. This is useful for board bring-up test and kernel test
> with CPU and memory related change.
>
> Signed-off-by: William Zhang <william.zhang@broadcom.com>
> Acked-by: Rafał Miłecki <rafal@milecki.pl>
> Acked-by: Rob Herring <robh@kernel.org>
>
> ---
Applied to https://github.com/Broadcom/stblinux/commits/devicetree/next, thanks!
--
Florian
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH v3 3/9] arm64: dts: bcmbca: update BCM4908 board dts files
2022-08-03 17:54 ` [PATCH v3 3/9] arm64: dts: bcmbca: update BCM4908 board dts files William Zhang
@ 2022-08-15 16:50 ` Florian Fainelli
0 siblings, 0 replies; 11+ messages in thread
From: Florian Fainelli @ 2022-08-15 16:50 UTC (permalink / raw)
To: bcm-kernel-feedback-list, William Zhang, Linux ARM List
Cc: joel.peshkin, dan.beygelman, krzysztof.kozlowski, rafal,
Krzysztof Kozlowski, Rob Herring, devicetree, linux-kernel
On Wed, 3 Aug 2022 10:54:49 -0700, William Zhang <william.zhang@broadcom.com> wrote:
> Append "brcm,bcmbca" to compatible strings based on the new bcmbca
> binding rule for BCM4908 family based boards.
>
> Signed-off-by: William Zhang <william.zhang@broadcom.com>
> Acked-by: Rafał Miłecki <rafal@milecki.pl>
>
> ---
Applied to https://github.com/Broadcom/stblinux/commits/devicetree/next, thanks!
--
Florian
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH v3 4/9] arm64: dts: Move BCM4908 dts to bcmbca folder
2022-08-03 17:54 ` [PATCH v3 4/9] arm64: dts: Move BCM4908 dts to bcmbca folder William Zhang
@ 2022-08-15 16:51 ` Florian Fainelli
0 siblings, 0 replies; 11+ messages in thread
From: Florian Fainelli @ 2022-08-15 16:51 UTC (permalink / raw)
To: bcm-kernel-feedback-list, William Zhang, Linux ARM List
Cc: joel.peshkin, dan.beygelman, krzysztof.kozlowski, rafal,
Anand Gore, Krzysztof Kozlowski, Kursad Oney,
Nicolas Saenz Julienne, Rob Herring, Stefan Wahren, devicetree,
linux-kernel
On Wed, 3 Aug 2022 10:54:50 -0700, William Zhang <william.zhang@broadcom.com> wrote:
> As part of ARCH_BCM4908 to ARCH_BCMBCA migration, move the BCM4908 dts
> files to bcmbca folder and use CONFIG_ARCH_BCMBCA to build all the
> BCM4908 board dts. Delete bcm4908 folder and its makefile as well.
>
> Signed-off-by: William Zhang <william.zhang@broadcom.com>
> ---
Applied to https://github.com/Broadcom/stblinux/commits/devicetree/next, thanks!
--
Florian
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH v3 5/9] arm64: dts: Add BCM4908 generic board dts
2022-08-03 17:54 ` [PATCH v3 5/9] arm64: dts: Add BCM4908 generic board dts William Zhang
@ 2022-08-15 16:51 ` Florian Fainelli
0 siblings, 0 replies; 11+ messages in thread
From: Florian Fainelli @ 2022-08-15 16:51 UTC (permalink / raw)
To: bcm-kernel-feedback-list, William Zhang, Linux ARM List
Cc: joel.peshkin, dan.beygelman, krzysztof.kozlowski, rafal,
Anand Gore, Krzysztof Kozlowski, Kursad Oney, Rob Herring,
devicetree, linux-kernel
On Wed, 3 Aug 2022 10:54:51 -0700, William Zhang <william.zhang@broadcom.com> wrote:
> Add generic bare bone bcm94908.dts file to support any 4908 based
> design. It supports cpu subsystem, memory and an uart console. This can
> be useful for board bring-up and cpu subsystem and memory related kernel
> test as well.
>
> Signed-off-by: William Zhang <william.zhang@broadcom.com>
>
> ---
Applied to https://github.com/Broadcom/stblinux/commits/devicetree/next, thanks!
--
Florian
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH v3 1/9] dt-bindings: arm64: bcmbca: Merge BCM4908 into BCMBCA
2022-08-03 17:54 ` [PATCH v3 1/9] dt-bindings: arm64: bcmbca: Merge BCM4908 into BCMBCA William Zhang
@ 2022-08-15 16:58 ` Florian Fainelli
0 siblings, 0 replies; 11+ messages in thread
From: Florian Fainelli @ 2022-08-15 16:58 UTC (permalink / raw)
To: William Zhang, Linux ARM List
Cc: Broadcom Kernel List, joel.peshkin, dan.beygelman, f.fainelli,
krzysztof.kozlowski, rafal, Rob Herring, Anand Gore,
Krzysztof Kozlowski, Kursad Oney, Rob Herring, devicetree,
linux-kernel
On 8/3/22 10:54, William Zhang wrote:
> BCM4908 is one of the Broadcom Broadband origin WLAN Router/Access
> Pointer SoCs. It was originally added by Rafał before Broadcom
> started to upstream the support for broadband SoCs. Now that Broadcom
> Broadband SoC is supported under arch ARCH_BCMBCA, this patch moves
> BCM4908 SoC device tree descriptions into BCMBCA binding.
>
> Signed-off-by: William Zhang <william.zhang@broadcom.com>
> Acked-by: Rafał Miłecki <rafal@milecki.pl>
> Reviewed-by: Rob Herring <robh@kernel.org>
>
> ---
Applied to https://github.com/Broadcom/stblinux/devicetree/next, thanks!
--
Florian
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2022-08-15 16:59 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-03 17:54 [PATCH v3 0/9] arm64: bcmbca: Move BCM4908 SoC support under ARCH_BCMBCA William Zhang
2022-08-03 17:54 ` [PATCH v3 1/9] dt-bindings: arm64: bcmbca: Merge BCM4908 into BCMBCA William Zhang
2022-08-15 16:58 ` Florian Fainelli
2022-08-03 17:54 ` [PATCH v3 2/9] dt-bindings: arm64: bcmbca: Update BCM4908 description William Zhang
2022-08-15 16:49 ` Florian Fainelli
2022-08-03 17:54 ` [PATCH v3 3/9] arm64: dts: bcmbca: update BCM4908 board dts files William Zhang
2022-08-15 16:50 ` Florian Fainelli
2022-08-03 17:54 ` [PATCH v3 4/9] arm64: dts: Move BCM4908 dts to bcmbca folder William Zhang
2022-08-15 16:51 ` Florian Fainelli
2022-08-03 17:54 ` [PATCH v3 5/9] arm64: dts: Add BCM4908 generic board dts William Zhang
2022-08-15 16:51 ` Florian Fainelli
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).