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 Device tree bindings

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 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.

---
 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..925b01f5c017 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
#1 lore raw
Quoted 14 lines · On 06/01/2025 05:25, [email protected] wrote:

From: Niravkumar L Rabara <[email protected]>

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

---
 arch/arm64/boot/dts/intel/socfpga_agilex.dtsi | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm64/boot/dts/intel/socfpga_agilex.dtsi +0 -0
index 1235ba5a9865..925b01f5c017 100644

arch/arm64/boot/dts/intel/socfpga_agilex.dtsi spi0: spi@ffda4000 { · line 461

Quoted 5 lines
arch/arm64/boot/dts/intel/socfpga_agilex.dtsi +2 -0
@@ -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";

Missing space.

Best regards,
Krzysztof