From patchwork Tue May 16 09:58:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 683672 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5E338C7EE2E for ; Tue, 16 May 2023 09:59:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232284AbjEPJ7K (ORCPT ); Tue, 16 May 2023 05:59:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35646 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232270AbjEPJ7I (ORCPT ); Tue, 16 May 2023 05:59:08 -0400 Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DF9B4A9; Tue, 16 May 2023 02:58:57 -0700 (PDT) Received: by mail-ed1-x536.google.com with SMTP id 4fb4d7f45d1cf-50bd2d7ba74so5360631a12.1; Tue, 16 May 2023 02:58:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684231136; x=1686823136; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=5ecQ1QAqy83fZynVMHk7cyWuqrbymjbMcfmdwdWKmeY=; b=eLrf4c8BHHJYBcXGcxBTt/o2nba9NVj9vyA0o652x9PAiROWY/TLTwqa6rHYUeSNJg dVKG9DCRCAUnTbQJZ9xRDVXZ2JsEOMbt8ivlGedbWQL/xvVWgA8gNhlFIKBByx6ljZI/ 07z9OnJl915MfdgwKrl4azJJo8DcXId1dYLDcBjzFhZX2vsNATQ+j8xEHFKPBOwruQ5o yD3betbHLEnqjwy/fgm84FvbzGTkv6iuos3HSp0vucRi/rpVveQq9Dt6HY5L9Imx1c3A Jg9o+MdyKSXkRxxk3s6bTMkimLX1BMkunOPQQJmQEhfRhuOCJWXcmTBhHhqf/5R9BB+/ urxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684231136; x=1686823136; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5ecQ1QAqy83fZynVMHk7cyWuqrbymjbMcfmdwdWKmeY=; b=jDxrm8pXEtV2GuXqzylkbCdsJ5cyvagA3fbQaz10zJla7d2ImvvIOxTVw1qNQmfEkq 1HMP9gnMlA2vazklKhpw9RX8UYfEMAOBmOLz596rhYixdltMYcyofFSRUcOkD5A78BrD bY6T3jFziCPowwYnGLLi4dfLFbVzhVctywlvwRjgdAohUs8ZT/3/eMO5wwWHI9mIigtl 9cLziTFm1cqLyyUeo7eZl34O/hPQc3P0II1rMXVpGQeDISO3OnF1OaZMOvhbWK6RAJBq wvJtfRfTk5hI0ervtLjpP9D4um7Q+zRJK0NRMYOH3bxVGiH/GVzF0UYPPfrW77A5mR0n ZSmA== X-Gm-Message-State: AC+VfDyWN2SVLiErXcs8JS3dUevRBQab8RC+b9pJHDpcr8BxrlDQs/sW wiV8T3Rz7v04KOGlY1XE2Nc= X-Google-Smtp-Source: ACHHUZ7kzm/UqFeComGzRRYzbR9QqRtilwCBNu4ft8bnFVzO6waNjN/xMDdwjaGXeFPgO5mMZdveqw== X-Received: by 2002:a17:907:318a:b0:965:ddb1:99d3 with SMTP id xe10-20020a170907318a00b00965ddb199d3mr28310469ejb.14.1684231136179; Tue, 16 May 2023 02:58:56 -0700 (PDT) Received: from localhost (p200300e41f305300f22f74fffe1f3a53.dip0.t-ipconnect.de. [2003:e4:1f30:5300:f22f:74ff:fe1f:3a53]) by smtp.gmail.com with ESMTPSA id hf27-20020a1709072c5b00b0096557203071sm10730657ejc.217.2023.05.16.02.58.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 May 2023 02:58:55 -0700 (PDT) From: Thierry Reding To: Thierry Reding Cc: Rob Herring , Krzysztof Kozlowski , Jon Hunter , devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 1/3] dt-bindings: tegra: Document Jetson Orin Nano Date: Tue, 16 May 2023 11:58:48 +0200 Message-Id: <20230516095850.2426604-2-thierry.reding@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230516095850.2426604-1-thierry.reding@gmail.com> References: <20230516095850.2426604-1-thierry.reding@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Thierry Reding The Jetson Orin Nano is the little sibling of the Jetson Orin NX. Document the corresponding compatible strings for these devices. Signed-off-by: Thierry Reding --- Changes in v2: - drop compatible strings for additional SKUs Documentation/devicetree/bindings/arm/tegra.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/tegra.yaml b/Documentation/devicetree/bindings/arm/tegra.yaml index 0340a369b5e1..0be74eea8303 100644 --- a/Documentation/devicetree/bindings/arm/tegra.yaml +++ b/Documentation/devicetree/bindings/arm/tegra.yaml @@ -227,5 +227,9 @@ properties: - const: nvidia,p3768-0000+p3767-0000 - const: nvidia,p3767-0000 - const: nvidia,tegra234 + - description: Jetson Orin Nano + items: + - const: nvidia,p3767-0005 + - const: nvidia,tegra234 additionalProperties: true From patchwork Tue May 16 09:58:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 682719 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 55B08C7EE24 for ; Tue, 16 May 2023 09:59:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232287AbjEPJ7J (ORCPT ); Tue, 16 May 2023 05:59:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35648 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232253AbjEPJ7I (ORCPT ); Tue, 16 May 2023 05:59:08 -0400 Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2266E1FDA; Tue, 16 May 2023 02:58:59 -0700 (PDT) Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-9661047f8b8so2171517866b.0; Tue, 16 May 2023 02:58:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684231137; x=1686823137; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Wk348KK3f0AcYxOwA444MKUWHNFviE8qCB+FMKPS7HA=; b=T7X0AUZp++9gdjbp3POtd614MM3Jhzn8YnxhBjg3xmkYyHhBsktcyVty8IhWiep4GD MRZX6W3QPSsk1UCGgAnMV8zVI9KU3ebI5/ea1ICT4HbNeeYryJxUYhUdPnmgkHhYANAi yviuf3hFWiAT+FAB8It9OkkjRvKDOLC9ENo0qYR5ij4Pve2aPcfuncsfP9CHJMGMZ5k+ Gq7vN4HamC5gLRHOOsGR8q1N+dHbRdPVX17xvg6xzIFgUKo3r4WaVkcGbBltiFecgmHF MhJSXVl1ktxJZHKvhTggo2JAadRz16gAuhbV5IC+4WriY1somsYiA/rhNRg0qqEiVBlj /8Cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684231137; x=1686823137; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Wk348KK3f0AcYxOwA444MKUWHNFviE8qCB+FMKPS7HA=; b=kTxqJlclwrFh+T2H9tPJKJo4OO7f4t3uxHAZK33Q09VvgWlnj8CNK+i80myxHaeveJ o7FHEXJu0kfeUAbp8E4kdL1rNzEQ/S3V1QfMz8LcRaplRP475c9TOVDpMNyjdW5dXtsT bD+V9Unwjy6L8CsG+tK0D9ux3TCphU9bph7ZA5nE9c0NL2XOVzWxAdcqbM+IgDrFu3gC u08noxwbk9CD8Gmq5HSSxgpsa8mJ2Pj9ZuIxH306VIBkfZAPoOySmM7k8EE9yLuYgRAe QevopYQFbdgo3V3Bv4dorocDnRosN9zdYXw7MUF50YH0yWuXpZFOhio+jymatVa6MgZH V6xw== X-Gm-Message-State: AC+VfDxgOdJeWItsl8jqsXTclq6xOQXjFsQIuc/PFeu6FnP9kvS/cmzF LAxbah7qoN1rCEoJsREKsTA= X-Google-Smtp-Source: ACHHUZ47HnbVNU8ECMN5P4eGtvNRQY92hpkitVYro5A28HmV5i7oOATL5xCiV0CpOnH0vfq/mDzpYA== X-Received: by 2002:a17:907:60d2:b0:966:1284:e3e with SMTP id hv18-20020a17090760d200b0096612840e3emr31158175ejc.9.1684231137431; Tue, 16 May 2023 02:58:57 -0700 (PDT) Received: from localhost (p200300e41f305300f22f74fffe1f3a53.dip0.t-ipconnect.de. [2003:e4:1f30:5300:f22f:74ff:fe1f:3a53]) by smtp.gmail.com with ESMTPSA id j10-20020aa7ca4a000000b005066cadcc54sm7843827edt.43.2023.05.16.02.58.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 May 2023 02:58:57 -0700 (PDT) From: Thierry Reding To: Thierry Reding Cc: Rob Herring , Krzysztof Kozlowski , Jon Hunter , devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 2/3] dt-bindings: tegra: Document Jetson Orin Nano Developer Kit Date: Tue, 16 May 2023 11:58:49 +0200 Message-Id: <20230516095850.2426604-3-thierry.reding@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230516095850.2426604-1-thierry.reding@gmail.com> References: <20230516095850.2426604-1-thierry.reding@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Thierry Reding The Jetson Orin Nano Developer Kit pairs the Jetson Orin Nano devkit module with the P3768 carrier board. Signed-off-by: Thierry Reding --- Documentation/devicetree/bindings/arm/tegra.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/tegra.yaml b/Documentation/devicetree/bindings/arm/tegra.yaml index 0be74eea8303..41c7b71b80dd 100644 --- a/Documentation/devicetree/bindings/arm/tegra.yaml +++ b/Documentation/devicetree/bindings/arm/tegra.yaml @@ -231,5 +231,10 @@ properties: items: - const: nvidia,p3767-0005 - const: nvidia,tegra234 + - description: Jetson Orin Nano Developer Kit + items: + - const: nvidia,p3768-0000+p3767-0005 + - const: nvidia,p3767-0005 + - const: nvidia,tegra234 additionalProperties: true From patchwork Tue May 16 09:58:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 683671 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EF3C1C77B7A for ; Tue, 16 May 2023 09:59:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232291AbjEPJ7K (ORCPT ); Tue, 16 May 2023 05:59:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35654 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231907AbjEPJ7J (ORCPT ); Tue, 16 May 2023 05:59:09 -0400 Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E64330EA; Tue, 16 May 2023 02:59:00 -0700 (PDT) Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-50bc3088b7aso25628957a12.3; Tue, 16 May 2023 02:59:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684231138; x=1686823138; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=yGXCJbTSxM/apZJVdaLhkJcV+DZJnEq8zMQ1Fcik5QM=; b=No+6IoRe/dvX3r+VKvWG07HpeNuADaMNPfRqiWgjW9US+PGffRG8dFdAW4RBGWUhm2 VM36wc6rRhFsgnI0UDEpxcbN/qzFOFrc2wddFfKyf0P2n/9YYhUUwZaGXYAyrXvSjxoo KRPY5pMlgtMPJz17sF4Hmuyq+p0AUCdsWc3FSSJpNwX8ND6nxkaWTsKJxQizfjodMLZP h8wEkrJraWuaxKyDhJXyFNQwa36Lcl0vew/6SufxPocUbFeoowJgx1SrLegboFCRKcIs MXiyl+x58cYqGl+qmGp9YAG8WeVv/RRiBks66fh2uhFP0zyFJrw4hqa9srRXXcB5nV6N KVyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684231138; x=1686823138; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=yGXCJbTSxM/apZJVdaLhkJcV+DZJnEq8zMQ1Fcik5QM=; b=eqHgNHPP4cTHKpfqnozkgfJ8Oc0X0OvOmwGPyu1TUePRRIFts5R+t+N5RyHDIjP/gs 8U9kmfe8h9FGU5Jia5QuzMG2DDcWnI/nv+rso6F+l3Pa5S2iTXVz/Ue2XAH/a440aVqC 9ma4ND+AL8My2lQtZxOqgfhZnsVPDPAH+/p7EH3xwrCMAQIxiN52oX9ujbFWaNGz6+Fv 0BnuYzCq1fwR0ZOPurBYO33byofCpAGqZqXTwffyIpmWYjkq1cOywDQhOPRJ6fifuxPt 25X2xhCaUsP5T7+PZUyvIGoQewmkKvLuwkbnu7zhWoErLvrDMISJtiqDFqbazRmWbLKH V7wg== X-Gm-Message-State: AC+VfDzfv9dx85c/Bt2PQbK8zfZlYD+bOQZecBzWyJaz8jhoDWAjE1oC 4DOIwunD2YBNh/no5GnY5QIQKzDptiXuPQ== X-Google-Smtp-Source: ACHHUZ549x2YVARZ66JkumJfvsU+HT952kTe2q0Y58qvY1iqtclV0nllrQcbHaCdSHTcFnpXzDQLvQ== X-Received: by 2002:aa7:c546:0:b0:4fc:709f:7abd with SMTP id s6-20020aa7c546000000b004fc709f7abdmr29167479edr.2.1684231138473; Tue, 16 May 2023 02:58:58 -0700 (PDT) Received: from localhost (p200300e41f305300f22f74fffe1f3a53.dip0.t-ipconnect.de. [2003:e4:1f30:5300:f22f:74ff:fe1f:3a53]) by smtp.gmail.com with ESMTPSA id n7-20020aa7d047000000b004fbdfbb5acesm8264603edo.89.2023.05.16.02.58.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 May 2023 02:58:58 -0700 (PDT) From: Thierry Reding To: Thierry Reding Cc: Rob Herring , Krzysztof Kozlowski , Jon Hunter , devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 3/3] arm64: tegra: Support Jetson Orin Nano Developer Kit Date: Tue, 16 May 2023 11:58:50 +0200 Message-Id: <20230516095850.2426604-4-thierry.reding@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230516095850.2426604-1-thierry.reding@gmail.com> References: <20230516095850.2426604-1-thierry.reding@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Thierry Reding The NVIDIA Jetson Orin Nano Developer Kit is the combination of the NVIDIA Jetson Orin Nano (P3767, SKU 5) module and the P3768 carrier board. Signed-off-by: Thierry Reding --- arch/arm64/boot/dts/nvidia/Makefile | 2 ++ .../arm64/boot/dts/nvidia/tegra234-p3767-0005.dtsi | 14 ++++++++++++++ .../dts/nvidia/tegra234-p3768-0000+p3767-0005.dts | 13 +++++++++++++ 3 files changed, 29 insertions(+) create mode 100644 arch/arm64/boot/dts/nvidia/tegra234-p3767-0005.dtsi create mode 100644 arch/arm64/boot/dts/nvidia/tegra234-p3768-0000+p3767-0005.dts diff --git a/arch/arm64/boot/dts/nvidia/Makefile b/arch/arm64/boot/dts/nvidia/Makefile index 2ea0058979d3..c38c809fe577 100644 --- a/arch/arm64/boot/dts/nvidia/Makefile +++ b/arch/arm64/boot/dts/nvidia/Makefile @@ -11,6 +11,7 @@ DTC_FLAGS_tegra194-p3509-0000+p3668-0001 := -@ DTC_FLAGS_tegra234-p3737-0000+p3701-0000 := -@ DTC_FLAGS_tegra234-p3740-0002+p3701-0008 := -@ DTC_FLAGS_tegra234-p3768-0000+p3767-0000 := -@ +DTC_FLAGS_tegra234-p3768-0000+p3767-0005 := -@ dtb-$(CONFIG_ARCH_TEGRA_132_SOC) += tegra132-norrin.dtb dtb-$(CONFIG_ARCH_TEGRA_210_SOC) += tegra210-p2371-0000.dtb @@ -28,3 +29,4 @@ dtb-$(CONFIG_ARCH_TEGRA_234_SOC) += tegra234-sim-vdk.dtb dtb-$(CONFIG_ARCH_TEGRA_234_SOC) += tegra234-p3737-0000+p3701-0000.dtb 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 diff --git a/arch/arm64/boot/dts/nvidia/tegra234-p3767-0005.dtsi b/arch/arm64/boot/dts/nvidia/tegra234-p3767-0005.dtsi new file mode 100644 index 000000000000..232fa95ef4ae --- /dev/null +++ b/arch/arm64/boot/dts/nvidia/tegra234-p3767-0005.dtsi @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0 + +#include "tegra234-p3767.dtsi" + +/ { + compatible = "nvidia,p3767-0005", "nvidia,tegra234"; + model = "NVIDIA Jetson Orin Nano"; + + bus@0 { + hda@3510000 { + nvidia,model = "NVIDIA Jetson Orin Nano HDA"; + }; + }; +}; diff --git a/arch/arm64/boot/dts/nvidia/tegra234-p3768-0000+p3767-0005.dts b/arch/arm64/boot/dts/nvidia/tegra234-p3768-0000+p3767-0005.dts new file mode 100644 index 000000000000..ba66c1845f75 --- /dev/null +++ b/arch/arm64/boot/dts/nvidia/tegra234-p3768-0000+p3767-0005.dts @@ -0,0 +1,13 @@ +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; + +#include +#include + +#include "tegra234-p3767-0005.dtsi" +#include "tegra234-p3768-0000.dtsi" + +/ { + compatible = "nvidia,p3768-0000+p3767-0005", "nvidia,p3767-0005", "nvidia,tegra234"; + model = "NVIDIA Jetson Orin Nano Developer Kit"; +};