Commit 4b0f8879 authored by Simon Horman's avatar Simon Horman

ARM: shmobile: r8a7793: Describe DMA for the serial ports

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: default avatarSimon Horman <horms+renesas@verge.net.au>
Acked-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
parent 222ca783
...@@ -303,6 +303,8 @@ scifa0: serial@e6c40000 { ...@@ -303,6 +303,8 @@ scifa0: serial@e6c40000 {
interrupts = <0 144 IRQ_TYPE_LEVEL_HIGH>; interrupts = <0 144 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp2_clks R8A7793_CLK_SCIFA0>; clocks = <&mstp2_clks R8A7793_CLK_SCIFA0>;
clock-names = "sci_ick"; clock-names = "sci_ick";
dmas = <&dmac0 0x21>, <&dmac0 0x22>;
dma-names = "tx", "rx";
power-domains = <&cpg_clocks>; power-domains = <&cpg_clocks>;
status = "disabled"; status = "disabled";
}; };
...@@ -313,6 +315,8 @@ scifa1: serial@e6c50000 { ...@@ -313,6 +315,8 @@ scifa1: serial@e6c50000 {
interrupts = <0 145 IRQ_TYPE_LEVEL_HIGH>; interrupts = <0 145 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp2_clks R8A7793_CLK_SCIFA1>; clocks = <&mstp2_clks R8A7793_CLK_SCIFA1>;
clock-names = "sci_ick"; clock-names = "sci_ick";
dmas = <&dmac0 0x25>, <&dmac0 0x26>;
dma-names = "tx", "rx";
power-domains = <&cpg_clocks>; power-domains = <&cpg_clocks>;
status = "disabled"; status = "disabled";
}; };
...@@ -323,6 +327,8 @@ scifa2: serial@e6c60000 { ...@@ -323,6 +327,8 @@ scifa2: serial@e6c60000 {
interrupts = <0 151 IRQ_TYPE_LEVEL_HIGH>; interrupts = <0 151 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp2_clks R8A7793_CLK_SCIFA2>; clocks = <&mstp2_clks R8A7793_CLK_SCIFA2>;
clock-names = "sci_ick"; clock-names = "sci_ick";
dmas = <&dmac0 0x27>, <&dmac0 0x28>;
dma-names = "tx", "rx";
power-domains = <&cpg_clocks>; power-domains = <&cpg_clocks>;
status = "disabled"; status = "disabled";
}; };
...@@ -333,6 +339,8 @@ scifa3: serial@e6c70000 { ...@@ -333,6 +339,8 @@ scifa3: serial@e6c70000 {
interrupts = <0 29 IRQ_TYPE_LEVEL_HIGH>; interrupts = <0 29 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp11_clks R8A7793_CLK_SCIFA3>; clocks = <&mstp11_clks R8A7793_CLK_SCIFA3>;
clock-names = "sci_ick"; clock-names = "sci_ick";
dmas = <&dmac0 0x1b>, <&dmac0 0x1c>;
dma-names = "tx", "rx";
power-domains = <&cpg_clocks>; power-domains = <&cpg_clocks>;
status = "disabled"; status = "disabled";
}; };
...@@ -343,6 +351,8 @@ scifa4: serial@e6c78000 { ...@@ -343,6 +351,8 @@ scifa4: serial@e6c78000 {
interrupts = <0 30 IRQ_TYPE_LEVEL_HIGH>; interrupts = <0 30 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp11_clks R8A7793_CLK_SCIFA4>; clocks = <&mstp11_clks R8A7793_CLK_SCIFA4>;
clock-names = "sci_ick"; clock-names = "sci_ick";
dmas = <&dmac0 0x1f>, <&dmac0 0x20>;
dma-names = "tx", "rx";
power-domains = <&cpg_clocks>; power-domains = <&cpg_clocks>;
status = "disabled"; status = "disabled";
}; };
...@@ -353,6 +363,8 @@ scifa5: serial@e6c80000 { ...@@ -353,6 +363,8 @@ scifa5: serial@e6c80000 {
interrupts = <0 31 IRQ_TYPE_LEVEL_HIGH>; interrupts = <0 31 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp11_clks R8A7793_CLK_SCIFA5>; clocks = <&mstp11_clks R8A7793_CLK_SCIFA5>;
clock-names = "sci_ick"; clock-names = "sci_ick";
dmas = <&dmac0 0x23>, <&dmac0 0x24>;
dma-names = "tx", "rx";
power-domains = <&cpg_clocks>; power-domains = <&cpg_clocks>;
status = "disabled"; status = "disabled";
}; };
...@@ -363,6 +375,8 @@ scifb0: serial@e6c20000 { ...@@ -363,6 +375,8 @@ scifb0: serial@e6c20000 {
interrupts = <0 148 IRQ_TYPE_LEVEL_HIGH>; interrupts = <0 148 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp2_clks R8A7793_CLK_SCIFB0>; clocks = <&mstp2_clks R8A7793_CLK_SCIFB0>;
clock-names = "sci_ick"; clock-names = "sci_ick";
dmas = <&dmac0 0x3d>, <&dmac0 0x3e>;
dma-names = "tx", "rx";
power-domains = <&cpg_clocks>; power-domains = <&cpg_clocks>;
status = "disabled"; status = "disabled";
}; };
...@@ -373,6 +387,8 @@ scifb1: serial@e6c30000 { ...@@ -373,6 +387,8 @@ scifb1: serial@e6c30000 {
interrupts = <0 149 IRQ_TYPE_LEVEL_HIGH>; interrupts = <0 149 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp2_clks R8A7793_CLK_SCIFB1>; clocks = <&mstp2_clks R8A7793_CLK_SCIFB1>;
clock-names = "sci_ick"; clock-names = "sci_ick";
dmas = <&dmac0 0x19>, <&dmac0 0x1a>;
dma-names = "tx", "rx";
power-domains = <&cpg_clocks>; power-domains = <&cpg_clocks>;
status = "disabled"; status = "disabled";
}; };
...@@ -383,6 +399,8 @@ scifb2: serial@e6ce0000 { ...@@ -383,6 +399,8 @@ scifb2: serial@e6ce0000 {
interrupts = <0 150 IRQ_TYPE_LEVEL_HIGH>; interrupts = <0 150 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp2_clks R8A7793_CLK_SCIFB2>; clocks = <&mstp2_clks R8A7793_CLK_SCIFB2>;
clock-names = "sci_ick"; clock-names = "sci_ick";
dmas = <&dmac0 0x1d>, <&dmac0 0x1e>;
dma-names = "tx", "rx";
power-domains = <&cpg_clocks>; power-domains = <&cpg_clocks>;
status = "disabled"; status = "disabled";
}; };
...@@ -393,6 +411,8 @@ scif0: serial@e6e60000 { ...@@ -393,6 +411,8 @@ scif0: serial@e6e60000 {
interrupts = <0 152 IRQ_TYPE_LEVEL_HIGH>; interrupts = <0 152 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp7_clks R8A7793_CLK_SCIF0>; clocks = <&mstp7_clks R8A7793_CLK_SCIF0>;
clock-names = "sci_ick"; clock-names = "sci_ick";
dmas = <&dmac0 0x29>, <&dmac0 0x2a>;
dma-names = "tx", "rx";
power-domains = <&cpg_clocks>; power-domains = <&cpg_clocks>;
status = "disabled"; status = "disabled";
}; };
...@@ -403,6 +423,8 @@ scif1: serial@e6e68000 { ...@@ -403,6 +423,8 @@ scif1: serial@e6e68000 {
interrupts = <0 153 IRQ_TYPE_LEVEL_HIGH>; interrupts = <0 153 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp7_clks R8A7793_CLK_SCIF1>; clocks = <&mstp7_clks R8A7793_CLK_SCIF1>;
clock-names = "sci_ick"; clock-names = "sci_ick";
dmas = <&dmac0 0x2d>, <&dmac0 0x2e>;
dma-names = "tx", "rx";
power-domains = <&cpg_clocks>; power-domains = <&cpg_clocks>;
status = "disabled"; status = "disabled";
}; };
...@@ -413,6 +435,8 @@ scif2: serial@e6e58000 { ...@@ -413,6 +435,8 @@ scif2: serial@e6e58000 {
interrupts = <0 22 IRQ_TYPE_LEVEL_HIGH>; interrupts = <0 22 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp7_clks R8A7793_CLK_SCIF2>; clocks = <&mstp7_clks R8A7793_CLK_SCIF2>;
clock-names = "sci_ick"; clock-names = "sci_ick";
dmas = <&dmac0 0x2b>, <&dmac0 0x2c>;
dma-names = "tx", "rx";
power-domains = <&cpg_clocks>; power-domains = <&cpg_clocks>;
status = "disabled"; status = "disabled";
}; };
...@@ -423,6 +447,8 @@ scif3: serial@e6ea8000 { ...@@ -423,6 +447,8 @@ scif3: serial@e6ea8000 {
interrupts = <0 23 IRQ_TYPE_LEVEL_HIGH>; interrupts = <0 23 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp7_clks R8A7793_CLK_SCIF3>; clocks = <&mstp7_clks R8A7793_CLK_SCIF3>;
clock-names = "sci_ick"; clock-names = "sci_ick";
dmas = <&dmac0 0x2f>, <&dmac0 0x30>;
dma-names = "tx", "rx";
power-domains = <&cpg_clocks>; power-domains = <&cpg_clocks>;
status = "disabled"; status = "disabled";
}; };
...@@ -433,6 +459,8 @@ scif4: serial@e6ee0000 { ...@@ -433,6 +459,8 @@ scif4: serial@e6ee0000 {
interrupts = <0 24 IRQ_TYPE_LEVEL_HIGH>; interrupts = <0 24 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp7_clks R8A7793_CLK_SCIF4>; clocks = <&mstp7_clks R8A7793_CLK_SCIF4>;
clock-names = "sci_ick"; clock-names = "sci_ick";
dmas = <&dmac0 0xfb>, <&dmac0 0xfc>;
dma-names = "tx", "rx";
power-domains = <&cpg_clocks>; power-domains = <&cpg_clocks>;
status = "disabled"; status = "disabled";
}; };
...@@ -443,6 +471,8 @@ scif5: serial@e6ee8000 { ...@@ -443,6 +471,8 @@ scif5: serial@e6ee8000 {
interrupts = <0 25 IRQ_TYPE_LEVEL_HIGH>; interrupts = <0 25 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp7_clks R8A7793_CLK_SCIF5>; clocks = <&mstp7_clks R8A7793_CLK_SCIF5>;
clock-names = "sci_ick"; clock-names = "sci_ick";
dmas = <&dmac0 0xfd>, <&dmac0 0xfe>;
dma-names = "tx", "rx";
power-domains = <&cpg_clocks>; power-domains = <&cpg_clocks>;
status = "disabled"; status = "disabled";
}; };
...@@ -453,6 +483,8 @@ hscif0: serial@e62c0000 { ...@@ -453,6 +483,8 @@ hscif0: serial@e62c0000 {
interrupts = <0 154 IRQ_TYPE_LEVEL_HIGH>; interrupts = <0 154 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp7_clks R8A7793_CLK_HSCIF0>; clocks = <&mstp7_clks R8A7793_CLK_HSCIF0>;
clock-names = "sci_ick"; clock-names = "sci_ick";
dmas = <&dmac0 0x39>, <&dmac0 0x3a>;
dma-names = "tx", "rx";
power-domains = <&cpg_clocks>; power-domains = <&cpg_clocks>;
status = "disabled"; status = "disabled";
}; };
...@@ -463,6 +495,8 @@ hscif1: serial@e62c8000 { ...@@ -463,6 +495,8 @@ hscif1: serial@e62c8000 {
interrupts = <0 155 IRQ_TYPE_LEVEL_HIGH>; interrupts = <0 155 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp7_clks R8A7793_CLK_HSCIF1>; clocks = <&mstp7_clks R8A7793_CLK_HSCIF1>;
clock-names = "sci_ick"; clock-names = "sci_ick";
dmas = <&dmac0 0x4d>, <&dmac0 0x4e>;
dma-names = "tx", "rx";
power-domains = <&cpg_clocks>; power-domains = <&cpg_clocks>;
status = "disabled"; status = "disabled";
}; };
...@@ -473,6 +507,8 @@ hscif2: serial@e62d0000 { ...@@ -473,6 +507,8 @@ hscif2: serial@e62d0000 {
interrupts = <0 21 IRQ_TYPE_LEVEL_HIGH>; interrupts = <0 21 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp7_clks R8A7793_CLK_HSCIF2>; clocks = <&mstp7_clks R8A7793_CLK_HSCIF2>;
clock-names = "sci_ick"; clock-names = "sci_ick";
dmas = <&dmac0 0x3b>, <&dmac0 0x3c>;
dma-names = "tx", "rx";
power-domains = <&cpg_clocks>; power-domains = <&cpg_clocks>;
status = "disabled"; status = "disabled";
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment