ARM: dts: stm32: Add dma config for spi5 on stm32f429
authordillon min <dillon.minfei@gmail.com>
Wed, 27 May 2020 07:27:25 +0000 (15:27 +0800)
committerAlexandre Torgue <alexandre.torgue@st.com>
Mon, 15 Jun 2020 08:42:35 +0000 (10:42 +0200)
Enable spi5's dma configuration for graphics data output to
ilitek ili9341 panel via mipi dbi interface.

Signed-off-by: dillon min <dillon.minfei@gmail.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
arch/arm/boot/dts/stm32f429.dtsi

index 393f43c..e38b64f 100644 (file)
                        reg = <0x40015000 0x400>;
                        interrupts = <85>;
                        clocks = <&rcc 0 STM32F4_APB2_CLOCK(SPI5)>;
+                       dmas = <&dma2 3 2 0x400 0x0>,
+                               <&dma2 4 2 0x400 0x0>;
+                       dma-names = "rx", "tx";
                        status = "disabled";
                };