]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: DT: STM32: add dma for usart1 on F429
authorGerald Baeza <gerald.baeza@st.com>
Thu, 3 Nov 2016 14:08:43 +0000 (15:08 +0100)
committerAlexandre TORGUE <alexandre.torgue@st.com>
Fri, 4 Nov 2016 14:07:53 +0000 (15:07 +0100)
Tested-by: Bruno Herrera <bruherrera@gmail.com>
Signed-off-by: Gerald Baeza <gerald.baeza@st.com>
Signed-off-by: Alexandre TORGUE <alexandre.torgue@st.com>
arch/arm/boot/dts/stm32f429.dtsi

index 3dd47ebe680b315e9b77c3f167916489a3fc7dce..f5ebad826374ade6ddc47135c057e68201d1949c 100644 (file)
@@ -162,6 +162,9 @@ usart1: serial@40011000 {
                        interrupts = <37>;
                        clocks = <&rcc 0 164>;
                        status = "disabled";
+                       dmas = <&dma2 2 4 0x400 0x0>,
+                              <&dma2 7 4 0x400 0x0>;
+                       dma-names = "rx", "tx";
                };
 
                usart6: serial@40011400 {