arm64: add config for Broadcom BCM4908 SoCs
Subsystems (2)
PATCH v3 1/3 arm64: add config for Broadcom BCM4908 SoCs
From: Rafał Miłecki <[email protected]>
Add ARCH_BCM4908 config that can be used for compiling DTS files.
--- arch/arm64/Kconfig.platforms | 8 ++++++++ arch/arm64/configs/defconfig | 1 + 2 files changed, 9 insertions(+)
arch/arm64/Kconfig.platforms +8 -0
@@ -43,6 +43,14 @@ config ARCH_BCM2835 This enables support for the Broadcom BCM2837 and BCM2711 SoC. These SoCs are used in the Raspberry Pi 3 and 4 devices. +config ARCH_BCM4908 + bool "Broadcom BCM4908 family" + select GPIOLIB + help + This enables support for the Broadcom BCM4906, BCM4908 and + BCM49408 SoCs. These SoCs use Cortex-B53 cores and can be + found in home routers. + config ARCH_BCM_IPROC bool "Broadcom iProc SoC Family" select COMMON_CLK_IPROC
arch/arm64/configs/defconfig +1 -0
@@ -32,6 +32,7 @@ CONFIG_ARCH_AGILEX=y CONFIG_ARCH_SUNXI=y CONFIG_ARCH_ALPINE=y CONFIG_ARCH_BCM2835=y +CONFIG_ARCH_BCM4908=y CONFIG_ARCH_BCM_IPROC=y CONFIG_ARCH_BERLIN=y CONFIG_ARCH_BRCMSTB=y
Signature · 1 line
2.27.0
PATCH v3 2/3 dt-bindings: arm: bcm: document BCM4908 bindings
From: Rafał Miłecki <[email protected]>
BCM4908 is a new family that includes BCM4906, BCM4908 and BCM49408. It's mostly used in home routers and often replaces Northstar in vendors portfolio.
---
V3: New patch in the series
--- .../bindings/arm/bcm/brcm,bcm4908.yaml | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,bcm4908.yaml
Documentation/devicetree/bindings/arm/bcm/brcm,bcm4908.yaml new file +38 -0
@@ -0,0 +1,38 @@ +# 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 <[email protected]> + +properties: + $nodename: + const: '/' + compatible: + oneOf: + - description: BCM4906 based boards + items: + - const: brcm,bcm4906 + - const: brcm,bcm4908 + + - description: BCM4908 based boards + items: + - enum: + - asus,gt-ac5300 + - const: brcm,bcm4908 + + - description: BCM49408 based boards + items: + - const: brcm,bcm49408 + - const: brcm,bcm4908 + +additionalProperties: false + +...
Signature · 1 line
2.27.0
PATCH v3 3/3 arm64: dts: broadcom: add BCM4908 and Asus GT-AC5300 early DTS files
In reply to Rafał MiłeckiFrom: Rafał Miłecki <[email protected]>
They don't descibe hardware fully yet but it's enough to boot a system.
Some missing blocks:
1. PMC (Power Management Controller?)
2. Ethernet
3. Crypto
4. Thermal
Asus DTS is missing defining full NAND partitions layout and buttons.
Further changes will fill those gaps as soon as required bindings will be found / tested / added.
---
V2: Move some NAND properties to device dts
Fix CPU compatible strings
Add axi@81000000
Fix PMU compatible string
V3: Drop leading 0s
Drop bootargs with debugging earlycon
Use usb@ syntax to match [PATCH v2 00/18] dt-bindings: usb: Harmonize xHCI/EHCI/OHCI/DWC3 nodes name
--- arch/arm64/boot/dts/broadcom/Makefile | 1 + arch/arm64/boot/dts/broadcom/bcm4908/Makefile | 2 + .../bcm4908/bcm4908-asus-gt-ac5300.dts | 66 +++++++ .../boot/dts/broadcom/bcm4908/bcm4908.dtsi | 187 ++++++++++++++++++ 4 files changed, 256 insertions(+) create mode 100644 arch/arm64/boot/dts/broadcom/bcm4908/Makefile create mode 100644 arch/arm64/boot/dts/broadcom/bcm4908/bcm4908-asus-gt-ac5300.dts create mode 100644 arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi
arch/arm64/boot/dts/broadcom/Makefile +1 -0
@@ -5,5 +5,6 @@ dtb-$(CONFIG_ARCH_BCM2835) += bcm2711-rpi-4-b.dtb \ bcm2837-rpi-3-b-plus.dtb \ bcm2837-rpi-cm3-io3.dtb +subdir-y += bcm4908 subdir-y += northstar2 subdir-y += stingray
arch/arm64/boot/dts/broadcom/bcm4908/Makefile new file +2 -0
@@ -0,0 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_BCM4908) += bcm4908-asus-gt-ac5300.dtb
arch/arm64/boot/dts/broadcom/bcm4908/bcm4908-asus-gt-ac5300.dts new file +66 -0
66 lines not on this page · raw message
arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi new file +187 -0
187 lines not on this page · raw message
Signature · 1 line
2.27.0
Hi Rafał,
Quoted 15 lines · Rafał Miłecki
From: Rafał Miłecki <[email protected]>
Add
ARCH_BCM4908config that can be used for compiling DTS files.Signed-off-by Rafał Miłecki <[email protected]>--- arch/arm64/Kconfig.platforms | 8 ++++++++ arch/arm64/configs/defconfig | 1 + 2 files changed, 9 insertions(+)arch/arm64/Kconfig.platforms +0
-0
arch/arm64/Kconfig.platforms config ARCH_BCM2835 · line 51
Quoted 9 lines
arch/arm64/Kconfig.platforms +6
-0@@ -43,6 +43,14 @@ config ARCH_BCM2835 This enables support for the Broadcom BCM2837 and BCM2711 SoC. These SoCs are used in the Raspberry Pi 3 and 4 devices. +config ARCH_BCM4908 + bool "Broadcom BCM4908 family" + select GPIOLIB + help + This enables support for the Broadcom BCM4906, BCM4908 and + BCM49408 SoCs. These SoCs use Cortex-B53 cores and can be
Is Cortex-B53 an official name? I see reference to Brahma-B53 in other places like Documentation/arm64/silicon-errata.rst.
baruch
Quoted 17 lines
arch/arm64/Kconfig.platforms +2
-0+ found in home routers. + config ARCH_BCM_IPROC bool "Broadcom iProc SoC Family" select COMMON_CLK_IPROCarch/arm64/configs/defconfig +1
-0@@ -32,6 +32,7 @@ CONFIG_ARCH_AGILEX=y CONFIG_ARCH_SUNXI=y CONFIG_ARCH_ALPINE=y CONFIG_ARCH_BCM2835=y +CONFIG_ARCH_BCM4908=y CONFIG_ARCH_BCM_IPROC=y CONFIG_ARCH_BERLIN=y CONFIG_ARCH_BRCMSTB=y
Signature · 8 lines
~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- [email protected] - tel: +972.52.368.4656, http://www.tkos.co.il -
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernelQuoted 19 lines · Baruch Siach
Quoted 18 lines · Rafał Miłecki
From: Rafał Miłecki <[email protected]>
Add
ARCH_BCM4908config that can be used for compiling DTS files.Signed-off-by Rafał Miłecki <[email protected]>--- arch/arm64/Kconfig.platforms | 8 ++++++++ arch/arm64/configs/defconfig | 1 + 2 files changed, 9 insertions(+)arch/arm64/Kconfig.platforms +0
-0@@ -43,6 +43,14 @@ config ARCH_BCM2835 This enables support for the Broadcom BCM2837 and BCM2711 SoC. These SoCs are used in the Raspberry Pi 3 and 4 devices.
Quoted 9 lines
arch/arm64/Kconfig.platforms config ARCH_BCM2835 · line 51
Quoted 6 lines
arch/arm64/Kconfig.platforms +6
-0+config ARCH_BCM4908 + bool "Broadcom BCM4908 family" + select GPIOLIB + help + This enables support for the Broadcom BCM4906, BCM4908 and + BCM49408 SoCs. These SoCs use Cortex-B53 cores and can beIs Cortex-B53 an official name? I see reference to Brahma-B53 in other places like
Documentation/arm64/silicon-errata.rst.
That should be Brahma-B53. Good catch.
Initially I didn't know "Brahma" name and thought (Brahma-) B53 is just minor variation of Cortex-B53. I even used:
compatible = "brcm,cortex-b53", "arm,cortex-a53";
It's clarified now but I forgot to update config help.