Skip to contentSkip to conversation

riscv: dts: microchip: re-add pdma to mpfs device tree

PATCH Applied Conor Dooley 2 participants 2 messages Jun 3, 2022 – Jun 12, 2022

Subsystems (3)
lore
Share & tools
lore

Conor Dooley

author maintainer
#0 lore raw

PATCH 1/1 riscv: dts: microchip: re-add pdma to mpfs device tree

PolarFire SoC /does/ have a SiFive pdma, despite what I suggested as a conflict resolution to Zong. Somehow the entry fell through the cracks between versions of my dt patches, so re-add it with Zong's updated compatible & dma-channels property.

Fixes c5094f371008 ("riscv: dts: microchip: refactor icicle kit device tree")
---
 arch/riscv/boot/dts/microchip/mpfs.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)
arch/riscv/boot/dts/microchip/mpfs.dtsi +9 -0
index 8c3259134194..3095d08453a1 100644
@@ -192,6 +192,15 @@ plic: interrupt-controller@c000000 {
 			riscv,ndev = <186>;
 		};
 
+		pdma: dma-controller@3000000 {
+			compatible = "sifive,fu540-c000-pdma", "sifive,pdma0";
+			reg = <0x0 0x3000000 0x0 0x8000>;
+			interrupt-parent = <&plic>;
+			interrupts = <5 6>, <7 8>, <9 10>, <11 12>;
+			dma-channels = <4>;
+			#dma-cells = <1>;
+		};
+
 		clkcfg: clkcfg@20002000 {
 			compatible = "microchip,mpfs-clkcfg";
 			reg = <0x0 0x20002000 0x0 0x1000>, <0x0 0x3E001000 0x0 0x1000>;
Signature · 1 line
2.36.1
Applied
#1 lore raw

From: Conor Dooley <[email protected]>

Quoted 6 lines · Conor Dooley

PolarFire SoC /does/ have a SiFive pdma, despite what I suggested as a conflict resolution to Zong. Somehow the entry fell through the cracks between versions of my dt patches, so re-add it with Zong's updated compatible & dma-channels property.

Applied to dt-fixes, thanks!

[1/1] riscv: dts: microchip: re-add pdma to mpfs device tree

      https://git.kernel.org/conor/c/5e757deddd91

Thanks,
Conor.