[PATCH 7/8] ARM: dts: microchip: sama7d65: Add DMAs to sama7d65 SoC
Claudiu Beznea
claudiu.beznea at tuxon.dev
Tue Feb 18 00:41:01 PST 2025
Hi, Ryan,
On 14.02.2025 20:08, Ryan.Wanner at microchip.com wrote:
> From: Ryan Wanner <Ryan.Wanner at microchip.com>
>
> Add DMAs to the SAMA7D65 SoC device tree.
>
> Signed-off-by: Ryan Wanner <Ryan.Wanner at microchip.com>
> ---
> arch/arm/boot/dts/microchip/sama7d65.dtsi | 32 +++++++++++++++++++++++
> 1 file changed, 32 insertions(+)
>
> diff --git a/arch/arm/boot/dts/microchip/sama7d65.dtsi b/arch/arm/boot/dts/microchip/sama7d65.dtsi
> index d06a51972d363..b472a7d929ee4 100644
> --- a/arch/arm/boot/dts/microchip/sama7d65.dtsi
> +++ b/arch/arm/boot/dts/microchip/sama7d65.dtsi
> @@ -9,6 +9,7 @@
> */
>
> #include <dt-bindings/clock/at91.h>
> +#include <dt-bindings/dma/at91.h>
> #include <dt-bindings/gpio/gpio.h>
> #include <dt-bindings/interrupt-controller/arm-gic.h>
> #include <dt-bindings/interrupt-controller/irq.h>
> @@ -95,6 +96,17 @@ chipid at e0020000 {
> reg = <0xe0020000 0x8>;
> };
>
> + dma2: dma-controller at e1200000 {
> + compatible = "microchip,sama7d65-dma", "microchip,sama7g5-dma";
> + reg = <0xe1200000 0x1000>;
> + interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
> + #dma-cells = <1>;
> + clocks = <&pmc PMC_TYPE_PERIPHERAL 23>;
> + clock-names = "dma_clk";
> + dma-requests = <0>;
> + status = "disabled";
> + };
> +
> sdmmc1: mmc at e1208000 {
> compatible = "microchip,sama7d65-sdhci", "microchip,sam9x60-sdhci";
> reg = <0xe1208000 0x400>;
> @@ -107,6 +119,26 @@ sdmmc1: mmc at e1208000 {
> status = "disabled";
> };
>
> + dma0: dma-controller at e1610000 {
> + compatible = "microchip,sama7d65-dma", "microchip,sama7g5-dma";
> + reg = < 0xe1610000 0x1000>;
There is an extra space b/w < and 0x. I can adjust while applying.
> + interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
> + #dma-cells = <1>;
> + clocks = <&pmc PMC_TYPE_PERIPHERAL 21>;
> + clock-names = "dma_clk";
> + status = "disabled";
> + };
> +
> + dma1: dma-controller at e1614000 {
> + compatible = "microchip,sama7d65-dma", "microchip,sama7g5-dma";
> + reg = <0xe1614000 0x1000>;
> + interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
> + #dma-cells = <1>;
> + clocks = <&pmc PMC_TYPE_PERIPHERAL 22>;
> + clock-names = "dma_clk";
> + status = "disabled";
> + };
> +
> pit64b0: timer at e1800000 {
> compatible = "microchip,sama7d65-pit64b", "microchip,sam9x60-pit64b";
> reg = <0xe1800000 0x100>;
More information about the linux-arm-kernel
mailing list