* [PATCH 0/5] ARM: dts: bcm47622: Add RNG, GPIO, I2C, DMA and crypto blocks
@ 2026-12-05 8:42 Ho Jie Feng
2026-12-05 8:42 ` [PATCH 1/5] ARM: dts: bcm47622: Add iproc rng Ho Jie Feng
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: Ho Jie Feng @ 2026-12-05 8:42 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, William Zhang,
Anand Gore, Kursad Oney, Florian Fainelli,
Rafał Miłecki, Broadcom internal kernel review list
Cc: devicetree, linux-arm-kernel, linux-kernel, Ho Jie Feng
This series adds the blocks of the BCM47622 SoC family that existing
bindings already describe to bcm47622.dtsi:
- iProc RNG200 random number generator
- MMIO GPIO banks
- BSC I2C controller
- ARM PL081 DMA controller
- SPU-M crypto engine and PDC mailbox
Not included:
- WLAN
Note that on CFE-booted SoCs, the RNG may be locked to the secure world
and every read register returns 0xdeadbeef, so boards booted by CFE
should disable it.
PDC mailbox and SPU drivers does not build on ARCH_BCMBCA for now,
since bug fixes are needed for it to work correctly.
Tested on an ASUS RT-AX55 (BCM6755)
This serves as a complement to this patch:
[1] https://lore.kernel.org/linux-arm-kernel/20261204151052.393800-1-wafgo01@gmail.com/
Ho Jie Feng (5):
ARM: dts: bcm47622: Add iproc rng
ARM: dts: bcm47622: Add GPIO blocks
ARM: dts: bcm47622: Add I2C bus block
ARM: dts: bcm47622: Add ARM PL081 DMA block
ARM: dts: bcm47622: Add SPU-M crypto engine and PDC mailbox
arch/arm/boot/dts/broadcom/bcm47622.dtsi | 84 ++++++++++++++++++++++++
1 file changed, 84 insertions(+)
base-commit: 32c2ae169607225211092a0cfa58eb84e6fa0778
--
2.53.0
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 1/5] ARM: dts: bcm47622: Add iproc rng
2026-12-05 8:42 [PATCH 0/5] ARM: dts: bcm47622: Add RNG, GPIO, I2C, DMA and crypto blocks Ho Jie Feng
@ 2026-12-05 8:42 ` Ho Jie Feng
2026-12-05 8:42 ` [PATCH 2/5] ARM: dts: bcm47622: Add GPIO blocks Ho Jie Feng
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Ho Jie Feng @ 2026-12-05 8:42 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, William Zhang,
Anand Gore, Kursad Oney, Florian Fainelli,
Rafał Miłecki, Broadcom internal kernel review list
Cc: devicetree, linux-arm-kernel, linux-kernel, Ho Jie Feng
The BCM47622 has a standard iProc RNG200 block matching the
existing brcm,iproc-rng200 binding.
Add it to the BCM47622 DTSI file.
Signed-off-by: Ho Jie Feng <hjf3108@gmail.com>
---
arch/arm/boot/dts/broadcom/bcm47622.dtsi | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/broadcom/bcm47622.dtsi b/arch/arm/boot/dts/broadcom/bcm47622.dtsi
index 485863f9c4..f7953effc1 100644
--- a/arch/arm/boot/dts/broadcom/bcm47622.dtsi
+++ b/arch/arm/boot/dts/broadcom/bcm47622.dtsi
@@ -126,6 +126,12 @@ bus@ff800000 {
#size-cells = <1>;
ranges = <0 0xff800000 0x800000>;
+ rng: rng@b80 {
+ compatible = "brcm,iproc-rng200";
+ reg = <0xb80 0x28>;
+ interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
+ };
+
hsspi: spi@1000 {
#address-cells = <1>;
#size-cells = <0>;
--
2.53.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 2/5] ARM: dts: bcm47622: Add GPIO blocks
2026-12-05 8:42 [PATCH 0/5] ARM: dts: bcm47622: Add RNG, GPIO, I2C, DMA and crypto blocks Ho Jie Feng
2026-12-05 8:42 ` [PATCH 1/5] ARM: dts: bcm47622: Add iproc rng Ho Jie Feng
@ 2026-12-05 8:42 ` Ho Jie Feng
2026-12-05 8:42 ` [PATCH 3/5] ARM: dts: bcm47622: Add I2C bus block Ho Jie Feng
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Ho Jie Feng @ 2026-12-05 8:42 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, William Zhang,
Anand Gore, Kursad Oney, Florian Fainelli,
Rafał Miłecki, Broadcom internal kernel review list
Cc: devicetree, linux-arm-kernel, linux-kernel, Ho Jie Feng
The BCM47622 has four MMIO GPIO register banks compatible with
brcm,bcm6345-gpio.
Signed-off-by: Ho Jie Feng <hjf3108@gmail.com>
---
arch/arm/boot/dts/broadcom/bcm47622.dtsi | 41 ++++++++++++++++++++++++
1 file changed, 41 insertions(+)
diff --git a/arch/arm/boot/dts/broadcom/bcm47622.dtsi b/arch/arm/boot/dts/broadcom/bcm47622.dtsi
index f7953effc1..f0359f7ae8 100644
--- a/arch/arm/boot/dts/broadcom/bcm47622.dtsi
+++ b/arch/arm/boot/dts/broadcom/bcm47622.dtsi
@@ -126,6 +126,47 @@ bus@ff800000 {
#size-cells = <1>;
ranges = <0 0xff800000 0x800000>;
+ /* GPIOs 0 .. 31 */
+ gpio0: gpio@500 {
+ compatible = "brcm,bcm6345-gpio";
+ reg = <0x500 0x04>, <0x520 0x04>;
+ reg-names = "dirout", "dat";
+ gpio-controller;
+ #gpio-cells = <2>;
+ status = "disabled";
+ };
+
+ /* GPIOs 32 .. 63 */
+ gpio1: gpio@504 {
+ compatible = "brcm,bcm6345-gpio";
+ reg = <0x504 0x04>, <0x524 0x04>;
+ reg-names = "dirout", "dat";
+ gpio-controller;
+ #gpio-cells = <2>;
+ status = "disabled";
+ };
+
+ /* GPIOs 64 .. 95 */
+ gpio2: gpio@508 {
+ compatible = "brcm,bcm6345-gpio";
+ reg = <0x508 0x04>, <0x528 0x04>;
+ reg-names = "dirout", "dat";
+ gpio-controller;
+ #gpio-cells = <2>;
+ status = "disabled";
+ };
+
+ /* GPIOs 96 .. 107 */
+ gpio3: gpio@50c {
+ compatible = "brcm,bcm6345-gpio";
+ reg = <0x50c 0x04>, <0x52c 0x04>;
+ reg-names = "dirout", "dat";
+ gpio-controller;
+ #gpio-cells = <2>;
+ ngpios = <12>;
+ status = "disabled";
+ };
+
rng: rng@b80 {
compatible = "brcm,iproc-rng200";
reg = <0xb80 0x28>;
--
2.53.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 3/5] ARM: dts: bcm47622: Add I2C bus block
2026-12-05 8:42 [PATCH 0/5] ARM: dts: bcm47622: Add RNG, GPIO, I2C, DMA and crypto blocks Ho Jie Feng
2026-12-05 8:42 ` [PATCH 1/5] ARM: dts: bcm47622: Add iproc rng Ho Jie Feng
2026-12-05 8:42 ` [PATCH 2/5] ARM: dts: bcm47622: Add GPIO blocks Ho Jie Feng
@ 2026-12-05 8:42 ` Ho Jie Feng
2026-12-05 8:42 ` [PATCH 4/5] ARM: dts: bcm47622: Add ARM PL081 DMA block Ho Jie Feng
2026-12-05 8:42 ` [PATCH 5/5] ARM: dts: bcm47622: Add SPU-M crypto engine and PDC mailbox Ho Jie Feng
4 siblings, 0 replies; 6+ messages in thread
From: Ho Jie Feng @ 2026-12-05 8:42 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, William Zhang,
Anand Gore, Kursad Oney, Florian Fainelli,
Rafał Miłecki, Broadcom internal kernel review list
Cc: devicetree, linux-arm-kernel, linux-kernel, Ho Jie Feng
The BCM47622 has a Broadcom peripheral BSC I2C master controller
matching the brcm,brcmper-i2c compatible.
Signed-off-by: Ho Jie Feng <hjf3108@gmail.com>
---
arch/arm/boot/dts/broadcom/bcm47622.dtsi | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/arm/boot/dts/broadcom/bcm47622.dtsi b/arch/arm/boot/dts/broadcom/bcm47622.dtsi
index f0359f7ae8..d4da9de269 100644
--- a/arch/arm/boot/dts/broadcom/bcm47622.dtsi
+++ b/arch/arm/boot/dts/broadcom/bcm47622.dtsi
@@ -199,6 +199,15 @@ nandcs: nand@0 {
};
};
+ i2c0: i2c@2100 {
+ compatible = "brcm,brcmper-i2c";
+ reg = <0x2100 0x60>;
+ interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ status = "disabled";
+ };
+
uart0: serial@12000 {
compatible = "arm,pl011", "arm,primecell";
reg = <0x12000 0x1000>;
--
2.53.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 4/5] ARM: dts: bcm47622: Add ARM PL081 DMA block
2026-12-05 8:42 [PATCH 0/5] ARM: dts: bcm47622: Add RNG, GPIO, I2C, DMA and crypto blocks Ho Jie Feng
` (2 preceding siblings ...)
2026-12-05 8:42 ` [PATCH 3/5] ARM: dts: bcm47622: Add I2C bus block Ho Jie Feng
@ 2026-12-05 8:42 ` Ho Jie Feng
2026-12-05 8:42 ` [PATCH 5/5] ARM: dts: bcm47622: Add SPU-M crypto engine and PDC mailbox Ho Jie Feng
4 siblings, 0 replies; 6+ messages in thread
From: Ho Jie Feng @ 2026-12-05 8:42 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, William Zhang,
Anand Gore, Kursad Oney, Florian Fainelli,
Rafał Miłecki, Broadcom internal kernel review list
Cc: devicetree, linux-arm-kernel, linux-kernel, Ho Jie Feng
The BCM47622 includes the same ARM PL081 DMA controller as the BCM63178
and BCM6855.
Add it to the BCM47622 DTSI file.
Signed-off-by: Ho Jie Feng <hjf3108@gmail.com>
---
arch/arm/boot/dts/broadcom/bcm47622.dtsi | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/arch/arm/boot/dts/broadcom/bcm47622.dtsi b/arch/arm/boot/dts/broadcom/bcm47622.dtsi
index d4da9de269..182ec9bcd3 100644
--- a/arch/arm/boot/dts/broadcom/bcm47622.dtsi
+++ b/arch/arm/boot/dts/broadcom/bcm47622.dtsi
@@ -208,6 +208,19 @@ i2c0: i2c@2100 {
status = "disabled";
};
+ pl081_dma: dma-controller@11000 {
+ compatible = "arm,pl081", "arm,primecell";
+ /* The magic B105F00D info is missing */
+ arm,primecell-periphid = <0x00041081>;
+ reg = <0x11000 0x1000>;
+ interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
+ memcpy-burst-size = <256>;
+ memcpy-bus-width = <32>;
+ clocks = <&periph_clk>;
+ clock-names = "apb_pclk";
+ #dma-cells = <2>;
+ };
+
uart0: serial@12000 {
compatible = "arm,pl011", "arm,primecell";
reg = <0x12000 0x1000>;
--
2.53.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 5/5] ARM: dts: bcm47622: Add SPU-M crypto engine and PDC mailbox
2026-12-05 8:42 [PATCH 0/5] ARM: dts: bcm47622: Add RNG, GPIO, I2C, DMA and crypto blocks Ho Jie Feng
` (3 preceding siblings ...)
2026-12-05 8:42 ` [PATCH 4/5] ARM: dts: bcm47622: Add ARM PL081 DMA block Ho Jie Feng
@ 2026-12-05 8:42 ` Ho Jie Feng
4 siblings, 0 replies; 6+ messages in thread
From: Ho Jie Feng @ 2026-12-05 8:42 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, William Zhang,
Anand Gore, Kursad Oney, Florian Fainelli,
Rafał Miłecki, Broadcom internal kernel review list
Cc: devicetree, linux-arm-kernel, linux-kernel, Ho Jie Feng
The BCM47622 integrates an SPU-M symmetric crypto offload engine and
the iProc PDC DMA mailbox that feeds it, matching the existing
brcm,spum-crypto and brcm,iproc-pdc-mbox bindings.
Add both nodes to the BCM47622 DTSI file.
Signed-off-by: Ho Jie Feng <hjf3108@gmail.com>
---
arch/arm/boot/dts/broadcom/bcm47622.dtsi | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/arch/arm/boot/dts/broadcom/bcm47622.dtsi b/arch/arm/boot/dts/broadcom/bcm47622.dtsi
index 182ec9bcd3..60e1f556a1 100644
--- a/arch/arm/boot/dts/broadcom/bcm47622.dtsi
+++ b/arch/arm/boot/dts/broadcom/bcm47622.dtsi
@@ -102,6 +102,21 @@ psci {
method = "smc";
};
+ pdc: mailbox@8001c000 {
+ compatible = "brcm,iproc-pdc-mbox";
+ reg = <0x8001c000 0x448>;
+ interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
+ #mbox-cells = <1>;
+ brcm,rx-status-len = <4>;
+ brcm,use-bcm-hdr;
+ };
+
+ crypto@8001d000 {
+ compatible = "brcm,spum-crypto";
+ reg = <0x8001d000 0x64>;
+ mboxes = <&pdc 0>;
+ };
+
axi@81000000 {
compatible = "simple-bus";
#address-cells = <1>;
--
2.53.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
end of thread, other threads:[~2026-12-05 8:43 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-05 8:42 [PATCH 0/5] ARM: dts: bcm47622: Add RNG, GPIO, I2C, DMA and crypto blocks Ho Jie Feng
2026-12-05 8:42 ` [PATCH 1/5] ARM: dts: bcm47622: Add iproc rng Ho Jie Feng
2026-12-05 8:42 ` [PATCH 2/5] ARM: dts: bcm47622: Add GPIO blocks Ho Jie Feng
2026-12-05 8:42 ` [PATCH 3/5] ARM: dts: bcm47622: Add I2C bus block Ho Jie Feng
2026-12-05 8:42 ` [PATCH 4/5] ARM: dts: bcm47622: Add ARM PL081 DMA block Ho Jie Feng
2026-12-05 8:42 ` [PATCH 5/5] ARM: dts: bcm47622: Add SPU-M crypto engine and PDC mailbox Ho Jie Feng
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox