From 0dd3274a92f816200baee2ab372af1ba9bde7cde Mon Sep 17 00:00:00 2001 From: Raffael Rostagno Date: Tue, 3 Jun 2025 09:32:31 -0300 Subject: [PATCH] dts: esp32c2: esp8684: Add GDMA support Add GDMA peripheral to device tree. Signed-off-by: Raffael Rostagno --- dts/riscv/espressif/esp32c2/esp32c2_common.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/dts/riscv/espressif/esp32c2/esp32c2_common.dtsi b/dts/riscv/espressif/esp32c2/esp32c2_common.dtsi index 07eb36a9130..fdad26412f1 100644 --- a/dts/riscv/espressif/esp32c2/esp32c2_common.dtsi +++ b/dts/riscv/espressif/esp32c2/esp32c2_common.dtsi @@ -229,5 +229,17 @@ #io-channel-cells = <1>; status = "disabled"; }; + + dma: dma@6003f000 { + compatible = "espressif,esp32-gdma"; + reg = <0x6003f000 DT_SIZE_K(4)>; + #dma-cells = <1>; + interrupts = ; + interrupt-parent = <&intc>; + clocks = <&clock ESP32_GDMA_MODULE>; + dma-channels = <2>; + dma-buf-addr-alignment = <4>; + status = "disabled"; + }; }; };