From patchwork Fri Mar 31 16:29:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 13196328 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 C6CB1C761A6 for ; Fri, 31 Mar 2023 16:30:22 +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: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:In-Reply-To:References: List-Owner; bh=pC7K1Qlk9dfNUxQgCAt6wCpjXNJkQS0MTqbrZswbjOY=; b=dyes1Imve1aWhK Bs31jgh4IubeXCrNI5Wh1lYVrlgBu7Agbmt+NYi30Hm77ec5Pu02XROvYtilVLMcm/AnLxf8EP9SW aIm2dBKdnsFcbnXZUQC7RE2ofzvcEnKjiRH5KRaHW8qNf5Mj5SHe7k7bvRKrqk4AT49PeR3WFw7ag 92K0HYDNP9kI+qSNMQKMTh2G+ZU5sOL/n5gSwknsUfPIYDh4BjruF6StaYfYqRuOTsSGhI05jbtUo ClO80jFHeOtVeyojt1c1zaDtslS8ipLdcdkT2wjvrg4TYernBKum3WSN0Dv9E+G0dF4CzKH26wnr7 catvdEoK7X8Os7fLl63Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1piHcz-00864I-3D; Fri, 31 Mar 2023 16:29:26 +0000 Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1piHcx-00862l-0C for linux-arm-kernel@lists.infradead.org; Fri, 31 Mar 2023 16:29:24 +0000 Received: by mail-ed1-x52d.google.com with SMTP id er13so50822939edb.9 for ; Fri, 31 Mar 2023 09:29:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680280160; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=G3EnkvQBvvzze5Eu61l7gVjFY+rjVaPV8wxN9ORbWm8=; b=IFSDs06gzi3yqI6LLwUobzcxoUpZTZWK3mpEOvRMZy7vr9TAwadK3qlef/yFWak7GI +qcbzDxi9cxuw8rx1ZyqRaZGGs+FetGZBl76c8vrGr4rFxCSwrnanOqqKHTxQiOKzfLB wqvzKsmacmK29KsYaHH82u2QzDaFiJuFDiA/HBMcxGKa6c6Fp5ArBsb4ps26+yk09zdV gejq/nyvF6ac2jK9kc5jLKKe6RAxCWttqxjR+v1436osx03yIVUi8ZF9brR366r3z3u4 ZP6blTS2Z7hB4WeKL5yu3uf/qbAcEQc/Uqe2HkFTvdqe+xRbWKTkjshOaQF/ANKRQkbY BKEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680280160; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=G3EnkvQBvvzze5Eu61l7gVjFY+rjVaPV8wxN9ORbWm8=; b=MNMRiNm9WuhGp7fB9nZ/Hqd+iTaTt+PPqYCwK/t/6PaHoJ2hlBzoOdoAAde61lc9Zh SxuhX8Gs6hEi5yButAAsg3HEBvVZE5tBi/or4tGL1AUZYBPzGIU52whnhLSNThh09ZTJ xzbbq2MavqLddT/tcNzIsdotFuoSAWXdGLiJTPelzsGWEmVaazXjLHVUMGoKwLl1Ljd5 QZRiQ8zN92Spxa472IZnGI4KO4du2RfX03Sl3MkrOWZJAhRDHNTWfLLsRFzPqTSQ0a05 zsQrlC9PIhGTmUPSK9/JSKxCZ7IdInGcT9wgJ99giojrb0L1XWJ7THZ+Suc3ddB9zdKV lv7w== X-Gm-Message-State: AAQBX9eK54lJz0ye+WxFcWaPYXyaz1bqFiet0bnK6V1iXTKH3N0E/O+5 hcvrOfXkEaEBsBT3OUvNbIOQoBfGmio= X-Google-Smtp-Source: AKy350Yfb03jO7la9tbyytLQre49eAz/3UWInRpcaZJFjf1YZWpbKu5KpiSnAR/MnNVfiH5TmnT4bg== X-Received: by 2002:a17:907:7784:b0:930:e2c:ddc3 with SMTP id ky4-20020a170907778400b009300e2cddc3mr26995433ejc.72.1680280160150; Fri, 31 Mar 2023 09:29:20 -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 hp17-20020a1709073e1100b008cecb8f374asm1135766ejc.0.2023.03.31.09.29.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Mar 2023 09:29:19 -0700 (PDT) From: Thierry Reding To: Thierry Reding Cc: Jon Hunter , devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Rob Herring Subject: [PATCH v3 1/4] dt-bindings: tegra: Document Jetson Orin NX Date: Fri, 31 Mar 2023 18:29:11 +0200 Message-Id: <20230331162914.16922-1-thierry.reding@gmail.com> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230331_092923_100056_EA1E3144 X-CRM114-Status: UNSURE ( 9.64 ) X-CRM114-Notice: Please train this message. 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 939a77c767bb..6c13d5e5719a 100644 --- a/Documentation/devicetree/bindings/arm/tegra.yaml +++ b/Documentation/devicetree/bindings/arm/tegra.yaml @@ -213,5 +213,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 Fri Mar 31 16:29:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 13196329 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 CB74AC761A6 for ; Fri, 31 Mar 2023 16:30:33 +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=9BKJqT+p8trZucnmBp9RfPXEw9sj7dLHOiMryPOPjSo=; b=QXZlqdxVAx+jvu BkKlfshreWEbqKtzfgUsWf97dFMjUBaiqhcAZGr6LxlnqrlPazCWFZhsHkS53rW2W50so741v5Jxe vjcY0vCkf54wEEcCMKCICyS4HAGsudnElg7zr8Dgjf3AWPIVIdCcJxTzwLeiAP1EWnxHD4N4NqK+S U+iXe8/AFUUwwwztoxXwaghIqFGdUe0n9HFK4dV/syic0cswhKoZulpES7y3snOZZXRZaxMkgnNyJ TzUffozRexJUTPNduzhQ5STvcpPGdG3q1MwK51P4P4zyCyiZNxRyrVlC2hjHxKt4xlWThj0bKlMRf AWWSynt5gIVMwF9SdKtw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1piHdC-00869L-1g; Fri, 31 Mar 2023 16:29:38 +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 1piHcz-00863Y-2C for linux-arm-kernel@lists.infradead.org; Fri, 31 Mar 2023 16:29:26 +0000 Received: by mail-ed1-x52a.google.com with SMTP id eg48so91717203edb.13 for ; Fri, 31 Mar 2023 09:29:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680280163; 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=5i8lYDFBL6ifzmZtjCBChz3VDiLK42k1Z2vM0fJXiFU=; b=TOzuN5zqfC9otSflndy0BkwbQ6l4dpBYUvGZNOtubJe0JLmjREihW2JM1KVQwuN7qS mBSyrl0U269DLgIwXBMXSlCmOdw+6YXM5nbgLkqZKhuGxFpR6bPZkJvpsSH1yAvCPiQB 0KcE/z6eRR4tCMzH44DZg82YXxeGjHxFXq5MWBGtfNP6XVdBqmIxxNCHrG+CYPszYWca lgIXW0kc5mZFAqMPSpp8VV3S1BZWDsBGp1j+ymZbtjnTxNtKIkklAoC/iPff+ToIy6k3 bELaGU0NiAXa4K6rZ0V1VM3ZtKcegd9xp/3Hg//YRNFOwEuvWuO6eKbB79/fcL4kc92c opxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680280163; 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=5i8lYDFBL6ifzmZtjCBChz3VDiLK42k1Z2vM0fJXiFU=; b=hX7Kt3PVLwl2SlA/7akaoOXjDn0p99abxACts+7W1XbmLIdSNettDOw62CPEdKTU3d teC6jUudzqcKpV+9Jb3CmA5C066BFdra1lGqq3outhQdHsFuUC0MsohzYhPXIzcXQ2YD sJzrXc6VD6CrEAQ1z17Joedjjd9xQLCbLw4ynFaL04PwVD9SDvfKltVlOegR+WDdPIxG R1pTdX9/+r/lIdkHezt0U4NO1Eebi0cbIvAh/KPzMcnSNuvFxQsxswkMDfxPfDmIBod0 bek17jnKLPy4EsFmquY5W18n9d/yUpcm1oU0I+ikQBhHvPLvTKhujDn9VRid/uAKk31n Haig== X-Gm-Message-State: AAQBX9d0SW0QtbOMcVRXpINwfwCHFJ7++UH51bicqgbYS+Ia6loOaMuU LPfHbb4ommqrlJY9wI6FntA= X-Google-Smtp-Source: AKy350bASESoZ1huPDFQi9+MWtCZWBbX8OdUj2UE00dZ0qvgWZDfwtXESaCxpdkGwEGttT5yOZBKEA== X-Received: by 2002:a17:906:ecf9:b0:92e:b1dd:cff2 with SMTP id qt25-20020a170906ecf900b0092eb1ddcff2mr23556341ejb.28.1680280163143; Fri, 31 Mar 2023 09:29:23 -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 fi11-20020a170906da0b00b0093a0e5977e2sm1112023ejb.225.2023.03.31.09.29.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Mar 2023 09:29:22 -0700 (PDT) From: Thierry Reding To: Thierry Reding Cc: Jon Hunter , devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Krzysztof Kozlowski Subject: [PATCH v3 2/4] dt-bindings: tegra: Document Jetson Orin NX reference platform Date: Fri, 31 Mar 2023 18:29:12 +0200 Message-Id: <20230331162914.16922-2-thierry.reding@gmail.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230331162914.16922-1-thierry.reding@gmail.com> References: <20230331162914.16922-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-20230331_092925_720189_3A86DCB8 X-CRM114-Status: UNSURE ( 8.94 ) X-CRM114-Notice: Please train this message. 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. Acked-by: Krzysztof Kozlowski 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 6c13d5e5719a..aa71236f93ce 100644 --- a/Documentation/devicetree/bindings/arm/tegra.yaml +++ b/Documentation/devicetree/bindings/arm/tegra.yaml @@ -217,5 +217,10 @@ properties: items: - const: nvidia,p3767-0000 - const: nvidia,tegra234 + - description: Jetson Orin NX Engineering Reference Developer Kit + items: + - const: nvidia,p3768-0000+p3767-0000 + - const: nvidia,p3767-0000 + - const: nvidia,tegra234 additionalProperties: true From patchwork Fri Mar 31 16:29:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 13196330 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 B4DC2C761A6 for ; Fri, 31 Mar 2023 16:30:36 +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=uYaAEQVAWEtdw3gW+7eQIdlC8Ctceh2qSHyC9fCj5t8=; b=iwHef53GNJu/xM /2Ezgue0aOdKdYW7N2f8myEVhu8ZD/WxHgmB9s5aqbww9mRCwssD35lLe2LJLY5w9vU3/iCtwvMqk 3T+RpubepCx5tuh2DQPZivXHejyUscJBucWKqHyrcJS3vXonE0M2mYRxMRvo2fllXai/g0GXTx/Sa 06NHC6DEL57/nQA3tUJlifo7Svk8U4mQPBgigXL+aLh9vcj44Mu1wPlm2a6l8Tx34PCXyvn1JSdfb 6xGiyFzl3eXISQh8xpnZTBrxIqDfjBiXsI4gfUVX+vNf+ylClre51aLQWmNYXc8oacSOKZuWTmQ7b aTxnHVI0bfNPCTAXbqhg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1piHdI-0086BZ-2X; Fri, 31 Mar 2023 16:29:45 +0000 Received: from mail-ed1-x52b.google.com ([2a00:1450:4864:20::52b]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1piHd0-008644-20 for linux-arm-kernel@lists.infradead.org; Fri, 31 Mar 2023 16:29:28 +0000 Received: by mail-ed1-x52b.google.com with SMTP id i5so92023093eda.0 for ; Fri, 31 Mar 2023 09:29:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680280164; 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=AKG4C+1Wx4Y61hBzbbvjWu9OyPNzcije/ihAphovozk=; b=iznjKuTE2IeQ70WzXlZancPwpcOmeP+eKhI4gKhIIK+knF+Kl6DdanJRh3T98lpE+X Vyiqs1/nXyYawYQxrPcGo6MaZBLeKqqc3uXSJKXna3nm6cc+PONVRQ9O10qVA7WaPDRu Ewfr/1q8/a8gQ5PeQNeO+pf9KrP48Mce9wNJ8eBSp0SKeqgjLhtu/CEeDJf4ZJ7y8svX QNFrKn+OmfLQbPxsMQducYP2Ii7KYZliwKm8qQvXaj+4khkt+0tFb4gkakc4nvU/Cx5o 5dDhBIdPmVe+gGz6jQQXPBUM3alepbAUfe0wjfNP7cS2VQay/GRhtKd3k1AvXWsyp+/6 dZpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680280164; 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=AKG4C+1Wx4Y61hBzbbvjWu9OyPNzcije/ihAphovozk=; b=xJ1mqBvXpbKuhmPsWzBW2YMX2kYkt4aT2X9AmspB1UHnzA2TGLeeewrFbNqoGnoYpu s9ul2jthLwiD1/BcriPVgmISfrwpEQYqSfKm0CXXwLdxt9XdHdo5GtUmrwBmTKZjiYCL Uod2JMci9215VbwZAXfg705qLVIml+d5yhA4d5juIe03tVqbj3DODda2Hd5soAu2c05x UtEXI2ZFrtVzgaO+uFVZapN8CQAe49q8/lVVpKNzZVDqnD/XGWW5+Zul+KDhTxUA6d8p ieNjP7BUa4B0TSLg/S/4PhWdLgD/hsYvuwX5Il63EX0WdDRwH0ctXHkcaURBFksMA0IO kLCg== X-Gm-Message-State: AAQBX9e4AxBnD/92Us2341MszmN1Lgfr7X88hV96J6I7EOsjWPDrfKYk EYrEXu3eQ+xWG+ZELZNXdWxjBTE7/Aw= X-Google-Smtp-Source: AKy350Z3OdSu04lehKu6OZGHzi0HqKQFJtho+lZaTJolUt0S1sNAUOZqFRUAXLie1iKKhnF0yYsTbA== X-Received: by 2002:a17:906:9404:b0:8b1:7eba:de5 with SMTP id q4-20020a170906940400b008b17eba0de5mr9628183ejx.10.1680280164251; Fri, 31 Mar 2023 09:29:24 -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 qo26-20020a170907213a00b00930aa50372csm1126494ejb.43.2023.03.31.09.29.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Mar 2023 09:29:24 -0700 (PDT) From: Thierry Reding To: Thierry Reding Cc: Jon Hunter , devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v3 3/4] arm64: tegra: Support Jetson Orin NX Date: Fri, 31 Mar 2023 18:29:13 +0200 Message-Id: <20230331162914.16922-3-thierry.reding@gmail.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230331162914.16922-1-thierry.reding@gmail.com> References: <20230331162914.16922-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-20230331_092926_670202_C9C9A5D6 X-CRM114-Status: GOOD ( 17.47 ) 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 v3: - split out P3767 DTS include to allow sharing with Jetson Orin Nano Changes in v2: - add SPI flash and SD card to make UEFI happy .../boot/dts/nvidia/tegra234-p3767-0000.dtsi | 14 ++ .../arm64/boot/dts/nvidia/tegra234-p3767.dtsi | 172 ++++++++++++++++++ 2 files changed, 186 insertions(+) create mode 100644 arch/arm64/boot/dts/nvidia/tegra234-p3767-0000.dtsi create mode 100644 arch/arm64/boot/dts/nvidia/tegra234-p3767.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..baf4f69e410d --- /dev/null +++ b/arch/arm64/boot/dts/nvidia/tegra234-p3767-0000.dtsi @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0 + +#include "tegra234-p3767.dtsi" + +/ { + compatible = "nvidia,p3767-0000", "nvidia,tegra234"; + model = "NVIDIA Jetson Orin NX"; + + bus@0 { + hda@3510000 { + nvidia,model = "NVIDIA Jetson Orin NX HDA"; + }; + }; +}; diff --git a/arch/arm64/boot/dts/nvidia/tegra234-p3767.dtsi b/arch/arm64/boot/dts/nvidia/tegra234-p3767.dtsi new file mode 100644 index 000000000000..bd60478fa75e --- /dev/null +++ b/arch/arm64/boot/dts/nvidia/tegra234-p3767.dtsi @@ -0,0 +1,172 @@ +// SPDX-License-Identifier: GPL-2.0 + +#include "tegra234.dtsi" + +/ { + compatible = "nvidia,p3767", "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>; + }; + }; + + /* + * This only exists on Jetson Orin Nano Developer Kit (SKU 5) + * but UEFI needs this and will remove it on devices where it + * doesn't exist. + */ + mmc@3400000 { + status = "okay"; + bus-width = <4>; + cd-gpios = <&gpio TEGRA234_MAIN_GPIO(G, 7) GPIO_ACTIVE_HIGH>; + disable-wp; + }; + + hda@3510000 { + status = "okay"; + }; + + 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 { + /* + * This monitoring is far from optimal, but it's good enough + * at this stage. + */ + 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>; + }; + }; + }; + }; +}; From patchwork Fri Mar 31 16:29:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 13196331 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 4D547C761A6 for ; Fri, 31 Mar 2023 16:30:47 +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=ZXWb7A2rQIGaHcZMv6iOQM5t23tAa3WU5philgnk4C0=; b=DALK8g9JEsbkqK I5jRtmZcgQlmE9Vi+jlBUMzCOyhnTM5vw5rraNRfz+XGhWDzNleHY9kEiEkuDEFaguS5Du8tl2gXK VaCjUc/Op1S6zyCWp1ZTcGV460bLHqn7LcDsAN2RY87w4lpu3Xvj9A7doB2djeZaTZuXh8CbYEm9w RTfu7kjrZAf5TQ1AaXgATXv3mfg7EwIUIpBXy05VAhFZVDNh99Hc5KaUskFIZdpYvb1yYAUVncReW qWiN8QsWuPxnbEgw50gUXIxohM+/Obi3P4dq6y1t2kO36FVmBelsjRy/ab6FIOMSyYQTXHsexEjqc l2bLUn5uBIgO5lmDcC9A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1piHdL-0086DM-1x; Fri, 31 Mar 2023 16:29:47 +0000 Received: from mail-ed1-x529.google.com ([2a00:1450:4864:20::529]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1piHd1-00864U-22 for linux-arm-kernel@lists.infradead.org; Fri, 31 Mar 2023 16:29:29 +0000 Received: by mail-ed1-x529.google.com with SMTP id w9so91842812edc.3 for ; Fri, 31 Mar 2023 09:29:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680280165; 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=Jc+j8urDB/RnvdpJvSHn8Xs0bbTHrMm8P5jHRi5MUYw=; b=pJeABH9ThD5HRuTqbwHNI7X95wVKH0SdGIuseCzEhtEIA4FII0e688YqzGWyIG5Pw+ AUg1i145H+ObPopcBb/xmVOI7qtAr3UVMos7k9+n9e0/cwbb/OvLcHXo0W424vok1jSW VPvYDHo9UZv3sJfe42hwAfsIMiUKDH2ml6WP2q56ZoeBVYyclYjJ3QGWRQN+hICO9T19 tjWsJ9xA+fLpX/HVA6yP6ID3zGly8sWAf4WSZdBSpQqFViyaHQ9NEjAyEX8z7cj44SA3 bB9w7x+/9J2d8doG8NNUcK3KI+lJvBVd3aOR7LfGZ4QkSQCVI2W9JcRP3ojnZDc7aN4H HO5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680280165; 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=Jc+j8urDB/RnvdpJvSHn8Xs0bbTHrMm8P5jHRi5MUYw=; b=y0X2VaIXp0Duclci685er9aQOZ2olTjFn7vVncoqh4GbC3IDA/SeG1aTvgXDJl4egU zgyQZTXOtambeEYNnpP7C9IuTOwJs07gWvShTCWS0GcjbfuINsaBWwshZU+1U95cun5j fRamB4Gx96dpRGq+tjiqROujXoC5KVHCAR6TkX7PDmcpQI6vrOXECYrKVssPtX2tsQTU MsQdyMaSIbvMTtwfC6YMV2WDDt/F3fSSp5UGNzwuij8PBK/TcniZYlJM7g6HrwDh+vnK Exq9appUqLKR+uZzHjmtN/uWzAHBQrTVl8A/SppkwFYoL4ANE6j+OeauhS22IquB3UF/ 7qmQ== X-Gm-Message-State: AAQBX9dc4bpWWo7z68hFzIdAzKonDbFTTA19Pu0siZlBhjaL1+5yF38c 9PYko0fesztlCcjWouG599zAQ296VNU= X-Google-Smtp-Source: AKy350bYUnjVhHMWhYKzfBG8UFCaPwgQVsip/GV8eVvgs547tUlLjsuWFuwFKaMk4r13Ar0qLLC9RA== X-Received: by 2002:a17:906:2759:b0:930:8fd7:789f with SMTP id a25-20020a170906275900b009308fd7789fmr25316146ejd.38.1680280165224; Fri, 31 Mar 2023 09:29:25 -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 y18-20020a170906525200b0093f322187f0sm1125011ejm.189.2023.03.31.09.29.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Mar 2023 09:29:25 -0700 (PDT) From: Thierry Reding To: Thierry Reding Cc: Jon Hunter , devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v3 4/4] arm64: tegra: Support Jetson Orin NX reference platform Date: Fri, 31 Mar 2023 18:29:14 +0200 Message-Id: <20230331162914.16922-4-thierry.reding@gmail.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230331162914.16922-1-thierry.reding@gmail.com> References: <20230331162914.16922-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-20230331_092927_669423_03949F96 X-CRM114-Status: GOOD ( 15.95 ) 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, SKU 0) module and the P3768 carrier board. Signed-off-by: Thierry Reding --- Changes in v3: - move more nodes into the P3768 DTS include for better reusability Changes in v2: - fix system EEPROM I2C address - enable HDA because why not arch/arm64/boot/dts/nvidia/Makefile | 2 + .../nvidia/tegra234-p3768-0000+p3767-0000.dts | 134 ++++++++++ .../boot/dts/nvidia/tegra234-p3768-0000.dtsi | 245 ++++++++++++++++++ 3 files changed, 381 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..1406d5d40b8f 100644 --- a/arch/arm64/boot/dts/nvidia/Makefile +++ b/arch/arm64/boot/dts/nvidia/Makefile @@ -9,6 +9,7 @@ DTC_FLAGS_tegra194-p2972-0000 := -@ DTC_FLAGS_tegra194-p3509-0000+p3668-0000 := -@ DTC_FLAGS_tegra194-p3509-0000+p3668-0001 := -@ DTC_FLAGS_tegra234-p3737-0000+p3701-0000 := -@ +DTC_FLAGS_tegra234-p3768-0000+p3767-0000 := -@ dtb-$(CONFIG_ARCH_TEGRA_132_SOC) += tegra132-norrin.dtb dtb-$(CONFIG_ARCH_TEGRA_210_SOC) += tegra210-p2371-0000.dtb @@ -24,3 +25,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..7dfbc38eb3c4 --- /dev/null +++ b/arch/arm64/boot/dts/nvidia/tegra234-p3768-0000+p3767-0000.dts @@ -0,0 +1,134 @@ +// 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"; + model = "NVIDIA Jetson Orin NX Engineering Reference Developer Kit"; + + 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..aee21428e1a5 --- /dev/null +++ b/arch/arm64/boot/dts/nvidia/tegra234-p3768-0000.dtsi @@ -0,0 +1,245 @@ +// SPDX-License-Identifier: GPL-2.0 + +/ { + compatible = "nvidia,p3768-0000"; + + aliases { + serial0 = &tcu; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + 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; + }; + }; + + 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"; + }; + + padctl@3520000 { + status = "okay"; + + 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"; + }; + + /* 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_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; + }; + + 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"; + }; +};