mirror of
git://nv-tegra.nvidia.com/device/hardware/nvidia/t23x-public-dts.git
synced 2025-12-22 09:12:02 +03:00
As part of the process to transitioning to a full featured
base dtb, we need the ability to include various files without
completely rewriting them. This will be an incremental step.
Eventually these preprocessor commands will be removed and
the indentation fixed.
This change is not intended to change any behavior. It is merely
adding the infrastructure for future patches. It will be possible
for a base dts file to define REMOVE_FRAGMENT_SYNTAX and directly
include these files.
Bug 4290389
Change-Id: I778bc25dcd7e4fa96f003882e34e38fe5aaf40e7
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2992336
(cherry picked from commit a011a22ad5)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3002425
Reviewed-by: Gautham Srinivasan <gauthams@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
88 lines
1.9 KiB
Devicetree
88 lines
1.9 KiB
Devicetree
// SPDX-License-Identifier: GPL-2.0-only
|
|
// SPDX-FileCopyrightText: Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
|
|
#include <dt-bindings/gpio/tegra234-gpio.h>
|
|
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
|
#include <dt-bindings/interrupt/tegra234-irq.h>
|
|
|
|
/ {
|
|
#ifndef REMOVE_FRAGMENT_SYNTAX
|
|
p3767-0000-fragment@0 {
|
|
target-path = "/";
|
|
|
|
__overlay__ {
|
|
#endif
|
|
bus@0 {
|
|
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>;
|
|
};
|
|
|
|
nvrng@3ae0000 {
|
|
status = "okay";
|
|
};
|
|
|
|
gpu@17000000 {
|
|
status = "okay";
|
|
};
|
|
};
|
|
|
|
chosen {
|
|
nvidia,tegra-joint_xpu_rail;
|
|
};
|
|
|
|
opp-table-cluster0 {
|
|
opp-1510400000 { /* Max CPU freq for Orin Nano */
|
|
opp-hz = /bits/ 64 <1510400000>;
|
|
opp-peak-kBps = <3200000>;
|
|
};
|
|
|
|
opp-1984000000 { /* Max CPU freq for ONX */
|
|
opp-hz = /bits/ 64 <1984000000>;
|
|
opp-peak-kBps = <3200000>;
|
|
};
|
|
};
|
|
|
|
opp-table-cluster1 {
|
|
opp-1510400000 { /* Max CPU freq for Orin Nano */
|
|
opp-hz = /bits/ 64 <1510400000>;
|
|
opp-peak-kBps = <3200000>;
|
|
};
|
|
|
|
opp-1984000000 { /* Max CPU freq for ONX */
|
|
opp-hz = /bits/ 64 <1984000000>;
|
|
opp-peak-kBps = <3200000>;
|
|
};
|
|
};
|
|
|
|
opp-table-cluster2 {
|
|
opp-1510400000 { /* Max CPU freq for Orin Nano */
|
|
opp-hz = /bits/ 64 <1510400000>;
|
|
opp-peak-kBps = <3200000>;
|
|
};
|
|
|
|
opp-1984000000 { /* Max CPU freq for ONX */
|
|
opp-hz = /bits/ 64 <1984000000>;
|
|
opp-peak-kBps = <3200000>;
|
|
};
|
|
};
|
|
|
|
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";
|
|
};
|
|
};
|
|
#ifndef REMOVE_FRAGMENT_SYNTAX
|
|
};
|
|
};
|
|
#endif
|
|
};
|