From patchwork Fri Feb 2 16:10:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 13543125 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 9BACBC48291 for ; Fri, 2 Feb 2024 16:11:17 +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:Cc:To:In-Reply-To: References:Message-Id:Subject:Date:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=RLT7LPdYhh/y7No1gjeTXeJbo6ZI//zRyDs4unyRHa8=; b=q+apzz+VnqyQgm9cKdles5c3qs 3ZodOwXvQmzo1GHJ1fIqsfD9tt7Bd7jkGAG0QBfGTgbN3YPuH6sYu5eWjKN2iNzY0nGqYcs3FLKd2 X+0CtGSLwLkcmXZKwbMSmJpmjBxXJ12PVXxF8aK+CNh/lSl4WbVsCpOmTFhrDKBJanX2imLpDJMzb ZY/k9pLfFrIO6f1YkUQU8pSIEJ+pNCI6hFPdKFsvFTRzH6VHYi0ShDTRb/iPk1y8Q1POabawqs8PK vuTTbVP9c+6LM7IrDQu5uO1pn2TYrd9ajW1hqtDtgzv5kEL4mjg/oXpQ185jluq63X3PSwPIBwXs+ RttjNdBA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVw85-0000000CDe3-0KOS; Fri, 02 Feb 2024 16:11:01 +0000 Received: from mail-vi1eur02on2070b.outbound.protection.outlook.com ([2a01:111:f400:fe16::70b] helo=EUR02-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVw82-0000000CDcX-2QZY for linux-arm-kernel@lists.infradead.org; Fri, 02 Feb 2024 16:10:59 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NPMgQWDKvLPtN1k+oAUuO/gDvuYlOoKdMPNxQdjS/fP4wpJ4hPPYdP2Y87eOZsVZPd+1VcnK0dSzBQzI8zx+hyavkn9xKkqvO71o23WdcR8nS2qBGwGBjY1vRloxZZugmVNooSr7aqhmyfUjOJiCrdelV46LzsqtXBVgPIJm9QV8qyCY/D067QGlL5imEMcxftwIkA8G7M8yLy6C4UVQ/LlngY0iBOWj+n442yO79K68X2QDGkeMsAT4xsNy/xlg1u+3JfTim1uBtLwwJ4rTwFAgxQTQwHOTO3bwWq4Nb9qIaZEkVRPlfvdvLksNd1tkyri1UnNS94nYFULpQFQYVA== 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=5xhAhy9Ne3mpZiRcpteoPWTmLUCCCBx9qs/C00AWeT8=; b=KaqdJvbklBZqzZVZu0ysrFXvB1LR2m53MFhlXMOIrXIz54fO43yLucTsxrQVdvIp30A+0EZa4U6nXq5JpG8SYbuNxMO10azFYQ3oy9xRPDYOSuMS5VzsXr4RkcL7Q/8zjauuLsVXZBbUPrfIY4ehSRjwMf4Yqp+1BsKv6KHeql/yqaFDnu/k2hziJD9ahUaui/e0oj1hv/NXXLS2uA3jnpVD+6AwE/VbkO2b1iFhH/aa52MQES532Pe8Lb62eP7414NhspLYTFE6ZFVIfJxE646cpuYkc1fiONx9vEhFSMz4NdQsv4Um5Zq7Cj+V2pT02HCjVej6mENFgk01XC40kQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=solid-run.com; dmarc=pass action=none header.from=solid-run.com; dkim=pass header.d=solid-run.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=solidrn.onmicrosoft.com; s=selector1-solidrn-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5xhAhy9Ne3mpZiRcpteoPWTmLUCCCBx9qs/C00AWeT8=; b=dPPyi6uNKavruJmvv7LTEl+1ExN4qHrJQMQQVtafxedqFbFARHqoGvhUCLk6ZopEmguADZwuoK9+ksn6zagViNEiMTAF8yEBl9JYr804V0M9tsnJ+6dqzA6/b17ZHGfgFv1ck7OyaEip+as+I0E3n3LfNAw7YRI3evL+8mlw8gE= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=solid-run.com; Received: from AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) by DU2PR04MB8775.eurprd04.prod.outlook.com (2603:10a6:10:2e2::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.30; Fri, 2 Feb 2024 16:10:53 +0000 Received: from AM9PR04MB7586.eurprd04.prod.outlook.com ([fe80::3b94:f607:ebe1:7d6c]) by AM9PR04MB7586.eurprd04.prod.outlook.com ([fe80::3b94:f607:ebe1:7d6c%7]) with mapi id 15.20.7249.027; Fri, 2 Feb 2024 16:10:53 +0000 From: Josua Mayer Date: Fri, 02 Feb 2024 17:10:48 +0100 Subject: [PATCH v4 1/5] dt-bindings: arm: ti: Add bindings for SolidRun AM642 HummingBoard-T Message-Id: <20240202-add-am64-som-v4-1-5f8b12af5e71@solid-run.com> References: <20240202-add-am64-som-v4-0-5f8b12af5e71@solid-run.com> In-Reply-To: <20240202-add-am64-som-v4-0-5f8b12af5e71@solid-run.com> To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alessandro Zummo , Alexandre Belloni Cc: Yazan Shhady , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org, Josua Mayer , Krzysztof Kozlowski X-Mailer: b4 0.12.4 X-ClientProxiedBy: FR0P281CA0158.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:b3::16) To AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR04MB7586:EE_|DU2PR04MB8775:EE_ X-MS-Office365-Filtering-Correlation-Id: 62fa7b12-59d9-4aa6-8001-08dc24098723 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: wHN0jmMNfg2NSRELztMI0ldowRIfS9OX20ODTWNo4D/ClNTjO3rH5UKd1oBXZOiS3WIMYiHMxpJLVZqamHszfuD1Grm+hV7dePfVj4flBI+pJJ8moSvf3f6RrmvPwMc6NumKlBzuC5hdCH7fXTldNz6KNoJpXbEX9DnIYOTUUTHTrJZppzzvfEI3nv1JrwVrDRSbRNS2wprH9LhNmpsXxiWLjSMYto+ToAQwD4XlEqyZXUKEzpy4EvepUkYiU4sbmDHudIJzPYoE1ixIGGqPaF4IJgz4GwFfHBvXxHx+X7tUnf1csoNrSni0GeAzQ9Wsvjm0b+/EtMxSRevm0oNTtP0O56VXllc4y8uPsFr08BzQVE69I/3h0TQYyL70RPFncXPLoxQRsYpmQdmFzPDVNp9IpI33p6ntCLKsIJ9K3QAiEe16WcZ/Ph4FnjadlOmrNMlcLHRJx0r+7qK9UXG9JiwdSBlFcnPrqHIwi4HvvHnoWkOszuTC+FHYl3tQgXA9gkAox38i0Zo1KOxNBQKhiFtchCs7QRKE+giD+xDRbNv2TAd1WRZS3a24mr3fKgWXOKg99pbqTLeNVJVINwRSVffWVsvjxjq1BwtbCKgxYBcXHqixuFAGbB17Pmb4uPLU X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM9PR04MB7586.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376002)(366004)(39830400003)(396003)(136003)(346002)(230922051799003)(1800799012)(451199024)(64100799003)(186009)(6512007)(6666004)(52116002)(26005)(6506007)(2616005)(36756003)(8936002)(8676002)(66556008)(38350700005)(316002)(2906002)(7416002)(66476007)(5660300002)(4744005)(66946007)(86362001)(4326008)(110136005)(54906003)(41300700001)(478600001)(6486002)(38100700002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?UtCh+MFmDtdp5mYf32aZ/JoDb6og?= =?utf-8?q?QjTAdv2bpF98DEu90QBqyPiGteNlb2+ONGm1dfe6icufET6Xv/32EDluSkJH3nMF4?= =?utf-8?q?gngKBaMqijK3S72BH5NwBIrHU5sMnoUYbWkXGs4vBktHbs0oB+awkd2Hw/ssNTJbK?= =?utf-8?q?601BsbxJ5TmwM3I538X2Wx/kC8bczxktBdl9Zvk4Wl9j0MDHIAbK3qXI1BaXLIkOs?= =?utf-8?q?eH9lCwmena9kX2fDvDwZauwGmNVBmi1CG4lcKf/JOTpp+z8XW+Ro5cFAeTk9iQlrb?= =?utf-8?q?8KbIxiydYVN9OPB1uvms3mm8/1Tmw81Tkhjk7Nx01pdW3IByQcHlkgDpwZy77LynA?= =?utf-8?q?6Y9JBA5nX5k3PVVeKOUmH77Zq2dBEbLArMa+FRDb79Vk+pS21o+GIISxkzhDUhGIW?= =?utf-8?q?eogTwiXeMqzSqRwhRDk5EF6WM9cTGh1i2D4vKH93/ZNlEK4jlocsIAfrjPm2t3xA/?= =?utf-8?q?JQ+plqUg0WxmGGze9pAGun9dzNIpPOuvP6RnTEurgvOOiT450FwB1f618wePnXuoO?= =?utf-8?q?WFB1qGeoD9yYtxVj2vO3PVD/DE+036ZK4hZ87WNScAZxy5/RDoSqj0BEupHnTjbey?= =?utf-8?q?SPJSCtV5d3ffwDFocFOQ7fDVtRpXd52k87cbdzacz/ENdZPOXhWWdofThFbW2+c6D?= =?utf-8?q?aXqq8gc6/006bzdghOflFlxgVRU97AJZ5oAgTWCNIjkESRcgN491Sk6JFNU8dhwuQ?= =?utf-8?q?JoURflzyDb4z01auRhD7eLcsYgss+qXLHEf+G9gNmMNCXYTOeGpYrnx1gFc5XHolz?= =?utf-8?q?kcSwjKTr6gOgYoSBCQUEhdYB/LWLZcMrjkOARB9Gm4/dmq4QG7XvtboUBYl65z4VG?= =?utf-8?q?QbgbJZuASX0DNjtT2rQ7+buqjER5JkG5Rzk7jzN0HDHVN5kHgoZ+vDSRXvU8RWwxQ?= =?utf-8?q?hMU99nVIjC7zKK2H6b/oII/biPc0WqOD3U1vrbwi5hQzW4fSaQVygD4/T2kimpQuh?= =?utf-8?q?oP+IMLtbar5PuI54Gg5+qDHhV95i97XDs/qH0tIqP7ZAdZAkEzkc2YkVSWhDbtmEO?= =?utf-8?q?D+I3IT3xRd2jz4tK9kMip/ZZCyMd08whSW7a36MdQMOg4UwnfieYBdz3AeQInZFsE?= =?utf-8?q?kK5jWAglSUq9F9u3qFnSMAkUs7VRGnfiJe9+qj0LGM/h9fF4n+YeqUaPkPueeyZfA?= =?utf-8?q?CrTKdvM6nSl2OlsSMIDr50nMNftV+c8yh3wsWD4103jqD264TmxRBfRhp9Xw4RcC6?= =?utf-8?q?cDV32j7rcgBAOhxA4Fx8FcZOhddFIUMWFvGzx2XodmiMQCnBGxZ/jUiAMNUWkqQtH?= =?utf-8?q?CukctlJcFrbGYHckS6+7zIrCdHeYZkY54Nv1ACW+GOKjit/m3de3F0pGM3SmqDXZ3?= =?utf-8?q?FhKpoD2LDvBUxubFLtwZxNIakEJlMXThr1/SX9bsPDZ+FH19P4gczmQEq4/Nb3DE6?= =?utf-8?q?GH9VvGg2Irx6l+Vn6+zVX7MhUvv/NSCOkRaIDlofrG2XyLBpJkL8Hyhy89+G48kAT?= =?utf-8?q?ATdzhbpZQebfmN7qg+JVmPxtc57ztUg/2hb8oPPli4taLh9nnfhB0DoOnlWoQrEvk?= =?utf-8?q?Yyfb2y5Bg5lM?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: 62fa7b12-59d9-4aa6-8001-08dc24098723 X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB7586.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Feb 2024 16:10:52.1504 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a4a8aaf3-fd27-4e27-add2-604707ce5b82 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: zHOmzIiK9GagaVMFQ/+Zif04DEu+dJfk4CZpPjnAU9B0W6/gfaMcHkDQ0ixGlGtCYl9OSaCJM4jYSQJ9u70NeQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8775 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240202_081058_627317_A5FF8A08 X-CRM114-Status: UNSURE ( 8.60 ) 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 Add bindings for SolidRun AM642 HummingBoard-T Board, which is the evaluation board for SolidRun AM642 SoM. Signed-off-by: Josua Mayer Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/arm/ti/k3.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/ti/k3.yaml b/Documentation/devicetree/bindings/arm/ti/k3.yaml index 03d2a0d79fb0..b9f2a8d36874 100644 --- a/Documentation/devicetree/bindings/arm/ti/k3.yaml +++ b/Documentation/devicetree/bindings/arm/ti/k3.yaml @@ -85,6 +85,13 @@ properties: - const: tq,am642-tqma6442l - const: ti,am642 + - description: K3 AM642 SoC SolidRun SoM based boards + items: + - enum: + - solidrun,am642-hummingboard-t + - const: solidrun,am642-sr-som + - const: ti,am642 + - description: K3 AM654 SoC items: - enum: From patchwork Fri Feb 2 16:10:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 13543128 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 4278BC48291 for ; Fri, 2 Feb 2024 16:11:24 +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:Cc:To:In-Reply-To: References:Message-Id:Subject:Date:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=hOEIIlfoZu2pTOgN/Hja5Z9WtwLRs/gG68SjtyOQqrs=; b=iXvHLI/DiPYGzxZzeU3Z+Nt9a/ WhoVRLZabxej3jZjsk4ah/nZGA4WaRpXThuTqkhy9oQQqgG/V6OBH+jQy/Rm+GAgbxvdxjBtwgzom Xk1Ro5HlMTos5cjm8sPiKA6iTwe2ANk9GHS5bAa9kt2+hwJR+MHQQaxwAeAIE7zBn8aAabdyjAWjx SotQdpvsJkIFiui8YaWkir26WFyDfqKi4IBKNcL/DuL9mjnrpJldNB4QahiRpXIQUtf1Ri6HAEYRj q5qMVK1eGj1OWhcTIC6h2kMBbntFP27sCRzoximrhxXRCTxCr3ZtHmyDGeC71eU6O4+uNVxxia5ne /OtqtEug==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVw8C-0000000CDjX-2y0R; Fri, 02 Feb 2024 16:11:08 +0000 Received: from mail-vi1eur04on20701.outbound.protection.outlook.com ([2a01:111:f403:2611::701] helo=EUR04-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVw88-0000000CDe4-399X for linux-arm-kernel@lists.infradead.org; Fri, 02 Feb 2024 16:11:07 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RYga6yuHxWA/w2t0lzInC7b+TXHBLfW20PN4Mp61/UKlyyc/6lauccCXmN0AooEW0BlJ5j/ru+hy8edjKH449rfQaQE9MFMHNQLgt18D8oKGujEwT8zLs2iKxHGwQX+QUhg93gIPHuc8ta45n6kX6mlnfgLrHx+Wyj2yPtOjacy21n9BNi31FrBSAZzodX/2zS70IGOCY27+9I9sYyLJIbSipQ+KAEJ2b+iW5gnE3vPEDuqZbcg9fnu2Da9cn2bHI80Gb0K1+hVAzzcKf5xEkaRxN+O6mp70IKACLWRhOyE2sRNR4qsaAcgOuV/rbME9NNf1mAxRwWDIh6W3JDBwEQ== 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=pGYc5FmFk73gu6M4c/VgoZNH+SKZtBH9GUCwk8Q6d7k=; b=BEhoWGjyPjUPh7NccpsAtSFhsnbObtTL0Un0+fSbm+8xqH6/Wq/IQG9fmF5YDMdxu7bwKuBL3U5ze3NiS8cbk+Q/AMtGUArfwvJEom3Kyo3BzRU3etmYa6gTjlQQxkgzElUQU5ozHZ3e+xP28t4SEaqtQUlCbibTp2VcmLwWm6FsGdgLnKzkBSIg0C8UNtpiNb8LDbAcFFWU+77NLAhk5E0QPdCZp+bJyeAmhbQ664EE1C7rWLFODc0RT22hZyca0I/i9TruTW959dRFRhzsGGh/S4UayibiQE8M60jBO28AbG+61/KP4qiLZcxzoc7g+I1RuTDDnTY9ckoIYurj8w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=solid-run.com; dmarc=pass action=none header.from=solid-run.com; dkim=pass header.d=solid-run.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=solidrn.onmicrosoft.com; s=selector1-solidrn-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=pGYc5FmFk73gu6M4c/VgoZNH+SKZtBH9GUCwk8Q6d7k=; b=QdhXxqB5gfyGMip67Fd6OeSLoYrfW+lGH3EeW/ROXbyQNTH6ePAAhIZ5ZWC/llPIpsu33cNBfnDjuD/IputFp+SN4LJSNtMmZbdve1OoPBkYxowBXV1jqqO2LeRAsrLNsQACsbGxBoCl5kRp7TojxdaHsGgT23K3Amrkc8tdBHk= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=solid-run.com; Received: from AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) by AS8PR04MB7894.eurprd04.prod.outlook.com (2603:10a6:20b:2aa::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.31; Fri, 2 Feb 2024 16:10:53 +0000 Received: from AM9PR04MB7586.eurprd04.prod.outlook.com ([fe80::3b94:f607:ebe1:7d6c]) by AM9PR04MB7586.eurprd04.prod.outlook.com ([fe80::3b94:f607:ebe1:7d6c%7]) with mapi id 15.20.7249.027; Fri, 2 Feb 2024 16:10:53 +0000 From: Josua Mayer Date: Fri, 02 Feb 2024 17:10:49 +0100 Subject: [PATCH v4 2/5] dt-bindings: rtc: abx80x: convert to yaml Message-Id: <20240202-add-am64-som-v4-2-5f8b12af5e71@solid-run.com> References: <20240202-add-am64-som-v4-0-5f8b12af5e71@solid-run.com> In-Reply-To: <20240202-add-am64-som-v4-0-5f8b12af5e71@solid-run.com> To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alessandro Zummo , Alexandre Belloni Cc: Yazan Shhady , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org, Josua Mayer X-Mailer: b4 0.12.4 X-ClientProxiedBy: FR0P281CA0158.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:b3::16) To AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR04MB7586:EE_|AS8PR04MB7894:EE_ X-MS-Office365-Filtering-Correlation-Id: 3b36cd0c-ebe0-4339-14a5-08dc24098774 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: bSbONFPNve9DJiMVBHbRkNv+J4mLyBwvzpLvOQKpwxCjl5Byqc6sOZ2ETixm+JrRsIBogGwJpEXoBLLLZ5vz+SpcHMG3D2vF+c2/WkR6bh/V/nnHAgc10dKz1vo0iEReFY2mSODBL5TMgT4foJ2uA7MYEr0qd2D5cyE+9xn+yskFD6D+SfbhxTjcDISyEKcuXn/zla0A6Zf/bRp2ze1i6MpUClO4xP4pyIZBbbYPcXNft8VG4smwbIrLf96nMzK0El12D41UfXONg//ylPchT5tbHr5CaUEPebZvudfqmE983u80ZBraAn8oNQ2Jo9Msw/ArAcnRwwQc6Lo7KDDHYswYJ1L5+2Feev3mv/NMLt8LOCBPgOfxpAXzZ//8A3qCvQ3NaH3qJi5gVeji6Px1gc+ErJXCIctrT4GQ91+2FO3OMfHg2MM2clCSDuAgkOFPQsZEiufA8mV5HAVxIN6qhoLX/G5FArq7yzJeDLJEL8wikgaUPDV/UXmPl0PqQIEGl8RrqP/URVhfWIwhuM9SB21ShLSMc+O3z2h+YrLtvVZI40/k43tdzzmcetA4VINjABi+nvV3xgCgj+1s06MiAJE40n8REC94UuOCaNRYr0A= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM9PR04MB7586.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(396003)(346002)(376002)(366004)(136003)(39840400004)(230922051799003)(1800799012)(451199024)(64100799003)(186009)(5660300002)(7416002)(478600001)(6666004)(966005)(6512007)(6486002)(6506007)(83380400001)(52116002)(86362001)(8676002)(4326008)(8936002)(66476007)(54906003)(66946007)(66556008)(110136005)(316002)(36756003)(38100700002)(41300700001)(26005)(107886003)(2616005)(38350700005)(2906002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?BWhwLDBLnnIUsHbhLt3kv1xceSFh?= =?utf-8?q?hnLGxIewXI5Xv5YUXgh18ChTOpL265ZPPY/MLFRX3arbjLhjQOpZhdHkoPrUMUJsa?= =?utf-8?q?puSMxEYY79sFFGmvWK6+8ykUP75Da55tvHgSRWRpDRulXlgfeyW+6CgXPLA7RSTiz?= =?utf-8?q?ObB2CC67V8Tra9zIZl2j3uRWPKmyAX8eUfLxR1bzfKnlt2kVmqhsjJYU4vgyobJLp?= =?utf-8?q?JVW6uKAFW6VbTuCQ+GsrtMIGuY7kiyMGwUKYn9fp5vT8DipnnJ1kMdBilRNEqUKQG?= =?utf-8?q?f0X5Tg2AH7kj00YGla/UtAuwMKBm6oVcLnHDlg2MM20gWDnEAv4QHwbNKbcxLtABn?= =?utf-8?q?tDn/1Dm7yZ/xhKbaPJm5R636X67JRyGdzGmZyZoxQ4T8AqC77icp9VnXJFil70aZS?= =?utf-8?q?/8lC3VwRC2GMbxQzZ7SlLmZcKkOTBXRDUN8WhXuDLT4rUtNqdEDa4XCXOVVnUJLLC?= =?utf-8?q?kBllYzc7cyV0IKPfMyRyqDptLE/pdfiWnB15IGwiH0LE5aV4v0NcQv/iG3XiyqdO+?= =?utf-8?q?2NHX0e5KLTOJvO0bc7nmsn3b9EDeiMRLB3mEPelzPT7saONszK4a3U95mAYqpX2eP?= =?utf-8?q?nPSRpI48LXj4XZJV13EzPvm6iJ1sg1i/syDybtCewCuCk0sqDwtq1TQOyjG5+14t1?= =?utf-8?q?PI3JcI+7An2rjz+1R69lTb3EPDb0hk0v9uEhgT++yOylMm6Vq10a9lUBpkG4MTpZN?= =?utf-8?q?tumU5kP9UEK2RIO6t9XOjsbSNtxsERuWGql9mBreN5Eq5IpQDAInMV/DEgGLE+TM6?= =?utf-8?q?0zU4lZpm2mqA6EngyQWMpb1oQ61o4l5iaUD5s2CCDmDwT0lDf1qFcCkSFoKceR6h1?= =?utf-8?q?LCgogXlkCAiIYKvJssOcpnbY3bi4HpFk26B7prx610+P4vJdIQIqBSrD3EIjwHIxF?= =?utf-8?q?JKou++4lv6LG2N8hNCr+svsUNoY54zhM1hl0Pp4PSbrHQnp0eP88qh3DGFSHCuarL?= =?utf-8?q?JXG2vpEUGO8gLEE9yLZZxQgMuSHqRkY3B4EDEJgM9S+s784aoFU4O6U2TtUH00pht?= =?utf-8?q?Rc0h0SzgQsXRZpMlL5VLaVH5Q4TIeEaQsQyes5EezI/q+SJ8Fz93A9FKxihnkAeEU?= =?utf-8?q?PQ2Yj20CAPp0aKZiRKKppuDQgSOUjGxp0zZfm3i29F8Wah6OLI38ikTpLutI5RUMe?= =?utf-8?q?3fXGzzFz0+mJmOcI926mZs39EbXovCFoZpfrE8uEH+xxWRviI29tAfKKXvg3+R77f?= =?utf-8?q?EcfhyVzLFNrUmcfOe9pPX+F9RnZV3mY7JfukoytW6+LsAEM01M8m2AFtiAdPSG3//?= =?utf-8?q?Pld7FPukUg56TYJwqXbZ/fYYvYjfYCnFuTDOwkbTrFGkyK/hr4lIP0j/laZNwtiiS?= =?utf-8?q?5F0tuKIVmk/e+EtHO5LgJoATDU49HYSZGf8DkkyNfF40HzGjymg89HBcbagUWpbj2?= =?utf-8?q?calaDfRmmIzdmNWGMI3cZIN1MVivKpgfYKq+2+su0H/jnWXjbTDh2vdUIMpMEahTH?= =?utf-8?q?vGmjsajwMRLKJuHIWOYtVet9ezIUIFBntAkg5M8Fc+hsIB/09ULjyw62IvzVCuxEF?= =?utf-8?q?o4sO9RgoNzYw?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3b36cd0c-ebe0-4339-14a5-08dc24098774 X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB7586.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Feb 2024 16:10:52.6202 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a4a8aaf3-fd27-4e27-add2-604707ce5b82 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: YS+pP9ctBcQLevW9gE1bfBF5YZwiJK3HoZ5Z4o39yKcDY3NuLitsOaWUitILLpf/VxZM3Vc0cGBEBiz4xRZ/lQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7894 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240202_081104_891792_C07E70F0 X-CRM114-Status: GOOD ( 14.85 ) 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 Convert the abracon abx80x rtc text bindings to dt-schema format. In addition to the text description reference generic interrupts properties and add an example. Signed-off-by: Josua Mayer --- .../devicetree/bindings/rtc/abracon,abx80x.txt | 31 --------- .../devicetree/bindings/rtc/abracon,abx80x.yaml | 74 ++++++++++++++++++++++ 2 files changed, 74 insertions(+), 31 deletions(-) diff --git a/Documentation/devicetree/bindings/rtc/abracon,abx80x.txt b/Documentation/devicetree/bindings/rtc/abracon,abx80x.txt deleted file mode 100644 index 2405e35a1bc0..000000000000 --- a/Documentation/devicetree/bindings/rtc/abracon,abx80x.txt +++ /dev/null @@ -1,31 +0,0 @@ -Abracon ABX80X I2C ultra low power RTC/Alarm chip - -The Abracon ABX80X family consist of the ab0801, ab0803, ab0804, ab0805, ab1801, -ab1803, ab1804 and ab1805. The ab0805 is the superset of ab080x and the ab1805 -is the superset of ab180x. - -Required properties: - - - "compatible": should one of: - "abracon,abx80x" - "abracon,ab0801" - "abracon,ab0803" - "abracon,ab0804" - "abracon,ab0805" - "abracon,ab1801" - "abracon,ab1803" - "abracon,ab1804" - "abracon,ab1805" - "microcrystal,rv1805" - Using "abracon,abx80x" will enable chip autodetection. - - "reg": I2C bus address of the device - -Optional properties: - -The abx804 and abx805 have a trickle charger that is able to charge the -connected battery or supercap. Both the following properties have to be defined -and valid to enable charging: - - - "abracon,tc-diode": should be "standard" (0.6V) or "schottky" (0.3V) - - "abracon,tc-resistor": should be <0>, <3>, <6> or <11>. 0 disables the output - resistor, the other values are in kOhm. diff --git a/Documentation/devicetree/bindings/rtc/abracon,abx80x.yaml b/Documentation/devicetree/bindings/rtc/abracon,abx80x.yaml new file mode 100644 index 000000000000..405b386a54b0 --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/abracon,abx80x.yaml @@ -0,0 +1,74 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/abracon,abx80x.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Abracon ABX80X I2C ultra low power RTC/Alarm chip + +maintainers: + - devicetree@vger.kernel.org + +allOf: + - $ref: rtc.yaml# + - $ref: /schemas/interrupts.yaml# + +properties: + compatible: + description: + Select a specific compatible chip. + + 'abracon,abx80x' has special meaning, + it provides auto-dection based on ID register. + enum: + - abracon,abx80x + - abracon,ab0801 + - abracon,ab0803 + - abracon,ab0804 + - abracon,ab0805 + - abracon,ab1801 + - abracon,ab1803 + - abracon,ab1804 + - abracon,ab1805 + - microcrystal,rv1805 + + reg: + maxItems: 1 + + abracon,tc-diode: + description: + Trickle-charge diode type. + Required to enable charging backup battery. + + Supported are 'standard' diodes with a 0.6V drop + and 'schottky' diodes with a 0.3V drop. + $ref: /schemas/types.yaml#/definitions/string + enum: + - standard + - schottky + + abracon,tc-resistor: + description: + Trickle-charge resistor value in kOhm. + Required to enable charging backup battery. + $ref: /schemas/types.yaml#/definitions/uint32 + enum: [0, 3, 6, 11] + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + #include + + rtc@69 { + compatible = "abracon,abx80x"; + reg = <0x69>; + abracon,tc-diode = "schottky"; + abracon,tc-resistor = <3>; + interrupt-parent = <&fake_intc0>; + interrupts = <44 IRQ_TYPE_EDGE_FALLING>; + }; From patchwork Fri Feb 2 16:10:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 13543126 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 03003C48291 for ; Fri, 2 Feb 2024 16:11:19 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:To:In-Reply-To:References: Message-Id:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=GnauBdERQ7aCexddO3Klr5V9N1ztPrcznOrDVek+0hc=; b=tQuzRJtE0skJx/ tdnccWLLO6rsmRRFBBKV1cYQyqILDWlI1S22QC0e7iZmJ3PHgCxKjZYByZ8N+bGDp+7FDEN/f3Ckg XuIEtOTvXzBdxNy5N0m0jRX29mo5vwPkZsEKJeOjp4gQudzvx/Zyep3F50XFDJbrakZ7bkw6KEjFv io+JtOiTvBuXVqEvaDM+pVW88q6NcZTgHJ3zmiolVElle9iBc8L/dRELk9yvgfpIyVQ78GzeFNR+n HnBb6Wxvup39Rf0oObus9KueIEGI6W9XPuh67PDSlKtsOsyX0GASzROHQ6/wQ6VtMXqp1HlABEXuZ 3zn7Il57wBEX5ETBzxlg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVw89-0000000CDgr-2qEo; Fri, 02 Feb 2024 16:11:05 +0000 Received: from mail-vi1eur04on20701.outbound.protection.outlook.com ([2a01:111:f403:2611::701] helo=EUR04-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVw86-0000000CDe4-3AWE for linux-arm-kernel@lists.infradead.org; Fri, 02 Feb 2024 16:11:04 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LyMnyIzHU7xSXLUQCRFL/j/EGykAYCDrz7KSpJ8vlo6N2cn9tqHwJxfaLS7l1sEE5upKRQJolaYh26EXUtD7JQhkS9cz9Ku2ZNSSovV+x3hix3jcOliRvLMVxIXrrttaPnXsMSIUQazOEGhjI7sWCiDGSiDeRrTvVooiXfuyTpM5NufBzFi14ZU1MGAajqcKfoHNIPkm3PD7pjTbJMdic/nerCqinlVov7pkgUFlDL1183pShsbtRwmUqYj6ICaAN8dplMJxM1+iq6C+mFUz/W/96oumxxjnyGrhleqki+ff51PG/0zqHnfrFbKkvwtVkoCwZOoLy5XHYHyCkh4PqQ== 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=GDsVoQ8g3CQjqHclKbGCWLlS02/JOtQukIt6ZXijk5s=; b=lS8XuaxyOaSmJOPZ4D6tgf0DP89PF2L0a/eWu+eATjcr0mwwtU0bSBSw6GY/Y25ZIdR1jvFyosdLOrApUmufBFt5vVHhpApU+10DgvrdpRAloYlFrrMHMF/5qHX+TZzGiIrooPbWuNj8v4UCT5eX8DMf5mlzLlaTLturZw17PHhSDTWfqkgsIEF/I47cwwvaI9uqJUIJsn191S+ZFgGvBhy7WX0viAW6+XRreGcn7HDT3gLtiX3kNCbODQWLd8Fs5m/OXQyPtRHnsMEOqhzVHTDNS6JpFuTyUauzsR0hXbwiVbip3pT1BSwOl/oSnwA+f7f7MBoxVqpn1nEZM+MAug== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=solid-run.com; dmarc=pass action=none header.from=solid-run.com; dkim=pass header.d=solid-run.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=solidrn.onmicrosoft.com; s=selector1-solidrn-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=GDsVoQ8g3CQjqHclKbGCWLlS02/JOtQukIt6ZXijk5s=; b=cenMswfUAnDDxlWBnj19m9QP4ZRkpHMoQ4sNVYKHD8pWOAUuZ4l3TF3+oe8eVYrvc30lNilnqK/nznta9zYJltaYgIvYt2j1XABMk45j6sruyiOoiCE1z7GM+JP/kCUJCN47qE7icFBpJj45c38M5HuCrGP7bvdkLZO2+afYWAI= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=solid-run.com; Received: from AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) by AS8PR04MB7894.eurprd04.prod.outlook.com (2603:10a6:20b:2aa::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.31; Fri, 2 Feb 2024 16:10:53 +0000 Received: from AM9PR04MB7586.eurprd04.prod.outlook.com ([fe80::3b94:f607:ebe1:7d6c]) by AM9PR04MB7586.eurprd04.prod.outlook.com ([fe80::3b94:f607:ebe1:7d6c%7]) with mapi id 15.20.7249.027; Fri, 2 Feb 2024 16:10:53 +0000 From: Josua Mayer Date: Fri, 02 Feb 2024 17:10:50 +0100 Subject: [PATCH v4 3/5] arm64: dts: ti: k3-am64-main: Add ICSSG IEP nodes Message-Id: <20240202-add-am64-som-v4-3-5f8b12af5e71@solid-run.com> References: <20240202-add-am64-som-v4-0-5f8b12af5e71@solid-run.com> In-Reply-To: <20240202-add-am64-som-v4-0-5f8b12af5e71@solid-run.com> To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alessandro Zummo , Alexandre Belloni X-Mailer: b4 0.12.4 X-ClientProxiedBy: FR0P281CA0158.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:b3::16) To AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR04MB7586:EE_|AS8PR04MB7894:EE_ X-MS-Office365-Filtering-Correlation-Id: 6f8eb5b9-0e95-43d8-bf70-08dc240987c4 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Piprq+/weoWhEJbtnT6gE0nmU2mor5KQKP45nCjOvnW58Yg/5n6Ikahbtugm+b7+s/vx/VId2ejOS1P0+ow47ZnvxoRmQ3aMXmjdTU6R3+0VgXSFyzy33oIynUiLlsZ/sn4VSpU19nYt1V1g2OypPzq8g6QvRiuDTY84ZQ1ldUk+NfFW67zQU6V+gyZ9VFgM02Xt6iR4VhIZ3ahKkrSTvmFtxn3NU7r3m8IMuNjAcbfGKPMaCBDe+WIcHambEn9vZ99ChV2ln1pyZTsSSvcoMYH7siwBpraqSsC6nC5M/YArPQRppobfhgyvJOz+N/894ZTr0JR/4sdNStrGHnXJfCPCo7Blv3keAqkeU59LXRCanvDA+qJRhwi2W1yBa0n4M3fvwwVBf9G9WqVVOHJpDk8o2pvAEkXdBcCSllCZRX1DQ32zRMkPQ9wVNfahLVj69ntMM9IRoZMdV9nCoKMl+NGixnvhpcd91eRPJLPaUZxIao6Rec6DX8TyetgZck9maQn8rIYKRuN3bJebTyx9ZYC9xXY9oWxEUGCoTkkF+wE7FwW6YptDojggzDESYV06BEy6HU5SN1hijNMvwkhtN20lUNlvuaU1Ht0EWLuBXbPhahYyI50RbVU6de5Wt5yi X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM9PR04MB7586.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(396003)(346002)(376002)(366004)(136003)(39840400004)(230922051799003)(1800799012)(451199024)(64100799003)(186009)(5660300002)(7416002)(478600001)(6512007)(6486002)(6506007)(83380400001)(52116002)(86362001)(8676002)(4326008)(8936002)(66476007)(54906003)(66946007)(66556008)(110136005)(316002)(36756003)(38100700002)(41300700001)(26005)(2616005)(38350700005)(2906002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?VVQYTQEvUrFT/Crlrc1AUCYYWpj+?= =?utf-8?q?rJOjF1EWysmWz3Wq5hDnkjxTiWSoP/qXTz8b/hGJZyeq1QN52aXWbC17NjXQwffVT?= =?utf-8?q?l0flM8hVjyYhfhisqCMzQyBnldlxNCcoUCb+ksznLByQpi9AZpvcaCt3P7K653pCp?= =?utf-8?q?5f8UCcaoLzGNB5JnGoeFOIsvPqRBqc69GXKaCvF4vyPU+rk9J8IHS6DtsB5RsL2AY?= =?utf-8?q?ZhKhGlfN5YbYYdpiIlhgsdFT56NsyiMMBWih7HqTkYhn/h+lnGY+Ty3azg/aR5ZLr?= =?utf-8?q?ECP7mP1+PmpnO4oigeJcIdONbcG++L02D1hivXs9KGD5pyQeHStj5d0H546mvzeJI?= =?utf-8?q?A5wicj50HD301xtntBrX5ifBJ3zLf0SG8/SHzofH4IX2W7+g7XHnUsyW8LCs0cP04?= =?utf-8?q?F7VQ81/rkyhdD2FJWjEPEPw4MDqacZPJCxWtg08SO0tmEwctNtgT8G6WxExNOgSLR?= =?utf-8?q?158malDhIHKNYZyNdsLs7hEfB0WFUAVj936WZmUFNweci//jxp7Nbew1kFaHK9MRE?= =?utf-8?q?kX+IRz5y9LSpr6NAVAvLxOQDofKo7hmSIdng73eHiCQslMomwhf4vFz/QV3w5mj7v?= =?utf-8?q?mk2OnoACUnAJCG2MwVIYkh8AW1gGXcq+hQ7J9OqEUvZloPELUR9MV4IbdHMnfgfJn?= =?utf-8?q?F9EAOXuBqiileELCU+KDByMsdBgRH8/hpCxKVFNNBCMq0ejJwdivfPeK+8osbLPGh?= =?utf-8?q?1THfXw6M6VNavwk0IWeC+nJoxgWx2bwtETUowV0NWkQoLE7itSdh/JS7zho2Dtm8U?= =?utf-8?q?5zsxHaU9dCirWjyQ+B1TmmosfroCHfaZo5hjYVfuGvuPsdNmouslwn8KkCvsuikoF?= =?utf-8?q?zPnqm9xuAx+5G72zbzlyhWCwOBlQCub/BhYcSCDSSAu70ZMDXCJ9fxcoOXRYXgSNi?= =?utf-8?q?ZBgg/SSkUTOxZ1DDoGiqwiP7xDHQ18Hq0KwFHWdmLL/eOuFVJaV42/bCofzy3bo3c?= =?utf-8?q?we0GBRziIomMUYrS9h4/tPx0z46G73bIhzIXlCXVb0X4Gjj1QGYm1aiheQZRxf/TF?= =?utf-8?q?aINhmVqdtTdYl4VYEkH30xoANzi7aIhmaGWymYAXgHBQMm3RAb+07YVqi9cbzE0pa?= =?utf-8?q?CZZGpofs82YyB6czbJxJXEhROgYhAfCIlktvDReF6iFL5u8qiF+IU2yiqkfQFKU+z?= =?utf-8?q?XJrlyKAEXwWhXcy8Cj1VjsyLbBrYM3meN1XParXic5k628nHpjtNnYHBZrFN4YUun?= =?utf-8?q?Z2gaWNHMr0EEeJsivibAfzo32AjhX75AMXe40BjCK0mRXw5REWu08uHneT83i2WJc?= =?utf-8?q?FCuiFubJ6P4B8CeQw9sVyrwUq13MlJtymYTzhQSNnAq2tPprnPs4+npqEvYbsV/sF?= =?utf-8?q?B/v2WRsvPy9CAbIZ1QhpYV5q/c4XqjldZ8MULwDUrIuXzdCEeB80RmtQgaG4l/2Di?= =?utf-8?q?0PYXj2PticfxhtR/vNJXz0JRMfluioONFdJEMiHAoTD3Gr7Cff45acnNDu28zRvoh?= =?utf-8?q?kGwMxb+NbWBLct//8HdrtJeBBn2Eyydpo5vNqkRk8hMwPfqXXTmssArUISIBNr9Bx?= =?utf-8?q?lfVZQaeiSE7t?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6f8eb5b9-0e95-43d8-bf70-08dc240987c4 X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB7586.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Feb 2024 16:10:53.1779 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a4a8aaf3-fd27-4e27-add2-604707ce5b82 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: IjHU+Qknxk7k9uFGkh2SN3UUklRKFFKABeDu6PKCxYJvNp/zsdx8O/1/ljqKmUjFDOXkG3WhYgrFH/P8qs4gAA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7894 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240202_081103_115328_83BC7D7C X-CRM114-Status: GOOD ( 10.80 ) 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: , Cc: linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, Grygorii Strashko , linux-kernel@vger.kernel.org, MD Danish Anwar , Josua Mayer , Yazan Shhady , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Suman Anna The ICSSG IP on AM64x SoCs have two Industrial Ethernet Peripherals (IEPs) to manage/generate Industrial Ethernet functions such as time stamping. Each IEP sub-module is sourced from an internal clock mux that can be derived from either of the IP instance's ICSSG_IEP_GCLK or from another internal ICSSG CORE_CLK mux. Add both the IEP nodes for both the ICSSG instances. The IEP clock is currently configured to be derived indirectly from the ICSSG_ICLK running at 250 MHz. Signed-off-by: Vignesh Raghavendra Signed-off-by: Grygorii Strashko Signed-off-by: Suman Anna Signed-off-by: MD Danish Anwar Signed-off-by: Josua Mayer --- arch/arm64/boot/dts/ti/k3-am64-main.dtsi | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi index 0be642bc1b86..8130ee02a3d9 100644 --- a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi @@ -1232,6 +1232,18 @@ icssg0_iepclk_mux: iepclk-mux@30 { }; }; + icssg0_iep0: iep@2e000 { + compatible = "ti,am654-icss-iep"; + reg = <0x2e000 0x1000>; + clocks = <&icssg0_iepclk_mux>; + }; + + icssg0_iep1: iep@2f000 { + compatible = "ti,am654-icss-iep"; + reg = <0x2f000 0x1000>; + clocks = <&icssg0_iepclk_mux>; + }; + icssg0_mii_rt: mii-rt@32000 { compatible = "ti,pruss-mii", "syscon"; reg = <0x32000 0x100>; @@ -1373,6 +1385,18 @@ icssg1_iepclk_mux: iepclk-mux@30 { }; }; + icssg1_iep0: iep@2e000 { + compatible = "ti,am654-icss-iep"; + reg = <0x2e000 0x1000>; + clocks = <&icssg1_iepclk_mux>; + }; + + icssg1_iep1: iep@2f000 { + compatible = "ti,am654-icss-iep"; + reg = <0x2f000 0x1000>; + clocks = <&icssg1_iepclk_mux>; + }; + icssg1_mii_rt: mii-rt@32000 { compatible = "ti,pruss-mii", "syscon"; reg = <0x32000 0x100>; From patchwork Fri Feb 2 16:10:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 13543130 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 9D2DBC48291 for ; Fri, 2 Feb 2024 16:11: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:Cc:To:In-Reply-To: References:Message-Id:Subject:Date:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=5zd2SMsLXwW/3+wdkYKSoCLjaVmWYWmWmX/ai1d5ix0=; b=LQerM2y1M8IdvZc1E5VnzLB4bI Rp2190H4fU91gN9RR+TPkz2a3SuXcO79k0PqHtalTY9eG3irhyZLWY/HNl7kyQQeJ/vryl/R0rk/F IVGKjSh58Ts3yoMmIctiD9ckSO/krf2JmcG/Z6B4L6aHihk9gM64/2CngTGc+mAUmI1+sg+VC4lZl yLwnro2gNhl8FcHqB1PFGvKpDuyexKYJBrgMcqA0nYKlrV1Ud2kn5yVqDBMxFJS/jq51mgEofJJYB DVhpEGp+fMkdiHVUyzypD+hkQkmj+CQMF478g5qoW2Lg41Fj1Yndf0unptT3weY70TIZaUjp/uPDZ 2urtmsHQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVw8M-0000000CDp7-3kgh; Fri, 02 Feb 2024 16:11:18 +0000 Received: from mail-vi1eur04on20701.outbound.protection.outlook.com ([2a01:111:f403:2611::701] helo=EUR04-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVw8F-0000000CDe4-20qi for linux-arm-kernel@lists.infradead.org; Fri, 02 Feb 2024 16:11:15 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aR48YMqpkzshoiSyicWfWiyEHSA+hOIXGc1/Wk1lbT0leESGnmUg/JxkBmnyCbaGEDqOnMwPbAr9MnEb2ED+iRlG/DbxiF7wUcuGv3l7bSOrnoM22cwJUURV+8WPEbPneelLIhW46o00aTv0FXFvHYpnjeZ/LcYHiC2vbXJwwGBDVeY1yu0+iciCrt4H44iSEfO+R9BsrV8fIP9EGjE1Y7boV+wJUUwz39qdkqorLn1fGlB6ceSbcZA004XgSgVtqkk+rMtwtuOy53Qco0O0iR7r0hi/eswdRx//VC41E1QONFk0hL+QbPO08eJi5MeSsf8JqN5j45pn65E9U4c/xA== 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=04YtJPmZHpDNtqqpuKK5HM1r91BD45EAoaFbb5wL54E=; b=HVq01TAWK4dpa1Gz0W3jUqQCDJFhoVl+JFRXDn2dm+0srrkVs+DnGr1vTlcRrV0/2mZbMTK8CPp+GevXR6W3D63dJuNranXHd/8CN+WSFMWGPJUGNBK5GBmMkrr/4QUL6ThLjODIuGmPcI2evy5oZawRwpgQzlZuQorkRHP2DT8128XGgGOUeHiTTXfMSYjGGI00O2NSSX/AcKZtEWST22RN/ZGnd8Bd5oEz/J6oBN3aDp4ceyPb4+cKSH+4b3yQQofhJgSura+KSL7LtXdYBb2h2FlSZhe84i6AmZjQZje2OcEbBHK+fo5wEdBLB7M5gtFztApOcnjyREXi4lbtUw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=solid-run.com; dmarc=pass action=none header.from=solid-run.com; dkim=pass header.d=solid-run.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=solidrn.onmicrosoft.com; s=selector1-solidrn-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=04YtJPmZHpDNtqqpuKK5HM1r91BD45EAoaFbb5wL54E=; b=nDQdxEUCA6wXIdUiNbSeQu8RqxeAifjKe5YFyodgdPiWfuyajTqL3Gx128yENt5ETXldTaNKPHrPjhoRIlw7FHUS+JjiSFKc/vXmDeQ6PyzG0Wt9L9XCt2qtmabCntx6BCruHj9d3pLcV6BgiAfd73gpTklZR/DlkFOdh1wagPM= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=solid-run.com; Received: from AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) by AS8PR04MB7894.eurprd04.prod.outlook.com (2603:10a6:20b:2aa::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.31; Fri, 2 Feb 2024 16:10:53 +0000 Received: from AM9PR04MB7586.eurprd04.prod.outlook.com ([fe80::3b94:f607:ebe1:7d6c]) by AM9PR04MB7586.eurprd04.prod.outlook.com ([fe80::3b94:f607:ebe1:7d6c%7]) with mapi id 15.20.7249.027; Fri, 2 Feb 2024 16:10:53 +0000 From: Josua Mayer Date: Fri, 02 Feb 2024 17:10:51 +0100 Subject: [PATCH v4 4/5] arm64: dts: add description for solidrun am642 som and evaluation board Message-Id: <20240202-add-am64-som-v4-4-5f8b12af5e71@solid-run.com> References: <20240202-add-am64-som-v4-0-5f8b12af5e71@solid-run.com> In-Reply-To: <20240202-add-am64-som-v4-0-5f8b12af5e71@solid-run.com> To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alessandro Zummo , Alexandre Belloni Cc: Yazan Shhady , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org, Josua Mayer X-Mailer: b4 0.12.4 X-ClientProxiedBy: FR0P281CA0158.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:b3::16) To AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR04MB7586:EE_|AS8PR04MB7894:EE_ X-MS-Office365-Filtering-Correlation-Id: 709cfe76-eb70-4f19-9d11-08dc2409880e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: HVAThQhpRRoGpoj8JXI3IFwMdRP9JTttxFtnSL4VVcaA6Hcimq51gIGaikRaogmVEX4dUbeCoG3ssC1AZHi0zN/HPpVFFVbIcvQsI6xnz2G0lzytsKBCOJEnB5oxKyF+ik8R+S042lOM4Hgr8aeEBqMtGxATc4vLZff4d/51e2MU4Q64YoDXcnOmGSUbdRASk6AFwofGvDfYpGEVPDb9hH1KdodBgXJ9CPL6xcvjcCG0GTaR7jdJhuP7ss9g/GeDsr+/eY8LKrXOHF/TLEFtBe1WydAJ9nLWXQovHngFx4kP4toK+lvWpZwfA7vjYa3GUWTiOnNMzqf74q2uJiij/vcgVbynP076awQ1+n1oGMbWKHINlcoBCfO9lONFmyr68qNTrhkwi4RXRyarWMCp0bhLUQhzMRAbtcQHyP2nEvV21zzXMc0qSdFyHpljwEPFGmlbxfoUi0T25RfEDZ2lxAWDJy0Erm9bKRWZOJljwInQygmryXBZkG0df7smWB8Ps+gzAvNIhESx45ONpLin0fmPZzGCn5YVGm74U87cHju/IK5uW56QoqMd0Bi8mvuGWM00JjkXBjtPlhMZJ1znHOcGekInhWFEP/7xR/XRz7enTS6jcqD3xkMfJQgQ+j9RryHaRPZ2Y3D6a6niWQka26R1UiSj8S6rgKtiNwJVaF4= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM9PR04MB7586.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(396003)(346002)(376002)(366004)(136003)(39840400004)(230273577357003)(230173577357003)(230922051799003)(1800799012)(451199024)(64100799003)(186009)(5660300002)(7416002)(478600001)(6512007)(6486002)(6506007)(83380400001)(52116002)(86362001)(8676002)(4326008)(8936002)(66476007)(54906003)(66946007)(19627235002)(66556008)(110136005)(316002)(36756003)(38100700002)(41300700001)(26005)(107886003)(2616005)(30864003)(38350700005)(2906002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?1HUkbNucLP2R842v4Z4+HxBg4rHg?= =?utf-8?q?xxoFrVfYBEqXEic270HzS1g3gTGS0Cvsa9HKOQ9dQlsE/Dffwe9odQR2JaD4z4lVB?= =?utf-8?q?fchWYeimrMdtZz5Yn4cZCWpYbWXJVo4KBJ5LsEVYK6ygWcZ4NeQSyN2famZOTmANL?= =?utf-8?q?WIeyxMGjF636Ec8gHjM9Tgm+ozf4C67IIYlktRrTfQkHY+fA9eUwDXTGXTPKPMHQg?= =?utf-8?q?WJnanp/5avccr+crJhlRkYzd8JdaKWnGzxUft6u47qmRGVgXBaCYggpU/qYfNV7G6?= =?utf-8?q?DoAoeIxpw421h84ZaEcdvyeQ9xqL/PyaABB/MrjF7pLCYsx4VOFblFiaezxWZ3xh/?= =?utf-8?q?ieORqFuUz66qf4R8wjVrGdJn7T3lzgRzsiVng9fe9hkCGGNDWO6sGkBDeKpeMbKAC?= =?utf-8?q?fsqZ3GWIEQTwz5kdsISx4k24aBaLZo8Mh0EMoAJa8IY0iujZADpJUxFZJVqbOHl1o?= =?utf-8?q?gZNLVSuWgeVWPeA94MSOx8eKJC3ZD6UjgKahaUYzbsStga80wqWGySyefxwyI2aGJ?= =?utf-8?q?WxY9ed5404uisju0wUWl9oAHQbp29+uaspUGyLpXllKIjo5uf4djsnS/PHil0WcCf?= =?utf-8?q?gcgr7yiv/SdtT7TiE0+wfSByA8Dil+XYWbigyvWj55rWiwDYiikhxnv9eEYozmC6n?= =?utf-8?q?4qD2oHLu8mYaI8QawJEgJFqrVwiHfaeNCV2v6msNvUZmz2XdOlm6rHtSrZhuwbcEH?= =?utf-8?q?7KPYUX9Aj5yxss41Bl3eT3C6aJoq03cu0lEMRdJbfgPUd0YV7HAR1VVVHrm76/coW?= =?utf-8?q?C6rpVUIAe2fUA6nhxDAfUPMDVmQJTc9TseeXS3H5rGBzxa2BsH6r+czbC2H0JQ6YC?= =?utf-8?q?7/I3m4FtH6HsZm1Bc+HiL8XQxgG5AYlNmLVYJF0S6jrYyLqqJt4Z9LD9va2Oid+hS?= =?utf-8?q?EN+vmybObHR17/h97Ht6/Ew3waiuoKQeuYEbm3qaTYx7Pf9oT9Y9jguCe+c83GoUP?= =?utf-8?q?8UxLJT0lnNadUScT/2uhKcZigezS3GmHFbU8zu398YEQR73xOtqlxI+oqHr3Lbxkx?= =?utf-8?q?6wtslzpdRBnwR7dbkuwth0z4oC6uw8xJaeVM5r3SxZ20GL/REoJH9QBc+Y6Ue/cVu?= =?utf-8?q?8NHJrrXoF9kdoYlAxs/f4q2RjobX/AK77FYIY8aOUdZGHWLQpjzOrRPeCiQfdD3Z4?= =?utf-8?q?N1kDBHTRHXy2zuOYoXPBSDAFK1aF8JoerhPGi9KIROj6tnveIkq5xwqJ/ZAPUIjyP?= =?utf-8?q?Gn/bpQoY59dOs8xlcbcIALTX7zXwzrFwHox+XdNfVIg5C/Yt81aau/3MIcK9fVTVd?= =?utf-8?q?RvaYHmqEAp4IEUC/86Z5cwKfNpgob7WZj/mQEX4M7VNLBpQQg/LVNYdJmibLQR29j?= =?utf-8?q?NxJgUrdl6ODy15q67NCVdVh4BE1gfzhHUwT3gfzN7gtKo+Keckz/jFrliJhcuC96E?= =?utf-8?q?ER5fRAhRkow4IKywWz1spU5jb3dHfBXaNe+cGz1o9EZwB/DbbkmOBrX4xsmmQrjhR?= =?utf-8?q?VKoImOHpnGlU+d+1vJsZkx9CLHi2l1XWgtrHlrsul9G9BXatE9FASm/ss+dDTa3bf?= =?utf-8?q?ZWGfvJ1Em9CR?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: 709cfe76-eb70-4f19-9d11-08dc2409880e X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB7586.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Feb 2024 16:10:53.6503 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a4a8aaf3-fd27-4e27-add2-604707ce5b82 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: s+e5GcDlSD9WId/NQZyHK2vkvsuxcCCAvm1XHChawy4UMETMJVi7qhusHCzkeKypf3O3mt+6vcSxyBRwWQX1ug== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7894 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240202_081111_846233_D64B71C9 X-CRM114-Status: GOOD ( 15.37 ) 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 Add description for the SolidRun AM642 SoM, and HummingBoard-T evaluation board. The SoM features: - 1x cpsw ethernet with phy - 2x pru ethernet with phy - eMMC - spi flash (assembly option) Additionally microSD and usb-2.0 otg are included in the SoM description as they are supported boot sources for the SOC boot-rom. The Carrier provides: - 3x RJ45 connector - 2x M.2 connector - USB-2.0 Hub - USB-A Connector - LEDs - 2x CAN transceiver - 1x RS485 transceiver - sensors The M.2 connectors support either USB-3.1 or PCI-E depending on status of a mux. By default the mux is switched off. Signed-off-by: Josua Mayer Reviewed-by: Andrew Davis --- arch/arm64/boot/dts/ti/Makefile | 1 + arch/arm64/boot/dts/ti/k3-am642-hummingboard-t.dts | 292 ++++++++++ arch/arm64/boot/dts/ti/k3-am642-sr-som.dtsi | 592 +++++++++++++++++++++ 3 files changed, 885 insertions(+) diff --git a/arch/arm64/boot/dts/ti/Makefile b/arch/arm64/boot/dts/ti/Makefile index 77a347f9f47d..041c3b71155e 100644 --- a/arch/arm64/boot/dts/ti/Makefile +++ b/arch/arm64/boot/dts/ti/Makefile @@ -32,6 +32,7 @@ dtb-$(CONFIG_ARCH_K3) += k3-am62p5-sk.dtb # Boards with AM64x SoC dtb-$(CONFIG_ARCH_K3) += k3-am642-evm.dtb +dtb-$(CONFIG_ARCH_K3) += k3-am642-hummingboard-t.dtb dtb-$(CONFIG_ARCH_K3) += k3-am642-phyboard-electra-rdk.dtb dtb-$(CONFIG_ARCH_K3) += k3-am642-sk.dtb dtb-$(CONFIG_ARCH_K3) += k3-am642-tqma64xxl-mbax4xxl.dtb diff --git a/arch/arm64/boot/dts/ti/k3-am642-hummingboard-t.dts b/arch/arm64/boot/dts/ti/k3-am642-hummingboard-t.dts new file mode 100644 index 000000000000..ebaf281e1e1e --- /dev/null +++ b/arch/arm64/boot/dts/ti/k3-am642-hummingboard-t.dts @@ -0,0 +1,292 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2023 Josua Mayer + * + * DTS for SolidRun AM642 HummingBoard-T, + * running on Cortex A53. + * + */ + +/dts-v1/; + +#include +#include + +#include "k3-am642.dtsi" +#include "k3-am642-sr-som.dtsi" + +/ { + model = "SolidRun AM642 HummingBoard-T"; + compatible = "solidrun,am642-hummingboard-t", "solidrun,am642-sr-som", "ti,am642"; + + aliases { + serial5 = &main_uart3; + }; + + leds { + compatible = "gpio-leds"; + pinctrl-names = "default"; + pinctrl-0 = <&leds_pins_default>; + + /* D24 */ + led1: led-1 { + label = "led1"; + gpios = <&main_gpio0 29 GPIO_ACTIVE_HIGH>; + color = ; + }; + + /* D25 */ + led2: led-2 { + label = "led2"; + gpios = <&main_gpio0 30 GPIO_ACTIVE_HIGH>; + color = ; + }; + + /* D26 */ + led3: led-3 { + label = "led3"; + gpios = <&main_gpio0 33 GPIO_ACTIVE_HIGH>; + color = ; + }; + }; + + regulator-m2-3v3 { + compatible = "regulator-fixed"; + pinctrl-names = "default"; + pinctrl-0 = <®ulator_pcie_3v3_pins_default>; + regulator-name = "m2-3v3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + gpio = <&main_gpio1 17 GPIO_ACTIVE_HIGH>; + enable-active-high; + regulator-always-on; + }; + + regulator-vpp-1v8 { + compatible = "regulator-fixed"; + pinctrl-names = "default"; + pinctrl-0 = <®ulator_vpp_1v8_pins_default>; + regulator-name = "vpp-1v8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + gpio = <&main_gpio1 78 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + + serdes_mux: mux-controller { + compatible = "gpio-mux"; + pinctrl-names = "default"; + pinctrl-0 = <&serdes_mux_pins_default>; + #mux-control-cells = <0>; + /* + * Mux has 2 IOs: + * - select: 0 = USB-3 (M2); 1 = PCIE (M1) + * - shutdown: 0 = active; 1 = disabled (high impedance) + */ + mux-gpios = <&main_gpio1 40 GPIO_ACTIVE_HIGH>, <&main_gpio1 41 GPIO_ACTIVE_HIGH>; + /* default disabled */ + idle-state = <2>; + }; +}; + +&main_gpio0 { + m2-reset-hog { + gpio-hog; + gpios = <12 GPIO_ACTIVE_LOW>; + output-low; /* deasserted */ + line-name = "m2-reset"; + }; + + m1-m2-w-disable1-hog { + gpio-hog; + gpios = <32 GPIO_ACTIVE_LOW>; + output-low; /* deasserted */ + line-name = "m1-m2-pcie-w-disable1"; + }; + + m1-m2-w-disable2-hog { + gpio-hog; + gpios = <34 GPIO_ACTIVE_LOW>; + output-low; /* deasserted */ + line-name = "m1-m2-pcie-w-disable2"; + }; +}; + +&main_gpio1 { + m1-pcie-clkreq0-hog { + gpio-hog; + gpios = <11 GPIO_ACTIVE_LOW>; + input; + line-name = "m1-pcie-clkreq0"; + }; + + m2-pcie-clkreq-hog { + gpio-hog; + gpios = <35 GPIO_ACTIVE_LOW>; + input; + line-name = "m2-pcie-clkreq"; + }; +}; + +&main_i2c0 { + pinctrl-0 = <&main_i2c0_pins_default>, <&main_i2c0_int_pins_default>; + + humidity-sensor@41 { + compatible = "ti,hdc2010"; + reg = <0x41>; + interrupt-parent = <&main_gpio0>; + interrupts = <37 IRQ_TYPE_EDGE_FALLING>; + }; + + light-sensor@44 { + compatible = "ti,opt3001"; + reg = <0x44>; + interrupt-parent = <&main_gpio0>; + interrupts = <37 IRQ_TYPE_EDGE_FALLING>; + }; + + /* charger@6a */ +}; + +&main_i2c1 { + pinctrl-names = "default"; + pinctrl-0 = <&main_i2c1_pins_default>; + status = "okay"; + + rtc@69 { + compatible = "abracon,abx80x"; + reg = <0x69>; + pinctrl-names = "default"; + pinctrl-0 = <&rtc_int_pins_default>; + abracon,tc-diode = "schottky"; + abracon,tc-resistor = <3>; + interrupt-parent = <&main_gpio0>; + interrupts = <44 IRQ_TYPE_EDGE_FALLING>; + }; +}; + +&main_mcan0 { + pinctrl-names = "default"; + pinctrl-0 = <&main_mcan0_pins_default>; + status = "okay"; + + can-transceiver { + max-bitrate = <8000000>; + }; +}; + +&main_mcan1 { + pinctrl-names = "default"; + pinctrl-0 = <&main_mcan1_pins_default>; + status = "okay"; + + can-transceiver { + max-bitrate = <8000000>; + }; +}; + +&main_pmx0 { + leds_pins_default: leds-pins-default { + pinctrl-single,pins = < + AM64X_IOPAD(0x0074, PIN_OUTPUT, 7) /* GPMC0_AD14.GPIO0_29 */ + AM64X_IOPAD(0x0078, PIN_OUTPUT, 7) /* GPMC0_AD15.GPIO0_30 */ + AM64X_IOPAD(0x0088, PIN_OUTPUT, 7) /* GPMC0_OEn_REn.GPIO0_33 */ + >; + }; + + main_i2c0_int_pins_default: main-i2c0-pins-int-default { + pinctrl-single,pins = < + /* external pull-up on Carrier */ + AM64X_IOPAD(0x0098, PIN_INPUT, 7) /* GPMC0_WAIT0.GPIO0_37 */ + >; + }; + + main_i2c1_pins_default: main-i2c1-pins-default { + pinctrl-single,pins = < + /* external pull-up on SoM */ + AM64X_IOPAD(0x0268, PIN_INPUT, 0) /* I2C1_SCL.I2C1_SCL */ + AM64X_IOPAD(0x026c, PIN_INPUT, 0) /* I2C1_SDA.I2C1_SDA */ + >; + }; + + main_mcan0_pins_default: main-mcan0-pins-default { + pinctrl-single,pins = < + AM64X_IOPAD(0x0254, PIN_INPUT, 0) /* MCAN0_RX.MCAN0_RX */ + AM64X_IOPAD(0x0250, PIN_OUTPUT, 0) /* MCAN0_TX.MCAN0_TX */ + >; + }; + + main_mcan1_pins_default: main-mcan1-pins-default { + pinctrl-single,pins = < + AM64X_IOPAD(0x025c, PIN_INPUT, 0) /* MCAN1_RX.MCAN1_RX */ + AM64X_IOPAD(0x0258, PIN_OUTPUT, 0) /* MCAN1_TX.MCAN1_TX */ + >; + }; + + main_uart3_pins_default: main-uart3-pins-default { + pinctrl-single,pins = < + AM64X_IOPAD(0x016c, PIN_INPUT, 10) /* PRG0_PRU0_GPO3.UART3_CTSn */ + AM64X_IOPAD(0x0170, PIN_OUTPUT, 10) /* PRG0_PRU0_GPO4.UART3_TXD */ + AM64X_IOPAD(0x0174, PIN_OUTPUT, 10) /* PRG0_PRU0_GPO5.UART3_RTSn */ + AM64X_IOPAD(0x01ac, PIN_INPUT, 10) /* PRG0_PRU0_GPO19.UART3_RXD */ + >; + }; + + pcie0_pins_default: pcie0-pins-default { + pinctrl-single,pins = < + /* connector M2 RESET */ + AM64X_IOPAD(0x0030, PIN_OUTPUT, 7) /* OSPI0_CSn1.GPIO0_12 */ + /* connectors M1 & M2 W_DISABLE1 */ + AM64X_IOPAD(0x0084, PIN_OUTPUT, 7) /* GPMC0_ADVN_ALE.GPIO0_32 */ + /* connectors M1 & M2 W_DISABLE2 */ + AM64X_IOPAD(0x008c, PIN_OUTPUT, 7) /* GPMC0_WEN.GPIO0_34 */ + /* connectors M1 & M2 PERST0 (PCI Reset) */ + AM64X_IOPAD(0x019c, PIN_OUTPUT, 7) /* PRG0_PRU0_GPO15.GPIO1_15 */ + /* connector M1 CLKREQ0 */ + AM64X_IOPAD(0x018c, PIN_INPUT, 7) /* PRG0_PRU0_GPO11.GPIO1_11 */ + /* connector M2 CLKREQ0 */ + AM64X_IOPAD(0x01ec, PIN_INPUT, 7) /* PRG0_PRU1_GPO15.GPIO1_35 */ + >; + }; + + regulator_pcie_3v3_pins_default: regulator-pcie-3v3-pins-default { + pinctrl-single,pins = < + AM64X_IOPAD(0x01a4, PIN_OUTPUT, 7) /* PRG0_PRU0_GPO17.GPIO1_17 */ + >; + }; + + regulator_vpp_1v8_pins_default: regulator-vpp-1v8-pins-default { + pinctrl-single,pins = < + AM64X_IOPAD(0x029c, PIN_OUTPUT, 7) /* MMC1_SDWP.GPIO1_78 */ + >; + }; + + rtc_int_pins_default: rtc-int-pins-default { + pinctrl-single,pins = < + /* external pull-up on Carrier */ + AM64X_IOPAD(0x00b4, PIN_INPUT, 7) /* GPMC0_CSn3.GPIO0_44 */ + >; + }; + + serdes_mux_pins_default: serdes-mux-pins-default { + pinctrl-single,pins = < + /* SEL, 10k pull-down on carrier, 2.2k pullup on SoM */ + AM64X_IOPAD(0x0200, PIN_OUTPUT, 7) /* PRG0_MDIO0_MDIO.GPIO1_40 */ + /* EN */ + AM64X_IOPAD(0x0204, PIN_OUTPUT, 7) /* PRG0_MDIO0_MDC.GPIO1_41 */ + >; + }; +}; + +&main_uart3 { + pinctrl-names = "default"; + pinctrl-0 = <&main_uart3_pins_default>; + uart-has-rtscts; + rs485-rts-active-low; + linux,rs485-enabled-at-boot-time; + status = "okay"; +}; + +&usb0 { + dr_mode = "host"; +}; diff --git a/arch/arm64/boot/dts/ti/k3-am642-sr-som.dtsi b/arch/arm64/boot/dts/ti/k3-am642-sr-som.dtsi new file mode 100644 index 000000000000..83b73d433508 --- /dev/null +++ b/arch/arm64/boot/dts/ti/k3-am642-sr-som.dtsi @@ -0,0 +1,592 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2023 Josua Mayer + * + */ + +#include + +/ { + model = "SolidRun AM642 SoM"; + compatible = "solidrun,am642-sr-som", "ti,am642"; + + aliases { + ethernet0 = &cpsw_port1; + ethernet1 = &icssg1_emac0; + ethernet2 = &icssg1_emac1; + mmc0 = &sdhci0; + mmc1 = &sdhci1; + serial2 = &main_uart0; + }; + + chosen { + /* SoC default UART console */ + stdout-path = "serial2:115200n8"; + }; + + /* PRU Ethernet Controller */ + ethernet { + compatible = "ti,am642-icssg-prueth"; + pinctrl-names = "default"; + pinctrl-0 = <&pru_rgmii1_pins_default>, <&pru_rgmii2_pins_default>; + + sram = <&oc_sram>; + ti,prus = <&pru1_0>, <&rtu1_0>, <&tx_pru1_0>, <&pru1_1>, <&rtu1_1>, <&tx_pru1_1>; + firmware-name = "ti-pruss/am65x-sr2-pru0-prueth-fw.elf", + "ti-pruss/am65x-sr2-rtu0-prueth-fw.elf", + "ti-pruss/am65x-sr2-txpru0-prueth-fw.elf", + "ti-pruss/am65x-sr2-pru1-prueth-fw.elf", + "ti-pruss/am65x-sr2-rtu1-prueth-fw.elf", + "ti-pruss/am65x-sr2-txpru1-prueth-fw.elf"; + + /* configure internal pinmux for mii mode */ + ti,pruss-gp-mux-sel = <2>, <2>, <2>, <2>, <2>, <2>; + + ti,mii-g-rt = <&icssg1_mii_g_rt>; + ti,mii-rt = <&icssg1_mii_rt>; + ti,iep = <&icssg1_iep0>, <&icssg1_iep1>; + + /* + * Configure icssg interrupt controller to map pru-internal + * interrupts 8/9 via channels 0/1 to host interrupts 0/1. + * + * For details see interrupt controller documentation: + * Documentation/devicetree/bindings/interrupt-controller/ti,pruss-intc.yaml + */ + interrupt-parent = <&icssg1_intc>; + interrupts = <24 0 2>, <25 1 3>; + interrupt-names = "tx_ts0", "tx_ts1"; + + dmas = <&main_pktdma 0xc200 15>, /* egress slice 0 */ + <&main_pktdma 0xc201 15>, /* egress slice 0 */ + <&main_pktdma 0xc202 15>, /* egress slice 0 */ + <&main_pktdma 0xc203 15>, /* egress slice 0 */ + <&main_pktdma 0xc204 15>, /* egress slice 1 */ + <&main_pktdma 0xc205 15>, /* egress slice 1 */ + <&main_pktdma 0xc206 15>, /* egress slice 1 */ + <&main_pktdma 0xc207 15>, /* egress slice 1 */ + <&main_pktdma 0x4200 15>, /* ingress slice 0 */ + <&main_pktdma 0x4201 15>; /* ingress slice 1 */ + dma-names = "tx0-0", "tx0-1", "tx0-2", "tx0-3", + "tx1-0", "tx1-1", "tx1-2", "tx1-3", + "rx0", "rx1"; + + ethernet-ports { + #address-cells = <1>; + #size-cells = <0>; + + icssg1_emac0: port@0 { + reg = <0>; + ti,syscon-rgmii-delay = <&main_conf 0x4110>; + /* Filled in by bootloader */ + local-mac-address = [00 00 00 00 00 00]; + phy-handle = <ðernet_phy2>; + phy-mode = "rgmii-id"; + }; + + icssg1_emac1: port@1 { + reg = <1>; + ti,syscon-rgmii-delay = <&main_conf 0x4114>; + /* Filled in by bootloader */ + local-mac-address = [00 00 00 00 00 00]; + phy-handle = <ðernet_phy1>; + phy-mode = "rgmii-id"; + }; + }; + }; + + /* DDR16SS0: + * - Bank 1 @ 0x080000000-0x0FFFFFFFF: max. 2GB in 32-bit address space + * - Bank 2 @ 0x880000000-0x9FFFFFFFF: max. 6GB in 64-bit address space + */ + memory@80000000 { + reg = <0x00000000 0x80000000 0x00000000 0x80000000>, + <0x00000008 0x80000000 0x00000001 0x80000000>; + device_type = "memory"; + }; + + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + secure_ddr: optee@9e800000 { + reg = <0x00 0x9e800000 0x00 0x01800000>; /* for OP-TEE */ + no-map; + }; + + main_r5fss0_core0_dma_memory_region: r5f-dma-memory@a0000000 { + compatible = "shared-dma-pool"; + reg = <0x00 0xa0000000 0x00 0x100000>; + no-map; + }; + + main_r5fss0_core0_memory_region: r5f-memory@a0100000 { + compatible = "shared-dma-pool"; + reg = <0x00 0xa0100000 0x00 0xf00000>; + no-map; + }; + + main_r5fss0_core1_dma_memory_region: r5f-dma-memory@a1000000 { + compatible = "shared-dma-pool"; + reg = <0x00 0xa1000000 0x00 0x100000>; + no-map; + }; + + main_r5fss0_core1_memory_region: r5f-memory@a1100000 { + compatible = "shared-dma-pool"; + reg = <0x00 0xa1100000 0x00 0xf00000>; + no-map; + }; + + main_r5fss1_core0_dma_memory_region: r5f-dma-memory@a2000000 { + compatible = "shared-dma-pool"; + reg = <0x00 0xa2000000 0x00 0x100000>; + no-map; + }; + + main_r5fss1_core0_memory_region: r5f-memory@a2100000 { + compatible = "shared-dma-pool"; + reg = <0x00 0xa2100000 0x00 0xf00000>; + no-map; + }; + + main_r5fss1_core1_dma_memory_region: r5f-dma-memory@a3000000 { + compatible = "shared-dma-pool"; + reg = <0x00 0xa3000000 0x00 0x100000>; + no-map; + }; + + main_r5fss1_core1_memory_region: r5f-memory@a3100000 { + compatible = "shared-dma-pool"; + reg = <0x00 0xa3100000 0x00 0xf00000>; + no-map; + }; + }; + + vdd_mmc0: regulator-vdd-mmc0 { + compatible = "regulator-fixed"; + regulator-name = "vdd-mmc0"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + regulator-boot-on; + }; +}; + +&cpsw3g { + pinctrl-names = "default"; + pinctrl-0 = <&rgmii1_pins_default>; +}; + +&cpsw3g_mdio { + pinctrl-names = "default"; + pinctrl-0 = <&mdio0_pins_default>; + status = "okay"; + + ethernet_phy0: ethernet-phy@0 { + compatible = "ethernet-phy-id2000.a0f1"; + reg = <0>; + pinctrl-names = "default"; + pinctrl-0 = <ðernet_phy0_pins_default>; + ti,clk-output-sel = ; + ti,op-mode = ; + /* + * Disable interrupts because ISR never clears 0x0040 + * + * interrupt-parent = <&main_gpio1>; + * interrupts = <70 IRQ_TYPE_LEVEL_LOW>; + */ + /* + * Disable HW Reset because clock signal is daisy-chained + * + * reset-gpios = <&main_gpio0 84 GPIO_ACTIVE_LOW>; + * reset-assert-us = <1>; + * reset-deassert-us = <30>; + */ + }; +}; + +&cpsw_port1 { + phy-mode = "rgmii-id"; + phy-handle = <ðernet_phy0>; +}; + +&cpsw_port2 { + status = "disabled"; +}; + +&icssg1_mdio { + pinctrl-names = "default"; + pinctrl-0 = <&pru1_mdio0_pins_default>; + status = "okay"; + + ethernet_phy1: ethernet-phy@3 { + compatible = "ethernet-phy-id2000.a0f1"; + reg = <3>; + pinctrl-names = "default"; + pinctrl-0 = <ðernet_phy1_pins_default>; + ti,clk-output-sel = ; + ti,op-mode = ; + /* + * Disable interrupts because ISR never clears 0x0040 + * + * interrupt-parent = <&main_gpio1>; + * interrupts = <70 IRQ_TYPE_LEVEL_LOW>; + */ + /* + * Disable HW Reset because clock signal is daisy-chained + * + * reset-gpios = <&main_gpio0 20 GPIO_ACTIVE_LOW>; + * reset-assert-us = <1>; + * reset-deassert-us = <30>; + */ + }; + + ethernet_phy2: ethernet-phy@f { + compatible = "ethernet-phy-id2000.a0f1"; + reg = <0xf>; + pinctrl-names = "default"; + pinctrl-0 = <ðernet_phy2_pins_default>; + ti,op-mode = ; + /* + * Disable interrupts because ISR never clears 0x0040 + * + * interrupt-parent = <&main_gpio1>; + * interrupts = <70 IRQ_TYPE_LEVEL_LOW>; + */ + /* + * Disable HW Reset because clock signal is daisy-chained + * + * reset-gpios = <&main_gpio0 52 GPIO_ACTIVE_LOW>; + * reset-assert-us = <1>; + * reset-deassert-us = <30>; + */ + }; +}; + +&mailbox0_cluster2 { + status = "okay"; + + mbox_main_r5fss0_core0: mbox-main-r5fss0-core0 { + ti,mbox-rx = <0 0 2>; + ti,mbox-tx = <1 0 2>; + }; + + mbox_main_r5fss0_core1: mbox-main-r5fss0-core1 { + ti,mbox-rx = <2 0 2>; + ti,mbox-tx = <3 0 2>; + }; +}; + +&mailbox0_cluster4 { + status = "okay"; + + mbox_main_r5fss1_core0: mbox-main-r5fss1-core0 { + ti,mbox-rx = <0 0 2>; + ti,mbox-tx = <1 0 2>; + }; + + mbox_main_r5fss1_core1: mbox-main-r5fss1-core1 { + ti,mbox-rx = <2 0 2>; + ti,mbox-tx = <3 0 2>; + }; +}; + +&main_i2c0 { + pinctrl-names = "default"; + pinctrl-0 = <&main_i2c0_pins_default>; + status = "okay"; + + som_eeprom: eeprom@50 { + compatible = "atmel,24c01"; + reg = <0x50>; + pagesize = <8>; + }; +}; + +&main_pmx0 { + /* hog global functions */ + pinctrl-names = "default"; + pinctrl-0 = <ðernet_phy_pins_default>; + + ethernet_phy_pins_default: ethernet-phy-pins-default { + pinctrl-single,pins = < + /* interrupt / power-down, external pull-up on SoM */ + AM64X_IOPAD(0x0278, PIN_INPUT, 7) /* EXTINTn.GPIO1_70 */ + >; + }; + + ethernet_phy0_pins_default: ethernet-phy0-pins-default { + pinctrl-single,pins = < + /* reset */ + AM64X_IOPAD(0x0154, PIN_OUTPUT, 7) /* PRG1_PRU1_GPO19.GPIO0_84 */ + /* reference clock */ + AM64X_IOPAD(0x0274, PIN_OUTPUT, 5) /* EXT_REFCLK1.CLKOUT0 */ + >; + }; + + ethernet_phy1_pins_default: ethernet-phy1-pins-default { + pinctrl-single,pins = < + /* reset */ + AM64X_IOPAD(0x0150, PIN_OUTPUT, 7) /* PRG1_PRU1_GPO18.GPIO0_20 */ + /* led0, external pull-down on SoM */ + AM64X_IOPAD(0x0128, PIN_INPUT, 7) /* PRG1_PRU1_GPO8.GPIO0_73 */ + /* led1/rxer */ + AM64X_IOPAD(0x011c, PIN_INPUT, 7) /* PRG1_PRU1_GPO5.GPIO0_70 */ + >; + }; + + ethernet_phy2_pins_default: ethernet-phy2-pins-default { + pinctrl-single,pins = < + /* reset */ + AM64X_IOPAD(0x00d4, PIN_OUTPUT, 7) /* PRG1_PRU0_GPO7.GPIO0_52 */ + /* led0, external pull-down on SoM */ + AM64X_IOPAD(0x00d8, PIN_INPUT, 7) /* PRG1_PRU0_GPO8.GPIO0_53 */ + /* led1/rxer */ + AM64X_IOPAD(0x00cc, PIN_INPUT, 7) /* PRG1_PRU0_GPO5.GPIO0_50 */ + >; + }; + + main_i2c0_pins_default: main-i2c0-pins-default { + pinctrl-single,pins = < + /* external pull-up on SoM */ + AM64X_IOPAD(0x0260, PIN_INPUT, 0) /* I2C0_SCL.I2C0_SCL */ + AM64X_IOPAD(0x0264, PIN_INPUT, 0) /* I2C0_SDA.I2C0_SDA */ + >; + }; + + /* + * main_mmc0_pins_default: main-mmc0-pins-default + * + * MMC0_CMD: no padconfig + * MMC0_CLK: no padconfig, external pull-up on SoM + * MMC0_DAT0: no padconfig + * MMC0_DAT1: no padconfig + * MMC0_DAT2: no padconfig + * MMC0_DAT3: no padconfig + * MMC0_DAT4: no padconfig + * MMC0_DAT5: no padconfig + * MMC0_DAT6: no padconfig + * MMC0_DAT7: no padconfig + * MMC0_DS: no padconfig, external pull-down on SoM + */ + + main_mmc1_pins_default: main-mmc1-pins-default { + pinctrl-single,pins = < + AM64X_IOPAD(0x0294, PIN_INPUT_PULLUP, 0) /* (J19) MMC1_CMD */ + AM64X_IOPAD(0x028c, PIN_INPUT, 0) /* MMC1_CLK.MMC1_CLK */ + AM64X_IOPAD(0x0288, PIN_INPUT_PULLUP, 0) /* MMC1_DAT0.MMC1_DAT0 */ + AM64X_IOPAD(0x0284, PIN_INPUT_PULLUP, 0) /* MMC1_DAT1.MMC1_DAT1 */ + AM64X_IOPAD(0x0280, PIN_INPUT_PULLUP, 0) /* MMC1_DAT2.MMC1_DAT2 */ + AM64X_IOPAD(0x027c, PIN_INPUT_PULLUP, 0) /* MMC1_DAT3.MMC1_DAT3 */ + /* external pull-down on SoM & Carrier */ + AM64X_IOPAD(0x0298, PIN_INPUT_PULLUP, 0) /* MMC1_SDCD.MMC1_SDCD */ + AM64X_IOPAD(0x0290, PIN_INPUT, 0) /* MMC1_CLKLB: clock loopback */ + >; + }; + + main_uart0_pins_default: main-uart0-pins-default { + pinctrl-single,pins = < + AM64X_IOPAD(0x0230, PIN_INPUT, 0) /* UART0_RXD.UART0_RXD */ + AM64X_IOPAD(0x0234, PIN_OUTPUT, 0) /* UART0_TXD.UART0_TXD */ + >; + }; + + mdio0_pins_default: mdio0-pins-default { + pinctrl-single,pins = < + AM64X_IOPAD(0x01fc, PIN_OUTPUT, 4) /* PRG0_PRU1_GPO19.MDIO0_MDC */ + AM64X_IOPAD(0x01f8, PIN_INPUT, 4) /* PRG0_PRU1_GPO18.MDIO0_MDIO */ + >; + }; + + ospi0_pins_default: ospi0-pins-default { + pinctrl-single,pins = < + /* external pull-down on SoM */ + AM64X_IOPAD(0x0000, PIN_OUTPUT, 0) /* OSPI0_CLK.OSPI0_CLK */ + AM64X_IOPAD(0x0008, PIN_OUTPUT, 0) /* OSPI0_DQS.OSPI0_DQS */ + /* external pull-up on SoM */ + AM64X_IOPAD(0x002c, PIN_OUTPUT, 0) /* OSPI0_CSn0.OSPI0_CSn0 */ + AM64X_IOPAD(0x000c, PIN_INPUT, 0) /* OSPI0_D0.OSPI0_D0 */ + AM64X_IOPAD(0x0010, PIN_INPUT, 0) /* OSPI0_D1.OSPI0_D1 */ + AM64X_IOPAD(0x0014, PIN_INPUT, 0) /* OSPI0_D2.OSPI0_D2 */ + AM64X_IOPAD(0x0018, PIN_INPUT, 0) /* OSPI0_D3.OSPI0_D3 */ + AM64X_IOPAD(0x001c, PIN_INPUT, 0) /* OSPI0_D4.OSPI0_D4 */ + AM64X_IOPAD(0x0020, PIN_INPUT, 0) /* OSPI0_D5.OSPI0_D5 */ + AM64X_IOPAD(0x0024, PIN_INPUT, 0) /* OSPI0_D6.OSPI0_D6 */ + AM64X_IOPAD(0x0028, PIN_INPUT, 0) /* OSPI0_D7.OSPI0_D7 */ + >; + }; + + ospi0_flash0_pins_default: ospi0-flash0-pins-default { + pinctrl-single,pins = < + AM64X_IOPAD(0x0034, PIN_OUTPUT, 7) /* OSPI0_CSn2.GPIO0_13 */ + AM64X_IOPAD(0x0038, PIN_INPUT, 7) /* OSPI0_CSn3.GPIO0_14 */ + >; + }; + + pru1_mdio0_pins_default: pru1-mdio0-pins-default { + pinctrl-single,pins = < + AM64X_IOPAD(0x015c, PIN_OUTPUT, 0) /* PRG1_MDIO0_MDC.PRG1_MDIO0_MDC */ + AM64X_IOPAD(0x0158, PIN_INPUT, 0) /* PRG1_MDIO0_MDIO.PRG1_MDIO0_MDIO */ + >; + }; + + pru_rgmii1_pins_default: pru-rgmii1-pins-default { + pinctrl-single,pins = < + AM64X_IOPAD(0x00b8, PIN_INPUT, 2) /* (Y7) PRG1_PRU0_GPO0.PRG1_RGMII1_RD0 */ + AM64X_IOPAD(0x00bc, PIN_INPUT, 2) /* (U8) PRG1_PRU0_GPO1.PRG1_RGMII1_RD1 */ + AM64X_IOPAD(0x00c0, PIN_INPUT, 2) /* (W8) PRG1_PRU0_GPO2.PRG1_RGMII1_RD2 */ + AM64X_IOPAD(0x00c4, PIN_INPUT, 2) /* (V8) PRG1_PRU0_GPO3.PRG1_RGMII1_RD3 */ + AM64X_IOPAD(0x00d0, PIN_INPUT, 2) /* (AA7) PRG1_PRU0_GPO6.PRG1_RGMII1_RXC */ + AM64X_IOPAD(0x00c8, PIN_INPUT, 2) /* (Y8) PRG1_PRU0_GPO4.PRG1_RGMII1_RX_CTL */ + AM64X_IOPAD(0x00e4, PIN_OUTPUT, 2) /* (AA8) PRG1_PRU0_GPO11.PRG1_RGMII1_TD0 */ + AM64X_IOPAD(0x00e8, PIN_OUTPUT, 2) /* (U9) PRG1_PRU0_GPO12.PRG1_RGMII1_TD1 */ + AM64X_IOPAD(0x00ec, PIN_OUTPUT, 2) /* (W9) PRG1_PRU0_GPO13.PRG1_RGMII1_TD2 */ + AM64X_IOPAD(0x00f0, PIN_OUTPUT, 2) /* (AA9) PRG1_PRU0_GPO14.PRG1_RGMII1_TD3 */ + AM64X_IOPAD(0x00f8, PIN_INPUT, 2) /* (V9) PRG1_PRU0_GPO16.PRG1_RGMII1_TXC */ + AM64X_IOPAD(0x00f4, PIN_OUTPUT, 2) /* (Y9) PRG1_PRU0_GPO15.PRG1_RGMII1_TX_CTL */ + >; + }; + + pru_rgmii2_pins_default: pru-rgmii2-pins-default { + pinctrl-single,pins = < + AM64X_IOPAD(0x0108, PIN_INPUT, 2) /* PRG1_PRU1_GPO0.RGMII2_RD0 */ + AM64X_IOPAD(0x010c, PIN_INPUT, 2) /* PRG1_PRU1_GPO1.RGMII2_RD1 */ + AM64X_IOPAD(0x0110, PIN_INPUT, 2) /* PRG1_PRU1_GPO2.RGMII2_RD2 */ + AM64X_IOPAD(0x0114, PIN_INPUT, 2) /* PRG1_PRU1_GPO3.RGMII2_RD3 */ + AM64X_IOPAD(0x0120, PIN_INPUT, 2) /* PRG1_PRU1_GPO6.RGMII2_RXC */ + AM64X_IOPAD(0x0118, PIN_INPUT, 2) /* PRG1_PRU1_GPO4.RGMII2_RX_CTL */ + AM64X_IOPAD(0x0134, PIN_OUTPUT, 2) /* PRG1_PRU1_GPO11.RGMII2_TD0 */ + AM64X_IOPAD(0x0138, PIN_OUTPUT, 2) /* PRG1_PRU1_GPO12.RGMII2_TD1 */ + AM64X_IOPAD(0x013c, PIN_OUTPUT, 2) /* PRG1_PRU1_GPO13.RGMII2_TD2 */ + AM64X_IOPAD(0x0140, PIN_OUTPUT, 2) /* PRG1_PRU1_GPO14.RGMII2_TD3 */ + AM64X_IOPAD(0x0148, PIN_INPUT, 2) /* PRG1_PRU1_GPO16.RGMII2_TXC */ + AM64X_IOPAD(0x0144, PIN_OUTPUT, 2) /* PRG1_PRU1_GPO15.RGMII2_TX_CTL */ + >; + }; + + rgmii1_pins_default: rgmii1-pins-default { + pinctrl-single,pins = < + AM64X_IOPAD(0x01cc, PIN_INPUT, 4) /* PRG0_PRU1_GPO7.RGMII1_RD0 */ + AM64X_IOPAD(0x01d4, PIN_INPUT, 4) /* PRG0_PRU1_GPO9.RGMII1_RD1 */ + AM64X_IOPAD(0x01d8, PIN_INPUT, 4) /* PRG0_PRU1_GPO10.RGMII1_RD2 */ + AM64X_IOPAD(0x01f4, PIN_INPUT, 4) /* PRG0_PRU1_GPO17.RGMII1_RD3 */ + AM64X_IOPAD(0x0188, PIN_INPUT, 4) /* PRG0_PRU0_GPO10.RGMII1_RXC */ + AM64X_IOPAD(0x0184, PIN_INPUT, 4) /* PRG0_PRU0_GPO9.RGMII1_RX_CTL */ + AM64X_IOPAD(0x0124, PIN_OUTPUT, 4) /* PRG1_PRU1_GPO7.RGMII1_TD0 */ + AM64X_IOPAD(0x012c, PIN_OUTPUT, 4) /* PRG1_PRU1_GPO9.RGMII1_TD1 */ + AM64X_IOPAD(0x0130, PIN_OUTPUT, 4) /* PRG1_PRU1_GPO10.RGMII1_TD2 */ + AM64X_IOPAD(0x014c, PIN_OUTPUT, 4) /* PRG1_PRU1_GPO17.RGMII1_TD3 */ + AM64X_IOPAD(0x00e0, PIN_INPUT, 4) /* PRG1_PRU0_GPO10.RGMII1_TXC */ + AM64X_IOPAD(0x00dc, PIN_OUTPUT, 4) /* PRG1_PRU0_GPO9.RGMII1_TX_CTL */ + >; + }; + + usb0_pins_default: usb0-pins-default { + pinctrl-single,pins = < + AM64X_IOPAD(0x02a8, PIN_OUTPUT, 0) /* USB0_DRVVBUS.USB0_DRVVBUS */ + >; + }; +}; + +&main_r5fss0_core0 { + mboxes = <&mailbox0_cluster2 &mbox_main_r5fss0_core0>; + memory-region = <&main_r5fss0_core0_dma_memory_region>, + <&main_r5fss0_core0_memory_region>; +}; + +&main_r5fss0_core1 { + mboxes = <&mailbox0_cluster2 &mbox_main_r5fss0_core1>; + memory-region = <&main_r5fss0_core1_dma_memory_region>, + <&main_r5fss0_core1_memory_region>; +}; + +&main_r5fss1_core0 { + mboxes = <&mailbox0_cluster4 &mbox_main_r5fss1_core0>; + memory-region = <&main_r5fss1_core0_dma_memory_region>, + <&main_r5fss1_core0_memory_region>; +}; + +&main_r5fss1_core1 { + mboxes = <&mailbox0_cluster4 &mbox_main_r5fss1_core1>; + memory-region = <&main_r5fss1_core1_dma_memory_region>, + <&main_r5fss1_core1_memory_region>; +}; + +/* SoC default UART console */ +&main_uart0 { + pinctrl-names = "default"; + pinctrl-0 = <&main_uart0_pins_default>; + status = "okay"; +}; + +&ospi0 { + pinctrl-names = "default"; + pinctrl-0 = <&ospi0_pins_default>; + num-cs = <1>; + status = "okay"; + + flash@0 { + compatible = "jedec,spi-nor"; + reg = <0>; + pinctrl-names = "default"; + pinctrl-0 = <&ospi0_flash0_pins_default>; + spi-tx-bus-width = <8>; + spi-rx-bus-width = <8>; + spi-max-frequency = <200000000>; + cdns,tshsl-ns = <50>; + cdns,tsd2d-ns = <50>; + cdns,tchsh-ns = <4>; + cdns,tslch-ns = <4>; + cdns,read-delay = <0>; + interrupt-parent = <&main_gpio0>; + interrupts = <14 IRQ_TYPE_LEVEL_LOW>; + reset-gpios = <&main_gpio0 13 GPIO_ACTIVE_LOW>; + }; +}; + +&sdhci0 { + /* mmc0 pins have no padconfig */ + bus-width = <8>; + ti,driver-strength-ohm = <50>; + disable-wp; + non-removable; + cap-mmc-hw-reset; + no-sd; + /* + * MMC controller supports switching between 1.8V and 3.3V signalling. + * However MMC0 (unlike MMC1) does not integrate an LDO. + * Explicitly link a regulator node for indicating to the driver which + * voltages are actually usable. + */ + vqmmc-supply = <&vdd_mmc0>; +}; + +/* + * microSD is on carrier - however since SoC can boot from it, + * configure it just in case. + */ +&sdhci1 { + pinctrl-names = "default"; + pinctrl-0 = <&main_mmc1_pins_default>; + bus-width = <4>; + ti,driver-strength-ohm = <50>; + disable-wp; +}; + +/* + * USB settings are a carrier choice - however since SoC can boot from it, + * configure as USB-2.0 OTG here, keeping USB-3 serdes disabled. + */ +&usb0 { + pinctrl-names = "default"; + pinctrl-0 = <&usb0_pins_default>; + dr_mode = "otg"; + maximum-speed = "high-speed"; +}; + +&usbss0 { + ti,vbus-divider; + ti,usb2-only; +}; From patchwork Fri Feb 2 16:10:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 13543129 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 841CCC48291 for ; Fri, 2 Feb 2024 16:11:27 +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:Cc:To:In-Reply-To: References:Message-Id:Subject:Date:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=mgskJVMEmZQEuKW7R3Vd/0ZFGwMGXqa7XVDXwzCgDfU=; b=oalq35D3J9H7tCrxDS+1iYuSZf tQJTC0Gb+QBrBbtyj4wxBtzFZDdFSjXGMiedVlcQb8ZwQkDJQnTTDCO3tl+cRBK6qbbCWnByiIvdj nNtMxB1IaNVkpH9r5RnZGiCitKHwBhQ4TzzypvFi8SIoCIS7Ab2KG8CavYwVMLCVQOiRWWyNMDRa4 8x0CV2AtcpHsXB04rxfs+Mei10WM5W/pmWZLDxaH3x9PIU3cT9+Uwkr3la4lHwoQG5WHvvDnLmDNB 5Q+676kL89Jrp318R6+3LfjRKY18aGL2114M85vnBEZXTKEZFNzeIbR+7tnmhVkfvTauohxVODrKk bQNeoPFQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVw8G-0000000CDlI-34id; Fri, 02 Feb 2024 16:11:12 +0000 Received: from mail-vi1eur04on20701.outbound.protection.outlook.com ([2a01:111:f403:2611::701] helo=EUR04-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVw8C-0000000CDe4-07A0 for linux-arm-kernel@lists.infradead.org; Fri, 02 Feb 2024 16:11:09 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YKF1VSqvi8G5twofW7APBssLJ29Vzhzl8CfDJWcAvfWZc+LckQzbKfADu6pkvGmoJOE7/IK/X0YJTSeB0el9m/YjGXg4dOzXvQL4o2/CEyoH5gqUX5FnFLjnLRpxfP0XYDi/+oq4CT96Yv6GTV1dsa66kj7xotk0eikrBc2R4m5mBOpOC8PhwwRa/AcYxNlaj5QCT3JEe+FSX/vi3Qb9nzh0X1yG60Mz0N5ckrrPx9/ecDT+ohd7xE4MRIsHphF2Q5Byc3avlDCnjKmv6zHsnmXs9OBJGeXi7YOPMgS362nOhWjP9SIfKdsRvOeoVoAacgHElOMxak5eVSNcS16bJA== 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=EAVYcajPH+cQj7PkDwcqf/iS4zG1WdQUnJL/lsNg9N0=; b=WDad9aCTNf3WP3n+i+ZQIqssbHoXSKx/BdzSYbvybSTL2RONgo14018BM7KMsGgXFMnF3xNGlf1qBHfuiZfSEm/kE53sI1gEPWTH6oWI4XkBnf2q5JkkRMqXTbDKMTg5Lz19J8++BjpK4EK8gS7aFtEERO6dlvOel+Amu2ayZwEdjMJ6mZtMRUUQnnKbLeG2cp1FaeU+3QF02p8nekVkHNGjXLrUhGMqq37YFJEGjKXmYgj5sJjcWHS/vvGe0EX4B3vQpLi7sPaIpQQeZVYppIAZqYi5YKIXszLzufR3CA5vKOjzLhQVoszUx6ErvbrdFhrqW/COWKM/pJmI2aI2hw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=solid-run.com; dmarc=pass action=none header.from=solid-run.com; dkim=pass header.d=solid-run.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=solidrn.onmicrosoft.com; s=selector1-solidrn-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=EAVYcajPH+cQj7PkDwcqf/iS4zG1WdQUnJL/lsNg9N0=; b=Jrpx11WFCDsliTdepS9ybz8TstXCjDLEtiX2BdND4PBuyXwYRRwmqW+wETrTLInyxU9UOeowshLs6alGsFuuEfWZX1+LX0xaEGEDs3Jr4Tot/uzBz3HprrDI/sT01UuOOdvzyu8W+4H64eTmiaC6C+JyKzd/tdY/J9qL0BT1lGk= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=solid-run.com; Received: from AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) by AS8PR04MB7894.eurprd04.prod.outlook.com (2603:10a6:20b:2aa::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.31; Fri, 2 Feb 2024 16:10:54 +0000 Received: from AM9PR04MB7586.eurprd04.prod.outlook.com ([fe80::3b94:f607:ebe1:7d6c]) by AM9PR04MB7586.eurprd04.prod.outlook.com ([fe80::3b94:f607:ebe1:7d6c%7]) with mapi id 15.20.7249.027; Fri, 2 Feb 2024 16:10:54 +0000 From: Josua Mayer Date: Fri, 02 Feb 2024 17:10:52 +0100 Subject: [PATCH v4 5/5] arm64: dts: ti: hummingboard-t: add overlays for m.2 pci-e and usb-3 Message-Id: <20240202-add-am64-som-v4-5-5f8b12af5e71@solid-run.com> References: <20240202-add-am64-som-v4-0-5f8b12af5e71@solid-run.com> In-Reply-To: <20240202-add-am64-som-v4-0-5f8b12af5e71@solid-run.com> To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alessandro Zummo , Alexandre Belloni Cc: Yazan Shhady , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org, Josua Mayer X-Mailer: b4 0.12.4 X-ClientProxiedBy: FR0P281CA0158.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:b3::16) To AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR04MB7586:EE_|AS8PR04MB7894:EE_ X-MS-Office365-Filtering-Correlation-Id: 54f7158d-3db4-4b7d-3eab-08dc24098855 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: dTclFWHIjCC2vb7RB/kcKE5rJT+YoODHCW/Wgv3BlLbdNH1mcpBgGuwRNI5cNcOpCCTLnnetnRJfgI3tiam4X/YfdlRpY3GTAReUiTCjix7zEeptod5FhbEYx3slfoYFJ0vs/YLe5NA7J+oJkKdaGQKodRE29cN4gtZMk+YsNt9BCarMgMJSzeDHE579lDC7d3H+dLmo6OXpx6vx+vAvMVOvClu/NHcTGRx4Zo7/YFHjl5mmJD59OWjUTuwcJWDGmwILcMLahY2GipKT6K/JOrbAlKM03B9N9DzCN9//fcjuVW/i8a/F20pVWWS00fy3yp824Z7BPCGHY66B4d+Q4MKtxGM+epE5jYQt2Vna1Ub3XzLFySC+eIG3ZUCQwUiInmqyHq77AQw7ICgijd9IzmkbIOHu1uKyPyHEWNNrZ0hYfOeiMCyR7ADsWQYXR9ZmIDtRrY1JgT1ekCYPK/wFJzFMjMKLJkKnp0NjjqXn9sfN8iJo1j8pIgSpm3mdn4cui6fvmEozZMIACz+8kxpujss3eISIgsaQU34K+yto+NiceItgY5n5uC0tSReKX053Rcp0raEIZwDQlI4zEKWIBRbogaE8agePqsXR2wF/3yI4htncxKAr8Npy6JXSSgBH X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM9PR04MB7586.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(396003)(346002)(376002)(366004)(136003)(39840400004)(230922051799003)(1800799012)(451199024)(64100799003)(186009)(5660300002)(7416002)(478600001)(6512007)(6486002)(6506007)(83380400001)(52116002)(86362001)(8676002)(4326008)(8936002)(66476007)(54906003)(66946007)(66556008)(110136005)(316002)(36756003)(38100700002)(41300700001)(26005)(107886003)(2616005)(38350700005)(2906002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?4x/VSzQrUbTaJDc2B5CcMVP/HQHb?= =?utf-8?q?EGQSQW4s82KCzTo/iPtCyrbuNJHRs+5YFDN01uFqtP0bArNDptepeuBqQhZmvPR6p?= =?utf-8?q?LZOH0Y/aVFUGFxFaPHGXXVzdGzj08o+5/JJWl+aQmAM8tJv7r8M5f5Q+FJ8E3mC4k?= =?utf-8?q?2sbfBrwKn7VrCykrJo/lre3FdFesPPxLVyH8ga5GoxQfbEKs2CD5wFp1bIBEdab9s?= =?utf-8?q?DyqaMtDhoHq3/p57/15Z8RmcjtVsJ2rzKsmR411bjkeRtJMJBqjCQnUwzaBFHQGio?= =?utf-8?q?ElYnsCpv9WxpFNK6SbvVSWUQ4jGOecKRvcvtLTkikMzxAl72QSQCf1B78pa9ufXSe?= =?utf-8?q?W0Vy70BROW025+H5PUSYu2w8LK4JDrb5bgIawejs9CpXNylnPtOoM5yrZMDoCJcb3?= =?utf-8?q?p+SE0Rpnb9w5NJQrbVk9+65+JxncCoSFeTgZNJ9XTQgpECvzpjE4haN88KMO/h5cW?= =?utf-8?q?I3ScUDjIN63Jk33Ci/VJXF6ca1rjVVEWkRXo5zce6o3zOh/khOJmqVZIbDMrxJS2Z?= =?utf-8?q?M1qdeO/a0yFQ7WN+xiB7ra1tuvJKChoHjyj0q4eJirx9A7vec2dAtc/0xRI0G/7n+?= =?utf-8?q?EZlIHjS7/yZ1Qlpzx5P0SQASe0FBhLplTg5FAwHjO3m5Itgiu+hFkKC90BEvUNrkg?= =?utf-8?q?lKEoiCxpwZmjdjyhfVX4OeNI92iJ+Z/CIjmOhwLC5gthS+ejUILT56A6jB3wlGNVg?= =?utf-8?q?GrbgtoMDWPt8KaoWqM0xKcSouuAoHBH6KphOytT4wZgStvbhd+hJzbzipwJXN62KL?= =?utf-8?q?oXsFfOmAnnzJkjQXv4/thXLSEvNNdB/2v49rLrKydOsUaGiAFlKlkjZKnPMXtu8Se?= =?utf-8?q?S/Vt2MEXM+J7xXciphPqcolpaFDz3vSvXSkUjdjYz1ZF9Ol5zsdKxbowdfxw3Jg8Q?= =?utf-8?q?0odW9+J3qheR3qJsb31tbAaaYpUZAYt4m+6C4I6Sj2ed7v8wdlqaQ7rOpwW9LeyEM?= =?utf-8?q?CzqilXIisVdUw9BdLFARpkb1S6y4Cq01ZqydqMVjjsPl8BqSrxfI++4uJ7MhzRIjb?= =?utf-8?q?hIcVtaxnL8RZuTubm07+ET9HbYZDce/+Y2O8AJGNuI6QWpaJAAZF/mv2JyT2XEMTr?= =?utf-8?q?zqsFd7qP8lkjL0s0pXcVYhspZ7yCvH7dQxZkaIZGKoNo6tYcuF/iT4grNSX3S37NJ?= =?utf-8?q?UeZbaErK9bszn5lIKmogfOh9wP3vOVJ0uZugbZSh8BvlgVvxyQizQN/b17MI0FUFu?= =?utf-8?q?VV/cqHlYROYhnWUY7+zyjbJMBU+8vLDNwjSCpuW5jzZ9ozJvxEo2nEAeZtt4iZons?= =?utf-8?q?KrDaNaPZl9Md3rxUZ7Q6biyvXg7dI2FwxPyHOmbU39zlvWdscJS8fjTKi2Ryyrfai?= =?utf-8?q?IhkcgdAb2cX0o/ufyCASIP9auvN2xGciT85zPdCyEt/3IFT2sZyy6afxNg1t3S0G7?= =?utf-8?q?dEXapNI2TXNSOoc0Z9XMb79o4GzEvrAMcPtFOlEiohirlnkKFRvgfYC+82XqLR7VR?= =?utf-8?q?y25Usi+NfxfrFYSEYimWQrBUYhMAENi/6usYxy9LuYy6QJSpRGp829Epfczk9yFyo?= =?utf-8?q?yoLR4Xl6q6hh?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: 54f7158d-3db4-4b7d-3eab-08dc24098855 X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB7586.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Feb 2024 16:10:54.2256 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a4a8aaf3-fd27-4e27-add2-604707ce5b82 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: EbnOy1xpE+A8FJDXIQp8QkNsg3PktqcXa629ZxMrlaRwKLO0gCR1bWI9WiVe24NnXiXGXu6SbpUBrvC2SQnRXA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7894 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240202_081108_122427_297EE86A X-CRM114-Status: GOOD ( 12.40 ) 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 HummingBoard-T features two M.2 connectors labeled "M1" and "M2". The single SerDes lane of the SoC can be routed to either M1 pci-e signals, or M2 usb-3 signals by a gpio-controlled mux. Add overlays for each configuration. Signed-off-by: Josua Mayer --- arch/arm64/boot/dts/ti/Makefile | 6 +++ .../boot/dts/ti/k3-am642-hummingboard-t-pcie.dtso | 45 ++++++++++++++++++++++ .../boot/dts/ti/k3-am642-hummingboard-t-usb3.dtso | 44 +++++++++++++++++++++ 3 files changed, 95 insertions(+) diff --git a/arch/arm64/boot/dts/ti/Makefile b/arch/arm64/boot/dts/ti/Makefile index 041c3b71155e..ace72b4b85b0 100644 --- a/arch/arm64/boot/dts/ti/Makefile +++ b/arch/arm64/boot/dts/ti/Makefile @@ -31,8 +31,14 @@ dtb-$(CONFIG_ARCH_K3) += k3-am62a7-sk.dtb dtb-$(CONFIG_ARCH_K3) += k3-am62p5-sk.dtb # Boards with AM64x SoC +k3-am642-hummingboard-t-pcie-dtbs := \ + k3-am642-hummingboard-t.dtb k3-am642-hummingboard-t-pcie.dtbo +k3-am642-hummingboard-t-usb3-dtbs := \ + k3-am642-hummingboard-t.dtb k3-am642-hummingboard-t-usb3.dtbo dtb-$(CONFIG_ARCH_K3) += k3-am642-evm.dtb dtb-$(CONFIG_ARCH_K3) += k3-am642-hummingboard-t.dtb +dtb-$(CONFIG_ARCH_K3) += k3-am642-hummingboard-t-pcie.dtb +dtb-$(CONFIG_ARCH_K3) += k3-am642-hummingboard-t-usb3.dtb dtb-$(CONFIG_ARCH_K3) += k3-am642-phyboard-electra-rdk.dtb dtb-$(CONFIG_ARCH_K3) += k3-am642-sk.dtb dtb-$(CONFIG_ARCH_K3) += k3-am642-tqma64xxl-mbax4xxl.dtb diff --git a/arch/arm64/boot/dts/ti/k3-am642-hummingboard-t-pcie.dtso b/arch/arm64/boot/dts/ti/k3-am642-hummingboard-t-pcie.dtso new file mode 100644 index 000000000000..fd3f8d00c56a --- /dev/null +++ b/arch/arm64/boot/dts/ti/k3-am642-hummingboard-t-pcie.dtso @@ -0,0 +1,45 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2023 Josua Mayer + * + * Overlay for SolidRun AM642 HummingBoard-T to enable PCI-E. + */ + +/dts-v1/; +/plugin/; + +#include +#include + +#include "k3-serdes.h" + +&pcie0_rc { + pinctrl-names = "default"; + pinctrl-0 = <&pcie0_pins_default>; + reset-gpios = <&main_gpio1 15 GPIO_ACTIVE_HIGH>; + phys = <&serdes0_link>; + phy-names = "pcie-phy"; + num-lanes = <1>; + status = "okay"; +}; + +&serdes0 { + #address-cells = <1>; + #size-cells = <0>; + + serdes0_link: phy@0 { + reg = <0>; + cdns,num-lanes = <1>; + cdns,phy-type = ; + #phy-cells = <0>; + resets = <&serdes_wiz0 1>; + }; +}; + +&serdes_ln_ctrl { + idle-states = ; +}; + +&serdes_mux { + idle-state = <1>; +}; diff --git a/arch/arm64/boot/dts/ti/k3-am642-hummingboard-t-usb3.dtso b/arch/arm64/boot/dts/ti/k3-am642-hummingboard-t-usb3.dtso new file mode 100644 index 000000000000..ffcc3bd3c7bc --- /dev/null +++ b/arch/arm64/boot/dts/ti/k3-am642-hummingboard-t-usb3.dtso @@ -0,0 +1,44 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2023 Josua Mayer + * + * Overlay for SolidRun AM642 HummingBoard-T to enable USB-3.1. + */ + +/dts-v1/; +/plugin/; + +#include + +#include "k3-serdes.h" + +&serdes0 { + #address-cells = <1>; + #size-cells = <0>; + + serdes0_link: phy@0 { + reg = <0>; + cdns,num-lanes = <1>; + cdns,phy-type = ; + #phy-cells = <0>; + resets = <&serdes_wiz0 1>; + }; +}; + +&serdes_ln_ctrl { + idle-states = ; +}; + +&serdes_mux { + idle-state = <0>; +}; + +&usbss0 { + /delete-property/ ti,usb2-only; +}; + +&usb0 { + maximum-speed = "super-speed"; + phys = <&serdes0_link>; + phy-names = "cdns3,usb3-phy"; +};