Skip to contentSkip to conversation

dt-bindings: arm: tegra: Document Jetson AGX Thor DevKit

PATCH In review Thierry Reding 2 participants 3 messages Mar 20 – Mar 25

Subsystems (2)
lore
Share & tools
lore

Thierry Reding

author maintainer
#0 lore raw

PATCH 1/2 dt-bindings: arm: tegra: Document Jetson AGX Thor DevKit

From: Thierry Reding <[email protected]>

The Jetson AGX Thor Developer Kit uses the same module (P3834) as the P3971 reference platform but a slightly different carrier board (P4071).

---
 Documentation/devicetree/bindings/arm/tegra.yaml | 5 +++++
 1 file changed, 5 insertions(+)
Documentation/devicetree/bindings/arm/tegra.yaml +5 -0
index 50a31dba7bec..df257102bfa0 100644
@@ -268,5 +268,10 @@ properties:
           - const: nvidia,p3971-0089+p3834-0008
           - const: nvidia,p3834-0008
           - const: nvidia,tegra264
+      - description: Jetson AGX Thor Developer Kit
+        items:
+          - const: nvidia,p4071-0000+p3834-0008
+          - const: nvidia,p3834-0008
+          - const: nvidia,tegra264
 
 additionalProperties: true
Signature · 1 line
2.52.0
author maintainer
#1 lore raw

PATCH 2/2 arm64: tegra: Add Jetson AGX Thor Developer Kit support

From: Thierry Reding <[email protected]>

Add basic support for the Jetson AGX Thor Developer Kit. It's quite similar to the existing reference platform but has a slightly different carrier board with different mass storage options and I/O.

---
 arch/arm64/boot/dts/nvidia/Makefile                  |  2 ++
 .../dts/nvidia/tegra264-p4071-0000+p3834-0008.dts    | 11 +++++++++++
 .../boot/dts/nvidia/tegra264-p4071-0000+p3834.dtsi   | 12 ++++++++++++
 3 files changed, 25 insertions(+)
 create mode 100644 arch/arm64/boot/dts/nvidia/tegra264-p4071-0000+p3834-0008.dts
 create mode 100644 arch/arm64/boot/dts/nvidia/tegra264-p4071-0000+p3834.dtsi
arch/arm64/boot/dts/nvidia/Makefile +2 -0
index b139cbd14442..72c0cb5efa47 100644
@@ -14,6 +14,7 @@ DTC_FLAGS_tegra234-p3740-0002+p3701-0008 := -@
 DTC_FLAGS_tegra234-p3768-0000+p3767-0000 := -@
 DTC_FLAGS_tegra234-p3768-0000+p3767-0005 := -@
 DTC_FLAGS_tegra264-p3971-0089+p3834-0008 := -@
+DTC_FLAGS_tegra264-p4071-0000+p3834-0008 := -@
 
 dtb-$(CONFIG_ARCH_TEGRA_132_SOC) += tegra132-norrin.dtb
 dtb-$(CONFIG_ARCH_TEGRA_210_SOC) += tegra210-p2371-0000.dtb
@@ -35,3 +36,4 @@ dtb-$(CONFIG_ARCH_TEGRA_234_SOC) += tegra234-p3740-0002+p3701-0008.dtb
 dtb-$(CONFIG_ARCH_TEGRA_234_SOC) += tegra234-p3768-0000+p3767-0000.dtb
 dtb-$(CONFIG_ARCH_TEGRA_234_SOC) += tegra234-p3768-0000+p3767-0005.dtb
 dtb-$(CONFIG_ARCH_TEGRA_264_SOC) += tegra264-p3971-0089+p3834-0008.dtb
+dtb-$(CONFIG_ARCH_TEGRA_264_SOC) += tegra264-p4071-0000+p3834-0008.dtb
arch/arm64/boot/dts/nvidia/tegra264-p4071-0000+p3834-0008.dts new file +11 -0
new file mode 100644
index 000000000000..df6555b6d0e0
@@ -0,0 +1,11 @@
+// SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+/dts-v1/;
+
+// module files must be included first
+#include "tegra264-p3834-0008.dtsi"
+#include "tegra264-p4071-0000+p3834.dtsi"
+
+/ {
+	model = "NVIDIA Jetson AGX Thor Developer Kit";
+	compatible = "nvidia,p4071-0000+p3834-0008", "nvidia,p3834-0008", "nvidia,tegra264";
+};
arch/arm64/boot/dts/nvidia/tegra264-p4071-0000+p3834.dtsi new file +12 -0
new file mode 100644
index 000000000000..45f8df9bbfd6
@@ -0,0 +1,12 @@
+// SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+
+/ {
+	aliases {
+		serial0 = &{/bus@0/serial@c4e0000};
+		serial1 = &{/bus@0/serial@c5a0000};
+	};
+
+	chosen {
+		stdout-path = "serial0:115200n8";
+	};
+};
Signature · 1 line
2.52.0
maintainer Acked-by on v1 1/2
#2 lore raw
In reply to Thierry Reding
Quoted 10 lines · Thierry Reding

From: Thierry Reding <[email protected]>

The Jetson AGX Thor Developer Kit uses the same module (P3834) as the P3971 reference platform but a slightly different carrier board (P4071).

---
 Documentation/devicetree/bindings/arm/tegra.yaml | 5 +++++
 1 file changed, 5 insertions(+)