Devicetree
 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 16/18] ARM: tegra: tegratab: Update aliases, chosen and memory nodes
Date: Sun, 22 Nov 2026 22:14:05 +0200	[thread overview]
Message-ID: <20261122201407.23742-17-clamor95@gmail.com> (raw)
In-Reply-To: <20261122201407.23742-1-clamor95@gmail.com>

Add the chassis-type property. Add RTC aliases and place the aliases node
first. Drop redundant configurations from the chosen node. Expose all
available memory in the memory node, but add reserved memory regions to
avoid touching TrustZone or bootloader firmware.

Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
---
 .../tegra114-nvidia-tegratab-common.dtsi      | 44 ++++++++++++++-----
 1 file changed, 34 insertions(+), 10 deletions(-)

diff --git a/arch/arm/boot/dts/nvidia/tegra114-nvidia-tegratab-common.dtsi b/arch/arm/boot/dts/nvidia/tegra114-nvidia-tegratab-common.dtsi
index f6b167dc8d338..1e9df07dadc98 100644
--- a/arch/arm/boot/dts/nvidia/tegra114-nvidia-tegratab-common.dtsi
+++ b/arch/arm/boot/dts/nvidia/tegra114-nvidia-tegratab-common.dtsi
@@ -6,23 +6,24 @@
 #include "tegra114.dtsi"
 
 / {
-	chosen {
-		/* TN7's bootloader's arguments need to be overridden */
-		bootargs = "console=ttyS0,115200n8 console=tty1 gpt fbcon=rotate:2";
-		/* TN7's bootloader will place initrd at this address */
-		linux,initrd-start = <0x82000000>;
-		linux,initrd-end = <0x82800000>;
-	};
+	chassis-type = "tablet";
 
 	aliases {
 		mmc0 = &sdmmc4; /* eMMC */
 		mmc1 = &sdmmc3; /* uSD slot */
 		mmc2 = &sdmmc1; /* WiFi */
 
-		serial0 = &uartd;
+		rtc0 = &palmas;
+		rtc1 = "/rtc@7000e000";
+
+		serial0 = &uartd; /* Console */
 		serial1 = &uartc; /* Bluetooth */
 	};
 
+	chosen {
+		stdout-path = "serial0:115200n8";
+	};
+
 	firmware {
 		trusted-foundations {
 			compatible = "tlm,trusted-foundations";
@@ -32,8 +33,31 @@ trusted-foundations {
 	};
 
 	memory@80000000 {
-		/* memory >= 0x37e00000 is reserved for firmware usage */
-		reg = <0x80000000 0x37e00000>;
+		reg = <0x80000000 0x40000000>;
+	};
+
+	reserved-memory {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		ranges;
+
+		linux,cma@80000000 {
+			compatible = "shared-dma-pool";
+			alloc-ranges = <0x80000000 0x30000000>;
+			size = <0x10000000>;		/* 256MiB */
+			linux,cma-default;
+			reusable;
+		};
+
+		bootloader-firmware@b7e00000 {
+			reg = <0xb7e00000 0x8000000>;   /* 128MB */
+			no-map;
+		};
+
+		trustzone@bfe00000 {
+			reg = <0xbfe00000 0x200000>;	/* 2MB */
+			no-map;
+		};
 	};
 
 	host1x@50000000 {
-- 
2.53.0


  parent reply	other threads:[~2026-11-22 20:15 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 ` [PATCH v1 02/18] ARM: tegra: Diverge Tegra Note 7 device tree to support its common versions Svyatoslav Ryhel
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 ` Svyatoslav Ryhel [this message]
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-17-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