arm64: renesas: r8a7795: add AUDIO_DMAC support
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 25 Nov 2015 06:36:02 +0000 (06:36 +0000)
committerSimon Horman <horms+renesas@verge.net.au>
Thu, 26 Nov 2015 02:31:42 +0000 (11:31 +0900)
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm64/boot/dts/renesas/r8a7795.dtsi

index 348baebffeac0e3ba544ed44aaec65f7dbd638ac..2cc58114d1ef6e72af2f26f35264606f5838b06e 100644 (file)
                        #power-domain-cells = <0>;
                };
 
+               audma0: dma-controller@ec700000 {
+                       compatible = "renesas,rcar-dmac";
+                       reg = <0 0xec700000 0 0x10000>;
+                       interrupts =    <0 350 IRQ_TYPE_LEVEL_HIGH
+                                        0 320 IRQ_TYPE_LEVEL_HIGH
+                                        0 321 IRQ_TYPE_LEVEL_HIGH
+                                        0 322 IRQ_TYPE_LEVEL_HIGH
+                                        0 323 IRQ_TYPE_LEVEL_HIGH
+                                        0 324 IRQ_TYPE_LEVEL_HIGH
+                                        0 325 IRQ_TYPE_LEVEL_HIGH
+                                        0 326 IRQ_TYPE_LEVEL_HIGH
+                                        0 327 IRQ_TYPE_LEVEL_HIGH
+                                        0 328 IRQ_TYPE_LEVEL_HIGH
+                                        0 329 IRQ_TYPE_LEVEL_HIGH
+                                        0 330 IRQ_TYPE_LEVEL_HIGH
+                                        0 331 IRQ_TYPE_LEVEL_HIGH
+                                        0 332 IRQ_TYPE_LEVEL_HIGH
+                                        0 333 IRQ_TYPE_LEVEL_HIGH
+                                        0 334 IRQ_TYPE_LEVEL_HIGH
+                                        0 335 IRQ_TYPE_LEVEL_HIGH>;
+                       interrupt-names = "error",
+                                       "ch0", "ch1", "ch2", "ch3",
+                                       "ch4", "ch5", "ch6", "ch7",
+                                       "ch8", "ch9", "ch10", "ch11",
+                                       "ch12", "ch13", "ch14", "ch15";
+                       clocks = <&cpg CPG_MOD 502>;
+                       clock-names = "fck";
+                       power-domains = <&cpg>;
+                       #dma-cells = <1>;
+                       dma-channels = <16>;
+               };
+
+               audma1: dma-controller@ec720000 {
+                       compatible = "renesas,rcar-dmac";
+                       reg = <0 0xec720000 0 0x10000>;
+                       interrupts =    <0 351 IRQ_TYPE_LEVEL_HIGH
+                                        0 336 IRQ_TYPE_LEVEL_HIGH
+                                        0 337 IRQ_TYPE_LEVEL_HIGH
+                                        0 338 IRQ_TYPE_LEVEL_HIGH
+                                        0 339 IRQ_TYPE_LEVEL_HIGH
+                                        0 340 IRQ_TYPE_LEVEL_HIGH
+                                        0 341 IRQ_TYPE_LEVEL_HIGH
+                                        0 342 IRQ_TYPE_LEVEL_HIGH
+                                        0 343 IRQ_TYPE_LEVEL_HIGH
+                                        0 344 IRQ_TYPE_LEVEL_HIGH
+                                        0 345 IRQ_TYPE_LEVEL_HIGH
+                                        0 346 IRQ_TYPE_LEVEL_HIGH
+                                        0 347 IRQ_TYPE_LEVEL_HIGH
+                                        0 348 IRQ_TYPE_LEVEL_HIGH
+                                        0 349 IRQ_TYPE_LEVEL_HIGH
+                                        0 382 IRQ_TYPE_LEVEL_HIGH
+                                        0 383 IRQ_TYPE_LEVEL_HIGH>;
+                       interrupt-names = "error",
+                                       "ch0", "ch1", "ch2", "ch3",
+                                       "ch4", "ch5", "ch6", "ch7",
+                                       "ch8", "ch9", "ch10", "ch11",
+                                       "ch12", "ch13", "ch14", "ch15";
+                       clocks = <&cpg CPG_MOD 501>;
+                       clock-names = "fck";
+                       power-domains = <&cpg>;
+                       #dma-cells = <1>;
+                       dma-channels = <16>;
+               };
+
                pfc: pfc@e6060000 {
                        compatible = "renesas,pfc-r8a7795";
                        reg = <0 0xe6060000 0 0x50c>;