]> Gentwo Git Trees - linux/.git/commitdiff
ARM: shmobile: r8a7793: Describe DMA for the serial ports
authorSimon Horman <horms+renesas@verge.net.au>
Fri, 11 Dec 2015 01:07:38 +0000 (10:07 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Fri, 11 Dec 2015 01:16:49 +0000 (10:16 +0900)
Add DMA properties to all SCIF, SCIFA, SCIFB, and HSCIF device nodes.

Based on similar work for the r8a7791 by Geert Uytterhoeven.

Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm/boot/dts/r8a7793.dtsi

index 309b33d60001eb113c2a87c07375e875df14d0fa..df607a92b2edeb66742f5216b4025c99af6c3b8b 100644 (file)
@@ -303,6 +303,8 @@ scifa0: serial@e6c40000 {
                interrupts = <0 144 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&mstp2_clks R8A7793_CLK_SCIFA0>;
                clock-names = "sci_ick";
+               dmas = <&dmac0 0x21>, <&dmac0 0x22>;
+               dma-names = "tx", "rx";
                power-domains = <&cpg_clocks>;
                status = "disabled";
        };
@@ -313,6 +315,8 @@ scifa1: serial@e6c50000 {
                interrupts = <0 145 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&mstp2_clks R8A7793_CLK_SCIFA1>;
                clock-names = "sci_ick";
+               dmas = <&dmac0 0x25>, <&dmac0 0x26>;
+               dma-names = "tx", "rx";
                power-domains = <&cpg_clocks>;
                status = "disabled";
        };
@@ -323,6 +327,8 @@ scifa2: serial@e6c60000 {
                interrupts = <0 151 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&mstp2_clks R8A7793_CLK_SCIFA2>;
                clock-names = "sci_ick";
+               dmas = <&dmac0 0x27>, <&dmac0 0x28>;
+               dma-names = "tx", "rx";
                power-domains = <&cpg_clocks>;
                status = "disabled";
        };
@@ -333,6 +339,8 @@ scifa3: serial@e6c70000 {
                interrupts = <0 29 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&mstp11_clks R8A7793_CLK_SCIFA3>;
                clock-names = "sci_ick";
+               dmas = <&dmac0 0x1b>, <&dmac0 0x1c>;
+               dma-names = "tx", "rx";
                power-domains = <&cpg_clocks>;
                status = "disabled";
        };
@@ -343,6 +351,8 @@ scifa4: serial@e6c78000 {
                interrupts = <0 30 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&mstp11_clks R8A7793_CLK_SCIFA4>;
                clock-names = "sci_ick";
+               dmas = <&dmac0 0x1f>, <&dmac0 0x20>;
+               dma-names = "tx", "rx";
                power-domains = <&cpg_clocks>;
                status = "disabled";
        };
@@ -353,6 +363,8 @@ scifa5: serial@e6c80000 {
                interrupts = <0 31 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&mstp11_clks R8A7793_CLK_SCIFA5>;
                clock-names = "sci_ick";
+               dmas = <&dmac0 0x23>, <&dmac0 0x24>;
+               dma-names = "tx", "rx";
                power-domains = <&cpg_clocks>;
                status = "disabled";
        };
@@ -363,6 +375,8 @@ scifb0: serial@e6c20000 {
                interrupts = <0 148 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&mstp2_clks R8A7793_CLK_SCIFB0>;
                clock-names = "sci_ick";
+               dmas = <&dmac0 0x3d>, <&dmac0 0x3e>;
+               dma-names = "tx", "rx";
                power-domains = <&cpg_clocks>;
                status = "disabled";
        };
@@ -373,6 +387,8 @@ scifb1: serial@e6c30000 {
                interrupts = <0 149 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&mstp2_clks R8A7793_CLK_SCIFB1>;
                clock-names = "sci_ick";
+               dmas = <&dmac0 0x19>, <&dmac0 0x1a>;
+               dma-names = "tx", "rx";
                power-domains = <&cpg_clocks>;
                status = "disabled";
        };
@@ -383,6 +399,8 @@ scifb2: serial@e6ce0000 {
                interrupts = <0 150 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&mstp2_clks R8A7793_CLK_SCIFB2>;
                clock-names = "sci_ick";
+               dmas = <&dmac0 0x1d>, <&dmac0 0x1e>;
+               dma-names = "tx", "rx";
                power-domains = <&cpg_clocks>;
                status = "disabled";
        };
@@ -393,6 +411,8 @@ scif0: serial@e6e60000 {
                interrupts = <0 152 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&mstp7_clks R8A7793_CLK_SCIF0>;
                clock-names = "sci_ick";
+               dmas = <&dmac0 0x29>, <&dmac0 0x2a>;
+               dma-names = "tx", "rx";
                power-domains = <&cpg_clocks>;
                status = "disabled";
        };
@@ -403,6 +423,8 @@ scif1: serial@e6e68000 {
                interrupts = <0 153 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&mstp7_clks R8A7793_CLK_SCIF1>;
                clock-names = "sci_ick";
+               dmas = <&dmac0 0x2d>, <&dmac0 0x2e>;
+               dma-names = "tx", "rx";
                power-domains = <&cpg_clocks>;
                status = "disabled";
        };
@@ -413,6 +435,8 @@ scif2: serial@e6e58000 {
                interrupts = <0 22 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&mstp7_clks R8A7793_CLK_SCIF2>;
                clock-names = "sci_ick";
+               dmas = <&dmac0 0x2b>, <&dmac0 0x2c>;
+               dma-names = "tx", "rx";
                power-domains = <&cpg_clocks>;
                status = "disabled";
        };
@@ -423,6 +447,8 @@ scif3: serial@e6ea8000 {
                interrupts = <0 23 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&mstp7_clks R8A7793_CLK_SCIF3>;
                clock-names = "sci_ick";
+               dmas = <&dmac0 0x2f>, <&dmac0 0x30>;
+               dma-names = "tx", "rx";
                power-domains = <&cpg_clocks>;
                status = "disabled";
        };
@@ -433,6 +459,8 @@ scif4: serial@e6ee0000 {
                interrupts = <0 24 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&mstp7_clks R8A7793_CLK_SCIF4>;
                clock-names = "sci_ick";
+               dmas = <&dmac0 0xfb>, <&dmac0 0xfc>;
+               dma-names = "tx", "rx";
                power-domains = <&cpg_clocks>;
                status = "disabled";
        };
@@ -443,6 +471,8 @@ scif5: serial@e6ee8000 {
                interrupts = <0 25 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&mstp7_clks R8A7793_CLK_SCIF5>;
                clock-names = "sci_ick";
+               dmas = <&dmac0 0xfd>, <&dmac0 0xfe>;
+               dma-names = "tx", "rx";
                power-domains = <&cpg_clocks>;
                status = "disabled";
        };
@@ -453,6 +483,8 @@ hscif0: serial@e62c0000 {
                interrupts = <0 154 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&mstp7_clks R8A7793_CLK_HSCIF0>;
                clock-names = "sci_ick";
+               dmas = <&dmac0 0x39>, <&dmac0 0x3a>;
+               dma-names = "tx", "rx";
                power-domains = <&cpg_clocks>;
                status = "disabled";
        };
@@ -463,6 +495,8 @@ hscif1: serial@e62c8000 {
                interrupts = <0 155 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&mstp7_clks R8A7793_CLK_HSCIF1>;
                clock-names = "sci_ick";
+               dmas = <&dmac0 0x4d>, <&dmac0 0x4e>;
+               dma-names = "tx", "rx";
                power-domains = <&cpg_clocks>;
                status = "disabled";
        };
@@ -473,6 +507,8 @@ hscif2: serial@e62d0000 {
                interrupts = <0 21 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&mstp7_clks R8A7793_CLK_HSCIF2>;
                clock-names = "sci_ick";
+               dmas = <&dmac0 0x3b>, <&dmac0 0x3c>;
+               dma-names = "tx", "rx";
                power-domains = <&cpg_clocks>;
                status = "disabled";
        };