All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: r8a7795: Add USB-DMAC device nodes
@ 2016-02-01 10:29 ` Yoshihiro Shimoda
  0 siblings, 0 replies; 10+ messages in thread
From: Yoshihiro Shimoda @ 2016-02-01 10:29 UTC (permalink / raw)
  To: horms, magnus.damm, robh+dt, pawel.moll, mark.rutland,
	ijc+devicetree, galak
  Cc: devicetree, linux-renesas-soc, Yoshihiro Shimoda

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
---
This patch is based on the latest renesas.git / renesas-devel-20160129-v4.5-rc1
tag. (commit id = 0319e29efd838de5a7a4b589b8f07d9c1fd4abf6)

This patch needs r8a7795-cpg-mssr.c update for usb-dmac clocks.

 arch/arm64/boot/dts/renesas/r8a7795.dtsi | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
index 119549e..8cb1838 100644
--- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
@@ -880,5 +880,31 @@
 			power-domains = <&cpg>;
 			status = "disabled";
 		};
+
+		usb_dmac0: dma-controller@e65a0000 {
+			compatible = "renesas,r8a7795-usb-dmac",
+				     "renesas,usb-dmac";
+			reg = <0 0xe65a0000 0 0x100>;
+			interrupts = <0 109 IRQ_TYPE_LEVEL_HIGH
+				      0 109 IRQ_TYPE_LEVEL_HIGH>;
+			interrupt-names = "ch0", "ch1";
+			clocks = <&cpg CPG_MOD 330>;
+			power-domains = <&cpg>;
+			#dma-cells = <1>;
+			dma-channels = <2>;
+		};
+
+		usb_dmac1: dma-controller@e65b0000 {
+			compatible = "renesas,r8a7795-usb-dmac",
+				     "renesas,usb-dmac";
+			reg = <0 0xe65b0000 0 0x100>;
+			interrupts = <0 110 IRQ_TYPE_LEVEL_HIGH
+				      0 110 IRQ_TYPE_LEVEL_HIGH>;
+			interrupt-names = "ch0", "ch1";
+			clocks = <&cpg CPG_MOD 331>;
+			power-domains = <&cpg>;
+			#dma-cells = <1>;
+			dma-channels = <2>;
+		};
 	};
 };
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-02-02 10:39 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-01 10:29 [PATCH] arm64: dts: r8a7795: Add USB-DMAC device nodes Yoshihiro Shimoda
2016-02-01 10:29 ` Yoshihiro Shimoda
2016-02-01 10:45 ` Geert Uytterhoeven
2016-02-02  9:50 ` Simon Horman
     [not found] ` <1454322540-5608-1-git-send-email-yoshihiro.shimoda.uh-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
2016-02-02 10:10   ` Geert Uytterhoeven
2016-02-02 10:10     ` Geert Uytterhoeven
2016-02-02 10:22     ` Yoshihiro Shimoda
2016-02-02 10:30     ` Simon Horman
     [not found]       ` <20160202102959.GG15554-/R6kz+dDXgpPR4JQBCEnsQ@public.gmane.org>
2016-02-02 10:39         ` Yoshihiro Shimoda
2016-02-02 10:39           ` Yoshihiro Shimoda

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.