Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bcd9b43e authored by Fabrice Gasnier's avatar Fabrice Gasnier Committed by Alexandre TORGUE
Browse files

ARM: dts: stm32: Enable dma by default on stm32f4 adc



Configure STM32F4 ADC to use dma by default.

Signed-off-by: default avatarFabrice Gasnier <fabrice.gasnier@st.com>
Signed-off-by: default avatarAlexandre TORGUE <alexandre.torgue@st.com>
parent 4cc62747
Loading
Loading
Loading
Loading
+6 −0
Original line number Original line Diff line number Diff line
@@ -450,6 +450,8 @@
				clocks = <&rcc 0 STM32F4_APB2_CLOCK(ADC1)>;
				clocks = <&rcc 0 STM32F4_APB2_CLOCK(ADC1)>;
				interrupt-parent = <&adc>;
				interrupt-parent = <&adc>;
				interrupts = <0>;
				interrupts = <0>;
				dmas = <&dma2 0 0 0x400 0x0>;
				dma-names = "rx";
				status = "disabled";
				status = "disabled";
			};
			};


@@ -460,6 +462,8 @@
				clocks = <&rcc 0 STM32F4_APB2_CLOCK(ADC2)>;
				clocks = <&rcc 0 STM32F4_APB2_CLOCK(ADC2)>;
				interrupt-parent = <&adc>;
				interrupt-parent = <&adc>;
				interrupts = <1>;
				interrupts = <1>;
				dmas = <&dma2 3 1 0x400 0x0>;
				dma-names = "rx";
				status = "disabled";
				status = "disabled";
			};
			};


@@ -470,6 +474,8 @@
				clocks = <&rcc 0 STM32F4_APB2_CLOCK(ADC3)>;
				clocks = <&rcc 0 STM32F4_APB2_CLOCK(ADC3)>;
				interrupt-parent = <&adc>;
				interrupt-parent = <&adc>;
				interrupts = <2>;
				interrupts = <2>;
				dmas = <&dma2 1 2 0x400 0x0>;
				dma-names = "rx";
				status = "disabled";
				status = "disabled";
			};
			};
		};
		};