From patchwork Tue May 2 15:02:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shubhi Garg X-Patchwork-Id: 678479 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 EEEB4C77B73 for ; Tue, 2 May 2023 15:03:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233771AbjEBPDM (ORCPT ); Tue, 2 May 2023 11:03:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58182 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234261AbjEBPDK (ORCPT ); Tue, 2 May 2023 11:03:10 -0400 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2087.outbound.protection.outlook.com [40.107.223.87]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 83DDE198A; Tue, 2 May 2023 08:03:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UGcTT/XQkHZQtWviHfTMbpyxrzv8+QCXoOQq7N3cx+bIdb4Z4cMK8GwLOsyIYnx11ex4TVmuy3Nnk6O7xEK+rMpj8L5HyAN+canRf7gJb9PfETLdb8b3XPSfIXWRHpWyy5Sost5qISHY+UAn1wJqEYIuyRBiL1f5sYzy1ffiYIXA/RgeOtwQ00NEfoHNHchDl7P1duWIPepr3yymxy11xeEJDPibHFL3qJGmOnFd6bAZJzyZaRqM85FbM3kNiKhibCUbq88P7uaT+nVmDGJYxCcMOTVGXDN+sRse3bG3mNDCYQvMoXNTSH/Kpci2kxzTEd6mu1FriAD+5fZjL3SI7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=iEXO2dT+cXoY/nflIiEU5zfJD/JAKlzTm8WAoERRH88=; b=l/+homf37Lzpo0vrNk0r8X4iacXbXHwZOL4kCjEUiqyPR35D18Fprt3ZcYXpc4AWsY0LxHO1LHJr5bgnhmTlxZKpZqtPe8ufvQ7S7M2qFJk7LAQD5Ki+12rZfp290E2FJ6xq0M6GPRfIh/zF5Dbdfk4Rsj5b0K50tbQebspo7C3jNoqRAf92x9vI2vgAzGx3/sDIVonHO/HNjBO5eB6ZNV2uSHb0z43b2v7Tn4uhacJ0uNZThxVBXzf0PyLPyg7s06AmKUYjrKKe4hCCKyLPfXP9e7XThQ2uKqSKBWPMqSzo/S8gk/DxTaBYHn7rbM10vfCQJben/WN4az3tSDcvtg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=kernel.org smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=iEXO2dT+cXoY/nflIiEU5zfJD/JAKlzTm8WAoERRH88=; b=rl+z9Y0cDFa9yNkRfQlzqQbh3shQjfdOe919v1PC0Q58y9NEaVT/D/Nf4ZRLf6LnSSGFy324TA/QqM3Z+7JOBTrbzBffbwboI6QITdqUxvUORmNuTgs8tTEoTnCZUgDvqnaXvuHb12QtuFizVv9jj5YeWGhBMHCE/9pXuIXoYQ92/p42swP+85/kfeqA2IFhohbCENM83cW+YTptjBwuEGS/gRTzr5pFfN+YeaIdkp+QzuinyejM9dVR75TjG/mWEoIr/LgBJNJB4RW2wJevVkTAoxMUtH1KKsXp+9caKI0G2ZcsSHSOinQ8UIo4oH9rcdewj4pv6S3tqMngMIeuNA== Received: from DM6PR03CA0058.namprd03.prod.outlook.com (2603:10b6:5:100::35) by CH3PR12MB8402.namprd12.prod.outlook.com (2603:10b6:610:132::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.31; Tue, 2 May 2023 15:03:07 +0000 Received: from DM6NAM11FT032.eop-nam11.prod.protection.outlook.com (2603:10b6:5:100:cafe::4) by DM6PR03CA0058.outlook.office365.com (2603:10b6:5:100::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.31 via Frontend Transport; Tue, 2 May 2023 15:03:07 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by DM6NAM11FT032.mail.protection.outlook.com (10.13.173.93) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.21 via Frontend Transport; Tue, 2 May 2023 15:03:06 +0000 Received: from rnnvmail204.nvidia.com (10.129.68.6) by mail.nvidia.com (10.129.200.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.5; Tue, 2 May 2023 08:02:52 -0700 Received: from rnnvmail204.nvidia.com (10.129.68.6) by rnnvmail204.nvidia.com (10.129.68.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.37; Tue, 2 May 2023 08:02:52 -0700 Received: from build-shgarg-20230103T221109854.nvidia.com (10.127.8.13) by mail.nvidia.com (10.129.68.6) with Microsoft SMTP Server id 15.2.986.37 via Frontend Transport; Tue, 2 May 2023 08:02:52 -0700 From: Shubhi Garg To: , , , , , CC: Subject: [PATCH v1 1/2] dt-bindings: tegra: Document compatible for IGX Date: Tue, 2 May 2023 15:02:48 +0000 Message-ID: <20230502150249.773425-1-shgarg@nvidia.com> X-Mailer: git-send-email 2.17.1 X-NVConfidentiality: public MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6NAM11FT032:EE_|CH3PR12MB8402:EE_ X-MS-Office365-Filtering-Correlation-Id: 7fb0a846-af9e-474e-c6f5-08db4b1e55f4 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: x/0umhgnFPoyPAA35e4R1dLI8VYqMrZ18k8D6jtUZwHbWZuc2gSE2bPFgLCbSOYsTJqflJokowHW41FmonpfQRRWR4KB8vtyhzi/9iLGpzmZDDnL43MoNQgVhDd9DfDquXj8/53r3W4zPNYrtQjEVgfQeml2TdzReVMSINWBw1kSzYoAAAzwRJafYAtlwOkBETEP1IF+MsRmqaUrOEpTrDb/YaOZGaaoeK5Sd2S06E1/AIL7sSEvGhtqByjXS0M+9yi3PUefUXvB0W4y/WyyzGzT8Fa9LvUvg8wOmpnrrwRFj8gLJydVjjDuFFUVDJHqBc1ZS1aoXUbXMnp7Dn1nHNHuW6/Ac79KB8onF6x/JOfEE9T6ucjBeN6eFK6vFPvt8fVZo34Tivlj0+l2b/p1C5t2EhOMK/IWRWCXFTv7LFlJJ7wVldutjoEzFKEcnmwb/dFGzdQ4lPFpvSqc8Y1gxkDG8he09XnqNODY7i03ujy3WY2PHd9AxdOZIVfvnoqwNCifvRMOnJ+LbzbpURBb/DDJzUdejdjQzU8CHoqMS53VX7ZhUdcKntWuFcmPF/LhV2GiOQB6/BLxX/U+3JlgAyHJteQxzNL0il3q07X4sJnedcrRVldkjIHBzWyMCYRViNw8q6VOz9Kt966/nWhxIx1PXZXf50QUah7FQ6vKtnUeTRVIFlcGWxgB5j4nluX86Vu9zo9SWuhrrmZHm77z2g== X-Forefront-Antispam-Report: CIP:216.228.117.160; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge1.nvidia.com; CAT:NONE; SFS:(13230028)(4636009)(396003)(376002)(39860400002)(346002)(136003)(451199021)(46966006)(36840700001)(40470700004)(8676002)(40480700001)(8936002)(36756003)(86362001)(316002)(7696005)(6666004)(82310400005)(4326008)(478600001)(41300700001)(70586007)(70206006)(356005)(7636003)(82740400003)(40460700003)(5660300002)(426003)(110136005)(107886003)(336012)(2616005)(47076005)(26005)(186003)(1076003)(4744005)(2906002)(36860700001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 May 2023 15:03:06.4858 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7fb0a846-af9e-474e-c6f5-08db4b1e55f4 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.117.160]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT032.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR12MB8402 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Document the compatible strings used for Nvidia IGX Orin Development kit which uses P3701 SKU8 and P3740 carrier board. Signed-off-by: Shubhi Garg --- 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 0df41f5b7e2a..34523b8b5d1f 100644 --- a/Documentation/devicetree/bindings/arm/tegra.yaml +++ b/Documentation/devicetree/bindings/arm/tegra.yaml @@ -176,5 +176,10 @@ properties: - const: nvidia,p3768-0000+p3767-0000 - const: nvidia,p3767-0000 - const: nvidia,tegra234 + - description: NVIDIA IGX Orin Development Kit + items: + - const: nvidia,p3740-0002+p3701-0008 + - const: nvidia,p3701-0008 + - const: nvidia,tegra234 additionalProperties: true From patchwork Tue May 2 15:02:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shubhi Garg X-Patchwork-Id: 678955 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 C5054C7EE23 for ; Tue, 2 May 2023 15:03:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233856AbjEBPDN (ORCPT ); Tue, 2 May 2023 11:03:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234261AbjEBPDN (ORCPT ); Tue, 2 May 2023 11:03:13 -0400 Received: from NAM04-DM6-obe.outbound.protection.outlook.com (mail-dm6nam04on2074.outbound.protection.outlook.com [40.107.102.74]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5171F1FDE; Tue, 2 May 2023 08:03:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=USJGAhtf4Eajgk9ImZuojJBzbsUtuOOp+xNNORkUL3iACM2BSTqtquHWVVAfHvMUuMYOppZaqXuwgO+aPBI85M4gOssMPf8KcabnJyNn6E9hiLqvamktiQzHDvmO/5GcUgyXkLPKiFXSvr9zNoM/jPOtxGeEb/4WHXIu8M8hGeaXk+Pxbb/gN95IZ3NgNIGXwIb7qTqDcXOYos3uVqFC2StchWggw7y8y0Egjve3oFU5S5kM4D7ZR6CFWoVBP6Coxz66ekZebxN+7C7yXwz5u/Ywy1yWIjmeZKwPBElVqVlzGYtwEZFR/lUw69CbyJcHb9QdleyB42Qv4ZgoqfMuxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=inz1dqNAuiGFWO3O2JO/5MSPjA3vQ+Q6mPwyTrx2ROw=; b=JI7AwQGYAgQ/kV0XPPkXZcE+nfqZXClQcq2/rX73tYeKe1ZRVK/ln3PgrhhPt17AW+bVSSPvGBOMGqBw7kjtCHfWXKm0JLZ8m/LEDl78Oyzaj0vBi0AE3zZwR6pbXdv6HZEjM/YkkM4WDrW1Nt9+L3Mu8BRpw1FoZFcw9h3iqvepV3ywvni7JRNYWPc02jBL11+UEoN2araLf73JLc23Z/XRMTgmGt9jO1Zz0ll45D9vX92cu6NdcMK7mpr8NY7uiC68bgj8PAIOcjzOdPDJ0bNfw6iEsyV7ZKst9vl9YAaFk8xNZCWOo+Bi/EzTJg17qkD3Z7OXJmkSAp4Os7D0iQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=kernel.org smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=inz1dqNAuiGFWO3O2JO/5MSPjA3vQ+Q6mPwyTrx2ROw=; b=Cm3Nhyrm/Kdr9gVpbrZl5o+Vqqx/o+aJXGTGf2+BheG9wOn6m813JAm3KgMGpUFsZgQNyE6j24B6ndyhUORntywc8X8WkAlnRG9+Zc7CxMc1g2gXM7xsIO9CC7TAtm3ONMALWh/et+A/tMWU9s9wekWF8KqMi+jYwAkSm0EEIwfwWoUeLx5wM/d7r8RMQm96p4zLQ53joQ8JZKq8UjwcCBerTMyFU5ZkRg/fWSIT8mM5U1WSg4UvN6HFuf4egeugbhTIxglykw12J7y1Zws3RJyBiIzSdUKH6gzJnfjio1nekshNxF7QA0QPUGwGA+3f5IwhXTtnDj8MbcWJEh0MUg== Received: from DM6PR11CA0023.namprd11.prod.outlook.com (2603:10b6:5:190::36) by CY5PR12MB6454.namprd12.prod.outlook.com (2603:10b6:930:36::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.20; Tue, 2 May 2023 15:03:08 +0000 Received: from DM6NAM11FT099.eop-nam11.prod.protection.outlook.com (2603:10b6:5:190:cafe::da) by DM6PR11CA0023.outlook.office365.com (2603:10b6:5:190::36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.31 via Frontend Transport; Tue, 2 May 2023 15:03:08 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by DM6NAM11FT099.mail.protection.outlook.com (10.13.172.241) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.20 via Frontend Transport; Tue, 2 May 2023 15:03:08 +0000 Received: from rnnvmail203.nvidia.com (10.129.68.9) by mail.nvidia.com (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.5; Tue, 2 May 2023 08:02:54 -0700 Received: from rnnvmail204.nvidia.com (10.129.68.6) by rnnvmail203.nvidia.com (10.129.68.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.37; Tue, 2 May 2023 08:02:53 -0700 Received: from build-shgarg-20230103T221109854.nvidia.com (10.127.8.13) by mail.nvidia.com (10.129.68.6) with Microsoft SMTP Server id 15.2.986.37 via Frontend Transport; Tue, 2 May 2023 08:02:53 -0700 From: Shubhi Garg To: , , , , , CC: Subject: [PATCH v1 2/2] arm64: tegra: Add support for IGX Orin Date: Tue, 2 May 2023 15:02:49 +0000 Message-ID: <20230502150249.773425-2-shgarg@nvidia.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230502150249.773425-1-shgarg@nvidia.com> References: <20230502150249.773425-1-shgarg@nvidia.com> X-NVConfidentiality: public MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6NAM11FT099:EE_|CY5PR12MB6454:EE_ X-MS-Office365-Filtering-Correlation-Id: 25082d63-4140-496d-5e8b-08db4b1e571f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 8ByHmTaX+L0Rjn081SFNaozXhF7fUxgfa76WrRtxaCsdQKD6yxkm3T9EgfS7BsgkFM/kWG+aUXT0xQK5EfU57C7g6x4U8ro4D98326fRw30vuVhTuWFQ5Vigjd869ibgZu8EaEGaGE34Z0O765Mm3AyuMX7RJKK5GS9gQ/vGVgEA/rNyTJC4ntwEihLjyQnOLuCvDGqWf+o064NSxPP+NdryWGlJ47fH7mvYTIqUjA778e0b81x5NEaZ9rwv4iLLaR258myuUc9gREPmGzdH/6xjdum/zxRDUwJUad594JNX6vhKKOz9Gau7dA/eHM7ceF2C0WP/3oHgcojwSzgg3ywf0BYVi+yNpZlcd/HuzhhO2YrSVVCgs3RmagFt1g3aTvHUgu473BFpcudiFCw7/sXi1+hmRSdLEtvP2em0caAD6hqzPoF1X4XxPxbpmnJpBHFUEWfjMFwobWe+dq2s1BD7TxNZgCeVwDcaistS95HbKGZPdoSSar9bGlAGDxa39cJoMYvvEQOAgiauZLQc9DyayWjQHnAs6/naKs4PCI7RoHuNdmsNyccYpL3iQGoz3sidSXZLFJy3C+ZfYmlwUslb4VwNFugzDl7PRGsK4CvAGu3bY36wq8C4Ryl6DYA231rWHNueryARDKpNS6BlSehOLLZ+IVwVIcUrflXvLJjIJpDNDPmu+4hm3wiw95lb/kPi6Fb2wqwiDX9BAJHVRA== X-Forefront-Antispam-Report: CIP:216.228.117.161; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge2.nvidia.com; CAT:NONE; SFS:(13230028)(4636009)(346002)(396003)(376002)(136003)(39860400002)(451199021)(36840700001)(40470700004)(46966006)(70206006)(70586007)(2906002)(336012)(86362001)(2616005)(426003)(82310400005)(5660300002)(8936002)(8676002)(40460700003)(36756003)(41300700001)(316002)(4326008)(110136005)(478600001)(6666004)(40480700001)(7696005)(26005)(186003)(82740400003)(356005)(7636003)(1076003)(83380400001)(47076005)(36860700001)(107886003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 May 2023 15:03:08.4426 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 25082d63-4140-496d-5e8b-08db4b1e571f X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.117.161]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT099.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY5PR12MB6454 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add support for the NVIDIA IGX Orin development kit having P3701 module with P3740 carrier board. Signed-off-by: Shubhi Garg --- arch/arm64/boot/dts/nvidia/Makefile | 2 + .../boot/dts/nvidia/tegra234-p3701-0008.dtsi | 111 +++++++++++++ .../nvidia/tegra234-p3740-0002+p3701-0008.dts | 155 ++++++++++++++++++ .../boot/dts/nvidia/tegra234-p3740-0002.dtsi | 137 ++++++++++++++++ 4 files changed, 405 insertions(+) create mode 100644 arch/arm64/boot/dts/nvidia/tegra234-p3701-0008.dtsi create mode 100644 arch/arm64/boot/dts/nvidia/tegra234-p3740-0002+p3701-0008.dts create mode 100644 arch/arm64/boot/dts/nvidia/tegra234-p3740-0002.dtsi diff --git a/arch/arm64/boot/dts/nvidia/Makefile b/arch/arm64/boot/dts/nvidia/Makefile index 1406d5d40b8f..2ea0058979d3 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-p3740-0002+p3701-0008 := -@ DTC_FLAGS_tegra234-p3768-0000+p3767-0000 := -@ dtb-$(CONFIG_ARCH_TEGRA_132_SOC) += tegra132-norrin.dtb @@ -25,4 +26,5 @@ 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-p3740-0002+p3701-0008.dtb dtb-$(CONFIG_ARCH_TEGRA_234_SOC) += tegra234-p3768-0000+p3767-0000.dtb diff --git a/arch/arm64/boot/dts/nvidia/tegra234-p3701-0008.dtsi b/arch/arm64/boot/dts/nvidia/tegra234-p3701-0008.dtsi new file mode 100644 index 000000000000..e468352b8b7f --- /dev/null +++ b/arch/arm64/boot/dts/nvidia/tegra234-p3701-0008.dtsi @@ -0,0 +1,111 @@ +// SPDX-License-Identifier: GPL-2.0 + +#include "tegra234.dtsi" + +/ { + compatible = "nvidia,p3701-0008", "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 = <102000000>; + spi-tx-bus-width = <4>; + spi-rx-bus-width = <4>; + }; + }; + + mmc@3460000 { + status = "okay"; + bus-width = <8>; + non-removable; + }; + + i2c@c240000 { + status = "okay"; + }; + + rtc@c2a0000 { + status = "okay"; + }; + + pmc@c360000 { + nvidia,invert-interrupt; + }; + }; + + bpmp { + i2c { + status = "okay"; + + thermal-sensor@4c { + status = "okay"; + reg = <0x4c>; + vcc-supply = <&vdd_1v8_ao>; + }; + }; + + thermal { + status = "okay"; + }; + }; + + 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; + }; + + 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_ls: regulator-vdd-1v8-ls { + compatible = "regulator-fixed"; + regulator-name = "VDD_1V8_LS"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + }; + + vdd_3v3_ao: regulator-vdd-3v3-ao { + compatible = "regulator-fixed"; + regulator-name = "vdd-AO-3v3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + }; + + vdd_5v0_sys: regulator-vdd-5v0-sys { + compatible = "regulator-fixed"; + regulator-name = "VIN_SYS_5V0"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + regulator-always-on; + regulator-boot-on; + }; +}; diff --git a/arch/arm64/boot/dts/nvidia/tegra234-p3740-0002+p3701-0008.dts b/arch/arm64/boot/dts/nvidia/tegra234-p3740-0002+p3701-0008.dts new file mode 100644 index 000000000000..3ac8070918bb --- /dev/null +++ b/arch/arm64/boot/dts/nvidia/tegra234-p3740-0002+p3701-0008.dts @@ -0,0 +1,155 @@ +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; + +#include +#include +#include "tegra234-p3701-0008.dtsi" +#include "tegra234-p3740-0002.dtsi" + +/ { + model = "NVIDIA IGX Orin Development Kit"; + compatible = "nvidia,p3740-0002+p3701-0008", "nvidia,p3701-0008", "nvidia,tegra234"; + + bus@0 { + host1x@13e00000 { + nvdec@15480000 { + status = "okay"; + }; + }; + + pcie@140e0000 { + status = "okay"; + vddio-pex-ctl-supply = <&vdd_1v8_ls>; + phys = <&p2u_gbe_4>, <&p2u_gbe_5>; + phy-names = "p2u-0", "p2u-1"; + }; + + pcie@14100000 { + status = "okay"; + vddio-pex-ctl-supply = <&vdd_1v8_ao>; + phys = <&p2u_hsio_3>; + phy-names = "p2u-0"; + }; + + pcie@14160000 { + status = "okay"; + vddio-pex-ctl-supply = <&vdd_1v8_ao>; + phys = <&p2u_hsio_7>, <&p2u_hsio_6>, <&p2u_hsio_5>, + <&p2u_hsio_4>; + phy-names = "p2u-0", "p2u-1", "p2u-2", "p2u-3"; + }; + + pcie@141a0000 { + status = "okay"; + vddio-pex-ctl-supply = <&vdd_1v8_ls>; + phys = <&p2u_nvhs_0>, <&p2u_nvhs_1>, <&p2u_nvhs_2>, + <&p2u_nvhs_3>, <&p2u_nvhs_4>, <&p2u_nvhs_5>, + <&p2u_nvhs_6>, <&p2u_nvhs_7>; + phy-names = "p2u-0", "p2u-1", "p2u-2", "p2u-3", "p2u-4", + "p2u-5", "p2u-6", "p2u-7"; + }; + + pcie@141e0000 { + status = "okay"; + vddio-pex-ctl-supply = <&vdd_1v8_ls>; + phys = <&p2u_gbe_0>, <&p2u_gbe_1>; + phy-names = "p2u-0", "p2u-1"; + }; + + aconnect@2900000 { + status = "okay"; + }; + + serial@3100000 { + compatible = "nvidia,tegra194-hsuart"; + status = "okay"; + }; + + i2c@3160000 { + status = "okay"; + }; + + i2c@3180000 { + status = "okay"; + }; + + i2c@3190000 { + status = "okay"; + }; + + i2c@31b0000 { + status = "okay"; + }; + + i2c@31c0000 { + status = "okay"; + + }; + + i2c@31e0000 { + status = "okay"; + }; + + spi@3270000 { + status = "okay"; + }; + + hda@3510000 { + nvidia,model = "NVIDIA IGX HDA"; + status = "okay"; + }; + + fuse@3810000 { + status = "okay"; + }; + + i2c@c240000 { + status = "okay"; + }; + + i2c@c250000 { + status = "okay"; + }; + }; + + aliases { + serial0 = &tcu; + }; + + chosen { + bootargs = "console=ttyTCU0,115200n8"; + stdout-path = "serial0:115200n8"; + }; + + gpio-keys { + compatible = "gpio-keys"; + status = "okay"; + + 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 = ; + }; + }; + + serial { + status = "okay"; + }; +}; diff --git a/arch/arm64/boot/dts/nvidia/tegra234-p3740-0002.dtsi b/arch/arm64/boot/dts/nvidia/tegra234-p3740-0002.dtsi new file mode 100644 index 000000000000..c95063b19321 --- /dev/null +++ b/arch/arm64/boot/dts/nvidia/tegra234-p3740-0002.dtsi @@ -0,0 +1,137 @@ +// SPDX-License-Identifier: GPL-2.0 + +/ { + compatible = "nvidia,p3740-0002"; + + bus@0 { + i2c@31c0000 { + /* carrier board ID EEPROM */ + eeprom@55 { + compatible = "atmel,24c02"; + reg = <0x55>; + + label = "system"; + vcc-supply = <&vdd_1v8_ls>; + address-width = <8>; + pagesize = <8>; + size = <256>; + read-only; + }; + }; + + padctl@3520000 { + vclamp-usb-supply = <&vdd_1v8_ao>; + avdd-usb-supply = <&vdd_3v3_ao>; + 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"; + }; + + usb2-3 { + nvidia,function = "xusb"; + status = "okay"; + }; + }; + }; + + usb3 { + lanes { + usb3-0 { + nvidia,function = "xusb"; + status = "okay"; + }; + + usb3-1 { + nvidia,function = "xusb"; + status = "okay"; + }; + + usb3-2 { + nvidia,function = "xusb"; + status = "okay"; + }; + }; + }; + }; + + ports { + usb2-0 { + mode = "otg"; + usb-role-switch; + status = "okay"; + vbus-supply = <&vdd_5v0_sys>; + }; + + usb2-1 { + mode = "host"; + status = "okay"; + vbus-supply = <&vdd_5v0_sys>; + }; + + usb2-2 { + mode = "host"; + status = "okay"; + vbus-supply = <&vdd_5v0_sys>; + }; + + usb2-3 { + mode = "host"; + status = "okay"; + vbus-supply = <&vdd_5v0_sys>; + }; + + usb3-0 { + nvidia,usb2-companion = <2>; + status = "okay"; + }; + + usb3-1 { + nvidia,usb2-companion = <0>; + status = "okay"; + }; + + usb3-2 { + nvidia,usb2-companion = <1>; + 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-0"; + }; + + 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/usb2/lanes/usb2-3}>, + <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-0}>, + <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-1}>, + <&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-2}>; + phy-names = "usb2-0", "usb2-1", "usb2-2", "usb2-3", + "usb3-0", "usb3-1", "usb3-2"; + }; + }; +};