ARM: dts: r8a77470: Add USB-DMAC device nodes
authorBiju Das <biju.das@bp.renesas.com>
Thu, 25 Oct 2018 14:53:38 +0000 (15:53 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Wed, 28 Nov 2018 12:55:26 +0000 (13:55 +0100)
This patch adds USB DMAC nodes.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a77470.dtsi

index a703b74cc1f903bdac36987c0aa4540352b0434b..0a7ca2ff4dc4336eba990ff88582830ec2a9c9e4 100644 (file)
                        status = "disabled";
                };
 
+               usb_dmac00: dma-controller@e65a0000 {
+                       compatible = "renesas,r8a77470-usb-dmac",
+                                    "renesas,usb-dmac";
+                       reg = <0 0xe65a0000 0 0x100>;
+                       interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH
+                                     GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
+                       interrupt-names = "ch0", "ch1";
+                       clocks = <&cpg CPG_MOD 330>;
+                       power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
+                       resets = <&cpg 330>;
+                       #dma-cells = <1>;
+                       dma-channels = <2>;
+               };
+
+               usb_dmac10: dma-controller@e65b0000 {
+                       compatible = "renesas,r8a77470-usb-dmac",
+                                    "renesas,usb-dmac";
+                       reg = <0 0xe65b0000 0 0x100>;
+                       interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH
+                                     GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
+                       interrupt-names = "ch0", "ch1";
+                       clocks = <&cpg CPG_MOD 331>;
+                       power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
+                       resets = <&cpg 331>;
+                       #dma-cells = <1>;
+                       dma-channels = <2>;
+               };
+
+               usb_dmac01: dma-controller@e65a8000 {
+                       compatible = "renesas,r8a77470-usb-dmac",
+                                    "renesas,usb-dmac";
+                       reg = <0 0xe65a8000 0 0x100>;
+                       interrupts = <GIC_SPI 293 IRQ_TYPE_LEVEL_HIGH
+                                     GIC_SPI 293 IRQ_TYPE_LEVEL_HIGH>;
+                       interrupt-names = "ch0", "ch1";
+                       clocks = <&cpg CPG_MOD 326>;
+                       power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
+                       resets = <&cpg 326>;
+                       #dma-cells = <1>;
+                       dma-channels = <2>;
+               };
+
+               usb_dmac11: dma-controller@e65b8000 {
+                       compatible = "renesas,r8a77470-usb-dmac",
+                                    "renesas,usb-dmac";
+                       reg = <0 0xe65b8000 0 0x100>;
+                       interrupts = <GIC_SPI 292 IRQ_TYPE_LEVEL_HIGH
+                                     GIC_SPI 292 IRQ_TYPE_LEVEL_HIGH>;
+                       interrupt-names = "ch0", "ch1";
+                       clocks = <&cpg CPG_MOD 327>;
+                       power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
+                       resets = <&cpg 327>;
+                       #dma-cells = <1>;
+                       dma-channels = <2>;
+               };
+
                dmac0: dma-controller@e6700000 {
                        compatible = "renesas,dmac-r8a77470",
                                     "renesas,rcar-dmac";