arm64: tegra: Add GPCDMA device tree node

Add GPCDMA device tree node as an overlay.

Bug 3631204

Signed-off-by: Akhil R <akhilrajeev@nvidia.com>
Change-Id: I4ec8ef94f357890c7c938b7094610fcaa01f2920
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2758220
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Akhil R
2022-08-22 17:50:59 +05:30
committed by mobile promotions
parent 3dbb1faa82
commit 62c3768776
2 changed files with 53 additions and 0 deletions

View File

@@ -9,4 +9,5 @@
#include "tegra234-p3701-0000-overlay.dtsi"
/ {
};

View File

@@ -13,4 +13,56 @@
/ {
overlay-name = "Add nvidia,p3737-0000+p3701-0000 Overlay Support";
compatible = "nvidia,tegra234";
fragment-t234@0 {
target-path = "/bus@0";
__overlay__ {
gpcdma: gpcdma@2600000 {
compatible = "nvidia,tegra234-gpcdma";
reg = <0x2600000 0x210000>;
resets = <&bpmp TEGRA234_RESET_GPCDMA>;
reset-names = "gpcdma";
interrupts = <0 75 0x04
0 76 0x04
0 77 0x04
0 78 0x04
0 79 0x04
0 80 0x04
0 81 0x04
0 82 0x04
0 83 0x04
0 84 0x04
0 85 0x04
0 86 0x04
0 87 0x04
0 88 0x04
0 89 0x04
0 90 0x04
0 91 0x04
0 92 0x04
0 93 0x04
0 94 0x04
0 95 0x04
0 96 0x04
0 97 0x04
0 98 0x04
0 99 0x04
0 100 0x04
0 101 0x04
0 102 0x04
0 103 0x04
0 104 0x04
0 105 0x04
0 106 0x04
0 107 0x04>;
#dma-cells = <1>;
iommus = <&smmu_niso0 TEGRA234_SID_GPCDMA>;
dma-coherent;
nvidia,start-dma-channel-index = <1>;
dma-channels = <31>;
status = "okay";
};
};
};
};