From 2c91e7e3d1540ab8316506247608b9dfcb7f8cc9 Mon Sep 17 00:00:00 2001 From: Yi-Wei Wang Date: Mon, 30 Oct 2023 08:50:10 +0800 Subject: [PATCH] t23x: overlay: support p3701-0000-as-p3767-0000 Add tegra234-p3737-0000+p3701-0000-as-p3767-0000.dtbo which can be applied on p3701-0000 and p3701-0005 to emulate p3767-0000. Bug 4196830 Signed-off-by: Yi-Wei Wang Change-Id: I6a96ec751996724a8bccad0fa1ede582b682a31e Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3000376 (cherry picked from commit efe6abb8fad2c52ae03252821497449cdc336baf) Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3006029 GVS: Gerrit_Virtual_Submit Reviewed-by: Brad Griffis --- overlay/Makefile | 1 + ...34-p3737-0000+p3701-0000-as-p3767-0000.dts | 20 +++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 overlay/tegra234-p3737-0000+p3701-0000-as-p3767-0000.dts diff --git a/overlay/Makefile b/overlay/Makefile index 4d382b1..245f010 100644 --- a/overlay/Makefile +++ b/overlay/Makefile @@ -16,6 +16,7 @@ dtbo-y += tegra234-carveouts.dtbo 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-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-0000.dts b/overlay/tegra234-p3737-0000+p3701-0000-as-p3767-0000.dts new file mode 100644 index 0000000..b286f21 --- /dev/null +++ b/overlay/tegra234-p3737-0000+p3701-0000-as-p3767-0000.dts @@ -0,0 +1,20 @@ +// 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-0000 Emulation Overlay"; + + fragment-t234-p3701-0000-as-p3767-0000@0 { + target-path = "/"; + board_config { + ids = "3701-0000-*", "3701-0005-*"; + }; + __overlay__ { + compatible = "nvidia,p3737-0000+p3701-0000-as-p3767-0000", "nvidia,tegra234"; + model = "Jetson AGX Orin as NX-16GB"; + }; + }; +};