[PATCH 29/30] ARM: dts: r8a7794: Reference both DMA controllers in SDHI nodes
Niklas Söderlund
niklas.soderlund+renesas at ragnatech.se
Thu Mar 10 03:36:21 PST 2016
R-Car Gen2 have two DMA controllers, which are equivalent. Add
references to both dmac0 and dmac1 so the driver can fallback to the
later if the first one is unavailable.
Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas at ragnatech.se>
---
arch/arm/boot/dts/r8a7794.dtsi | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7794.dtsi b/arch/arm/boot/dts/r8a7794.dtsi
index 23617a0..76709ff 100644
--- a/arch/arm/boot/dts/r8a7794.dtsi
+++ b/arch/arm/boot/dts/r8a7794.dtsi
@@ -617,6 +617,9 @@
reg = <0 0xee100000 0 0x200>;
interrupts = <0 165 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp3_clks R8A7794_CLK_SDHI0>;
+ dmas = <&dmac1 0xcd>, <&dmac1 0xce>,
+ <&dmac0 0xcd>, <&dmac0 0xce>;
+ dma-names = "tx", "rx", "tx", "rx";
power-domains = <&cpg_clocks>;
status = "disabled";
};
@@ -626,6 +629,9 @@
reg = <0 0xee140000 0 0x100>;
interrupts = <0 167 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp3_clks R8A7794_CLK_SDHI1>;
+ dmas = <&dmac1 0xc1>, <&dmac1 0xc2>,
+ <&dmac0 0xc1>, <&dmac0 0xc2>;
+ dma-names = "tx", "rx", "tx", "rx";
power-domains = <&cpg_clocks>;
status = "disabled";
};
@@ -635,6 +641,9 @@
reg = <0 0xee160000 0 0x100>;
interrupts = <0 168 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp3_clks R8A7794_CLK_SDHI2>;
+ dmas = <&dmac1 0xd3>, <&dmac1 0xd4>,
+ <&dmac0 0xd3>, <&dmac0 0xd4>;
+ dma-names = "tx", "rx", "tx", "rx";
power-domains = <&cpg_clocks>;
status = "disabled";
};
--
2.7.2
More information about the linux-arm-kernel
mailing list