overlay: Add overlay for P3768+P3767

Add overlay support for Jetson Orin NX P3767 module
and P3768 carrier board

Bug 3998955

Change-Id: Ie5c18695d53a0deeddac881452b7947355983ad4
Signed-off-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2894978
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Brad Griffis <bgriffis@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
Gautham Srinivasan
2023-04-26 19:27:13 -07:00
committed by mobile promotions
parent 7905c373fe
commit 3d2a3d81c2
4 changed files with 113 additions and 0 deletions

View File

@@ -10,6 +10,8 @@ dtbo-y += tegra234-p3737-0000+p3701-0000.dtbo
dtbo-y += tegra234-jetson.dtbo dtbo-y += tegra234-jetson.dtbo
dtbo-y += tegra234-carveouts.dtbo dtbo-y += tegra234-carveouts.dtbo
dtbo-y += tegra234-audio-overlay.dtbo dtbo-y += tegra234-audio-overlay.dtbo
dtbo-y += tegra234-p3768-0000+p3767-0000.dtbo
dtbo-y += tegra234-p3767-overlay.dtbo
ifneq ($(dtb-y),) ifneq ($(dtb-y),)
dtb-y := $(addprefix $(makefile-path)/,$(dtb-y)) dtb-y := $(addprefix $(makefile-path)/,$(dtb-y))

View File

@@ -0,0 +1,42 @@
// SPDX-FileCopyrightText: Copyright (c) 2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
// SPDX-License-Identifier: GPL-2.0-only
#include <dt-bindings/gpio/tegra234-gpio.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt/tegra234-irq.h>
/ {
p3767-0000-fragment@0 {
target-path = "/";
__overlay__ {
bus@0 {
pinmux: tegra_pinctrl: pinmux@2430000 {
compatible = "nvidia,tegra234-pinmux";
reg = <0x0 0x2430000 0x0 0x19100>,
<0x0 0xc300000 0x0 0x4000>;
#gpio-range-cells = <3>;
status = "okay";
};
mmc@3400000 {
no-sdio;
no-mmc;
nvidia,cd-wakeup-capable;
nvidia,boot-detect-delay = <1000>;
cd-gpios = <&gpio TEGRA234_MAIN_GPIO(G, 7) GPIO_ACTIVE_LOW>;
};
};
reserved-memory {
linux,cma { /* Needed for nvgpu comptags */
compatible = "shared-dma-pool";
reusable;
size = <0x0 0x10000000>; /* 256MB */
alignment = <0x0 0x10000>;
linux,cma-default;
status = "okay";
};
};
};
};
};

View File

@@ -0,0 +1,58 @@
// SPDX-FileCopyrightText: Copyright (c) 2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
// SPDX-License-Identifier: GPL-2.0-only
/dts-v1/;
/plugin/;
/ {
overlay-name = "Tegra234 P3767 Overlay";
p3767-overlay-fragment@0 {
target-path = "/bus@0/host1x@13e00000";
board_config {
fuse-info = "fuse-disable-nvenc";
};
__overlay__ {
nvenc@154c0000 {
status = "disabled";
};
};
};
p3767-overlay-fragment@1 {
target-path = "/bus@0/host1x@13e00000";
board_config {
fuse-info = "fuse-disable-pva";
};
__overlay__ {
pva0@16000000 {
status = "disabled";
};
};
};
p3767-overlay-fragment@2 {
target-path = "/bus@0/host1x@13e00000";
board_config {
fuse-info = "fuse-disable-dla0";
};
__overlay__ {
nvdla0@15880000 {
status = "disabled";
};
};
};
p3767-overlay-fragment@3 {
target-path = "/bus@0/host1x@13e00000";
board_config {
fuse-info = "fuse-disable-dla1";
};
__overlay__ {
nvdla1@158c0000 {
status = "disabled";
};
};
};
};

View File

@@ -0,0 +1,11 @@
// SPDX-FileCopyrightText: Copyright (c) 2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
// SPDX-License-Identifier: GPL-2.0-only
/dts-v1/;
/plugin/;
#include "tegra234-p3767-0000.dtsi"
/ {
overlay-name = "Tegra234 P3768-0000+P3767-0000 Overlay";
};