p3737: Reorganize soc overlay files

The SoC overlay files are reorganized to move the
platform and status specific node overlay to the
platform. The SoC will have SoC specific nodes with
status as disabled.

Bug 4040713

Change-Id: I692212c72c91d934ba20ec129b782aecc2f0208b
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/+/2875368
Reviewed-by: svcacv <svcacv@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
Laxman Dewangan
2023-03-23 03:13:02 +00:00
parent 639f52c55e
commit 258536b3de
4 changed files with 292 additions and 8 deletions

View File

@@ -5,7 +5,9 @@
/dts-v1/;
/plugin/;
#include "overlay/tegra234-soc-overlay.dtsi"
#include "overlay/tegra234-overlay.dtsi"
#include "tegra234-platform-overlay.dtsi"
#include "tegra234-status-overlay.dtsi"
#include "tegra234-p3737-0000.dtsi"
#include "tegra234-p3701-0000.dtsi"
#include "overlay/tegra234-audio-dai-links-overlay.dtsi"

View File

@@ -3,11 +3,4 @@
/ {
fragment-t234@0 {
__overlay__ {
ufshci@2500000 {
status = "okay";
};
};
};
};

View File

@@ -0,0 +1,36 @@
// SPDX-License-Identifier: GPL-2.0
// Copyright (c) 2022-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
#include <dt-bindings/memory/tegra234-mc.h>
/ {
fragment-t234-platform@0 {
target-path = "/";
__overlay__ {
pwm-fan {
compatible = "pwm-fan";
pwms = <&pwm3 0 45334>;
cooling-levels = <0 64 128 255>;
#cooling-cells = <2>;
};
bus@0 {
smmu_test {
compatible = "nvidia,smmu_test";
iommus = <&smmu_niso0 TEGRA234_SID_SMMU_TEST>;
status = "okay";
};
spi@3270000 {
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <51000000>;
spi-tx-bus-width = <1>;
spi-rx-bus-width = <1>;
};
};
};
};
};
};

View File

@@ -0,0 +1,253 @@
// SPDX-License-Identifier: GPL-2.0
// Copyright (c) 2022-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
// This files contans the status override of the DT nodes for overlay files.
/ {
fragment-t234-soc@0 {
__overlay__ {
bus@0 {
watchdog@2190000 {
status = "okay";
};
pinmux@2430000 {
status = "okay";
};
ufshci@2500000 {
status = "okay";
};
serial@3110000 {
status = "okay";
};
serial@31d0000 {
status = "okay";
};
mmc@3400000 {
status = "okay";
};
tachometer@39c0000 {
status = "okay";
};
gpu@17000000 {
status = "okay";
};
smmu_test {
status = "okay";
};
aconnect@2900000 {
ahub@2900800 {
arad@290e400 {
status = "okay";
};
afc@2907000 {
status = "okay";
};
afc@2907100 {
status = "okay";
};
afc@2907200 {
status = "okay";
};
afc@2907300 {
status = "okay";
};
afc@2907400 {
status = "okay";
};
afc@2907500 {
status = "okay";
};
};
};
ethernet@6800000 {
status = "okay";
};
pwm@32a0000 {
status = "okay";
};
pwm@32c0000 {
status = "okay";
};
pwm@32f0000 {
status = "okay";
};
host1x@13e00000 {
nvjpg@15380000 {
status = "okay";
};
nvdec@15480000 {
status = "okay";
};
nvenc@154c0000 {
status = "okay";
};
nvjpg@15540000 {
status = "okay";
};
ofa@15a50000 {
status = "okay";
};
se@15810000 {
status = "okay";
};
se@15820000 {
status = "okay";
};
se@15840000 {
status = "okay";
};
tsec@15500000 {
status = "okay";
};
tegra_soc_hwpm {
status = "okay";
};
nvdla0@15880000 {
status = "okay";
};
nvdla1@158c0000 {
status = "okay";
};
pva0@16000000 {
status = "okay";
pva0_niso1_ctx0 {
status = "okay";
};
pva0_niso1_ctx1 {
status = "okay";
};
pva0_niso1_ctx2 {
status = "okay";
};
pva0_niso1_ctx3 {
status = "okay";
};
pva0_niso1_ctx4 {
status = "okay";
};
pva0_niso1_ctx5 {
status = "okay";
};
pva0_niso1_ctx6 {
status = "okay";
};
pva0_niso1_ctx7 {
status = "okay";
};
};
};
};
tegra_mce@e100000 {
status = "okay";
};
scf-pmu {
status = "okay";
};
};
};
fragment-t234-base@0 {
__overlay__ {
bus@0 {
hda@3510000 {
status = "okay";
};
rtc@c2a0000 {
status = "okay";
};
aconnect@2900000 {
ahub@2900800 {
i2s@2901200 {
status = "okay";
};
i2s@2901400 {
status = "okay";
};
dmic@2904000 {
status = "okay";
};
dmic@2904100 {
status = "okay";
};
dmic@2904300 {
status = "okay";
};
dspk@2905000 {
status = "okay";
};
dspk@2905100 {
status = "okay";
};
processing-engine@2908000 {
status = "okay";
};
asrc@2910000 {
status = "okay";
};
};
};
spi@3270000 {
status = "okay";
};
pwm@3280000 {
status = "okay";
};
};
};
};
};