From a286e36190c95b6a395d0aa6ee2209174857b325 Mon Sep 17 00:00:00 2001 From: Yi-Wei Wang Date: Mon, 30 Oct 2023 08:51:08 +0800 Subject: [PATCH] t23x: overlay: support p3701-0000-as-p3767-0001 Add tegra234-p3737-0000+p3701-0000-as-p3767-0001.dtbo which can be applied on p3701-0000 and p3701-0005 to emulate p3767-0001. Bug 4196830 Signed-off-by: Yi-Wei Wang Change-Id: If5bf7a21ba20f5af19f680b4a6d92f8999e5be41 Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3000424 (cherry picked from commit b2de83215cea6a4ea010906ebce6ed7ed3ed0964) Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3006030 GVS: Gerrit_Virtual_Submit Reviewed-by: Brad Griffis --- overlay/Makefile | 1 + ...34-p3737-0000+p3701-0000-as-p3767-0001.dts | 27 +++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 overlay/tegra234-p3737-0000+p3701-0000-as-p3767-0001.dts diff --git a/overlay/Makefile b/overlay/Makefile index 245f010..dcb37fd 100644 --- a/overlay/Makefile +++ b/overlay/Makefile @@ -17,6 +17,7 @@ dtbo-y += tegra234-jetson.dtbo dtbo-y += tegra234-p3737-0000+p3701-0000-pcie-no-tra.dtbo dtbo-y += tegra234-p3737-0000+p3701-0000-as-p3701-0004.dtbo dtbo-y += tegra234-p3737-0000+p3701-0000-as-p3767-0000.dtbo +dtbo-y += tegra234-p3737-0000+p3701-0000-as-p3767-0001.dtbo dtbo-y += tegra234-p3737-0000+p3701-0000-dynamic.dtbo dtbo-y += tegra234-p3768-0000+p3767-0000-dynamic.dtbo dtbo-y += tegra234-p3737-0000+p3701-0000-audio-adafruit-uda1334a.dtbo diff --git a/overlay/tegra234-p3737-0000+p3701-0000-as-p3767-0001.dts b/overlay/tegra234-p3737-0000+p3701-0000-as-p3767-0001.dts new file mode 100644 index 0000000..98cfb2b --- /dev/null +++ b/overlay/tegra234-p3737-0000+p3701-0000-as-p3767-0001.dts @@ -0,0 +1,27 @@ +// SPDX-License-Identifier: GPL-2.0-only +// SPDX-FileCopyrightText: Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved. + +/dts-v1/; +/plugin/; + +/ { + overlay-name = "Tegra234 p3701-0000-as-p3767-0001 Emulation Overlay"; + + fragment-t234-p3701-0000-as-p3767-0001@0 { + target-path = "/"; + board_config { + ids = "3701-0000-*", "3701-0005-*"; + }; + __overlay__ { + compatible = "nvidia,p3737-0000+p3701-0000-as-p3767-0001", "nvidia,tegra234"; + model = "Jetson AGX Orin as NX-8GB"; + bus@0 { + host1x@13e00000 { + nvdla1@158c0000 { + status = "disabled"; + }; + }; + }; + }; + }; +};