From patchwork Fri Nov 12 12:35:42 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 12692395 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CBE6FC433FE for ; Fri, 12 Nov 2021 12:40:50 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A24E5603E8 for ; Fri, 12 Nov 2021 12:40:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org A24E5603E8 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=nw0T0uqx0YftjTYQCO0x0sL7BP+dXOdHAUkgU1ltQ3Q=; b=pt1jIKCc9HLro0 V2Q/DcEMNdiEOgndPbjxRFH47RYd6EG6LWRHg88u9nYfm/SLdUqgqmLKuztXV5wAzY0CqTF8F5BrX NCsl9JyR6QwjSE7B399tzSCSt0mPBI/WfJWDzKOgIEIdjlPYhHp0YPsOhEudiXf4kW0bvoSz10tC4 Oe+XzXjq/EXwnNkbs3FBgj3dBH1inX+PKezPD6HHOktIf3EdrdURSRitzczScztOGim0Au9vyW2l0 2xHfgYw98+JftsL2J6WHPd64GKmOv+Kl/IiRKgPPTVZhV0PdG7yHEKGspxc5EGbjG4eHe7A4/U7uk 98GmcDxc26cgmd7ijivQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mlVpx-00ALiC-Ct; Fri, 12 Nov 2021 12:39:22 +0000 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mlVn3-00AKJG-C8 for linux-arm-kernel@lists.infradead.org; Fri, 12 Nov 2021 12:36:22 +0000 Received: by mail-wr1-x429.google.com with SMTP id t30so15218955wra.10 for ; Fri, 12 Nov 2021 04:36:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=zHiTZHyfCPKYIMhub7GuBrT8ulvTaEX2NWZm9Yhsbb4=; b=W+ite0oDuvPmWMP65ro6yPN67E5dAA+ZnZOZjJxz/aJTE870XxyHBKn0AOkt7wkeid Zm4IIYEvM82+QXoucCC9dMwvgjdFthw8R1fP74Onm/7PeSPMGQ2e4TKiWTPyNZx/JLWm KR1kaBQD4ixmJ4XxYBJgLQMgp+o2HMdvJ5LVKI+WOz6dPFFc0Ar4U2FOy4vDfvOsWymV aVW5GhfqT7LApLV5VO7UAZdh9UJvPlDQP4nYkuBgv9PGZdU4dEOA145zeXWLTzaP6TCR XVW5sRwMhVI2DMXb1sNTZIpgRKvM0Q9OP+WCi/3kh8PdXZlBwUbCYpnuJLuZp5AcvRav K7SA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=zHiTZHyfCPKYIMhub7GuBrT8ulvTaEX2NWZm9Yhsbb4=; b=qOThPX+GOJPXzJJeyVD4bLUbUEJkPkNjSp6TQlCmWlWMmMdx/zlkLb2bFsRrkKiFQv d2VgORhephfIm4pQ7SeYdsUssCIhzDCM8Lg2Kz7X4uI08V52q/4zs4C4sUy0eetA6IgE dwNE8Lul4tTEnI4Xl8okKvzrINIDmiV1BYDrnaNiTtqbiWyd1AlKg6DqccUZWnZ2AmjF oa+Vo9q4Qisk1mbYsI0yY1HY/2694wqC76eDD968kM/Q/yavIL3fDKx9HEvuwuiSVewU 639bHxiPHI4LuQ8nrEn61wtSR5jjGXxSzGNmeLNMq6ESUxZfcC7iXsYKd4tp2/DDV8bS 09cQ== X-Gm-Message-State: AOAM531WDYLmncVdwIDGYludGQsjb0xW/+K6P3m86yObLhD4piFrwB5P J4XzumwkK3FGUuhYtuMzYtc= X-Google-Smtp-Source: ABdhPJwigPesw0YSxeUU+3t05dwjD/rfupyAJjvypCLSX4uz37bT2r5oVhLl3fDZR4A4urhiO6SnhA== X-Received: by 2002:a5d:59ae:: with SMTP id p14mr18335060wrr.365.1636720580101; Fri, 12 Nov 2021 04:36:20 -0800 (PST) Received: from localhost ([193.209.96.43]) by smtp.gmail.com with ESMTPSA id o3sm12459754wms.10.2021.11.12.04.36.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Nov 2021 04:36:19 -0800 (PST) From: Thierry Reding To: Thierry Reding , Rob Herring Cc: linux-tegra@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 11/11] arm64: tegra: Add NVIDIA Jetson AGX Orin Developer Kit support Date: Fri, 12 Nov 2021 13:35:42 +0100 Message-Id: <20211112123542.3680629-12-thierry.reding@gmail.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211112123542.3680629-1-thierry.reding@gmail.com> References: <20211112123542.3680629-1-thierry.reding@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211112_043621_442571_02039B67 X-CRM114-Status: GOOD ( 15.86 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Mikko Perttunen The Jetson AGX Orin Developer Kit is a continuation of the Jetson Developer Kit line using the new NVIDIA Tegra234 (Orin) SoC. Signed-off-by: Mikko Perttunen Signed-off-by: Thierry Reding --- arch/arm64/boot/dts/nvidia/Makefile | 1 + .../boot/dts/nvidia/tegra234-p3701-0000.dtsi | 25 +++++++++++++++++++ .../nvidia/tegra234-p3737-0000+p3701-0000.dts | 24 ++++++++++++++++++ .../boot/dts/nvidia/tegra234-p3737-0000.dtsi | 5 ++++ 4 files changed, 55 insertions(+) create mode 100644 arch/arm64/boot/dts/nvidia/tegra234-p3701-0000.dtsi create mode 100644 arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts create mode 100644 arch/arm64/boot/dts/nvidia/tegra234-p3737-0000.dtsi diff --git a/arch/arm64/boot/dts/nvidia/Makefile b/arch/arm64/boot/dts/nvidia/Makefile index c80f7dc2935e..ea3f338fd013 100644 --- a/arch/arm64/boot/dts/nvidia/Makefile +++ b/arch/arm64/boot/dts/nvidia/Makefile @@ -12,3 +12,4 @@ dtb-$(CONFIG_ARCH_TEGRA_194_SOC) += tegra194-p2972-0000.dtb dtb-$(CONFIG_ARCH_TEGRA_194_SOC) += tegra194-p3509-0000+p3668-0000.dtb dtb-$(CONFIG_ARCH_TEGRA_194_SOC) += tegra194-p3509-0000+p3668-0001.dtb dtb-$(CONFIG_ARCH_TEGRA_234_SOC) += tegra234-sim-vdk.dtb +dtb-$(CONFIG_ARCH_TEGRA_234_SOC) += tegra234-p3737-0000+p3701-0000.dtb diff --git a/arch/arm64/boot/dts/nvidia/tegra234-p3701-0000.dtsi b/arch/arm64/boot/dts/nvidia/tegra234-p3701-0000.dtsi new file mode 100644 index 000000000000..d3c936822186 --- /dev/null +++ b/arch/arm64/boot/dts/nvidia/tegra234-p3701-0000.dtsi @@ -0,0 +1,25 @@ +// SPDX-License-Identifier: GPL-2.0 + +#include "tegra234.dtsi" + +/ { + model = "NVIDIA Jetson AGX Orin"; + compatible = "nvidia,p3701-0000", "nvidia,tegra234"; + + bus@0 { + mmc@3460000 { + status = "okay"; + bus-width = <8>; + non-removable; + only-1-8-v; + }; + + rtc@c2a0000 { + status = "okay"; + }; + + pmc@c360000 { + nvidia,invert-interrupt; + }; + }; +}; diff --git a/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts b/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts new file mode 100644 index 000000000000..e3bb874869df --- /dev/null +++ b/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts @@ -0,0 +1,24 @@ +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; + +#include "tegra234-p3701-0000.dtsi" +#include "tegra234-p3737-0000.dtsi" + +/ { + model = "NVIDIA Jetson AGX Orin Developer Kit"; + compatible = "nvidia,p3737-0000+p3701-0000", "nvidia,p3701-0000", "nvidia,tegra234"; + + aliases { + mmc3 = "/bus@0/mmc@3460000"; + serial0 = &tcu; + }; + + chosen { + bootargs = "console=ttyS0,115200n8"; + stdout-path = "serial0:115200n8"; + }; + + tcu { + status = "okay"; + }; +}; diff --git a/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000.dtsi b/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000.dtsi new file mode 100644 index 000000000000..a85993c85e45 --- /dev/null +++ b/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000.dtsi @@ -0,0 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0 + +/ { + compatible = "nvidia,p3737-0000"; +};