Skip to contentSkip to conversation

arm64: dts: socfpga: agilex: Add dma channel id for spi

PATCH Superseded [email protected] 2 participants 2 messages Jan 6, 2025 – Jan 8, 2025 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 arm64: dts: socfpga: agilex: Add dma channel id for spi

From: Niravkumar L Rabara <[email protected]>

Add DMA channel ids for spi0 and spi1 nodes in device tree.

---

changes in v2:
- Include missing space.

 arch/arm64/boot/dts/intel/socfpga_agilex.dtsi | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm64/boot/dts/intel/socfpga_agilex.dtsi +4 -0
index 1235ba5a9865..616259447c6f 100644
@@ -457,6 +457,8 @@ spi0: spi@ffda4000 {
 			reg-io-width = <4>;
 			num-cs = <4>;
 			clocks = <&clkmgr AGILEX_L4_MAIN_CLK>;
+			dmas = <&pdma 16>, <&pdma 17>;
+			dma-names = "tx", "rx";
 			status = "disabled";
 		};
 
@@ -471,6 +473,8 @@ spi1: spi@ffda5000 {
 			reg-io-width = <4>;
 			num-cs = <4>;
 			clocks = <&clkmgr AGILEX_L4_MAIN_CLK>;
+			dmas = <&pdma 20>, <&pdma 21>;
+			dma-names = "tx", "rx";
 			status = "disabled";
 		};
 
Signature · 1 line
2.25.1