Skip to contentSkip to conversation

ARM: dts: socfpga: add reset properties for DMA

PATCH New Dinh Nguyen 1 participant 2 messages Jun 20, 2019

Subsystems (2)
lore
Share & tools
lore

Dinh Nguyen

author maintainer
#0 lore raw

PATCH 1/2 ARM: dts: socfpga: add reset properties for DMA

Add both the reset and reset-ocp properties for the DMA node on Arria10.

---
 arch/arm/boot/dts/socfpga_arria10.dtsi | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/boot/dts/socfpga_arria10.dtsi +2 -0
index 20af1543819a..26c157b91189 100644
@@ -68,6 +68,8 @@
 				#dma-requests = <32>;
 				clocks = <&l4_main_clk>;
 				clock-names = "apb_pclk";
+				resets = <&rst DMA_RESET>, <&rst DMA_OCP_RESET>;
+				reset-names = "dma", "dma-ocp";
 			};
 		};
 
Signature · 1 line
2.20.0
author maintainer
#1 lore raw

PATCH 2/2 arm64: dts: agilex/stratix10: Add reset properties for DMA

Add both the reset and reset-ocp properties for the DMA node on the Stratix10 and Agilex platforms.

---
 arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi | 2 ++
 arch/arm64/boot/dts/intel/socfpga_agilex.dtsi     | 2 ++
 2 files changed, 4 insertions(+)
arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi +2 -0
index a781e699a538..5db9ff05fc33 100644
@@ -335,6 +335,8 @@
 			#dma-requests = <32>;
 			clocks = <&clkmgr STRATIX10_L4_MAIN_CLK>;
 			clock-names = "apb_pclk";
+			resets = <&rst DMA_RESET>, <&rst DMA_OCP_RESET>;
+			reset-names = "dma", "dma-ocp";
 		};
 
 		rst: rstmgr@ffd11000 {
arch/arm64/boot/dts/intel/socfpga_agilex.dtsi +2 -0
index e4ceb3a73c81..36abc25320a8 100644
@@ -249,6 +249,8 @@
 			#dma-cells = <1>;
 			#dma-channels = <8>;
 			#dma-requests = <32>;
+			resets = <&rst DMA_RESET>, <&rst DMA_OCP_RESET>;
+			reset-names = "dma", "dma-ocp";
 		};
 
 		rst: rstmgr@ffd11000 {
Signature · 1 line
2.20.0