diff options
author | Fabrice Gasnier <fabrice.gasnier@st.com> | 2017-03-23 18:14:58 +0100 |
---|---|---|
committer | Alexandre TORGUE <alexandre.torgue@st.com> | 2017-03-23 18:19:11 +0100 |
commit | bcd9b43eb1f986265481740e92a89ac912224c82 (patch) | |
tree | e254030ddd11ddc8c7e0c85a06f1dfa80db9883e /arch/arm/boot/dts/stm32f429.dtsi | |
parent | 4cc627472cd69a738d7cb4283e8756e1d65971fa (diff) | |
download | linux-bcd9b43eb1f986265481740e92a89ac912224c82.tar.bz2 |
ARM: dts: stm32: Enable dma by default on stm32f4 adc
Configure STM32F4 ADC to use dma by default.
Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Signed-off-by: Alexandre TORGUE <alexandre.torgue@st.com>
Diffstat (limited to 'arch/arm/boot/dts/stm32f429.dtsi')
-rw-r--r-- | arch/arm/boot/dts/stm32f429.dtsi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/stm32f429.dtsi b/arch/arm/boot/dts/stm32f429.dtsi index ee0da970e8ad..14c1fe3ef2a6 100644 --- a/arch/arm/boot/dts/stm32f429.dtsi +++ b/arch/arm/boot/dts/stm32f429.dtsi @@ -450,6 +450,8 @@ clocks = <&rcc 0 STM32F4_APB2_CLOCK(ADC1)>; interrupt-parent = <&adc>; interrupts = <0>; + dmas = <&dma2 0 0 0x400 0x0>; + dma-names = "rx"; status = "disabled"; }; @@ -460,6 +462,8 @@ clocks = <&rcc 0 STM32F4_APB2_CLOCK(ADC2)>; interrupt-parent = <&adc>; interrupts = <1>; + dmas = <&dma2 3 1 0x400 0x0>; + dma-names = "rx"; status = "disabled"; }; @@ -470,6 +474,8 @@ clocks = <&rcc 0 STM32F4_APB2_CLOCK(ADC3)>; interrupt-parent = <&adc>; interrupts = <2>; + dmas = <&dma2 1 2 0x400 0x0>; + dma-names = "rx"; status = "disabled"; }; }; |