From ea531083ad86ed405311aaa9ce32f81301078a91 Mon Sep 17 00:00:00 2001 From: Yi-Wei Wang Date: Mon, 30 Oct 2023 08:52:53 +0800 Subject: [PATCH] t23x: overlay: support p3701-0000-as-p3767-0004 Add tegra234-p3737-0000+p3701-0000-as-p3767-0004.dtbo which can be applied on p3701-0000 and p3701-0005 to emulate p3767-0004. Bug 4196830 Signed-off-by: Yi-Wei Wang Change-Id: I32ec52f637c474a0c3ed86ad54a191b07c67cfcd Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3000667 (cherry picked from commit ba1e77ae668a4a18d29e1794a74f4c7453781079) Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3006032 GVS: Gerrit_Virtual_Submit Reviewed-by: Brad Griffis --- overlay/Makefile | 1 + ...34-p3737-0000+p3701-0000-as-p3767-0004.dts | 60 +++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 overlay/tegra234-p3737-0000+p3701-0000-as-p3767-0004.dts diff --git a/overlay/Makefile b/overlay/Makefile index ccc6ad1..b7ab953 100644 --- a/overlay/Makefile +++ b/overlay/Makefile @@ -19,6 +19,7 @@ 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-as-p3767-0003.dtbo +dtbo-y += tegra234-p3737-0000+p3701-0000-as-p3767-0004.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-0004.dts b/overlay/tegra234-p3737-0000+p3701-0000-as-p3767-0004.dts new file mode 100644 index 0000000..1105baf --- /dev/null +++ b/overlay/tegra234-p3737-0000+p3701-0000-as-p3767-0004.dts @@ -0,0 +1,60 @@ +// 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-0004 Emulation Overlay"; + + fragment-t234-p3701-0000-as-p3767-0004@0 { + target-path = "/"; + board_config { + ids = "3701-0000-*", "3701-0005-*"; + }; + __overlay__ { + compatible = "nvidia,p3737-0000+p3701-0000-as-p3767-0004", "nvidia,tegra234"; + model = "Jetson AGX Orin as Nano 4GB"; + bus@0 { + host1x@13e00000 { + nvdla0@15880000 { + status = "disabled"; + }; + nvdla1@158c0000 { + status = "disabled"; + }; + pva0@16000000 { + status = "disabled"; + }; + nvenc@154c0000 { + status = "disabled"; + }; + }; + /* C1 */ + pcie@14100000 { + max-link-speed = <0x3>; + }; + /* C4 */ + pcie@14160000 { + max-link-speed = <0x3>; + }; + /* C4 End Point */ + pcie_ep@14160000 { + max-link-speed = <0x3>; + }; + /* C7 */ + pcie@141e0000 { + max-link-speed = <0x3>; + }; + /* C8 */ + pcie@140a0000 { + max-link-speed = <0x3>; + }; + /* C9 */ + pcie@140c0000 { + max-link-speed = <0x3>; + }; + }; + }; + }; +};