From patchwork Wed Mar 29 15:07:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 13192684 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 95B74C74A5B for ; Wed, 29 Mar 2023 15:08:41 +0000 (UTC) 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=SJ5LHnnR5JRgT8yPCM0vjBw7LlktKCqe1A8VZMsfbEw=; b=rvOvhWG/n+LraU 2wapXbtTEOfCfPf0AHcTtyU1PCi7QkJMKiSlsD05GWw5B1JBvfU6QWzxcNFJLBYUOUL7YFJLB6/Vq SFd/zHGVTEkS10PrTRl1pES99wXOkqZiAE88AgZw8KJFUvkNdiYrl6CoLVLmsAgBqK2CZ3vKXEmo/ mV1eYeuyV7TRcnOfQvMoAjeHU8Qh5Ltz8mxQE/q71mYt55jUdVkeCSk4ASTCqQGcjg4EdKSJ5fs05 St0ZQ/11VcCqlDErfWqP0aX7gYsSrAiW5E8Dq3GrH0bg1UBI+H1Ouj3SSJB+8cw1TFgtSZP4mnZQ5 qe2xftUnr8LeiCGXuUvw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1phXOi-000itb-1J; Wed, 29 Mar 2023 15:07:36 +0000 Received: from mail-ed1-x530.google.com ([2a00:1450:4864:20::530]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1phXOS-000ing-2P for linux-arm-kernel@lists.infradead.org; Wed, 29 Mar 2023 15:07:25 +0000 Received: by mail-ed1-x530.google.com with SMTP id eh3so64544809edb.11 for ; Wed, 29 Mar 2023 08:07:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680102436; 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=urzvodPCAGhfqi2EGiuZIZ1TFiaE63Fj1P+4W8yWfH0=; b=BVgP6rm8w4s7YwaUxETfy06Z70rwJtlhSAN63afhCWK0MGSl0Un7qF7vDEcv9cC8Lu AzvBYlTOS6sdhEcWl5l9+23NmOO9EivxMfEiGeuDKP4uBXjtznFNSCW65Xf/Ln03i1iI 2dLnp41PgnW7s5ETRv1wW2eVnEXrmGTRSntT4IDLDLjLMfOkrJ+9AAyILgQ5uI56q6Xr 2MTp27y8TGSi38CBwoaawUYpLs63B0CQHw9ZFDWeN2q3w0uIGk2k0hJB99kczklkRXvw 4xS2i5EDp6fNp40/AyDyevJN07G+ldYdMV8a6BOz1NqcsifHliNTMCs4YUEEX5UJR/Uj 9BRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680102436; 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=urzvodPCAGhfqi2EGiuZIZ1TFiaE63Fj1P+4W8yWfH0=; b=F0ECCaNcsCiFMnvqHUfQ9PHWeyK5Jk6GEbc5hJETZB6izHqVcryWTB/sGZsOu9/kmO dSZXVJ90hTMjFfRRv6VBPFsGwO0adMeR6yoTUvgLf0OTytINuds2HOhhgKDKBqyy+c9v kIaiQMlmW2s4RDRfu/7/6zXUEL9JmyddT3QEEuBi34PI/8QiU+QPHjxFuGga9t2SWtZ/ ugHqdo/spAMeNRRQfCU6h/61ae5Jco13k3GNMK9HeyeMzHTDuLZxIT+nlKKTtP2oqSW+ pg8AbIEhPPbDJfEsMX0frCCOK66qA7+FioAzKcMt8rL6NAYVY5wMk0FuWkP2onz6RusO q5vg== X-Gm-Message-State: AAQBX9cp3i5TuWZjBkiDWNQkea9b6pJITBNnLC//cQV6+2Ik5UyW6GHC VMiEBj/9Yu/+cN4ajrGzaRI= X-Google-Smtp-Source: AKy350bzcLeDJRyj3EN5E96/6HGU6AakMYtGGCS7Cx4i2tyCnQRYAMqCe11gcOrfM4+8X/Xzf+04tQ== X-Received: by 2002:a17:907:77d3:b0:92b:f019:d5eb with SMTP id kz19-20020a17090777d300b0092bf019d5ebmr18846498ejc.44.1680102435738; Wed, 29 Mar 2023 08:07:15 -0700 (PDT) Received: from localhost (p200300e41f1c0800f22f74fffe1f3a53.dip0.t-ipconnect.de. [2003:e4:1f1c:800:f22f:74ff:fe1f:3a53]) by smtp.gmail.com with ESMTPSA id p23-20020a1709066a9700b008d53ea69227sm16540890ejr.224.2023.03.29.08.07.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Mar 2023 08:07:15 -0700 (PDT) From: Thierry Reding To: Thierry Reding Cc: Rob Herring , Krzysztof Kozlowski , Jon Hunter , linux-tegra@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Rob Herring Subject: [PATCH v2 1/4] dt-bindings: tegra: Document Jetson Orin NX Date: Wed, 29 Mar 2023 17:07:07 +0200 Message-Id: <20230329150710.773441-2-thierry.reding@gmail.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230329150710.773441-1-thierry.reding@gmail.com> References: <20230329150710.773441-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-20230329_080720_781726_49628DE8 X-CRM114-Status: GOOD ( 11.10 ) 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: Thierry Reding The Jetson Orin NX is the latest iteration in the NX family of Jetson products. Document the compatible strings used for these devices. Acked-by: Rob Herring Signed-off-by: Thierry Reding --- 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 1f62253f9410..c1a62eb1b925 100644 --- a/Documentation/devicetree/bindings/arm/tegra.yaml +++ b/Documentation/devicetree/bindings/arm/tegra.yaml @@ -167,5 +167,9 @@ properties: - const: nvidia,p3737-0000+p3701-0000 - const: nvidia,p3701-0000 - const: nvidia,tegra234 + - description: Jetson Orin NX + items: + - const: nvidia,p3767-0000 + - const: nvidia,tegra234 additionalProperties: true From patchwork Wed Mar 29 15:07:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 13192686 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id B2DD6C74A5B for ; Wed, 29 Mar 2023 15:08:44 +0000 (UTC) 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=KsTNSQD/rpVlOPfgwKSygDM1rYHWR9D0adIXr/v+jmI=; b=S64H7/a9hs1IMO Bt3LctR0UuXbJVe5YlXRZYLUm5Y2hLox0AhWEzdGFhNA1+oIzZALmIfaKGepVTDa7by56O001xWPd RHe4gLtfBE0owv0swp26NigOlGFqQr9vpz4dR+58g9eIARq2/jXSBzojAeJObAch/cMPr1cfHZMfK +vYyTYKtMPZ34HW3w6IYEa0rexO/infHSao2iNU02Tm2EmiKOnGgVaRVs6E9IhrJ8oc4RIl7sXctR v00/m3OqBJivmV0zUH5AriGfpV05aDMCbr02EzqYUKPaqceY0dsAruN0Xdr6whhnDgcnptTJpvEPU u4qzWXTKYfmaaBu9HRpw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1phXOk-000iuc-1e; Wed, 29 Mar 2023 15:07:38 +0000 Received: from mail-ed1-x533.google.com ([2a00:1450:4864:20::533]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1phXOS-000inX-0W for linux-arm-kernel@lists.infradead.org; Wed, 29 Mar 2023 15:07:26 +0000 Received: by mail-ed1-x533.google.com with SMTP id i5so64837992eda.0 for ; Wed, 29 Mar 2023 08:07:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680102436; 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=MrMf3aai+e3taJoSJGgLBDUWEWSyfIPExXD7NAwNRKM=; b=ckmcJlIyP2JJNdzNSBMEfPwNmgjHDQmf89ceEF5Lctv02X1H62a3OHESzYs3WptarV 3IBuZXwGN7mBEMW4FIgDxqgEFmOiC+1VHXvDGXS7q4hpk+tUnDvnKLK9aG7iFjbK9cTZ orXgzR2/qi6uN3vw0RV+q2+H2EbsOf++D6VZwmaTI8Lr2dG5w44xviLk5PfuGZSPKDOr c7BUR88YbPcH118JPI+Xj/XuUmZEoRcSyFI/W554Ym/zTu78Atg+53qlw79vSPQqRMCm s9RZ6ZxeaCOQgJP+mbATOLQuFPc6ZqQ/8A30WpAy50ufHVdKC1bBA5uu+cQFgGnhx834 hj3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680102436; 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=MrMf3aai+e3taJoSJGgLBDUWEWSyfIPExXD7NAwNRKM=; b=jYlL58gx+u0AgCD2H5QgTs/BcffEi9Cm8AlxHGM5DK1wS/SGIVjKkR3NAUIbG6WRk6 yYse+Oek85JQu8Ufvjz1HBq/leXqONu4RFBjgjJadDFPAHMgC7340v5RssuUhooY84WY ulw/kJp10RNLpT/5nod4Sq3XMnh0C2hTVq1btF8wOkFYg8ONE5C+wb2EJl1enDNRAuIa Jz17YhGqNipJ0nOLRnXBYNfo9Sz53rVaCexbV67ewHcDIauDJAi085+MWNKqZgopAzHZ xX8U8zl83ZIqR8c+aPS+bKD0W5lI9G+lsu9mxp8sTDtcStq0dxWDfgS7iTcdNM9ZXPua Xdog== X-Gm-Message-State: AAQBX9d5UKOAlOMDkJrrQfmaDcPcZLUJhA1bTazVBp7F9hju3FCDRZoP vd3MrYeij34gWb+QJz71h6Q= X-Google-Smtp-Source: AKy350ajj6Li6/XCqaJWazGucdL4KbmYSheXE0ztV7xUMoCXZXdj3mZGbrXbJX82xo3y3yP34RDhIw== X-Received: by 2002:a17:907:16a6:b0:93e:1dd4:3f1e with SMTP id hc38-20020a17090716a600b0093e1dd43f1emr21292450ejc.35.1680102436596; Wed, 29 Mar 2023 08:07:16 -0700 (PDT) Received: from localhost (p200300e41f1c0800f22f74fffe1f3a53.dip0.t-ipconnect.de. [2003:e4:1f1c:800:f22f:74ff:fe1f:3a53]) by smtp.gmail.com with ESMTPSA id q18-20020a50c352000000b00501d39f1d2dsm12656888edb.41.2023.03.29.08.07.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Mar 2023 08:07:16 -0700 (PDT) From: Thierry Reding To: Thierry Reding Cc: Rob Herring , Krzysztof Kozlowski , Jon Hunter , linux-tegra@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 2/4] dt-bindings: tegra: Document P3768+P3767 reference platform Date: Wed, 29 Mar 2023 17:07:08 +0200 Message-Id: <20230329150710.773441-3-thierry.reding@gmail.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230329150710.773441-1-thierry.reding@gmail.com> References: <20230329150710.773441-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-20230329_080720_196209_F4858AA6 X-CRM114-Status: GOOD ( 10.09 ) 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: Thierry Reding Document the combination of the P3768 carrier board with the P3767 (Jetson Orin NX) module. Signed-off-by: Thierry Reding Acked-by: Krzysztof Kozlowski --- 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 c1a62eb1b925..8151600bcd69 100644 --- a/Documentation/devicetree/bindings/arm/tegra.yaml +++ b/Documentation/devicetree/bindings/arm/tegra.yaml @@ -171,5 +171,9 @@ properties: items: - const: nvidia,p3767-0000 - const: nvidia,tegra234 + - items: + - const: nvidia,p3768-0000+p3767-0000 + - const: nvidia,p3767-0000 + - const: nvidia,tegra234 additionalProperties: true From patchwork Wed Mar 29 15:07:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 13192685 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 42398C6FD18 for ; Wed, 29 Mar 2023 15:08:43 +0000 (UTC) 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=keDAtOGjczW49yDSu5Pf4lb5FlBa/nZjcs+C32Qkxw8=; b=FCVWVxOeWRInOl HLhsBzEHLjwSybtuNlF34bQv53TL9jcMJOWiM0WQtbzGGOJxyIJD0xINcir2TbrD5zYagEHg/bw0Z c8/16k07mA5Genot3Je+qymUuGhRdMB0oMmH2edOsbVVZtmcw70DglEot4KB24y5VNz40BU2JvxgU kaSle7bzQaZSJUhtb4ebA2KBWt+WiOS0KfnDYhL4lXLA+1HZqARd0nGFL2ss6rJI1LLkiMhnN70ys B3/RIZvdo8ZExixS+QO79qkzgF+5nDE7fciUwSmBuj3+DmlyQaGYJFN1GueUcSpyDVpPdbloSnbUV MieOrKzQ7ikZDV3M1xKw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1phXOj-000iu7-1J; Wed, 29 Mar 2023 15:07:37 +0000 Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1phXOS-000inn-33 for linux-arm-kernel@lists.infradead.org; Wed, 29 Mar 2023 15:07:26 +0000 Received: by mail-ed1-x52f.google.com with SMTP id t10so64482227edd.12 for ; Wed, 29 Mar 2023 08:07:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680102438; 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=lt8af5ulw9DWl5eszk/Q49U2Rz3iXIXWfxD8xiD4D2A=; b=YwPnz9jUrc38TPq2bSrQRJyGwLGFiybjB6ilElggPZWsEACGZOp41N6dhxWV3gPA/B /pXt4vBeTHQEMh5KYT7zGtRKPcSJ59Fq706TYB+wZB7npjxzwQPxZaCWmLT8xES/kCd3 TYDlryxdHKIeFC+r1db4x5A141/g9MnJPCaaDG9jbQP/tjp42HBE8G6Tk8jHolckBtyD OLJ6WHFbce3a0h6vYDlAA0MuJ6Xy28xihRREjiG/2Qn2GQfDxdruy/Yx/7io8E78YEYR XtXdmbug2AHxk/nSurBIhcnboNKZGST8tWTj+KQz8keiETMHTfCFiwkXlNQKh9ygyFCf p7fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680102438; 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=lt8af5ulw9DWl5eszk/Q49U2Rz3iXIXWfxD8xiD4D2A=; b=p7TSq+APoIhAOAKIpqqIO34cLe9IymKD1VHcaWc3R9uh9E6etdafA7OherQzENGyel QeZd66sBMD6TjQCnqPzeE8eXqlTEgGX8ShuLH1lqz5kOo/bh/PgdUstYwiqHAbvQuh8q nevH99PNo324rMAaIyF8NQXnhhMypgXcFR180R8TDhHDWEtopAzeHKn9uVrT9E7FeBxa Xat59SrP7UPPnGAQFzlV6Lbko9hQKlZN1I92MKXVkxtvbdEwFDUjma4tHNQYKD1wFBWJ xwmJxJYH2PLpenpLPIMkTKrqUXtpo7NGzDP1n1nwIh0G/9YUnNg7vQ8nxR0StN7fxenL 5bBg== X-Gm-Message-State: AAQBX9fP1CdJnmZLOgWbO+9rOttEPvBjxuUZ0+9k3RWqWWhlu4A36XF2 +fqzT3Q85mmdaoL/XcKcZ3E= X-Google-Smtp-Source: AKy350b5xFDqOEDhbj6eVfk+KfbZQmllVav2Kx235CfwjfNbaZ3ERVWXcilfIDuG4QlJW6wSMhNyUg== X-Received: by 2002:a05:6402:8cf:b0:501:d43e:d1e3 with SMTP id d15-20020a05640208cf00b00501d43ed1e3mr20842510edz.8.1680102437618; Wed, 29 Mar 2023 08:07:17 -0700 (PDT) Received: from localhost (p200300e41f1c0800f22f74fffe1f3a53.dip0.t-ipconnect.de. [2003:e4:1f1c:800:f22f:74ff:fe1f:3a53]) by smtp.gmail.com with ESMTPSA id 17-20020a508751000000b004bf7905559asm17138225edv.44.2023.03.29.08.07.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Mar 2023 08:07:17 -0700 (PDT) From: Thierry Reding To: Thierry Reding Cc: Rob Herring , Krzysztof Kozlowski , Jon Hunter , linux-tegra@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 3/4] arm64: tegra: Add Jetson Orin NX support Date: Wed, 29 Mar 2023 17:07:09 +0200 Message-Id: <20230329150710.773441-4-thierry.reding@gmail.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230329150710.773441-1-thierry.reding@gmail.com> References: <20230329150710.773441-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-20230329_080720_980325_11B2CC13 X-CRM114-Status: GOOD ( 17.61 ) 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: Thierry Reding This adds a device tree for the Jetson Orin NX module, which is Jetson AGX Orin's little sibling with 6 or 8 ARM Cortex-A78AE cores, an Ampere GPU (1024 GPU and 32 tensor cores) and a number of accelerators for machine learning, image processing and more. The Jetson Orin NX comes with either 8 or 16 GiB of 128-bit LPDDR5 and supports NVME for mass storage. Signed-off-by: Thierry Reding --- Changes in v2: - add SPI flash and SD card to make UEFI happy .../boot/dts/nvidia/tegra234-p3767-0000.dtsi | 193 ++++++++++++++++++ 1 file changed, 193 insertions(+) create mode 100644 arch/arm64/boot/dts/nvidia/tegra234-p3767-0000.dtsi diff --git a/arch/arm64/boot/dts/nvidia/tegra234-p3767-0000.dtsi b/arch/arm64/boot/dts/nvidia/tegra234-p3767-0000.dtsi new file mode 100644 index 000000000000..82674256d720 --- /dev/null +++ b/arch/arm64/boot/dts/nvidia/tegra234-p3767-0000.dtsi @@ -0,0 +1,193 @@ +// SPDX-License-Identifier: GPL-2.0 + +#include "tegra234.dtsi" + +/ { + model = "NVIDIA Jetson Orin NX"; + compatible = "nvidia,p3767-0000", "nvidia,tegra234"; + + bus@0 { + i2c@3160000 { + status = "okay"; + + eeprom@50 { + compatible = "atmel,24c02"; + reg = <0x50>; + + label = "module"; + vcc-supply = <&vdd_1v8_hs>; + address-width = <8>; + pagesize = <8>; + size = <256>; + read-only; + }; + }; + + spi@3270000 { + status = "okay"; + + flash@0 { + compatible = "jedec,spi-nor"; + reg = <0>; + spi-max-frequency = <136000000>; + spi-tx-bus-width = <4>; + spi-rx-bus-width = <4>; + }; + }; + + /* UEFI needs this but it's not there on all boards */ + mmc@3400000 { + status = "okay"; + bus-width = <4>; + cd-gpios = <&gpio TEGRA234_MAIN_GPIO(G, 7) GPIO_ACTIVE_HIGH>; + disable-wp; + }; + + padctl@3520000 { + vclamp-usb-supply = <&vdd_1v8_ao>; + avdd-usb-supply = <&vdd_3v3_ao>; + }; + + rtc@c2a0000 { + status = "okay"; + }; + + pmc@c360000 { + nvidia,invert-interrupt; + }; + }; + + vdd_5v0_sys: regulator-vdd-5v0-sys { + compatible = "regulator-fixed"; + regulator-name = "VDD_5V0_SYS"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + regulator-always-on; + }; + + vdd_1v8_hs: regulator-vdd-1v8-hs { + compatible = "regulator-fixed"; + regulator-name = "VDD_1V8_HS"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + }; + + vdd_1v8_ao: regulator-vdd-1v8-ao { + compatible = "regulator-fixed"; + regulator-name = "VDD_1V8_AO"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + vin-supply = <&vdd_5v0_sys>; + }; + + vdd_3v3_ao: regulator-vdd-3v3-ao { + compatible = "regulator-fixed"; + regulator-name = "VDD_3V3_AO"; + regulator-min-microvolt = <33000000>; + regulator-max-microvolt = <33000000>; + regulator-always-on; + vin-supply = <&vdd_5v0_sys>; + }; + + thermal-zones { + cpu-thermal { + polling-delay = <1000>; + polling-delay-passive = <1000>; + status = "okay"; + + trips { + critical { + temperature = <104500>; + hysteresis = <0>; + type = "critical"; + }; + + hot { + temperature = <99000>; + hysteresis = <1000>; + type = "hot"; + }; + + board_trip_passive: passive { + temperature = <95000>; + hysteresis = <2000>; + type = "passive"; + }; + + board_trip_active2: active-2 { + temperature = <80000>; + hysteresis = <4000>; + type = "active"; + }; + + board_trip_active1: active-1 { + temperature = <65000>; + hysteresis = <4000>; + type = "active"; + }; + + board_trip_active0: active-0 { + temperature = <50000>; + hysteresis = <4000>; + type = "active"; + }; + }; + + cooling-maps { + passive { + cooling-device = <&fan 3 3>; + trip = <&board_trip_passive>; + }; + + active2 { + cooling-device = <&fan 2 3>; + trip = <&board_trip_active2>; + }; + + active1 { + cooling-device = <&fan 1 2>; + trip = <&board_trip_active1>; + }; + + active0 { + cooling-device = <&fan 0 1>; + trip = <&board_trip_active0>; + }; + }; + }; + + gpu-thermal { + status = "okay"; + }; + + cv0-thermal { + status = "okay"; + }; + + cv1-thermal { + status = "okay"; + }; + + cv2-thermal { + status = "okay"; + }; + + soc0-thermal { + status = "okay"; + }; + + soc1-thermal { + status = "okay"; + }; + + soc2-thermal { + status = "okay"; + }; + + tj-thermal { + status = "okay"; + }; + }; +}; From patchwork Wed Mar 29 15:07:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 13192687 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 14E80C761AF for ; Wed, 29 Mar 2023 15:08:46 +0000 (UTC) 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=/fJfYgIbLw2fvKkjp5WvjBop0TI48kVVlTM1g5dtvhI=; b=FD8+MNiLfoEQQw jPqkbbHeLPAnKvHl0C6kpSs3ZSx886yFEMogiANxMap7cYcEn5VFXZI1mbnErtAnMHIxnxYaNakbV qYap843xEhNsqjGz7akEDEpv+/WI4VbXTkPfcvP7sUWq/Shm/QR1z+CDqNkbvI7wxqaq6xyaNNdTA 9G/rjKR9m/0l6vkbUxnFBE0s0DFerWMpBZh5f6uISWpuOz2SY7mBRH+TVkNTPejFeJXFsclCCJN+f gxcbCfeEl5OyTTMi56RJi1tq/F5YVcmz00WovwrbokO8Ysm59exOMPwHsL247YMcgTl2Z7g29JdiB /4YjLk/SdKsXHqsPWaMA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1phXOl-000ivI-2A; Wed, 29 Mar 2023 15:07:39 +0000 Received: from mail-ed1-x52a.google.com ([2a00:1450:4864:20::52a]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1phXOS-000io3-10 for linux-arm-kernel@lists.infradead.org; Wed, 29 Mar 2023 15:07:26 +0000 Received: by mail-ed1-x52a.google.com with SMTP id er13so23629813edb.9 for ; Wed, 29 Mar 2023 08:07:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680102438; 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=YAOC+dUmRdB1qEdqs/ZXPZzGnUb9JtX7D+ByYMj3oo4=; b=IEZN8knQvv0dxiohXNyXI+K7AnwcWShmLSszUsqrMHxRLmrhbn+3QZk0rGS6om5RlY bq+3lxmUDi3KAmN+1Hss4up/SL+lUfOzWR60PnYnKuryF9M/Te0W+Jo5xN2N7DF9G14p 0MB0rYWwCE+mPrdoUf4P9kPdPFHnBOAPD1Qksy7BTbt6Sd66vJhG6kCznV0xIffpnkpP q6ALfAjGMYVapaghqHqyKubl9b+CGLL94lc/FvxC7tvEpRgODQh4NRttSA0BIbCSnrxw 0+ymi831C/3R/IGTjsKeY0+C8SZjnz8WgFcjRo+zz4Gd+HIYB0WEwULmMgu4gET/AdF8 0O4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680102438; 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=YAOC+dUmRdB1qEdqs/ZXPZzGnUb9JtX7D+ByYMj3oo4=; b=4nwTzKeXpZrbmVWDcWgrqtqa89IVddSEJ630lznx5N0T0dMEl0PnzpBC99XOTjmHQx 5kxyZvQVvRrM1zBeFaSjYSJS9bwOuXHB26tLjJCo4bJrBQJisd6Sexz97VqVKd4tQXUn Q21Q7njtPSt71wtWE1X7GGt9lIUewj5vL75obbSnrEKooL4Wj7t8h+2ouuxe7umyugnp swLUpIM3H662cdUvvFaWR0l7zyuqi2U7LsHRumFQgt0ClHsM3I2lkl52O87bKULux5xl oJQ2QNFPJHFEhf9NEv3GwxjF2UeszJLyRfwAxivJ93JRuqzR/xdtC4Ro84oWePAs+xuJ pkvg== X-Gm-Message-State: AAQBX9fVFAhlxskMFX5pu/IwjsQRraS87sGKJuIQCKThHE/19As01Zdh 6Z3XOj9KRKbbnEufednNQ4O3k8tfTj0= X-Google-Smtp-Source: AKy350bcMx9Njpi3AZ44hi4vn7cQAsP9krsKo8zWFA1QH8MJ/o7V5xFQXQLdPwnFASc5YpbkIQeHmQ== X-Received: by 2002:a17:906:8a41:b0:930:18f5:d016 with SMTP id gx1-20020a1709068a4100b0093018f5d016mr19990959ejc.15.1680102438544; Wed, 29 Mar 2023 08:07:18 -0700 (PDT) Received: from localhost (p200300e41f1c0800f22f74fffe1f3a53.dip0.t-ipconnect.de. [2003:e4:1f1c:800:f22f:74ff:fe1f:3a53]) by smtp.gmail.com with ESMTPSA id xi3-20020a170906dac300b009445d6213c0sm4116400ejb.75.2023.03.29.08.07.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Mar 2023 08:07:18 -0700 (PDT) From: Thierry Reding To: Thierry Reding Cc: Rob Herring , Krzysztof Kozlowski , Jon Hunter , linux-tegra@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 4/4] arm64: tegra: Add support for P3768+P3767 Date: Wed, 29 Mar 2023 17:07:10 +0200 Message-Id: <20230329150710.773441-5-thierry.reding@gmail.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230329150710.773441-1-thierry.reding@gmail.com> References: <20230329150710.773441-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-20230329_080720_349439_1AED401B X-CRM114-Status: GOOD ( 17.36 ) 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: Thierry Reding Add support for the combination of the NVIDIA Jetson Orin NX (P3767) module and the P3768 carrier board. Signed-off-by: Thierry Reding --- Changes in v2: - fix system EEPROM I2C address - enable HDA because why not arch/arm64/boot/dts/nvidia/Makefile | 1 + .../nvidia/tegra234-p3768-0000+p3767-0000.dts | 133 ++++++++++++++++++ .../boot/dts/nvidia/tegra234-p3768-0000.dtsi | 133 ++++++++++++++++++ 3 files changed, 267 insertions(+) create mode 100644 arch/arm64/boot/dts/nvidia/tegra234-p3768-0000+p3767-0000.dts create mode 100644 arch/arm64/boot/dts/nvidia/tegra234-p3768-0000.dtsi diff --git a/arch/arm64/boot/dts/nvidia/Makefile b/arch/arm64/boot/dts/nvidia/Makefile index bc34c9d8846a..602dc1b434ff 100644 --- a/arch/arm64/boot/dts/nvidia/Makefile +++ b/arch/arm64/boot/dts/nvidia/Makefile @@ -24,3 +24,4 @@ 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 +dtb-$(CONFIG_ARCH_TEGRA_234_SOC) += tegra234-p3768-0000+p3767-0000.dtb diff --git a/arch/arm64/boot/dts/nvidia/tegra234-p3768-0000+p3767-0000.dts b/arch/arm64/boot/dts/nvidia/tegra234-p3768-0000+p3767-0000.dts new file mode 100644 index 000000000000..76f3fdd7a387 --- /dev/null +++ b/arch/arm64/boot/dts/nvidia/tegra234-p3768-0000+p3767-0000.dts @@ -0,0 +1,133 @@ +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; + +#include +#include + +#include "tegra234-p3767-0000.dtsi" +#include "tegra234-p3768-0000.dtsi" + +/ { + compatible = "nvidia,p3768-0000+p3767-0000", "nvidia,p3767-0000", "nvidia,tegra234"; + + aliases { + serial0 = &tcu; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + bus@0 { + serial@31d0000 { + current-speed = <115200>; + status = "okay"; + }; + + pwm@32a0000 { + assigned-clocks = <&bpmp TEGRA234_CLK_PWM3>; + assigned-clock-parents = <&bpmp TEGRA234_CLK_PLLP_OUT0>; + status = "okay"; + }; + + hda@3510000 { + nvidia,model = "NVIDIA Jetson Orin NX HDA"; + status = "okay"; + }; + + padctl@3520000 { + status = "okay"; + }; + + /* C1 - M.2 Key-E */ + pcie@14100000 { + status = "okay"; + + vddio-pex-ctl-supply = <&vdd_1v8_ao>; + + phys = <&p2u_hsio_3>; + phy-names = "p2u-0"; + }; + + /* C4 - M.2 Key-M */ + pcie@14160000 { + status = "okay"; + + vddio-pex-ctl-supply = <&vdd_1v8_ao>; + + phys = <&p2u_hsio_4>, <&p2u_hsio_5>, <&p2u_hsio_6>, + <&p2u_hsio_7>; + phy-names = "p2u-0", "p2u-1", "p2u-2", "p2u-3"; + }; + + /* C8 - Ethernet */ + pcie@140a0000 { + status = "okay"; + + num-lanes = <2>; + + phys = <&p2u_gbe_2>, <&p2u_gbe_3>; + phy-names = "p2u-0", "p2u-1"; + + vddio-pex-ctl-supply = <&vdd_1v8_ao>; + vpcie3v3-supply = <&vdd_3v3_pcie>; + }; + + /* C7 - M.2 Key-M */ + pcie@141e0000 { + status = "okay"; + + vddio-pex-ctl-supply = <&vdd_1v8_ao>; + + phys = <&p2u_gbe_0>, <&p2u_gbe_1>; + phy-names = "p2u-0", "p2u-1"; + }; + }; + + gpio-keys { + compatible = "gpio-keys"; + + key-force-recovery { + label = "Force Recovery"; + gpios = <&gpio TEGRA234_MAIN_GPIO(G, 0) GPIO_ACTIVE_LOW>; + linux,input-type = ; + linux,code = ; + }; + + key-power { + label = "Power"; + gpios = <&gpio_aon TEGRA234_AON_GPIO(EE, 4) GPIO_ACTIVE_LOW>; + linux,input-type = ; + linux,code = ; + wakeup-event-action = ; + wakeup-source; + }; + + key-suspend { + label = "Suspend"; + gpios = <&gpio TEGRA234_MAIN_GPIO(G, 2) GPIO_ACTIVE_LOW>; + linux,input-type = ; + linux,code = ; + }; + }; + + fan: pwm-fan { + compatible = "pwm-fan"; + pwms = <&pwm3 0 45334>; + cooling-levels = <0 95 178 255>; + #cooling-cells = <2>; + }; + + vdd_3v3_pcie: regulator-vdd-3v3-pcie { + compatible = "regulator-fixed"; + regulator-name = "VDD_3V3_PCIE"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + gpio = <&gpio_aon TEGRA234_AON_GPIO(AA, 5) GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + + serial { + status = "okay"; + }; +}; diff --git a/arch/arm64/boot/dts/nvidia/tegra234-p3768-0000.dtsi b/arch/arm64/boot/dts/nvidia/tegra234-p3768-0000.dtsi new file mode 100644 index 000000000000..533052426668 --- /dev/null +++ b/arch/arm64/boot/dts/nvidia/tegra234-p3768-0000.dtsi @@ -0,0 +1,133 @@ +// SPDX-License-Identifier: GPL-2.0 + +/ { + compatible = "nvidia,p3768-0000"; + + bus@0 { + i2c@3160000 { + status = "okay"; + + eeprom@57 { + compatible = "atmel,24c02"; + reg = <0x57>; + + label = "system"; + vcc-supply = <&vdd_1v8_sys>; + address-width = <8>; + pagesize = <8>; + size = <256>; + read-only; + }; + }; + + padctl@3520000 { + pads { + usb2 { + lanes { + usb2-0 { + nvidia,function = "xusb"; + status = "okay"; + }; + + usb2-1 { + nvidia,function = "xusb"; + status = "okay"; + }; + + usb2-2 { + nvidia,function = "xusb"; + status = "okay"; + }; + }; + }; + + usb3 { + lanes { + usb3-0 { + nvidia,function = "xusb"; + status = "okay"; + }; + + usb3-1 { + nvidia,function = "xusb"; + status = "okay"; + }; + }; + }; + }; + + ports { + /* recovery port */ + usb2-0 { + mode = "otg"; + vbus-supply = <&vdd_5v0_sys>; + status = "okay"; + usb-role-switch; + }; + + /* hub */ + usb2-1 { + mode = "host"; + vbus-supply = <&vdd_1v1_hub>; + status = "okay"; + }; + + /* M.2 Key-E */ + usb2-2 { + mode = "host"; + vbus-supply = <&vdd_5v0_sys>; + status = "okay"; + }; + + /* hub */ + usb3-0 { + nvidia,usb2-companion = <1>; + status = "okay"; + }; + + /* J5 */ + usb3-1 { + nvidia,usb2-companion = <0>; + status = "okay"; + }; + }; + }; + + usb@3550000 { + status = "okay"; + + phys = <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-0}>, + <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-1}>; + phy-names = "usb2-0", "usb3-1"; + }; + + usb@3610000 { + status = "okay"; + + phys = <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-0}>, + <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-1}>, + <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-2}>, + <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-0}>, + <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-1}>; + phy-names = "usb2-0", "usb2-1", "usb2-2", "usb3-0", + "usb3-1"; + }; + }; + + vdd_1v8_sys: regulator-vdd-1v8-sys { + compatible = "regulator-fixed"; + regulator-name = "VDD_1V8_SYS"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + }; + + vdd_1v1_hub: regulator-vdd-1v1-hub { + compatible = "regulator-fixed"; + regulator-name = "VDD_AV10_HUB"; + regulator-min-microvolt = <1100000>; + regulator-max-microvolt = <1100000>; + vin-supply = <&vdd_5v0_sys>; + regulator-always-on; + }; +};