mirror of
https://github.com/linux-sunxi/meta-sunxi.git
synced 2024-12-29 14:38:22 +01:00
54 lines
1.7 KiB
Diff
54 lines
1.7 KiB
Diff
|
From 8cdd9309fce75995cf3068be5c7ffb65cec51cff Mon Sep 17 00:00:00 2001
|
||
|
From: Gunjan Gupta <viraniac@gmail.com>
|
||
|
Date: Wed, 3 Jan 2024 09:53:55 +0000
|
||
|
Subject: [PATCH] arm64: dts: sun50i-h616: Add dma node
|
||
|
|
||
|
---
|
||
|
arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi | 16 ++++++++++++++++
|
||
|
1 file changed, 16 insertions(+)
|
||
|
|
||
|
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi
|
||
|
index 2424a2827455..e71b79ebced8 100644
|
||
|
--- a/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi
|
||
|
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi
|
||
|
@@ -170,6 +170,18 @@ mixer0_out_tcon_top_mixer0: endpoint {
|
||
|
};
|
||
|
};
|
||
|
|
||
|
+ dma: dma-controller@3002000 {
|
||
|
+ compatible = "allwinner,sun50i-h6-dma";
|
||
|
+ reg = <0x03002000 0x1000>;
|
||
|
+ interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
|
||
|
+ clocks = <&ccu CLK_BUS_DMA>, <&ccu CLK_MBUS_DMA>;
|
||
|
+ clock-names = "bus", "mbus";
|
||
|
+ dma-channels = <16>;
|
||
|
+ dma-requests = <49>;
|
||
|
+ resets = <&ccu RST_BUS_DMA>;
|
||
|
+ #dma-cells = <1>;
|
||
|
+ };
|
||
|
+
|
||
|
gpu: gpu@1800000 {
|
||
|
compatible = "allwinner,sun50i-h616-mali",
|
||
|
"arm,mali-bifrost";
|
||
|
@@ -606,6 +618,8 @@ spi0: spi@5010000 {
|
||
|
interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
|
||
|
clocks = <&ccu CLK_BUS_SPI0>, <&ccu CLK_SPI0>;
|
||
|
clock-names = "ahb", "mod";
|
||
|
+ dmas = <&dma 22>, <&dma 22>;
|
||
|
+ dma-names = "rx", "tx";
|
||
|
resets = <&ccu RST_BUS_SPI0>;
|
||
|
pinctrl-names = "default";
|
||
|
pinctrl-0 = <&spi0_pins>;
|
||
|
@@ -621,6 +635,8 @@ spi1: spi@5011000 {
|
||
|
interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
|
||
|
clocks = <&ccu CLK_BUS_SPI1>, <&ccu CLK_SPI1>;
|
||
|
clock-names = "ahb", "mod";
|
||
|
+ dmas = <&dma 23>, <&dma 23>;
|
||
|
+ dma-names = "rx", "tx";
|
||
|
resets = <&ccu RST_BUS_SPI1>;
|
||
|
pinctrl-names = "default";
|
||
|
pinctrl-0 = <&spi1_pins>;
|
||
|
--
|
||
|
2.34.1
|
||
|
|