From 2f86965a1a843c2097f3378a47c69479eedd0c68 Mon Sep 17 00:00:00 2001 From: Johnny Liu Date: Tue, 25 Jul 2023 05:16:25 +0000 Subject: [PATCH] t234: overlay: add interconnect property to gpu Add interconnects property with NVLINK MC client ID and path info to the node representing NVGPU. Bug 3997304 Signed-off-by: Johnny Liu Change-Id: I17ac18fdd6149720369f207c2336d96989f226a6 Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2941869 Reviewed-by: svcacv Reviewed-by: Sumit Gupta Reviewed-by: Laxman Dewangan Reviewed-by: Rajkumar Kasirajan Reviewed-by: Jonathan Hunter GVS: Gerrit_Virtual_Submit --- overlay/tegra234-jetson.dts | 3 +++ overlay/tegra234-soc-overlay.dtsi | 3 +++ 2 files changed, 6 insertions(+) diff --git a/overlay/tegra234-jetson.dts b/overlay/tegra234-jetson.dts index 65d92d1..96865e4 100644 --- a/overlay/tegra234-jetson.dts +++ b/overlay/tegra234-jetson.dts @@ -257,6 +257,9 @@ ; interrupt-names = "stall0", "stall1", "stall2", "nonstall"; power-domains = <&bpmp TEGRA234_POWER_DOMAIN_GPU>; + interconnects = <&mc TEGRA234_MEMORY_CLIENT_NVL1R &emc>, + <&mc TEGRA234_MEMORY_CLIENT_NVL1W &emc>; + interconnect-names = "dma-mem", "write"; clocks = <&bpmp TEGRA234_CLK_GPUSYS>, <&bpmp TEGRA234_CLK_GPC0CLK>, <&bpmp TEGRA234_CLK_GPC1CLK>; diff --git a/overlay/tegra234-soc-overlay.dtsi b/overlay/tegra234-soc-overlay.dtsi index d57bfd2..2f7ad48 100644 --- a/overlay/tegra234-soc-overlay.dtsi +++ b/overlay/tegra234-soc-overlay.dtsi @@ -244,6 +244,9 @@ ; interrupt-names = "stall0", "stall1", "stall2", "nonstall"; power-domains = <&bpmp TEGRA234_POWER_DOMAIN_GPU>; + interconnects = <&mc TEGRA234_MEMORY_CLIENT_NVL1R &emc>, + <&mc TEGRA234_MEMORY_CLIENT_NVL1W &emc>; + interconnect-names = "dma-mem", "write"; clocks = <&bpmp TEGRA234_CLK_GPUSYS>, <&bpmp TEGRA234_CLK_GPC0CLK>, <&bpmp TEGRA234_CLK_GPC1CLK>;