arm64: tegra: Add more DT overlays

Add a new DT overlay for Tegra194 Jetson boards that populates the
necessary device-tree nodes for devices that use out-of-tree
drivers.

Add the DT overlays for OPTEE and the Tegra234 SBSA UART that have
been copied from the linux-stable branch. By adding them to this
repository we can remove from linux-stable branch because this branch
should only include changes from upstream.

Bug 3733730

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2770883
Reviewed-by: Bibek Basu <bbasu@nvidia.com>

Change-Id: Id7997557bb0dd8e95a0f9c0089c0fe131f1abe8a
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/t23x/concord-generic-dts/+/2807816
Reviewed-by: svcacv <svcacv@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
Jon Hunter
2022-11-11 21:33:53 +00:00
committed by Laxman Dewangan
parent 815a4596cd
commit 283e3a58f7
2 changed files with 43 additions and 0 deletions

View File

@@ -7,6 +7,7 @@ makefile-path := platform/t23x/concord/dts/generic-dts
dtbo-y += tegra234-p3737-0000+p3701-0000-overlay.dtbo
dtbo-y += tegra234-jetson-overlay.dtbo
dtbo-y += tegra234-carveouts-overlay.dtbo
dtbo-y += tegra234-sbsa-uart-overlay.dtbo
ifneq ($(dtb-y),)
dtb-y := $(addprefix $(makefile-path)/,$(dtb-y))

View File

@@ -0,0 +1,42 @@
/*
* Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
* This program is distributed in the hope it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/*
* Tegra234 Device-tree overlay for SBSA UART
*/
/dts-v1/;
/plugin/;
#include <dt-bindings/interrupt-controller/arm-gic.h>
/ {
overlay-name = "Tegra234 SBSA UART overlay";
compatible = "nvidia,tegra234";
fragment@0 {
target-path = "/bus@0/";
__overlay__ {
serial@31d0000 {
compatible = "arm,sbsa-uart";
reg = <0x31d0000 0x10000>;
interrupts = <GIC_SPI 285 IRQ_TYPE_LEVEL_HIGH>;
current-speed = <115200>;
status = "okay";
};
};
};
};