Skip to contentSkip to conversation

ARM: socfpga: dts: Add missing clock and interrupt fields for Arria10 DMA

PATCH Applied Graham Moore 2 participants 2 messages Mar 8, 2016 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: socfpga: dts: Add missing clock and interrupt fields for Arria10 DMA

The PL330 DMA driver will not load on Arria10 without devicetree entries for clocks and clock_names. This patch adds those entries. It also adds the ninth interrupt, which is required for error detection.

---
 arch/arm/boot/dts/socfpga_arria10.dtsi | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
arch/arm/boot/dts/socfpga_arria10.dtsi +4 -1
index cce9e50..45a4728 100644
@@ -78,10 +78,13 @@
 					     <0 87 IRQ_TYPE_LEVEL_HIGH>,
 					     <0 88 IRQ_TYPE_LEVEL_HIGH>,
 					     <0 89 IRQ_TYPE_LEVEL_HIGH>,
-					     <0 90 IRQ_TYPE_LEVEL_HIGH>;
+					     <0 90 IRQ_TYPE_LEVEL_HIGH>,
+					     <0 91 IRQ_TYPE_LEVEL_HIGH>;
 				#dma-cells = <1>;
 				#dma-channels = <8>;
 				#dma-requests = <32>;
+				clocks = <&l4_main_clk>;
+				clock-names = "apb_pclk";
 			};
 		};
 
Signature · 1 line
2.5.0
Applied
#1 lore raw
Quoted 9 lines · Graham Moore

The PL330 DMA driver will not load on Arria10 without devicetree entries for clocks and clock_names. This patch adds those entries. It also adds the ninth interrupt, which is required for error detection.

---
 arch/arm/boot/dts/socfpga_arria10.dtsi | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Applied.

Thanks,
Dinh