Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: Add DMA bindings for STM32 USART

Signed-off-by: Gerald Baeza <gerald.baeza@st.com>
Signed-off-by: Alexandre TORGUE <alexandre.torgue@st.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Alexandre TORGUE and committed by
Greg Kroah-Hartman
3fa047fd 511c7b1b

+12
+12
Documentation/devicetree/bindings/serial/st,stm32-usart.txt
··· 12 12 Optional properties: 13 13 - pinctrl: The reference on the pins configuration 14 14 - st,hw-flow-ctrl: bool flag to enable hardware flow control. 15 + - dmas: phandle(s) to DMA controller node(s). Refer to stm32-dma.txt 16 + - dma-names: "rx" and/or "tx" 15 17 16 18 Examples: 17 19 usart4: serial@40004c00 { ··· 33 31 st,hw-flow-ctrl; 34 32 pinctrl-names = "default"; 35 33 pinctrl-0 = <&pinctrl_usart2 &pinctrl_usart2_rtscts>; 34 + }; 35 + 36 + usart1: serial@40011000 { 37 + compatible = "st,stm32-usart", "st,stm32-uart"; 38 + reg = <0x40011000 0x400>; 39 + interrupts = <37>; 40 + clocks = <&rcc 0 164>; 41 + dmas = <&dma2 2 4 0x414 0x0>, 42 + <&dma2 7 4 0x414 0x0>; 43 + dma-names = "rx", "tx"; 36 44 };