[PATCH v1 16/18] ARM: tegra: tegratab: Update aliases, chosen and memory nodes

From: Svyatoslav Ryhel

Date: Sun Nov 22 2026 - 15:15:10 EST


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@xxxxxxxxx>
---
.../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