dts: st: h7: move dma property of dcmi in stm32h7.dtsi
Usage of dma is mandatory for the dcmi and this property is tightly coupled with the soc itself since the configuration of the dma depends on the source/destination, and the request line is also fixed for an ip. Instead of having to always have the dma property part of the board or shield dts/overlay, add the dma property into the dcmi node of the stm32h7.dtsi. Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
This commit is contained in:
parent
0c18dc3154
commit
99e12cbf4a
4 changed files with 3 additions and 14 deletions
|
@ -240,10 +240,6 @@ zephyr_udc0: &usbotg_hs {
|
|||
pinctrl-names = "default";
|
||||
status = "okay";
|
||||
|
||||
dmas = <&dma1 0 38 (STM32_DMA_PERIPH_TO_MEMORY | STM32_DMA_PERIPH_NO_INC |
|
||||
STM32_DMA_MEM_INC | STM32_DMA_PERIPH_8BITS | STM32_DMA_MEM_32BITS |
|
||||
STM32_DMA_PRIORITY_HIGH) STM32_DMA_FIFO_1_4>;
|
||||
|
||||
port {
|
||||
dcmi_ep_in: endpoint {
|
||||
remote-endpoint-label = "gc2145_ep_out";
|
||||
|
|
|
@ -17,10 +17,6 @@
|
|||
&dcmi_d0_pc6 &dcmi_d1_pc7 &dcmi_d2_pg10 &dcmi_d3_pc9
|
||||
&dcmi_d4_pc11 &dcmi_d5_pd3 &dcmi_d6_pb8 &dcmi_d7_pb9>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
dmas = <&dma1 0 75 (STM32_DMA_PERIPH_TO_MEMORY | STM32_DMA_PERIPH_NO_INC |
|
||||
STM32_DMA_MEM_INC | STM32_DMA_PERIPH_8BITS | STM32_DMA_MEM_32BITS |
|
||||
STM32_DMA_PRIORITY_HIGH) STM32_DMA_FIFO_1_4>;
|
||||
};
|
||||
|
||||
&dma1 {
|
||||
|
|
|
@ -44,12 +44,6 @@
|
|||
};
|
||||
};
|
||||
|
||||
&zephyr_camera_dvp {
|
||||
dmas = <&dma1 0 75 (STM32_DMA_PERIPH_TO_MEMORY | STM32_DMA_PERIPH_NO_INC |
|
||||
STM32_DMA_MEM_INC | STM32_DMA_PERIPH_8BITS | STM32_DMA_MEM_32BITS |
|
||||
STM32_DMA_PRIORITY_HIGH) STM32_DMA_FIFO_1_4>;
|
||||
};
|
||||
|
||||
&dma1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -1086,6 +1086,9 @@
|
|||
interrupts = <78 0>;
|
||||
interrupt-names = "dcmi";
|
||||
clocks = <&rcc STM32_CLOCK(AHB2, 0U)>;
|
||||
dmas = <&dma1 0 75 (STM32_DMA_PERIPH_TO_MEMORY | STM32_DMA_PERIPH_NO_INC |
|
||||
STM32_DMA_MEM_INC | STM32_DMA_PERIPH_8BITS | STM32_DMA_MEM_32BITS |
|
||||
STM32_DMA_PRIORITY_HIGH) STM32_DMA_FIFO_1_4>;
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue