From 46064c31c3aa3fe4f4151dcb02eeae6ef0e37796 Mon Sep 17 00:00:00 2001 From: Abhishek Mainkar Date: Thu, 8 Jun 2023 21:50:01 +0000 Subject: [PATCH] t23x: overlay: create alias for nvdla controllers Alias for nvdla controllers is needed for deriving the path of controller node. Bug 3761540 Signed-off-by: Abhishek Mainkar Change-Id: Ie078a8051d363ab22bf7059e1ae77d05e2fb38f3 Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2918220 Tested-by: mobile promotions Reviewed-by: mobile promotions (cherry picked from commit 7f63b010c992dbd260fcc24406c2cd69b9e7defc) Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2969993 Reviewed-by: Ashish Singhal Reviewed-by: Bibek Basu GVS: Gerrit_Virtual_Submit --- overlay/tegra234-jetson.dts | 12 +++++++++++- overlay/tegra234-soc-overlay.dtsi | 7 ++++++- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/overlay/tegra234-jetson.dts b/overlay/tegra234-jetson.dts index b056846..7f0cae8 100644 --- a/overlay/tegra234-jetson.dts +++ b/overlay/tegra234-jetson.dts @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0-only -// Copyright (c) 2022-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +// SPDX-FileCopyrightText: Copyright (c) 2022-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved. /dts-v1/; /plugin/; @@ -342,4 +342,14 @@ }; }; }; + + fragment@5 { + target-path = "/"; + __overlay__ { + aliases { + nvdla0 = "/bus@0/host1x@13e00000/nvdla0@15880000"; + nvdla1 = "/bus@0/host1x@13e00000/nvdla1@158c0000"; + }; + }; + }; }; diff --git a/overlay/tegra234-soc-overlay.dtsi b/overlay/tegra234-soc-overlay.dtsi index 103a7e6..bfe764f 100644 --- a/overlay/tegra234-soc-overlay.dtsi +++ b/overlay/tegra234-soc-overlay.dtsi @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0-only -// Copyright (c) 2022-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +// SPDX-FileCopyrightText: Copyright (c) 2022-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved. // // This file contains the DT nodes of T234 which are not in base/tegra234.dtsi @@ -19,6 +19,11 @@ fragment-t234-soc@0 { target-path = "/"; __overlay__ { + aliases { + nvdla0 = "/bus@0/host1x@13e00000/nvdla0@15880000"; + nvdla1 = "/bus@0/host1x@13e00000/nvdla1@158c0000"; + }; + chosen { framebuffer { compatible = "simple-framebuffer";