From patchwork Fri Feb 2 14:22:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 13542938 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 29871C47DB3 for ; Fri, 2 Feb 2024 14:22:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=0KPSR/CccNkRxPHmbSHYGF7vRQ /RKlpGQ5p163arsNt8nFCnCmm4vtTTH2O+SaQxGq49IemKPDWAINdHBM3JQ9mgvxe+z+doTsTkenf JNrmvK0+76a734qRvFPmq4A4RP9dLs2etlZmmNTJ36HTBxieLQQByxK1/gBHUSiqizjFQXS+mGbuN budyAybE5CQ4X3nZ7Aqlr/l9U+jHaGAk60a8TFVGts0RKilzSLk/zI6+TXToS4FD1PsSlyQUipPZ5 FLIFRT6mXqf8SkFGuy88dqQZNormQ92WkHsdSN+DIoVMQ93sjdXY/RZBr99yn7lx32EXNfy/2do9+ Rj0Q4R5g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVuR8-0000000BjTi-3tDX; Fri, 02 Feb 2024 14:22:34 +0000 Received: from mail-am6eur05on20701.outbound.protection.outlook.com ([2a01:111:f403:2612::701] helo=EUR05-AM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVuR6-0000000BjPo-0VrH for linux-arm-kernel@lists.infradead.org; Fri, 02 Feb 2024 14:22:33 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KaSeZ0ATlYcsEz2Yb3HkrKN/F1wxngzxyEEyWEJWjTEzcGj/r7z38nQQ4B3YKoNL0aA+h0UllDUQRys9lPFPLsklm33s9R2BvW37SFYVAzTfQDnrYgvUzUfa9PEDe9kY6xvKeziRf83lxI3k/FGy4rTUS4YCA0Spt29haohChpekVz88WCm7PNCcNqvKTDhamZBHqLTasrVCEmCRoOuprDUpigO7w1T5w2YoOnml5XqFZY6pkhYJ9z5dcARcFmsMVai9SEkapfkezLALdTdbXGnMxjA3AJa1nf32AO9U26Djzu65Sq/khlwsxwI3/qE1yu+VoOU2C5J8GCPQSjkJDw== 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=npnmbXZ69v7LfKO+TXl6PAHeFPvCg2WC8DjMVMgyrid24hPSLCMya9NiiyTgi2x1CNYvcIK3WAwtYrK5mafhHx5H7H1U/IG+NVLGY7Iw8WoUJTTIS4hWjX1N/qEhCIsocKPU80Un+WFz89DAp+xNuMD8W66e2wH973BOMPXA7U6s2FYrdILdpfcZHfu994RS3O7sQIapF6trWbGNy/Hm2hsznPBMVrEDQ4tWwUvw6+le4q4RAWOayFW1RsDrjF2qf7UDA13hLf4g9E4y2V00YgQHsR1ev1zcDmk/2XKlcL0+X5FA5muUsEMqf7D2mvUtG6dCgtvLEaQq0Iw1HC2b+w== 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=byME35MDtuM3b6k4oLXj/VsiXbqKztChpm4QF7C7WU+vSl23Ah05UMTbRUPyyqYw5QVEsxGYm7cwr+fO6kP4ubfDf/vGiV/CYvgVN9b8ZcP+YZ+PzcbuM7fKZYpSPcWaQfhxjASjgVjUFrp+Sccc7Z4tP7mYGP0ACYtvZ8PJN6w= 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 PAXPR04MB9007.eurprd04.prod.outlook.com (2603:10a6:102:20f::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.26; Fri, 2 Feb 2024 14:22:22 +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 14:22:22 +0000 From: Josua Mayer Date: Fri, 02 Feb 2024 15:22:17 +0100 Subject: [PATCH v3 1/5] dt-bindings: arm: ti: Add bindings for SolidRun AM642 HummingBoard-T Message-Id: <20240202-add-am64-som-v3-1-2f44023d50e9@solid-run.com> References: <20240202-add-am64-som-v3-0-2f44023d50e9@solid-run.com> In-Reply-To: <20240202-add-am64-som-v3-0-2f44023d50e9@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: FR0P281CA0174.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:b4::7) To AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR04MB7586:EE_|PAXPR04MB9007:EE_ X-MS-Office365-Filtering-Correlation-Id: 2eb484fd-922d-4fb8-bed7-08dc23fa5f3f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 3pDaJqtdCgjxEHMuiROxkTYq9Qs89dzoNuTPIQTB8KabHMH2Na8wf+gFmn3HjZSOj/ZgSXkVg+/hLfCBz5yaUlX2fbA+5MHBW5trsZaut+0mtsZxRtuZTzdf7xsRLWRIi2lRNL8kL4/xdwSOCV2FPeP00B7ishN05I3KAhSXJfw8cHHDv7GsiLTiZeozuY2c11JTezbWG94AHr575ijnHOHM7bSLKLYF1CB1iAwsBmmiPGumKoDcFTI5S0DQO+PqZxg5FZFJyvXawD2b5UylZbIXe5AKDu6OHbIC/2H/aPDm5UdQLhOi/68RvU3R5BeQH7+GJHp8hSbUlKRxRkEykKp+tIyP2q2FYKE29X6uiVqtcA8WxEDZ7KwP4pNhx0Ae4NDNHXqcD3QO+2x4+QaUAAhM+nYMK6KWzNEsRLdUlNmrXOOg1+P7tLFGHJo01ihP/ZonZQiN9QbEMxuAfgDve1PngZACJDTC+6Qy6G77u20yXWOiTjGfbR53iDVdbgIagC2B5+QrsUng+ox+fS0rFlPErr10ojyTSpgf1YTJdG25xCWswb0c8RNcBNTqiD6LwUqcn/KSJJQCOshoXW60LotMBWs8ZTErb63xLdoPOBXlrludWRkFTXVpr6VWwQ7B 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)(346002)(366004)(136003)(39840400004)(396003)(376002)(230922051799003)(64100799003)(1800799012)(186009)(451199024)(26005)(6512007)(38100700002)(7416002)(41300700001)(316002)(66476007)(6666004)(478600001)(6486002)(54906003)(66946007)(66556008)(52116002)(110136005)(6506007)(2616005)(4326008)(86362001)(8936002)(8676002)(4744005)(38350700005)(36756003)(2906002)(5660300002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?7BvkyyXtmiDyLgKFQSbSH/xyTojx?= =?utf-8?q?vF/zEY6Qa+7sI+RUA8CHBBbKkFdsmm4LK1ObmB8JXdWw/OxK6BkXYesw9z3+BKfn6?= =?utf-8?q?Qr4evIy1u5NpNugBlppw2UTKu63Uvo7m4Zd3RJT9GdsOaUWRyrZvo81eKcjEs0wVI?= =?utf-8?q?i+NUrj5qiI15abCk7BJclRwtxjqgsf09Q+1qlrF41XGFTkoXRSSEpG+uyNQ8u+jlI?= =?utf-8?q?AQPpnpH4bYTOLefSQ1f8QfS41fL6FgVfoCEsLLiqPl1bdUAvM1/c2yHxWUJYR+NKG?= =?utf-8?q?tRxFSrVSi7iWBzgzug3xuqdpYubZfCZ4+TtjDEri3HhExgSEDFfqZVGF7WH35DnYO?= =?utf-8?q?ZogEZmaTTrz79EP+6F0Z9MMPiqpCIYbZOyKsTziO4GWXWJTDwhJBPpePY2Q5Xzlen?= =?utf-8?q?1NUxwnAJ2Sn669NDmm/bLTK+70n15tX3ppYNMR89w0Lg4pK2Uqskm6RphpMhsRyo/?= =?utf-8?q?XSg6jvTiVWcWrjVPH70LLkHFT9w2PCFPUKA9go6V0PPeSG9+qze8prw8SdXtw2eX7?= =?utf-8?q?+krxw1EepEdSS3ctcUSWlgAxXYULnshZdZ1YCjTvx81zw06aeD1QwO2HJY+FUNAZ0?= =?utf-8?q?V5o2Ct4jn6ELcv1NYIY4JjpEjJmuaklfBLhrdeqg55TK+pBlAAkVgUqAxrGitcbl9?= =?utf-8?q?/+O/UYDunG1xngOdV+WBVwC5kn+FoVqBgr6vdqqXsuKDmwPtOo0UW64tkJ6oYXWgK?= =?utf-8?q?JirXMoPm4k9WrMZkanh2nMvwVAJ0tksWc0GOEXF7jag9g7rNI/V53X0MiDCrt0CwT?= =?utf-8?q?mDWLdcETRM4oJPE1T98UPXISY8KqBAqtmlW6bHS/zTJTwYeis8qLuYl3XTjdTrnGF?= =?utf-8?q?QNcQ7UyDYFI921OGbgGnhCpRwIMpU4jHa5mmVBG8RO2VcWJ12deQCI7DnbCwQwM5+?= =?utf-8?q?NvmMA5ASDAqMl1UOMgPEItnobs3BrQ+wk6AmSheI4gesw82B12aeCpt9gHkbs65Pk?= =?utf-8?q?oG0bKbbwgMyFVMZy/bIPhc9cYBAL2mRoYuyUUkJ6ql2jHqjBvUcukYKGTxYxzAs6d?= =?utf-8?q?lVwAv+KJpleyUGajKPIFsJ+oPn4GjEQXKxkOqDlViXUlVMUbbJTY6h2k54D4m49bt?= =?utf-8?q?9Aox3avbu2ZferlQqukGH+vOfNmWYHixWVFqMFC1HyYu1KBTE+6cmYZ5z8eFJLOAR?= =?utf-8?q?tzYbNffCiP6zsZa//GeIZW7DbWRqRNCcCCeO5XGcSAK/GZRVzNN3WDfUZNyo7GuYX?= =?utf-8?q?4Lo7DXQe46OmHwbNSukqt2KSPV7/dEpZVI3Wv7IcS6KpfZAgXLr9mMaEup0GP4UQH?= =?utf-8?q?xOM92U7cb+j/IL2AC+FKVovc3iRPcIrSRTokHifl4/8hCZEOAYxKQoHu3YmTQNZZf?= =?utf-8?q?9v/Rqyss2vaP3eXULAEAb/OaBiXkiLEyq79VaiaFgQ7qwRagOzBD5Gc4UqbIBi85n?= =?utf-8?q?j0NjaKmwj7Rgrs0sKk2kyHpLQNLi5QJ+9Zhf14feQ2cRT5X5hy3TWOHA1apjC+ZPy?= =?utf-8?q?pRSjybix8tnm5GGLaN1Ay5FODd+xNA4DHn+4lsc1qWCYgpZGwKaIvUvfY+38GSSEI?= =?utf-8?q?cvcPNpnhVOwg?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2eb484fd-922d-4fb8-bed7-08dc23fa5f3f X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB7586.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Feb 2024 14:22:22.7551 (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: 64rZufpBhLT+1X/ky/ehZknojQ+ByPkpF/xvv2kL7ZardCCgZQDttet42b+4PcM02ca6LK9Kz0cfWtPzxS1Bog== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9007 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240202_062232_226802_4918F4C6 X-CRM114-Status: UNSURE ( 8.92 ) 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 14:22:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 13542940 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 5C5ABC4828F for ; Fri, 2 Feb 2024 14:22:52 +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=zzBzm6rzNY4cyxp7YQoeYglYnC+ZdoNRk2ayReWwcFM=; b=bHAliYvwtk12Bp1PD2teDZ8zJI Kez6RkTSg6M2qlG2zX8kNSUgiUTQRSQtQhGc+u93sSgwT6XED9EyP8m1tld2ILRJUge06DFECiD3x 0HQqwy66d8iGAT/0xdZFhCSPbuBwb8b6IPPSdYtA9ngd0uOOtrU17WeugbdiE7cHWfiw2E/DgGx6y vsnrD6rWWnL4pfmD9n9LkS4MgLKVC7PDEIhI5+qdOhe1/pmfXZZ/qv1RqeBmfxPYHwrJS819jzdJn +IWLQQ8h4OZjTYf8C/LsWjWrwC1r0Bz91AZUjuGI5avfSFHhBLbq/nphOU3oCvDLF1u8xXNh+Ozx4 PoikgjYA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVuRA-0000000BjUi-3e34; Fri, 02 Feb 2024 14:22:36 +0000 Received: from mail-am6eur05on20701.outbound.protection.outlook.com ([2a01:111:f403:2612::701] helo=EUR05-AM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVuR7-0000000BjQK-34zX for linux-arm-kernel@lists.infradead.org; Fri, 02 Feb 2024 14:22:35 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JVYSLMTRQpx+8MPF2CaEbASSBfyqLqPOCn5oMtT8XAbsUOy+M6hDIlyqI6lbkrZK/sC4bcFogLZQ3Wrso03kXa07WXa6Qc5BoZ4Mc+83pioKQis7TdSfphyUDnq4TjmeDuLNdoD8rlJb2rF/kAXdItbqoNO6QmdYxBkU/yjZJ8mcXhg9POEFqGd+6hsk2Y4eVAU2gIpGshZIWLqNVrBAZsutlGZTOd/PydKDY2lnzQcogyrhN8ezDpOF80auwedZUzDSkA4S6J2W44gGzSa25QsoBSkZDq6hiesY6jSaJCR+0L0/VdUN+KHL+DCFjA+F9tkV0LkGdu0SD9oLpUY4fw== 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=ub35LsPDmUJ5uZk6wMaz9doOf6058r4EEFssfdGLy/I=; b=Ic610RjiA5RfhF1OBvUXV4OtLVDLWCojmFK+TMQ1YsXNS+EqNTrvCrB8nG5CDVPoEW/W1hxzen3cnYmV3OWUJ0XBBC9tKSqpIgwSouC54qBY1pnbT9mBk5nlkPYx97d6SsOJ7y+6TDVL5K4pl+RNmY0Fa4snbq+R+QpwhHVoZBfHGc65vyk49cnj5w0X/cuNeX3lu5Ra5AR2ag8r59/7mwYc6kr/q2pOQ9vrr6w8TOKiymEf6iXOuV4RsQUGWxp/xXowGMddnkYc7e5FKLYTanEB1qDRg48G3bqiNa16VGzG6u0cvHP0NWw5tL7/IO/JeBea+eRMMofS2KSreSjaww== 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=ub35LsPDmUJ5uZk6wMaz9doOf6058r4EEFssfdGLy/I=; b=rUAfYV3j938ymptkia9S+dYIPHmpvZWszo93R9Jt0jB0GpUuZ3oXny4D6yWDKWNwIGxP9pVOBG0dsi6yB/N2/N8EXl3G+baooA2W4NeAwsozTqpn3FF6o1NdoE/dlsI0FvVuZ9zm73G2NpT6yxJOAI05AaL5kmiFV4PIRc8f6Yg= 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 AS8PR04MB9093.eurprd04.prod.outlook.com (2603:10a6:20b:444::20) 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 14:22:23 +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 14:22:23 +0000 From: Josua Mayer Date: Fri, 02 Feb 2024 15:22:18 +0100 Subject: [PATCH v3 2/5] dt-bindings: rtc: abx80x: convert to yaml Message-Id: <20240202-add-am64-som-v3-2-2f44023d50e9@solid-run.com> References: <20240202-add-am64-som-v3-0-2f44023d50e9@solid-run.com> In-Reply-To: <20240202-add-am64-som-v3-0-2f44023d50e9@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: FR0P281CA0174.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:b4::7) To AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR04MB7586:EE_|AS8PR04MB9093:EE_ X-MS-Office365-Filtering-Correlation-Id: 0f76430c-8295-4218-2c14-08dc23fa5f97 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: t/Lk3pNLUteuYqJ+ehl/pF+3/g/3kjmHebtKSCwHFKiqnbbiDg9KD6suDYkxGjMcO9WsvqLTCcHYzFejqmPDhPufJfxPJRUwL/PVaaFhPLMOFEDbACxOM9EDWA3+9+omdvo6ui9Ref/ujQj4P2NqwDgtfqY8yefzPUjlxcez/8J/aNUcDCMn3LtSNPpZQvBuLvuerUWfHkFuQFW05/2tr4/OKGCcAoxkWQz4oeGgzWOLIZbusyf/DW4SlcWiDRb6Ydwb/oVKHgyWm9A06NSOpA6M9vjXTAqF1akooOMpfUk/Dk8WsCFi0Eunuwhn1P87bY944FSYidDo0+nDEuoi0vKs9ad8rCh2sMkhdzCgt9nop4aAMxyGEgGgc6grJBvDg+cqlVd7Vm/1WrFi0xeRfB5lp34Fqr0T+4QAtTSTvZfOZ5/gzMZNLdCi4TsPljHV4/X4C2drM1+RIyyTMbiQjvAR4NFc3eVBcvHPF7zh6A1U9LWb+nFftaL0VzW0C240DUjXOrEgiH1DEwW/blTqQQNhMvdGJeY3nHxiBCdAGr0vn9mn1WtLBSVDtI6k3xWDH1KWGh6tCLXc1cfMOP6knaH8g77M24nBqcwqzawuoTU= 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)(346002)(376002)(136003)(396003)(366004)(39840400004)(230922051799003)(1800799012)(186009)(451199024)(64100799003)(6512007)(38100700002)(41300700001)(8936002)(6666004)(36756003)(8676002)(6506007)(2616005)(52116002)(26005)(7416002)(2906002)(5660300002)(54906003)(6486002)(966005)(107886003)(66946007)(316002)(66476007)(66556008)(4326008)(110136005)(478600001)(86362001)(83380400001)(38350700005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?O9T1C6VnM97lPJIi+Mpfv5Oc5EYt?= =?utf-8?q?98yGrqgK38XGN+jX2gaIoK6KrsOPrfDjtN+BAO1L1jZ7DB3LyU0/SG3jMXhaq8l6A?= =?utf-8?q?ELTsfiNm/ApKKwFH92YQMLkVFsrE0yZ64lH4UhodCBeMwvkZrsJOd05QHtozSQHbV?= =?utf-8?q?28Hf9uqGREqlE9PwuandLn7za7m79S7GCMmhPKDbWzpMEKfNEXNCcH39ZTsm0h6WP?= =?utf-8?q?LqHTSVRlfl0M2Xmw5bKblvP1wt/agnO/OO2sEJnWSPE8u/r8BNBaf3h0q/5KY6nSH?= =?utf-8?q?80jNDlF/YVk+7h9sAY6eCpQYEDf+cCJeXucjUKV6fILoRaVdiAeWntDPp1maw9NkH?= =?utf-8?q?kNdQQOjJ3r3c7IX8s8tY2IPm/SJgpVdatcitMjqBIx9ihhMR3lRy8EsGeF3fYIYh6?= =?utf-8?q?APGG7h8aDwNUSrYzYbPUPEEHfKRQvPwTLOOn4a0eX5cERAfVZOdgFhQjOAJb54+Xr?= =?utf-8?q?wrBomd78GrDPuP/IsT193rUdRr+1BKwLGUZdsI1lvvgrjRaDxfggejAdY8XA4Ymji?= =?utf-8?q?euNYCgM5wsudpvSno65ht1iIM3SKt+PGb9mOb9RsR1vHH62JwzJZv3IiilLeiuBdj?= =?utf-8?q?b8yPkk/a3KTuODkHEBaWE+lPIfEDQm/5bShTzrXHEfmniUr2lg1MKvpAKWM8iqgge?= =?utf-8?q?TCuHJkPGOOnc+h33Gm/5UNOZJT4qNmy7mZpmauQMzJe2RiLo9dbJm7m0FmPh2BKHO?= =?utf-8?q?PSgvJnBsq7PCdW2U/AR9apzlVqUNbS7QtN2OJAil5QnuHO1/tOVZH0bIGugvbeigu?= =?utf-8?q?V6h/c+aEAUjHKKMbB99bNKJuwhBjcGWJTzGralEB+2zKHmwfab67m13R53svCC5vZ?= =?utf-8?q?bA6BUFj4Yzn0l6Vgm6bRQu7FsGSEyNvvQTnTevVY34JHbbD+dweaJRZ7MolILFgBf?= =?utf-8?q?bmKOTxEcuJtI7v275fIiOXSiUSA3r3/ncQAJXH5QQvI4GsudbptzfwY1zIdgDnR3k?= =?utf-8?q?wDhX2XRmN4UPZjhVrxL2Wa+Aa2YC3DJwRNaktm5qon1giNZfkB5lpy+9w1LOjRGJQ?= =?utf-8?q?dZD1KHGEMI74ZZYbb8PWcTHPtvJ0ci0jzuUN8CGxbnkm116x1PlSF/QU3MB7igcii?= =?utf-8?q?46LLjP+qWfQeCGcPJT3nFMZgtwDCr4nmlEVzKaVmoukIirl7DFKGUGHfwgkKBL6Bq?= =?utf-8?q?AoiN7OgYUWRkjK/QSC1fSRd3aHedahNZurPy8K0qbH1iv4V3stNIvziK3u78Dl3fb?= =?utf-8?q?wyUvT2hAR5dQAiAkF8eEAEWIT1ekULQ6qekPgeVeZYBKFvq7G8Itl50zW770t4oeS?= =?utf-8?q?94Vg6uanhrZSa7vfBZjykDrhbGccBpXl2mLNG4YQ0RVeRvYmrQyWolDIbB8WDzvIm?= =?utf-8?q?xr3B5zwdpJrt0SibaAjdjLKx3KrliUBgScQbPCVQfHayS5npMhsDWJ96cvhUxsB6W?= =?utf-8?q?k171QSu8MoopdsAdw7gtYO5zxrRtpQH9mNGFb76l+3VIp0NS5b/MT0krp4IW2YK92?= =?utf-8?q?yzKZj6bp6znxM4v0IHO1JuUeePAlHqGrzmw0RRrXg0fqtVgZs9zb+B+l7li8BHpnp?= =?utf-8?q?hytulJTzBeKD?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0f76430c-8295-4218-2c14-08dc23fa5f97 X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB7586.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Feb 2024 14:22:23.3175 (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: uA44vqWo1hkSeYQ50IlhXt4Dhnr4xV8F/fV36EBCfEJ7HkkcH5uWeCl9+XUKy30yS7Or/bpjWJws11m8TXTtrA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB9093 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240202_062233_810182_D12B90BE X-CRM114-Status: GOOD ( 15.24 ) 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 | 72 ++++++++++++++++++++++ 2 files changed, 72 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..0c2cf6410604 --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/abracon,abx80x.yaml @@ -0,0 +1,72 @@ +# 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: + - | + rtc: rtc@69 { + compatible = "abracon,abx80x"; + reg = <0x69>; + abracon,tc-diode = "schottky"; + abracon,tc-resistor = <3>; + interrupt-parent = <&gpio0>; + interrupts = <44 IRQ_TYPE_EDGE_FALLING>; + }; From patchwork Fri Feb 2 14:22:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 13542942 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 BC170C4828F for ; Fri, 2 Feb 2024 14:22:56 +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=Vn0lSjcxdfGS41 pYixdJDLZlkRQD0gN7WaIjnedJoYfi1B32jSG/6ewhjKK+QWXb+7+V+bRQ0Rn0SQrFFUVWILMRQfM D9aVXNlmz1EQv4PShc255aDhN9NhrnYmKo3XKycV188GFiAi2F8VqhnmxCulc8adCVwS6ngxIal7t eu13J/P8GbILn+3PUjSboBHazjWHsmhcAq+e3wPwjqDtmBycZIYnoCPQbvrm5ID3YfaJz+fGeXyyV MZbNOXe2CK4HoiJQGjJZnjv8RZogNFeHOadeEqEV/gnNuVrud5+5eaXcFkWZxyZX9et8viA0ZFcIW E37OBNQ63o6BEuWAizZw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVuR8-0000000BjTQ-14O5; Fri, 02 Feb 2024 14:22:34 +0000 Received: from mail-am6eur05on20701.outbound.protection.outlook.com ([2a01:111:f403:2612::701] helo=EUR05-AM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVuR5-0000000BjQK-4BBY for linux-arm-kernel@lists.infradead.org; Fri, 02 Feb 2024 14:22:33 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hbx3bXk2sQYZfPn/kDN8IXJRxdEKsq8oEZSAU0oaN5NhbQxjsMmRcEtt7+KCCR+t05huuqQjjspTbCy9zkiIxzNFTRpE2BQKhg0ifN5Q1WnRqXEIFQU+NsOedeDAIyi15mR9WAXD58+MOPNUAQSqnWLUQhIiqlKCx8H/0jx/2PasovQqCRkzXSVrVjocPgMQOqQrOAD17kW3TeCleTBmfa+NHaGRvXyEYgMr7vyzEJt5fPQnERATLf1SHwuCYu524x3nVrab9iipQZPYRNsPKD3xVFDCA1JwACEEI8XJu1m+0OPNfzmdzmMCkkISkaUxyKuz+3nohuuqq8h3iwjk7g== 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=iY3WU5P6EFsYfbZfpcTnd0V6x0+5gfuK6cWHCMu52cuuD7Z9IISiTmy1B2mBWxNIF08y47Yhs0doSIWp5dUn8mFdMoylO7NCKtjC0ilRp120+2F2zO+zy7o6SHZYWKvKy3ZjIeQ/yzaa6Rszac1qjd66xUrwJZPK60S2SXe2I3rdgCy85UkBOKTGpM2xInYwtP5ReaJMV3UJznplcDVZmJ9JA8ZJiL0otvE1IClw/IO7sWkMdSUJhzus5I3UUDb3f81ry0rit7gXsjX2Yfs2Sod9LQpQfS0IjsOWDj6JGbfxfiuQd3XVnfdKD95YGd3HZYdL596ixOxLRN6HjsU0/g== 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=O+FK+oC34r/RDo8lFkFYdfBR93lHEiQBVKctXcQe/wYPB1KS4lotmN2IcmwRrGLjfS6SzmQtg4qlREHReB1HNjdycjez7G+xK/yTWhxNm46vnAFQLXY5kJ1KwMTIz++FdpgtlVAnColtYX9XstcR0iOlZSyj48fzASkt4FHrLdc= 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 AS8PR04MB9093.eurprd04.prod.outlook.com (2603:10a6:20b:444::20) 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 14:22:24 +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 14:22:24 +0000 From: Josua Mayer Date: Fri, 02 Feb 2024 15:22:19 +0100 Subject: [PATCH v3 3/5] arm64: dts: ti: k3-am64-main: Add ICSSG IEP nodes Message-Id: <20240202-add-am64-som-v3-3-2f44023d50e9@solid-run.com> References: <20240202-add-am64-som-v3-0-2f44023d50e9@solid-run.com> In-Reply-To: <20240202-add-am64-som-v3-0-2f44023d50e9@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: FR0P281CA0174.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:b4::7) To AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR04MB7586:EE_|AS8PR04MB9093:EE_ X-MS-Office365-Filtering-Correlation-Id: d3a9f311-adfa-47e8-c555-08dc23fa5ff3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: vYbIZXzYac8GuJoBhA4o0ovutt5xhnjYrSPeGPQVjGcmfZWkHG6v4WQLFyQVV2ehAMjepxeE/CUe9U31oIvstQ88y1lsccus53y3280RR/3y6+aTCnGVIqlKB3qOxtvos0EhLQKTiUHINm1UytpWLYVWxvgzxDOb+JaSl24YEDHilkGNaPwgVzLj4zhjb+j3clNAy9/mFjpJdYNdjppDuAxs8bJm0ysi++HUtF/rCgkNUFZxPkSU0ynVuHAQGUBQ/Gfjq/jcTsJ9B7XhpvPmUstUBurmFzwGrR8ctVFV4Kupt/mV7DZ4pRL3CXOt+RV7fTj4WGAUh37iUBvHoU78hG1Peb8jFpwkprIwVNJFwWSjaTP7zIJ5YwavTco3+wL/FoKWmLKSrsVldQDqH129z94WZDWh/4a2qvrnWnGW4KxRkwZDxomRg4fTYIHhUV8+IxD9a0zQJYzfAA0GwyCwvyfPxtRkNmuGiHNEywSyBc0NLDy/D52PASmmPjFz1vkCF1nE6YeZPFioq8IACOZtensul+XEJR6zu52P/aSyfnaHVDLxmcK9WyoCtEHy+zfbTJbLq9h5iw16HFGZPkCFGOjQpQRsLkCsFZQAQfzxMYEqokuJcb0d4EtO97j4vrOK 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)(346002)(376002)(136003)(396003)(366004)(39840400004)(230922051799003)(1800799012)(186009)(451199024)(64100799003)(6512007)(38100700002)(41300700001)(8936002)(6666004)(36756003)(8676002)(6506007)(2616005)(52116002)(26005)(7416002)(2906002)(5660300002)(54906003)(6486002)(66946007)(316002)(66476007)(66556008)(4326008)(110136005)(478600001)(86362001)(83380400001)(38350700005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?SKuxUTsLi21uz9twjQaz9Jj1vcoa?= =?utf-8?q?9nK/v/TD8xnGzTjL9nQ9NNi6jE1epsKmts/r6oIEt5X0AP5clf7H+C/UmTtSEYO//?= =?utf-8?q?p7PWoC1r7/j3JpFi29Y4kYsKBTL/ak05qUeaLZA3EjAbNmvQEAOSGtDx0XKDwKu5J?= =?utf-8?q?RNoElJFR81j25zyCDAdnFHV7Q5RwJSRbK3CoVVfs/lRW2EDH3eBqPMLpT0fJ/qpg6?= =?utf-8?q?fMuUUmACC/9kCy+LAyPI0XIG69m2Ns+iEQe9z4YCjbcCw6wFSRpRAnOhbGaBQUEEK?= =?utf-8?q?TYJYQX2mSPNy0rdcN3Vi8aq+SD/Vx5CYbcfvJhpIrNiUwNepUxY/oRrZYHsK3BpP0?= =?utf-8?q?HIgUGhHsyuHrOa1Z5kjFsF105aeNX8xxuKTr0bqDbqi6n+84EYd0hjaSKxE09UsCZ?= =?utf-8?q?4Daw5DyQcDkuNI3vhBkbStvJYphvdObgqzx3+FJ9W2Ix4A1lmkPVrcvUQ1nEm0H66?= =?utf-8?q?I33qavaTC2SPbBShxkdxHnAnUBe++lLICMEKjKwOFDFIwDczS9ED+ZZfsCK/lx1Zn?= =?utf-8?q?QfflxnCGuTojq6wCyrn4EXFXWPOfrArtPLz6AeY+pDrpiiYiQ86eePi4oP4wTxrK/?= =?utf-8?q?5UGz2QrRS/lHbCqn0IgYve4pSpfbrmPAFH/SaVWrcVEU9ecgnlQ9AqRISceHynbat?= =?utf-8?q?nRwJ3mKJVquQlVnAEZL4k2hyU8nLdebE96UESfrtNXbsfNKh1XlPUt7aRyQOWUeNq?= =?utf-8?q?0/aqFxfRs44hwXGpH5YW82GaE6k4nHsvQRuvGkPTyC8dS2b6a6pu8hI9lgY8NyXFW?= =?utf-8?q?pzGBNbtmIWd/ttiXe3k4s7EwLfN3cw+v2IkC+oZP7n3olZ00kBBi2FGem2UA5D9kE?= =?utf-8?q?7DIrvza0RfDtc9ZwKGRkPE9b78FZ+gE6kwQCnodUwAbgBTeymK/HIpGYEm1RUjgB0?= =?utf-8?q?qWZNS+nfpP9ILBOgVm0wv/qZPUdDeugqQTjVRZTHvwtszOW+xvu52ScRrBcmbcgLc?= =?utf-8?q?prh8tdDP7kpVj7S0PYuomPlYAXFGRPKOosGa4wBhyFXGhuwibKyXjvkGde6aIe3zM?= =?utf-8?q?6IURjiSV83qUAKZiGHW/k91mrBeN187/TdZURdIfHr2DamnlgGy28LD2aZSRZRUuU?= =?utf-8?q?2EbuVhD9eCIfec3Q+cmUQW+61AYy616QUhEqGzaYMp0mCE9dOTRDRB2y1gVztFaVx?= =?utf-8?q?UYJYfDv7X4n5QwNVadxDcZXo573lNDAn2clZp2zCKNF+xUEGVoLxj7M0wpyW7V6JU?= =?utf-8?q?BbTsartapoMbNVSvAh0m4bGjlBiM/Zcq6LSSwcgcYB21QTyjyVcBeZRLRi6HyGJkw?= =?utf-8?q?lf89gn+GrTDvnskGlsllCUwigr4m6RP+ASacf79sE1BG9vdGcOnxsOnRn9abW/T4x?= =?utf-8?q?TrX5t4SPLCg+tXCLNNufDuGR5spKm543QSZklrqf8SKYbOo+Wxk2gZYciVj9H+guP?= =?utf-8?q?UDhRXu6lWerY5YOCQWO7kPycZRLJLij0YycZmc9/rWuFLeM8Hh9bQMvA1IAHaDn6H?= =?utf-8?q?xQD1bxMBLo1NnhUp9HjjJfZNpar09pS38RNwEKbaK/80cAaRZHVZ6tH6kt9S4cXbQ?= =?utf-8?q?1dRwcYmkHKQb?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: d3a9f311-adfa-47e8-c555-08dc23fa5ff3 X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB7586.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Feb 2024 14:22:23.9454 (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: cM17LH4IFrBBa+SrEKBq7kUlvNJntwFukBtMZzkQmXEOEuftOrpWYqFFS9aKT3JCE1vmRVntewd0KxEqpn3zwg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB9093 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240202_062232_090533_3D9F01CC X-CRM114-Status: GOOD ( 11.30 ) 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 14:22:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 13542943 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 E595BC47DB3 for ; Fri, 2 Feb 2024 14:22:58 +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=D7ELl/mvax/mJ4beAOVORm0frX N8O8m1MTm3ttq4GZdB2Z1ZnPVG4WR4ZlBu5RuL7X3bqE2vKgeLANy3mqG7zcpg/SkJCUOLfadAmcg 5jxoAmK/9ZG3oMRg3rmrUhiTitwEEq0CKTfdpsK06lI5p0CUJjtbAit4IYZ4Rw1Fl5D3mjpWMmU+1 hrsK4FRV67ft1R9JTdrtEM6MnyaD7xXJ92qWyMqCdrsQ9c9PBK3nTogKN+rqlDk/t9emjL1cA9U1R XenkP4y41D++NJTL3zrC0YiQCCrP/pJMg3L1AyxCIdUjrI7cKzMkz5qWdRx75COE5Qis5/HDvQ6E9 rMrmGbJg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVuRH-0000000BjYL-0Lbv; Fri, 02 Feb 2024 14:22:43 +0000 Received: from mail-db3eur04on072f.outbound.protection.outlook.com ([2a01:111:f400:fe0c::72f] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVuRC-0000000BjRZ-1pa5 for linux-arm-kernel@lists.infradead.org; Fri, 02 Feb 2024 14:22:41 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JIhuJvKNZP8PSCDZGhNYpXPqWlaHyAj+tuayTSFj7byVqubJhqoe8k/ESgLIJWqMRPVu1LrjjWYdFJ51hoQeeecru3B7PyyLv3YCcUUHCOz5re+e4INoNtUNuqBbnrUTy7OCgXtIGqL3qi+7J3w6QVqs7BWa+oOFW9/3YJB5z+rS2+fhVjn9WgdOM65JI1ldmUq+OYbS85nDNIVMKDnO2KUf2XuBnbVpLVsC5yJi6/urvqxAdGfvNJQzwtFGanbtIC0lTZ2ch39fUV7qVCJm32VQl6Ll67vDaRefB3sWjYyRDTdgND68OvBRMH840JaY3FHD1A3fDtmBWa0hr7BfMQ== 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=F/DKf64pMWm0aVDfkEu6vbKZR5CURY/c+EdCocw8HDaHr4Qzd/sB9XuZ5B7DvrEMFAI9jSsP10qL1uSySWDvD6CrPxVnQnk6aO6P7y60VxUZ9ZPd4HIc9NbVjscjK2bOuKhmU+0KW+LkQZc4HXZJUYDBGf/cmFQM0R91E5bAA7Mt/gzHDXciy0tSBuYky5KGj1CNbZTGkz2UmKR0WA0P8Ogb77R3IyEpi8ocUV7Tgeo8y7ycwr9C4i5/ytnJfahocovRU39kWT5FI49S+ZjHJDrqOYehu3TVu53KCkqdgyPdEn8zWO4oiLV4XpYy0S1Hkhc+AQiHPkrxopKGIPecYg== 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=SqE6EHxJXCR+DDtg6H4DUWwDn1RLPket2gWK09ryCkg804D8lkwfvsR+fMOS2KwWrJ0hQWGj7YSyNoYkCGMGL7oJSDTS/kAV0vNyNzjPA1k+h4GqNOdOg4NmwMG1iTUycKCIBuUGdNamq5Duo47DTa4e843Dy52gYf9NASBCOfM= 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 DUZPR04MB10063.eurprd04.prod.outlook.com (2603:10a6:10:4af::5) 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 14:22:24 +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 14:22:24 +0000 From: Josua Mayer Date: Fri, 02 Feb 2024 15:22:20 +0100 Subject: [PATCH v3 4/5] arm64: dts: add description for solidrun am642 som and evaluation board Message-Id: <20240202-add-am64-som-v3-4-2f44023d50e9@solid-run.com> References: <20240202-add-am64-som-v3-0-2f44023d50e9@solid-run.com> In-Reply-To: <20240202-add-am64-som-v3-0-2f44023d50e9@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: FR0P281CA0174.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:b4::7) To AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR04MB7586:EE_|DUZPR04MB10063:EE_ X-MS-Office365-Filtering-Correlation-Id: c07dee75-ed97-4574-6b92-08dc23fa604d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: kpF3mmMwZdN4IXmn8c6t3bLake/2eFNt3EOJHBZ60pB5PFmWpt00uZJvROG1+JR0zs9aJPXhR6/h4UV/lF11ltAaY2x5t34hxPoRu88i0+n3Kq8p3FbkyNbU9CLxjHD9sAO0uFSat2dHrjLM6BIKm3LxrDe3KvMzNg0hjOtSQN6Dr4KTUldpwDy++NkCX6Afd4jW2knx3wpQW0UYCEmIJjfk6PcJTCEUjNfJFMxEdKIkWdN5otPYGgomLefi7yZPBQjULpBUGKBJjP8knvAwZGSv8m9lGm+TVYVxe1o10REOUNmBUolDE/aa6/J4AbBmZFdBlafmgC36g4bDrlpZEIIK4flujKF6shzlYHjHxE7Zy+JWt9iTuG1dLlqDD5jmJj7Geke+H8427RiS3uNS72W0n5Huk8h3jgqCMq9DGDaUKiMrtbEnWLYwSuV9ihXmRKBHEKMDkk1kKN61EqTHMbOch0ULqjuoFW1kEyP64SsfIeZNDkQ31zAK4/GPsqrMvWXySlI6gTb5/WeYJasRSB/0sQL5v3M5FjAFH9WenlUsbWNDRoTcQcsn3LI9RDCKMY01flixNJeoeHs4AZvfgwdyRmGIndpaDcozagwGOlMKofG5wKiPzogAw2+Rspbf58nJtFbMsAXrrvnIAlnY+oSxUeoZ2XFnd23F4MlnTrs= 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)(39840400004)(376002)(136003)(346002)(366004)(230173577357003)(230273577357003)(230922051799003)(64100799003)(451199024)(186009)(1800799012)(38100700002)(52116002)(6506007)(83380400001)(2616005)(6512007)(4326008)(8676002)(2906002)(30864003)(7416002)(54906003)(86362001)(5660300002)(38350700005)(36756003)(316002)(8936002)(6666004)(19627235002)(110136005)(66556008)(66476007)(66946007)(6486002)(41300700001)(107886003)(26005)(478600001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?ltkCB7b8V1HA1KjlSoHI7c9PoBJB?= =?utf-8?q?qz00SR4u0WxfdfywKviRPyugnPafG0Y9MW5P/5KJdB18suZVl0sBOsmzfVwGd6Azu?= =?utf-8?q?qAKP3q2eHu6ZEFAx7rCK2pyDnOCXqbIi8MnaeZgnGxC3e71wJtcOhVteg2VE10jIH?= =?utf-8?q?j2oXTUJqW3gBUzbO0IqY1V8pXixXSDNkbyfL4quqf8QOOIK0ZG6Poq3ZlOu4a+MBE?= =?utf-8?q?EUU5zOJWlYyPG5KjrEcmt7d0J+XaNzTXkqctioiThfd6vNLhAObSnwM9NEZ4myr/P?= =?utf-8?q?uDpSJTw1uXGkWZaAYGK8ZsYpdZrS7Rn4f6mi8qUJ36NWnxl/4l43aselk1TMEufY2?= =?utf-8?q?E3zrLl64XX2vNL0OAdEBXORPgBWVBU/teFwtf715y1EOjPR9ph2LuPN5GrC47F17B?= =?utf-8?q?+ElHMUAew/oAJPXz8b+2yZ4QaSLAF8aUT/f6Ae10b4MSeZ0/gND4mMH/aeQHYs3il?= =?utf-8?q?TnMV4JzRpO/esrbuNqxfl9I4ySCZk25vwzUjNgJ9kUW+701LYSrYuXJVTag25Hk4C?= =?utf-8?q?QlKSKzgRdbrQSwpeYUg0aYjTEo0Hmk+1BHnz3Uizj93zz6mGyVOqCe65MCy8HtMFu?= =?utf-8?q?gl4+gYYDHsxOFxJIP+Goi+WDXQ1lx+IxNjtH/jrdTotlf1l3MBb76euwJGao4uwK9?= =?utf-8?q?xY6g2GGCiPrMw24ea3STpv2GYirzrT/E/V66v+rIKjrbBFTpT2Ko/pWrSycSrpU0/?= =?utf-8?q?FK0vlK21ZdfLvbS+CvvQNGW+c5FgJBTNkDP0fgzy/EfDVzCvoW+p0WG87TjYtAAGY?= =?utf-8?q?Ica1qUL0xIWfZOWryw/HQ/tmswFfWIO6a4ShJJtpjDw2g0gqKhxCvU4AN+LSe8+Dm?= =?utf-8?q?c37eGQUQi2N1n/DZoMqubq0zl0+72qlbV+VFs0VM5fPAh4x5Jhx0Qtk1jTGViamBd?= =?utf-8?q?wAEyF72RZoXaB6zsLu4Hgpxfw7M+26Asbn8FC/HWOx8xSt8ziB5SlzEytJ1LCZpfQ?= =?utf-8?q?55MoZlHv0AqunyLuluc9LDg5MZOXC8qsZkYjvrgUJKH6lyL2tKB0wiz32/sLmcVBx?= =?utf-8?q?N3EmOn5XRbYr9AkLmPSfjK9hgFDLZU7j2KhnI+Eq7N5SzvVon8+FvHBa8PIgrEAuA?= =?utf-8?q?g8hRg876gcoX/scfjygnsoVfTbdWFje4g4zCQus1Q0RLBtiCHzP36ErMFOClWGH4F?= =?utf-8?q?Xlb6GYpU0pQw5JVEVl/Dk6xgIL5x6YmhzxddMU/psUdAqZXu8Up+ap8pluUIvmM8w?= =?utf-8?q?GvVEZ6EAsxQ8a01ZwpSW66c1voo2xFOOjfmG+FMLbiD9J1sc/tBI8lpSqgPFP8+L3?= =?utf-8?q?2Fcw45muYuNA2jQgGxwS81u7Jn8BLwEPjiXzSsTZb/E97aRGIPlYxtQg/rQizN9pe?= =?utf-8?q?YUkJCggsamQUaYmvWWECzvx2WIfnbTHrfJGAEdGchb1aVdQwvl+vYiFwXf5pnMt+3?= =?utf-8?q?BF35NZrpac/6Fqz9PKCzmZCmFhhzAg91uJv8C1BJtxZIMkp21Jk1ezUoOCgUON+HR?= =?utf-8?q?Y8aMsonDXjM8rUghLX63aJLW11SCTMA571pW5behhmYUZsyhQmjwygzKYHlI0Z3uw?= =?utf-8?q?TxbL4Qt4GtjJ?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: c07dee75-ed97-4574-6b92-08dc23fa604d X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB7586.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Feb 2024 14:22:24.5171 (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: wdMecHG75qaOa+ScqgAG1yjwH6zdp1SU5g5BKpNChF2zZPdZDcSWygL8nEgfALXxc1lxVDa2JNswx+xWZozZNQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DUZPR04MB10063 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240202_062238_699997_7784F479 X-CRM114-Status: GOOD ( 15.87 ) 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 --- 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 14:22:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 13542941 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 2DA7CC47DB3 for ; Fri, 2 Feb 2024 14:22:54 +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=iSeC0+NWPmhQkJ3A4ngbnRgxxt EfDVov7e0Sv5IPVQ4wDxgAdfn7gcLThWgTfcazG9lLXw4wdXe2WW/ooSOI8wyH9DEp0aJ4dWGsUBT GptdvE+U/PAM6cECdYROOKiTmlXKrTjdwh4mCnUBDizfZCjAUEkN61FR50uwku0BVJlnSO5+mWGPg fWA9l0mti7RNLrMqQfXGG5OJ5UWNLKYqmTQdvseGkRSuT1VAa22E6PpcJaQ87V9ai2rYYU+eO9x/M H+ro+MdbDoQVfvq7A2sy8ezI7weWr4bkflqLPIrMu3xs8L66FlI69DTnaV/DGkWOALzJAwbTulyEC /KYhOT3A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVuRF-0000000BjWy-0eMJ; Fri, 02 Feb 2024 14:22:41 +0000 Received: from mail-db3eur04on072f.outbound.protection.outlook.com ([2a01:111:f400:fe0c::72f] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVuR9-0000000BjRZ-2wVu for linux-arm-kernel@lists.infradead.org; Fri, 02 Feb 2024 14:22:36 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Zfebksbi+JfZvReZhlG4wEJ3knvZ2S3CZvHYXYAIE2Q13nmgDrBbnurnbYQBeY0B+6SNahDARs+xetixXPuv9hdmXWMg5rkNbZFTaowYi2yQ51+llRnLyKeXr8TBNWG7ALTtGzBty7XADs71Eg/7+pHeXikDqnbcI7TRw8PHoeNWhMM2ESjuIqgE6oPg1AYjyX3X9QJk1E4Lw1/USL5t+C1CuYGqhSCEV4zF6rKjvGx8tgB7RUWNzw9HsP7paDs7l0T+bCsK6URMi7V6e3FYyryMPrHhQiDBEWIUju63J6/8ZXP9T2Bm5SapDLEc9+J3Ss8G7YzqHBRzjMcQ2O9wUA== 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=GWSrvFye7SxzqmjPGa7sR9yXipSN06kB+NEz/ZEJmcZugL0QMd7gE8ie7nwtS6gKhTT94VsrNongsYRsDYQ+dI89MQ4nWXF2ZcgmrG+NJuRTMA09OI+7hE2+Ofv7thPtLRgtAyirE3XAGQUtB5NPMsDCigwIiWjx51Mdak+oojdTN9dgNiTu1JDe4q2W3ccm63S65MzGoHnSDgW5Ovjpaov87Edb/JLox1rbB4Mkb4L7FL39c3drhCt7LQgcX1An1sRAcf58kPxWwNlNpyOPVf4VPxQClUTPkOUtQT/45SUualmvOFUPyQk8FeZEWEwdSRpqAPkhD+T4VHQQ5JnmpA== 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=iyoOfk275Nc06DIwvieCgK8WqlFlYlFJOLn0eZTXpWRm8DQHlvDS76kPbYd/9QDO1qJ7Lif5qmTLq4h+OyYpYAkEBJfldVc+ZjpUr2EwU1D5nnY1TKUirOHc7vIe7Lgkr8UlmusrHIr3PjzfvOi7FLr4iF58T3y2xzBz4WJ2uQ8= 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 DUZPR04MB10063.eurprd04.prod.outlook.com (2603:10a6:10:4af::5) 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 14:22:25 +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 14:22:25 +0000 From: Josua Mayer Date: Fri, 02 Feb 2024 15:22:21 +0100 Subject: [PATCH v3 5/5] arm64: dts: ti: hummingboard-t: add overlays for m.2 pci-e and usb-3 Message-Id: <20240202-add-am64-som-v3-5-2f44023d50e9@solid-run.com> References: <20240202-add-am64-som-v3-0-2f44023d50e9@solid-run.com> In-Reply-To: <20240202-add-am64-som-v3-0-2f44023d50e9@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: FR0P281CA0174.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:b4::7) To AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR04MB7586:EE_|DUZPR04MB10063:EE_ X-MS-Office365-Filtering-Correlation-Id: 04499e16-1d1c-48c8-c440-08dc23fa609d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: G83ePnLPmBRVOdgEa3tPjI06NxrnCcDUMy5oCSuchDPwzTwC4/0vazHfIMaZqeNOgAP7ttoAxpuSSBP5uahf8FeDpBedyzAXOx4B2zy0O61lRyje4p2jF2xE28+uJV3G60MwEiI/JaPd4RfRzkanGpOugz+W7wNSokCG3hfxfTLsdlz2TsVRbQo+nDpW6S6rNQxxRqy5gPgZe6RcK1XXYRRhiJTWMQfRZR5PYiu6c224mNq03BZwVzYv5Rd73JyEPFZS2eKSkRo+GHWwzitZFpyGlaIFlglQRoVI7o/4ybYEcDOfQtP5hmXm3O31Vw+B7D6fTBLpn+7iuOUFbpjldMecw4YsHBOPbaUjIw51YAGfd3jgYMYazc476B6rlgaw06+tJI3r1mms24xDr2y+TUWMNpn4+NJUtbJI2mkFpjk/wZuyYCU7EVrk5z32xMZ5tJRikPn8KsGlNzgrImHyFPK5qaV5DXmlTbN55+YsDMgGPU4sQDRymAQJxBcpr3Z75HtlVzAzhJoPGB2UiW6lp4lK8lcL+R6HY2ptc9UzpNTiijYPPck7/tfPzLrNiFMFI8WxNy3mZCb/kSl5pR8Ah9SgAYjkpiBevKJjIPcBnSfsNLPw1FGnjvsPix8vk6ku 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)(39840400004)(376002)(136003)(346002)(366004)(230922051799003)(64100799003)(451199024)(186009)(1800799012)(38100700002)(52116002)(6506007)(83380400001)(2616005)(6512007)(4326008)(8676002)(2906002)(7416002)(54906003)(86362001)(5660300002)(38350700005)(36756003)(316002)(8936002)(6666004)(110136005)(66556008)(66476007)(66946007)(6486002)(41300700001)(107886003)(26005)(478600001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?KybvDHs2jvYBaCek/HfVYykTcnVO?= =?utf-8?q?HdfQUy9XYcFQVyhrnA5vHTOT9//7IReV8EZdmAYUWUTkWzxNw4AZc536lfTU7m4td?= =?utf-8?q?E63GZ3qUUaG7uDfCgs6MdwfcstSmRJlFccZr6u7bUzYOGUa3hikj0Bs33mebpgtIQ?= =?utf-8?q?d+pvIDytFXC1u1RYf8fFA2aibYyhfvwbwImZJqP1OuLq5rR+/ct56+YjwL8OE5CLD?= =?utf-8?q?tNh70WO9kdkvanCTZvlaW4EUuBeKRHWqTGLZnLo/B8tSoCkX7CvGQ68wsMVu8/u4N?= =?utf-8?q?uH4+ezqn+iKpz9nYzt6pyFCJwFYWZFUg4iOtRTfOughWC+ikunH+sA0mCgSQATNWr?= =?utf-8?q?WHog9XM8OwLEBjvz3QE2iMSQSFrEzXcx9s8GAV9JdGq4G0PO1+SGP+lTJw7OLfD7w?= =?utf-8?q?nEJSzWmaRdKU132UlGJBhO36swXr6kiFqBbMf5ybCMZAn/cDVz0VpWk2W6ofes5VI?= =?utf-8?q?TPJSWSEwco3EvUQ+dhrp8VE/DkXpViSdSaM17HO6LdOGqUobAS9XQrSL9xYVsD44b?= =?utf-8?q?3fDJyAWwF2JIvB7ksOUdMIuSsp1FDzOY8oBksZWJAj7iwTQCZlK/DhICLUpAbU8zQ?= =?utf-8?q?0ufOfjgGfy/FYk0rXonbuyRq6xw4DmWrnNe1FzqLYy0tvn39bUCuSlm89QvZRNIHO?= =?utf-8?q?muFvIE5NxPnFRxI+vh1Ky9l2k2puiz3VUOGCEgwYIOWdp1CoHBNDgcvfairkzKYfN?= =?utf-8?q?qR0CBawqDOP+ol757xZor8mZBEKWDKelIL4Wgy1KK5HsTNWwArlkpdsZbuNVTmQrB?= =?utf-8?q?OS/rFmTjxku9FAnRSfW4+jEMSNmLasEBsPOC+mtxUL/Wg1OUC/hmLRXBAnQcXhQYg?= =?utf-8?q?vct9VwJ7Erv4VkKUDDvArDltZGOvuvmYkvhUkTSFB+eUDYfruA1Lx/RaswCMB5Tpg?= =?utf-8?q?tVcQhcPrpCB6uy7wNdQOSvHxcl6FmSoCbaAgUDFIedRagqvEHAEfKnpb9TXdSJooZ?= =?utf-8?q?h7kHOJOP4I6Yxga+U418naxe4rBI94YdsH9sb4C7vavchfQFCiOafyeMf92d9Rrnr?= =?utf-8?q?Lqw6WrGbUODkhz+wGmuhYhJPA/dfeueQN6X5Z7dyOsflb1B+E2WOQYzrl77do9Yoj?= =?utf-8?q?mnerUuUoGlJond7Nb50WIgiUJwC5Y2+t5Yssp0seZ0ixBfFmVdaYl0Kvh8wRUeqLM?= =?utf-8?q?5damAxPYhsTzXdQbJTQ6EsMPjkHq7HtkvmlSfB53Tm00loclorV6brZyO1ZQn1Dm3?= =?utf-8?q?ASLiGoJMRcryFixOA/dbfX20A82xW2UM4aIbQ8lo1FcvJyvbIAXMIx6lDJ7b1lmBB?= =?utf-8?q?iY7V3r3HMvp5jMgEOGwFwNTOR/57iG2nPdkRWVc5vrLsebLh8R8Ty3CmqAjt2E1Rb?= =?utf-8?q?Pl9ZzfwEdKvR9V/nS0lETFKuxtL2Uc5wIx5PdcNTvEa+2IL5zzh7a4BJLTgBNP/cp?= =?utf-8?q?VtUzN33QVp4P4fmRekMDpClCV11mkWIGa3tI7owOa7xo0fSmzynBjOnKSaI7W0NqT?= =?utf-8?q?Lke3+Sd0oTWGEpPHafrKp/qZE0xWUWSQJOkYBQNE74ZCMu1l3zDjUz9Ojfa0iwSG1?= =?utf-8?q?V8koW1t5WiLe?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: 04499e16-1d1c-48c8-c440-08dc23fa609d X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB7586.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Feb 2024 14:22:25.0368 (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: EBPGeb/vcKcQzp8MWG83jqw4DUzABxOMhTshKo50UHz2LoCZyauajULhiD2IeilYJmc3dcSO9SCJxOLw3UskOg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DUZPR04MB10063 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240202_062235_803651_60F69EB3 X-CRM114-Status: GOOD ( 12.81 ) 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"; +};