mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Svyatoslav Ryhel <clamor95@gmail.com>
To: Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Thierry Reding <thierry.reding@kernel.org>,
	Jonathan Hunter <jonathanh@nvidia.com>,
	Svyatoslav Ryhel <clamor95@gmail.com>,
	Mikko Perttunen <mperttunen@nvidia.com>
Cc: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: [PATCH v1 02/18] ARM: tegra: Diverge Tegra Note 7 device tree to support its common versions
Date: Sun, 22 Nov 2026 22:13:51 +0200	[thread overview]
Message-ID: <20261122201407.23742-3-clamor95@gmail.com> (raw)
In-Reply-To: <20261122201407.23742-1-clamor95@gmail.com>

The Tegra Note 7 has at least 4 different revisions. To reflect this, the
existing Tegra Note 7 device tree is set as a common base, and the
differences are placed in separate trees. These separate device trees will
be populated in subsequent commits.

Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
---
 arch/arm/boot/dts/nvidia/Makefile                  |  6 ++++--
 .../dts/nvidia/tegra114-nvidia-tegranote7c.dts     | 14 ++++++++++++++
 ...n7.dts => tegra114-nvidia-tegratab-common.dtsi} |  4 ----
 .../dts/nvidia/tegra114-nvidia-tegratab-p1640.dts  |  9 +++++++++
 .../dts/nvidia/tegra114-nvidia-tegratab-p1988.dts  |  9 +++++++++
 5 files changed, 36 insertions(+), 6 deletions(-)
 create mode 100644 arch/arm/boot/dts/nvidia/tegra114-nvidia-tegranote7c.dts
 rename arch/arm/boot/dts/nvidia/{tegra114-tn7.dts => tegra114-nvidia-tegratab-common.dtsi} (98%)
 create mode 100644 arch/arm/boot/dts/nvidia/tegra114-nvidia-tegratab-p1640.dts
 create mode 100644 arch/arm/boot/dts/nvidia/tegra114-nvidia-tegratab-p1988.dts

diff --git a/arch/arm/boot/dts/nvidia/Makefile b/arch/arm/boot/dts/nvidia/Makefile
index 7fc27cb8e74ae..f06b2595bcd86 100644
--- a/arch/arm/boot/dts/nvidia/Makefile
+++ b/arch/arm/boot/dts/nvidia/Makefile
@@ -5,8 +5,10 @@ dtb-$(CONFIG_ARCH_TEGRA_114_SOC) += \
 	tegra114-microsoft-surface-2-0b.dtb \
 	tegra114-microsoft-surface-2-13.dtb \
 	tegra114-microsoft-surface-2-efi.dtb \
-	tegra114-roth.dtb \
-	tegra114-tn7.dtb
+	tegra114-nvidia-tegranote7c.dtb \
+	tegra114-nvidia-tegratab-p1640.dtb \
+	tegra114-nvidia-tegratab-p1988.dtb \
+	tegra114-roth.dtb
 dtb-$(CONFIG_ARCH_TEGRA_124_SOC) += \
 	tegra124-apalis-eval.dtb \
 	tegra124-apalis-v1.2-eval.dtb \
diff --git a/arch/arm/boot/dts/nvidia/tegra114-nvidia-tegranote7c.dts b/arch/arm/boot/dts/nvidia/tegra114-nvidia-tegranote7c.dts
new file mode 100644
index 0000000000000..1b50d5bbbbdf7
--- /dev/null
+++ b/arch/arm/boot/dts/nvidia/tegra114-nvidia-tegranote7c.dts
@@ -0,0 +1,14 @@
+// SPDX-License-Identifier: GPL-2.0
+
+#include "tegra114-nvidia-tegratab-p1988.dts"
+
+/*
+ * The LTE version of the Tegra Note 7 appears to be identical to the P1988
+ * revision of the Tegratab. The main difference is the modem, which is
+ * connected to the second USB controller configured in HSIC mode.
+ */
+
+/ {
+	model = "NVIDIA Tegra Note 7 LTE";
+	compatible = "nvidia,tegranote7c", "nvidia,tegra114";
+};
diff --git a/arch/arm/boot/dts/nvidia/tegra114-tn7.dts b/arch/arm/boot/dts/nvidia/tegra114-nvidia-tegratab-common.dtsi
similarity index 98%
rename from arch/arm/boot/dts/nvidia/tegra114-tn7.dts
rename to arch/arm/boot/dts/nvidia/tegra114-nvidia-tegratab-common.dtsi
index 4b1e47364fdbc..e4ba975fcc3db 100644
--- a/arch/arm/boot/dts/nvidia/tegra114-tn7.dts
+++ b/arch/arm/boot/dts/nvidia/tegra114-nvidia-tegratab-common.dtsi
@@ -1,13 +1,9 @@
 // SPDX-License-Identifier: GPL-2.0
-/dts-v1/;
 
 #include <dt-bindings/input/input.h>
 #include "tegra114.dtsi"
 
 / {
-	model = "Tegra Note 7";
-	compatible = "nvidia,tn7", "nvidia,tegra114";
-
 	chosen {
 		/* TN7's bootloader's arguments need to be overridden */
 		bootargs = "console=ttyS0,115200n8 console=tty1 gpt fbcon=rotate:2";
diff --git a/arch/arm/boot/dts/nvidia/tegra114-nvidia-tegratab-p1640.dts b/arch/arm/boot/dts/nvidia/tegra114-nvidia-tegratab-p1640.dts
new file mode 100644
index 0000000000000..409df3de17a82
--- /dev/null
+++ b/arch/arm/boot/dts/nvidia/tegra114-nvidia-tegratab-p1640.dts
@@ -0,0 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0
+/dts-v1/;
+
+#include "tegra114-nvidia-tegratab-common.dtsi"
+
+/ {
+	model = "Nvidia Tegra Note 7 (P1640)";
+	compatible = "nvidia,tegratab", "nvidia,tegra114";
+};
diff --git a/arch/arm/boot/dts/nvidia/tegra114-nvidia-tegratab-p1988.dts b/arch/arm/boot/dts/nvidia/tegra114-nvidia-tegratab-p1988.dts
new file mode 100644
index 0000000000000..00126da319ec7
--- /dev/null
+++ b/arch/arm/boot/dts/nvidia/tegra114-nvidia-tegratab-p1988.dts
@@ -0,0 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0
+/dts-v1/;
+
+#include "tegra114-nvidia-tegratab-common.dtsi"
+
+/ {
+	model = "Nvidia Tegra Note 7 (P1988)";
+	compatible = "nvidia,tegratab", "nvidia,tegra114";
+};
-- 
2.53.0


  parent reply	other threads:[~2026-11-22 20:14 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-22 20:13 [PATCH v1 00/18] [WIP] ARM: tegra: Update Tegra Note 7 configuration Svyatoslav Ryhel
2026-11-22 20:13 ` [PATCH v1 01/18] dt-bindings: ARM: tegra: Document Tegra Note 7 variants Svyatoslav Ryhel
2026-11-22 20:13 ` Svyatoslav Ryhel [this message]
2026-11-22 20:13 ` [PATCH v1 03/18] ARM: tegra: tegratab: Upgrade powerlines configuration Svyatoslav Ryhel
2026-11-22 20:13 ` [PATCH v1 04/18] ARM: tegra: tegratab: Add pinmux node Svyatoslav Ryhel
2026-11-22 20:13 ` [PATCH v1 05/18] ARM: tegra: tegratab: Bind VDE device Svyatoslav Ryhel
2026-11-22 20:13 ` [PATCH v1 06/18] ARM: tegra: tegratab: Configure USB and power supply Svyatoslav Ryhel
2026-11-22 20:13 ` [PATCH v1 07/18] ARM: tegra: tegratab: Configure MMC devices Svyatoslav Ryhel
2026-11-22 20:13 ` [PATCH v1 08/18] ARM: tegra: tegratab: Configure wireless devices Svyatoslav Ryhel
2026-11-22 20:13 ` [PATCH v1 09/18] ARM: tegra: tegratab: Add thermal configuration Svyatoslav Ryhel
2026-11-22 20:13 ` [PATCH v1 10/18] ARM: tegra: tegratab: Configure HDMI Svyatoslav Ryhel
2026-11-22 20:14 ` [PATCH v1 11/18] ARM: tegra: tegratab: Add audio codec and sound card configuration Svyatoslav Ryhel
2026-11-22 20:14 ` [PATCH v1 12/18] ARM: tegra: tegratab: Add common sensor nodes Svyatoslav Ryhel
2026-11-22 20:14 ` [PATCH v1 13/18] ARM: tegra: tegratab: Add MC and EMC timing nodes Svyatoslav Ryhel
2026-11-22 20:14 ` [PATCH v1 14/18] ARM: tegra: tegratab: Add CPU DFLL clock node Svyatoslav Ryhel
2026-11-22 20:14 ` [PATCH v1 15/18] ARM: tegra: tegratab: Update GPIO keys and switches Svyatoslav Ryhel
2026-11-22 20:14 ` [PATCH v1 16/18] ARM: tegra: tegratab: Update aliases, chosen and memory nodes Svyatoslav Ryhel
2026-11-22 20:14 ` [PATCH v1 17/18] ARM: tegra: tegratab: Add video input configuration Svyatoslav Ryhel
2026-11-22 20:14 ` [PATCH v1 18/18] ARM: tegra: tegratab: Add panel rotation Svyatoslav Ryhel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261122201407.23742-3-clamor95@gmail.com \
    --to=clamor95@gmail.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=jonathanh@nvidia.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-tegra@vger.kernel.org \
    --cc=mperttunen@nvidia.com \
    --cc=robh@kernel.org \
    --cc=thierry.reding@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®