From patchwork Mon Feb 19 15:03:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 13562820 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 9894DC48BC3 for ; Mon, 19 Feb 2024 15:04:16 +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=rZS0HGolsPpHwVFxbmaEF4BGiv+jltwP5ZPJUIEXyaw=; b=Wp3vhKgpa6qMnP8jgNsZhRrPRo nHgf5ygQE8O/v483VoZT6m3QfLDU3/xnzP17Mv9dY3Nato1lRkO58G1Fnrag6Ut3UCblD6lYDi8cx m0GrudSg80/jJleQHRITckBw0e7r9LLyr0985FqSM7NevCB+hVQu+Fu5T2dJ7Ociw5bo9LMfOvo4P U5Iqrx5ApQmWxBwYpmgj/rxA3ZcOrbCYadY8RGPtd9DArjtk7EtAD50nMGwa0DzPxL9lerohgTKkf xCZ81Q9Do5k4QrDZrsz0Gy+7Sz7L24B/oL12PIdtwOOOIoR12qnoNgaitjCSC6MidQwQpx+hiyPtC pdjAA4Dg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rc5BZ-0000000AzTx-056Q; Mon, 19 Feb 2024 15:04:01 +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 1rc5BR-0000000AzPf-3xbD for linux-arm-kernel@lists.infradead.org; Mon, 19 Feb 2024 15:03:55 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FQlZp3MBbPWxKS4w8LZETlCMe5lhYi6G4YlrWYLhtAK0MKNhrqFn9xi38nzij64ec58dcf2eZjACIT+JD8maHtKpx6E5qMkAnYMDm1rZrS+Oerp62ZmxvLXFVGLunyWCEcL5cxQiki8YV4Y/tFQDcXkZvMQVI9ODT82UNpBE9fP0a/4xPCHtJKRprvvSCMju9hTTzMbyB6kdZDFBHgOtbAgDltkKhlyX478tE9ZI3KnJPdTeBOahu74i8SU9If3GOIYM+/Zgqht94heQXOQQpbihgDV/4cSQN7cX04tbVpQdh35zVxOGiuUi6ZQgW+RCElSv2hu5JBJsfLDZCT00bA== 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=DVxPmi2eYokNgwgRMfWZLMrATkmf6SNKFaT5hWZTTKk=; b=kNAff+6ocrDjUOgocJHnitdCFpE1CO1N4jNnwX58K8eUHf01QD7QKqWCZ/rn4pXz/uNgodUtzD3/9Q9qExACDPKt4f15II2d0OGikd70Gw9lwfen68f8GK3MKD6ZcMnhK1z8bd4WVv1DDAlgPtRS/tTD8YrIQswKO5aty+tvZYf+0taFWda9ccw3x2oo0Lhar2tgRTeSzd0BmWKBHzIvwimmpd5lTx3Hg3ONrAKxsZIcf8X0tOieTN9lHAv2BUhLTtoLTdpu7LmS2ZY5V+u+44+qhw4HFC49ZaBXWvfvBkwiDUYHPfaiW450dXPjl84vsmbiP3UzEMbmFoIMtQieQA== 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=DVxPmi2eYokNgwgRMfWZLMrATkmf6SNKFaT5hWZTTKk=; b=EcZs4IIPLEBPKvql3NodnEOriqFoeWhyyaIm4RQnRMbRfTEKirdCO8YuN6+oNF/K1nX2EjyuK8H1hyJqlAlYy7Cw2RRoqC6cU7LBc5Yudf3Kk4tCj8BH6ClY2LhtCT0QwNzvJDLnkQEBbuTI5YiddlVppxMJ+vcRUlEm83WKipc= 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 DB9PR04MB8431.eurprd04.prod.outlook.com (2603:10a6:10:24e::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.39; Mon, 19 Feb 2024 15:03:42 +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.7292.036; Mon, 19 Feb 2024 15:03:42 +0000 From: Josua Mayer Date: Mon, 19 Feb 2024 16:03:00 +0100 Subject: [PATCH v7 1/4] dt-bindings: arm: ti: Add bindings for SolidRun AM642 HummingBoard-T Message-Id: <20240219-add-am64-som-v7-1-0e6e95b0a05d@solid-run.com> References: <20240219-add-am64-som-v7-0-0e6e95b0a05d@solid-run.com> In-Reply-To: <20240219-add-am64-som-v7-0-0e6e95b0a05d@solid-run.com> To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Yazan Shhady , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Josua Mayer , Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-ClientProxiedBy: TL2P290CA0016.ISRP290.PROD.OUTLOOK.COM (2603:1096:950:3::18) To AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR04MB7586:EE_|DB9PR04MB8431:EE_ X-MS-Office365-Filtering-Correlation-Id: 56fa2c54-e816-456c-e586-08dc315bf645 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: tS9MfZrT6A2RNouYPki2i8xkHTAPgyV1hX4u5cOW0I/wWon3jXjim7ZG8yWX3NDVeKbMo12LdQoM1sTlAkM9YMGz1LoSg/5NRma8JbkiPogSU4G5RLWLX1fbV5qXlbLhIebmHCGP7nw/VMzQ4GWF4ak7Jjp+MgcaAbjiumS2YuLFPN1iNqnmWzaUuRvu0uReQZNpSqEoCMyCLDY0BGc2iOQzViMPXmOeFR7U/0VWQwauNz0vkp8E11hsFQat6yoduMMCuCN5c3BDcqIwQOQtZOyf5mlt0e1Uvx/jbGNDXxyDBC8t5E+qtq6YjmlFIvHyoQ0eF3zpZDKrKrHS9AqTEgBN0TYYtgkvrw3750EnfztmutWrsco2IwIddi4wIyfxS4WS9WlesQfZF0N2miIkiJU09emZHeUwb+m/HpydUIAG3ZBDlYqCCgBFr+wQx11Q0p/n3pPttb8rX07AkMzPk+qvcCgzMDs76CNW/YVfcK5qejnjnPb8dA3Ed4jS4zJVbz2tsODZcU5dkMYq7gUHAp+eHvQv3d49WLPKDIbSB1qBjnR+VmAXdN9mvbwbe39YGnoPZPqiDlD3W70t6+JeIrQ3Fgf15VZ3SE0ao7o52B3ur9SMSF0YABbJDhF0eqFi 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)(38350700005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?zcn20mfFEJsBZ0D8hX6VNYwY316h?= =?utf-8?q?//0NrV1RB4IXFjF1W4q9WbSnCn0CKV+ciosGrsszS8b+WDajTRen/FFmPg6Z2UayV?= =?utf-8?q?d09mMNVepxZX4/t5jYWBecKjS2zHjt90G9G5jUO5cVugStRtd/OlEptfzd46PC/sJ?= =?utf-8?q?XFNHtWN4PO8mhj0tGx9Uj8VeP0kJnUcC7pVdJ/U3684mugfxZc5kzY7G3gpsUTH1F?= =?utf-8?q?XlgJtf0+h/sRWfCglgBrJ4kZFw8oP7d6kT64wWA53QXH3ewH35vl9ec7AplX/4Y0V?= =?utf-8?q?KW2X1yC1r1cJlc6tN2q0Jwm7cO6yMsRVjv6J3dqccVOlhG5vZDWU/bQezmL/zZDQN?= =?utf-8?q?mJe4veKXFm08ltCTErfOSGvUgpQNAIx95YojFgPxoHJCTFJ1rNrxZTgborRigDFd1?= =?utf-8?q?VBiDKxWVjfxfaG1Jf+uKHwrT2OYfo7v6Tz73e+hM9fkcjQTN8nZWC+PtuOkLv7uVn?= =?utf-8?q?+gtdY+CkpBie80RGZsSVN5zmsz/vOesXs55SN5RuUfvoRAMRRlxCv5YO+rWsbxEir?= =?utf-8?q?yBHfJhgDSkXNP2B39drItMysMZGG4uLqDIqYm6Oi4yvM1AiBBhqHVW1i+R0li1BXN?= =?utf-8?q?xPG8rBAKg9FbqMJf7JRCXYTZyiYLha48wuARhbzzMWTuwd3kPs7jhejehnD46Kf/J?= =?utf-8?q?ecY9JBdEG+6RzLC5n66trzd3ayfS1bkrHtGAWPdVJLJdEDWcCz+DLgbhgaCYjzJXA?= =?utf-8?q?cpn5JT+eyo+aSYtxMRKNjMlmeBgNvQXgtx0Nszs2eWLOJbFlx6Oce4HYJG/Y5GR7Q?= =?utf-8?q?L3CAt/VMpnY+vlt9sVlfoWyK2a4jDappMq7bRdJqVmXvwXcaRofPhAC6xuxkSO8WD?= =?utf-8?q?ManZQyJZdGgnc1CnPbYrxje2U5A0Jd5Az18QjfWS5bj75qG82iyrF9sUQfolrjXkw?= =?utf-8?q?B7+jQDHgX4XJDvoXoF/W5x0N0ZdyuEIxxFP6oyrUEbkWTuYQjZrxvacCzfX9JT9BU?= =?utf-8?q?4FU6t3EHNXsopUH2VLgMYsTeMI+5P8HXC+HnrzLrPfPH3xGu063212G+eA4LRV1yC?= =?utf-8?q?B6FXLZuFNp8s4TYi0sPUkDygWUWVymDM7vKnDcHtLnL+LPYJvXvqk0mX4VlnjX4Tp?= =?utf-8?q?1kB9n61Ue211AfINa7u+qV/C2CctmDUenB+DlC1zxCad+Aw9Rf/DDmqc2CCztc+Os?= =?utf-8?q?IZM4dkDcTI+TSBUpoc25ZB+Vg2rsCJSZHkEzFzyQi3x0hL7KZlUnsB5hX1xXpSxlk?= =?utf-8?q?oskZnepGUSj09NggJyiV01GocZZZzLnkXdhrOXEEGcc+OkiLRGd/MDkne53PfdvIg?= =?utf-8?q?iDuDfRtwgL1sYhYHRX6YQz9HQz6oPmUN0aEUH5B1IMREPHTBeBA+9+iKEKBoUEv4Y?= =?utf-8?q?t2+JLidfdUsM+PdLilvNqN7bhwYitRC54l1K05QODfjc2U5Nuojp/4BjINzpWw1h0?= =?utf-8?q?RZ04nKO6GYjdRBS5u19J81MsFMdC1ZPksUtWlEtG9HoYM7SjqeUY3+QNaYdGNWDGh?= =?utf-8?q?xtipLd9jMDyPZCWWUG5plapZc2kVzy9BlxEjvh5o3D0LmuOX0JBFTQk90Xj/z6g5U?= =?utf-8?q?nOIfBEtiKZrd?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: 56fa2c54-e816-456c-e586-08dc315bf645 X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB7586.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Feb 2024 15:03:42.4318 (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: TYVPPnVHLXfL46Qfb7JXV+US5WY71td14axhY9wxcAkKQnjVykdkx6xZH8SMWpRQSKm6e4kBuxcT0qzguyErWg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB8431 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240219_070354_031439_2AEFFFD2 X-CRM114-Status: UNSURE ( 7.11 ) 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 c6506bccfe88..0233a8b0b6fc 100644 --- a/Documentation/devicetree/bindings/arm/ti/k3.yaml +++ b/Documentation/devicetree/bindings/arm/ti/k3.yaml @@ -87,6 +87,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 Mon Feb 19 15:03:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 13562819 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 60CC6C48BF8 for ; Mon, 19 Feb 2024 15:04:14 +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=eH4KWCbfa8D19fVKg/4ky7TgHtySYLlcxJk5XAU5p7Y=; b=PdLIdHi+QmQFjQ ivIMR53ZGIvLhUmoVS6HDscwJ/SWW1PaUA80s56uxaxpmMyOp9HeoGiA4K6xc8rS1h4NcUtmI0F7x NGTu+tgfbb5YXhV8lb8ksymvKdmfowM4u8Epd3njpGjvvv0hbfCaaQ1wGJyUR/hxHuOJgrn+FI19Q p5Au1pHbDX5jxmNGO6zIIys874KEcEf86/AmmyzTFdkwge7EsFssEOnLjQwQDt99ePtg17rcLb1RX bQEx0f0LuuU8OtsdYLzzZHxkx9lg9zsCvRyf2UbMTrQg2eLky5Cga/AJwo3YaVG2ePl2EsJ5vMLcw lNw7hv1qMkoFmwAHo+QA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rc5BZ-0000000AzUG-3JV8; Mon, 19 Feb 2024 15:04:01 +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 1rc5BT-0000000AzPf-2du9 for linux-arm-kernel@lists.infradead.org; Mon, 19 Feb 2024 15:03:56 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nC4/ei9bxTeXj2tsNtmUzkx6yzZa+NsGp4Ygutnn8hQzsU29PIOl6eOh2dmXmyg1aOHH1EWNt+RpkHjB25RNQb1SvFhgLpG3cnFKTR/YpNBNYQ+354RheM2bVh3fghmOpVq6hNOWrkXlg3acwcXdpBChWqNOf1zDNf4/roUMRVLIon8jlAn43a0GdtZ35NBdTEabxzb/HdQO0GSGCa68X3t5klrdD7QHGESapzqociWwu79TLclD3zfyuPp8hxM0rj8o5qYySm6n6eJc9iOnOBoe0IrGrZEffExiuCnYxftZJtRtAf/A0JbsmOwRKu73islTeSL3xCcyjjG+EYnVVw== 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=MfPS2lRGdbZjmZYgpFzRBxBvjVvEdGtlPClZeNFE1lA=; b=C451VIAF6hr5pXNNC6j5eVUxQUbDVTGN9yex+suQWwiyq5vg2ZbCIxTWlgOp+X3q0rNk2+rD5HwG43NtANp2KXvC+iS3PzLoHs2YLgMpMOduxtMBUqwzixhRoNsUFASSeSahrKwr3dGqtHD9XnVMe9wKAcZnzJgOKqQp/NlUaAk1UhWjqkCld2/eB3hkH5JYuk6gWwownKW8aiD2rZ7UI4LlpyHk7HxwiSLNtEzpyO7j62OW+b35RHjJIr15OtOLzXyW/cigx3l8l2dtUqHbC3FnWZbmsrAbo4RD9jXIul4su6aAR359V9XKzMY8ytvrHmcTsX0mtxLVTMVoX0sKaw== 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=MfPS2lRGdbZjmZYgpFzRBxBvjVvEdGtlPClZeNFE1lA=; b=UYksGwUwxA8GtfZG9u5rKXTgIgX3xE7tOKqDDYqSD827aFPShJUdeLC6OV4WwLO2m3EpXsnjNJpdzBhbP7inFZ3skitELNodencIaxFWLaJqK+P6mzE0hZCnEfjXHWs8tYzc8SF9+qbc1nYUusIMFO962hDGPwmpnzXPMOH3vXs= 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 DB9PR04MB8431.eurprd04.prod.outlook.com (2603:10a6:10:24e::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.39; Mon, 19 Feb 2024 15:03:44 +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.7292.036; Mon, 19 Feb 2024 15:03:44 +0000 From: Josua Mayer Date: Mon, 19 Feb 2024 16:03:01 +0100 Subject: [PATCH v7 2/4] arm64: dts: ti: k3-am64-main: Add ICSSG IEP nodes Message-Id: <20240219-add-am64-som-v7-2-0e6e95b0a05d@solid-run.com> References: <20240219-add-am64-som-v7-0-0e6e95b0a05d@solid-run.com> In-Reply-To: <20240219-add-am64-som-v7-0-0e6e95b0a05d@solid-run.com> To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley X-Mailer: b4 0.13.0 X-ClientProxiedBy: TL2P290CA0016.ISRP290.PROD.OUTLOOK.COM (2603:1096:950:3::18) To AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR04MB7586:EE_|DB9PR04MB8431:EE_ X-MS-Office365-Filtering-Correlation-Id: aa1de987-ca63-4567-ca27-08dc315bf78a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: y9rMSLjioZYiwqE32Kdm2w7zDLXRzfUUf5QmTZtXuRf2a2PFQntqwN4RcarJMQLGNh/6DHOTZp9hm/dfhS+NlhvELrpmARJFRdVJR5GG5Fe765hwP17bGogEcYXiQ1R9hPGPXy7B1vDPMQj5e6aMhUQ4ZmJSkJUf4CoUk0Zusuy5UnT80C4PglIG76eUJkGpWEKChdokXdme+H6eMJ8TyJpuAzyDZF3e1HaRU/BaBFqUiztFoVVUNtBQRcD7JW64MX3KuE2iFXnsghqSk9DCuMy7W4wIcRjSQt0pKaIr3v/j15mGpAA030+lthMBHNUHonzCA+9DiAZnlmlGer1LOKDBwEqIBrK8vjHSU0Itl/EVO9Lqt+Q7WVOdBCMhJoReNcGOkQ+nJwQ4R33m9VxM3K17ffOTBLdU5Mb6iV7ME6W7Q6xg2iFUL4hZ9co1sTyLUeKqYUET4uad1Apbj042R0ya6BvVOCfSDFB8eUiDODU8tWrWrW06ef9d4LDztrfYEywmMfh9/Vz/V/Lt/+qhMdRgpfylhAVroRy3578/L9XzA4OHfgt9DgUXZrCSI7srXVneS9XXhJSqUZnFF4CpOMlJsApLNhBMHJUpi41WO7ds3dRSZWaol6246eQSsPN0 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)(38350700005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?XiVQGokhhp7E6QCO03PSRCbHR+TK?= =?utf-8?q?dyb6BO5CEdQiG5N/r8qOYhjKuLFsVCrYWrtToyokkRymZj+tAdpZnlm1ZbhxjFPPL?= =?utf-8?q?kf1kWQ5BWWiCh7Xe1+aFluJnvwRap6EUCWmFrflMRXnMRSLKuiVwHcwo2vPx1nZ1g?= =?utf-8?q?wTeroNeLovk2PPqw4BGRBnQ0aIKJxONC6ONz7NF7E6TzxvtaFBM6wE8WHUOSaAtX0?= =?utf-8?q?mULbkkYrPImdcFVijKOhGNnl8SiPEw9/ewSrmj7y7BsNPKc1haxZUsmPMFVrjhWiQ?= =?utf-8?q?z2mfFRQrWQk8Rzdm9DAWj+etzjadfz2gj5WY/wGmwSwfRkDBm7Sj++TwHNTtNskAI?= =?utf-8?q?c9SkNxIZ5iCcrBFgmHkOr4qbHg6tTuuL3s+Oca/Bek/ABGV4C49DjObPBqXHpqTuN?= =?utf-8?q?cHavBKrg1Plw3+PUe4rd6Y86Yrbv0gv7OoDIVIZNj1I4yPLHX0iaUVQ7MjtHgD0ZN?= =?utf-8?q?BAEqye8V49OcZLgNU8wjZYCe9EqNWwO9nBWx1nYsZb1s+Qs/QbeeU/PvJoKbo6eoN?= =?utf-8?q?OKjAqrlQ9yn0ciE1sLbC3dj2u+xy0OdfX3+6Iyfb9IVmT2sLfeHja0dHuciDrIYKj?= =?utf-8?q?TAX1wUFVx8dJZhe1CLc/CaubnMPlQeosBxMHUIoClnCgcel8lZkwwxz+Kt9q31ddU?= =?utf-8?q?fvYKApf7jarSgXQp+/vqq3osdoveYfJGz+AQH9Q+wdCfxGNFv06e3bcxtaBJTIvw4?= =?utf-8?q?1+QFrXMN+jAUFoKGLbuw27cW8cHCSYAHn7BS/JKocX/d+9IyLP829cJkGUYN0A4r2?= =?utf-8?q?we77/9ad8mMKUQyhwlLIyYs+CWYqgpoAetg80hBorbTs99AiaKVteZT7igqMw45jQ?= =?utf-8?q?3XqUu3GyzzAdw+d7rR3JKwh1AzzGMLtvBi/y6lLq+9g1yiXHPexf9WaQVKpN+si0J?= =?utf-8?q?cyoezFj6dZ/jbk2U91322yKHHMrzh5uOK/zJ+TNF/HaeQb7ibPi80lOUS4yIq14+y?= =?utf-8?q?Hj/vihChpR8Zi05Hvaii6llQtDrup5lDDCT5+g49fppXRc7dYu3Nbcefar85a84vs?= =?utf-8?q?NbyISM+EnbGnI97VR4ps6QRkL09Syg3Fs6vfHlama0ovt0GuGZF1t3HCbgoFsMRTa?= =?utf-8?q?TbwWYpCeuCiuum03DnfeJ58nrJgB4S6hJo6RxVEeXE+3WE6jPLexn/PPJJEknqEl6?= =?utf-8?q?3fMu98UqIahTZ9NoSODe1ySmrxT3/9j5mSQ2dNd68AB4646nT6h/Or8FYaqu/Rfqv?= =?utf-8?q?44BsWEUQorlnM/r3YYnoU3LIm+NcWdcuFzvYRpXZr1v/SkxP+nStple+O7JUZCavm?= =?utf-8?q?mpRoYYQGiX3VhsZxl4JaX5hewdE7FZ6UpkyN+M65xV77NuTsTOJIUL8Vzx6eh9M2X?= =?utf-8?q?UuyOYJPs+plX2vRsKWckX8dN2+e/mUxsmjFIcL6JsokcKZRxWUSRmrxjszasirYLM?= =?utf-8?q?pq0XubKYH+Y/ck/8qGo3lSDg6IzMLg7oaXr4iJPR0X4MtaabtuLc3rBqhwzEINWEd?= =?utf-8?q?M5C9bl5zkyco980ozbhnJFNNPhkhSByRfwFM5p2sm95Ly/wTOjCtnXWws2VbGjE6T?= =?utf-8?q?R7L96cRgAFh6?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: aa1de987-ca63-4567-ca27-08dc315bf78a X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB7586.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Feb 2024 15:03:44.5260 (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: x2r3fCrEu10LgxJoCRzpEOvjtgKVnEGB+QzVlXi8LMvS4wM0rfSnaMd6JWpWgsgVBNNqGygKNf9dA5JhFcczuQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB8431 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240219_070355_721490_3249319B X-CRM114-Status: UNSURE ( 9.36 ) 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: , Cc: 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 e348114f42e0..9d2dad8ae8df 100644 --- a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi @@ -1244,6 +1244,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>; @@ -1385,6 +1397,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 Mon Feb 19 15:03:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 13562823 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 EB878C48BC3 for ; Mon, 19 Feb 2024 15:04:34 +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=L3EOIoqcAeb9nSpk41ZWG4kcLtC7p4Sa36E/sc8nkKE=; b=PAHChnOCqDvNAYCyPJTlmwYsuH aAWAjNk/TagRhyiwD3joTaCAsigONM09uqBRrjCu3UihFWg+/ZCeg8XkML4/Nt2ZdW3zX+3pdz3AQ uTYOZR0TVkBMJ6k5iIWf0Sml0QlP7maEvTQlTbfMEQLiS1uN/Ld3v4dPa9wkwSALK6pL348Xr33U5 QTN3aosDqPStLPuN4THtOkSuqgtzQ+6zWxZnRy4q9nDZOTEN/WIIG50sYwNaKO/pQFxJwKYMQ0P6I ayDqTHNhYtsxd3nOD+gRoMXh0c27doQqcYlQqvMh0q2EXVjpkjg5XnkvAi4HC/m/vkoGOlyFLS54g jR4P8iLA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rc5Bn-0000000Azcu-27fi; Mon, 19 Feb 2024 15:04:15 +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 1rc5BV-0000000AzPf-1PgK for linux-arm-kernel@lists.infradead.org; Mon, 19 Feb 2024 15:03:59 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OWxz6mipBY8FYKGnbuXdHLsMecoJKSI8ExWGV3sV2tpi2WCdq/soQnIobgQ6YAIPiT2fLwqY+tqJoDXYBm6igknJxLr1kijW8h7KD9moC4oZOd5NneIePbe22hQVt0WcoBajQuZC1zVQSbkeLRWIpqGushgr2njj6i2FAuJw03FiHQ+9ICUUzLWzeWw0ed8x+7c+EA0ZADDw8OXRKTeVCbykNzbckRA04c0HFrgvy1EMuX35o20GiC1PQvRRYL+6tyKazFagsmiNbMZRQM5Q20OTTtRnMTDY4I7xSszyzI41a6uCvdKdt3obl06IFol3kL5i1rvbQ/0ARd3gZ1ywig== 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=rqV3jsVhpUcT1f5kpUjJ7BvVT6gZfARPAtp9a2c4V6A=; b=IW3pjLQP9Lpl/Pz8qWxLLc7q48tGUuMczdmulrU9UpSHRFEOnIvbgrj//nhp2nVXRiKwy4rLX5rrBxXeA2sQgb5Y1hSt1g5edzwPGolE0yTw/ErKNXnc4eOBy4RtdQs5ZwPVFcUU6B5WMKUbD0Hl57EOs6il3m8qi3e4YzhztpQiufihQAuvzPfiu7CiviYTCrGLWMlnabNz+KH8a0qseednpDF11vJDYEMtq9nRdDXukj7duaQ2yblqKoc9Xvx1ge8UvgP5NfiTqI6G9ivXlhYSZokxdQ8K5nqPp8F3/l4JBwRkV7l4Zt0ww+KxZ+5xDBas7qIElFSjL+VAa1gJZg== 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=rqV3jsVhpUcT1f5kpUjJ7BvVT6gZfARPAtp9a2c4V6A=; b=OcuEaVKOlgzPBW3aR0JKYby1fUD8/ODI9QYj6ZxoUi0ZAIdiuWf3Wir2IEuEU7UplgW7ajMyOcQb9TMm8wO5PEUYqfUaMeDoTKl+SM88tLvqnsOCCs8vaMZDPsaynOjSTOUrPEQk6THhmI1wCXxCcMUih1HMx9We5VpseXvD55k= 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 DB9PR04MB8431.eurprd04.prod.outlook.com (2603:10a6:10:24e::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.39; Mon, 19 Feb 2024 15:03:46 +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.7292.036; Mon, 19 Feb 2024 15:03:46 +0000 From: Josua Mayer Date: Mon, 19 Feb 2024 16:03:02 +0100 Subject: [PATCH v7 3/4] arm64: dts: add description for solidrun am642 som and evaluation board Message-Id: <20240219-add-am64-som-v7-3-0e6e95b0a05d@solid-run.com> References: <20240219-add-am64-som-v7-0-0e6e95b0a05d@solid-run.com> In-Reply-To: <20240219-add-am64-som-v7-0-0e6e95b0a05d@solid-run.com> To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Yazan Shhady , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Josua Mayer X-Mailer: b4 0.13.0 X-ClientProxiedBy: TL2P290CA0016.ISRP290.PROD.OUTLOOK.COM (2603:1096:950:3::18) To AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR04MB7586:EE_|DB9PR04MB8431:EE_ X-MS-Office365-Filtering-Correlation-Id: 19ef8921-647d-4084-2995-08dc315bf8a0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: AVsnvIg89j4zBoiTpSmrTdqcvLhdOooUeUfH2bka1NSHno4YaYMfgarVDnMcLp+hp7XQ7OBWLt9JLKIMTo/8BzG+ByJYWm1dMfSa7TUmCNT62RzfoBY/9SyR7pC1hObqoMFpSkCs1q3x09TLOnDnRk/Q21H/MqR/TNz97V8fb3x15nHZhKfDmc7d85D7em2v/Bty3z9k8EAPpzUch/wbBQMpC7eOb+x1hNDO/m+zHgsli48dd+njbgP12PszOAdq4BuvamcRoGDvwKfqk37sNPtPjjd8JuVamPIh7IbbDNUnc8Ne/RPNFmoTX8Po6gPsRiuY630K1SSMnhWHoV6kCbRekQ0UlHyhCZ4qJEcV6QhcbUsawQ8qtt3iipy+JpZBnrg8pI7SfHknOUvIPGyltTFKHfX9lpVTEP6pWkRbRlFWnPhBOMUlH6E7nAt154B45QYie4SeOttnO3KI4an7NDY4cbWGWGCinN8D30O318E2gesuhPOVvv6KmLrGpYfSxT61vewP/OffcSPNYUC5tLszwIWhdNQEKy/gUR7iXlJ38kl15FbQ0BqxBmS+uHDaZe/5devsFm49/fD2mWvhqYvP1PTqOI4HNtV52w4Ws976/FevZL69jg6CRsS55F9E 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)(230273577357003)(38350700005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?r3pauYbNzt9UPPaOjyvQDVCsYQmg?= =?utf-8?q?ZgmZcx3wDOa8/+rKFfUT/bzz4haAZTjOHuVf/zWTlkiCnJF/3eHbH5Ziu498bApdE?= =?utf-8?q?fwIiVVIoRuSxRUfw6uChzTECR0do0MvODLSkpm1/TUQIUU9M6tIMTPDzm3bsyi+GE?= =?utf-8?q?dJD9W3VObi2XkaN2le0EQWo0gC6f61zKScqBCA//vEx7qWlrvWvFIxRvxIDzkZuuQ?= =?utf-8?q?xHQSeTLYOVKQ8mT4GemjcOilx9ASp9Ol69TtQpGmv4LmW6fsR45jNKh7bNI1kd4ep?= =?utf-8?q?9UU5CElOaQeCXhB3WYuW4s5KU94kSaQp0AE2857+GuDxe42AAJiyF0DAmveS0HCZe?= =?utf-8?q?GDDm9jXOsWAfba/AE18HK/oMtlJEpkYV2i6WYewP+Zob89/bu7JDWlyQdngsn5oJG?= =?utf-8?q?EKOMIuTdRnbbW4+xsLIw0sMZt0iesCyvQ+yc2w9/ADqKJq2Bpz2Hb3AXxF7FPlvAk?= =?utf-8?q?dySDcgZmjbPDvA97IDkl3cp5F4wXMd2uQ0ZNJnhAiAddFrm9Y6/ndJ+hGiy+CDh2C?= =?utf-8?q?zthesPfhPJgj8Y/Dr2kiQtrFM/WCaSow/XWkxdsz0VMsJPFaPBNYnw3MQM98zmwZ/?= =?utf-8?q?LyYERsaP+pmYLq4/NB0d7JKKpplHVRQdapUzQAJ4hMrhyPpLnxWj/mmQ8zrcBoqpp?= =?utf-8?q?+DVyABzj9r29Lw3HuRL7BIFVmeiqJCGG6+4A6+SsvjySoyvryW34VrGkIE5wFeL23?= =?utf-8?q?QcYPgj779ZVR1owVcO8p9qz6G6dY/fYPrgiKv2z3r0gURn7pVIE/fj6Bag87xSEe+?= =?utf-8?q?1wg5hNZ65UGXTvzMsgIPbT27w8ykpjsNGQSzH+3qMrxSeVM/BhivlXa/9KWV/Xgvu?= =?utf-8?q?+VlN23zf2J8BOVzxRQ27/CKI31VUyWLH2f4LZ/mSqYJorLNJ2ihIiyUtUo9mBkCAS?= =?utf-8?q?f/M90IkyphXN3aYF8rQAVBc2D08GhHUIVHtANHGfJo+J89FQ/uFriMa1ivoYbJ3wz?= =?utf-8?q?DdjJIXHfV2UpH8EOgfArew43Ny8MdL5Yg+eM18zSnue/68m+ZeO1xufIdrUnj3tj2?= =?utf-8?q?7kpqD1SiSBYr1orPiC+AuKb34ID2yBBF1hjyPhFpQ4sBfuoIFcZrjuF/oc9KbYxJx?= =?utf-8?q?iPuCCWTA+I9AttgMkgyWAJ/kfl+IRWX1VjW6zX/dN1QH2x9phWgIhvNmejxpemlwt?= =?utf-8?q?zDFvtH2gynYKr+l/yXb8jCRE/BfnkXeK7lMgmQFx9N5jOVSMiNFdlJgefovNAtTu8?= =?utf-8?q?5JzhhM7nUDm9rSoHrS1+3loxPsnf92L2oibKhZwa2DW2RQMal7M9VQHzaY+XDnXV5?= =?utf-8?q?4yMjCi9PwsVtrLPtTee3TgixMxytJS7MoP28p+JEYANLRTUXkWEQLcnjaTFNCi8nm?= =?utf-8?q?7Xa612IN3ZBf42cg1ACkPSRNS2O6i1bw0n5kTXE5H++l//mpe+NX9PNCqOePazDuC?= =?utf-8?q?npaY2nRTFfB5PDJypzns9zb/nc91hDdNdUqXH5f/Zw/wVoj6fEilakI/dci9w08O9?= =?utf-8?q?e0ifM78PbqUZZEeRIFgsfx6ooUEyQuwptgCwT+LLHOfVHUBbyXMF2eq9LMG5g7f0q?= =?utf-8?q?oH6rk2dklHPl?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: 19ef8921-647d-4084-2995-08dc315bf8a0 X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB7586.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Feb 2024 15:03:46.3512 (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: NYcyyvJVk1g4BPnOQIgEI9m6FmA6dmkuYgcgDIYqnRorBu1WjBju5pcTUr+0xnhgPJjBoopzhbDP0FG7GSu30A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB8431 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240219_070357_613750_817895EE X-CRM114-Status: GOOD ( 14.15 ) 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 | 594 +++++++++++++++++++++ 3 files changed, 887 insertions(+) diff --git a/arch/arm64/boot/dts/ti/Makefile b/arch/arm64/boot/dts/ti/Makefile index 52c1dc910308..bd73ce06acba 100644 --- a/arch/arm64/boot/dts/ti/Makefile +++ b/arch/arm64/boot/dts/ti/Makefile @@ -38,6 +38,7 @@ dtb-$(CONFIG_ARCH_K3) += k3-am62x-sk-hdmi-audio.dtbo # 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..234d76e4e944 --- /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_default_pins>; + + /* 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_default_pins>; + 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_default_pins>; + 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_default_pins>; + #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_default_pins>, <&main_i2c0_int_default_pins>; + + 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_default_pins>; + status = "okay"; + + rtc@69 { + compatible = "abracon,abx80x"; + reg = <0x69>; + pinctrl-names = "default"; + pinctrl-0 = <&rtc_int_default_pins>; + 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_default_pins>; + status = "okay"; + + can-transceiver { + max-bitrate = <8000000>; + }; +}; + +&main_mcan1 { + pinctrl-names = "default"; + pinctrl-0 = <&main_mcan1_default_pins>; + status = "okay"; + + can-transceiver { + max-bitrate = <8000000>; + }; +}; + +&main_pmx0 { + leds_default_pins: leds-default-pins { + 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_default_pins: main-i2c0-int-default-pins { + pinctrl-single,pins = < + /* external pull-up on Carrier */ + AM64X_IOPAD(0x0098, PIN_INPUT, 7) /* GPMC0_WAIT0.GPIO0_37 */ + >; + }; + + main_i2c1_default_pins: main-i2c1-default-pins { + 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_default_pins: main-mcan0-default-pins { + 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_default_pins: main-mcan1-default-pins { + 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_default_pins: main-uart3-default-pins { + 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_default_pins: pcie0-default-pins { + 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_default_pins: regulator-pcie-3v3-default-pins { + pinctrl-single,pins = < + AM64X_IOPAD(0x01a4, PIN_OUTPUT, 7) /* PRG0_PRU0_GPO17.GPIO1_17 */ + >; + }; + + regulator_vpp_1v8_default_pins: regulator-vpp-1v8-default-pins { + pinctrl-single,pins = < + AM64X_IOPAD(0x029c, PIN_OUTPUT, 7) /* MMC1_SDWP.GPIO1_78 */ + >; + }; + + rtc_int_default_pins: rtc-int-default-pins { + pinctrl-single,pins = < + /* external pull-up on Carrier */ + AM64X_IOPAD(0x00b4, PIN_INPUT, 7) /* GPMC0_CSn3.GPIO0_44 */ + >; + }; + + serdes_mux_default_pins: serdes-mux-default-pins { + 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_default_pins>; + 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..c19d0b8bbf0f --- /dev/null +++ b/arch/arm64/boot/dts/ti/k3-am642-sr-som.dtsi @@ -0,0 +1,594 @@ +// 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_default_pins>, <&pru_rgmii2_default_pins>; + + 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_default_pins>; +}; + +&cpsw3g_mdio { + pinctrl-names = "default"; + pinctrl-0 = <&mdio0_default_pins>; + status = "okay"; + + ethernet_phy0: ethernet-phy@0 { + compatible = "ethernet-phy-id2000.a0f1"; + reg = <0>; + pinctrl-names = "default"; + pinctrl-0 = <ðernet_phy0_default_pins>; + 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_default_pins>; + status = "okay"; + + ethernet_phy1: ethernet-phy@3 { + compatible = "ethernet-phy-id2000.a0f1"; + reg = <3>; + pinctrl-names = "default"; + pinctrl-0 = <ðernet_phy1_default_pins>; + 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_default_pins>; + 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_default_pins>; + 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_default_pins>; + + ethernet_phy_default_pins: ethernet-phy-default-pins { + pinctrl-single,pins = < + /* interrupt / power-down, external pull-up on SoM */ + AM64X_IOPAD(0x0278, PIN_INPUT, 7) /* EXTINTn.GPIO1_70 */ + >; + }; + + ethernet_phy0_default_pins: ethernet-phy0-default-pins { + 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_default_pins: ethernet-phy1-default-pins { + 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_default_pins: ethernet-phy2-default-pins { + 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_default_pins: main-i2c0-default-pins { + 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_default_pins: main-mmc0-default-pins + * + * 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_default_pins: main-mmc1-default-pins { + 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_default_pins: main-uart0-default-pins { + pinctrl-single,pins = < + AM64X_IOPAD(0x0230, PIN_INPUT, 0) /* UART0_RXD.UART0_RXD */ + AM64X_IOPAD(0x0234, PIN_OUTPUT, 0) /* UART0_TXD.UART0_TXD */ + >; + }; + + mdio0_default_pins: mdio0-default-pins { + 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_default_pins: ospi0-default-pins { + 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_default_pins: ospi0-flash0-default-pins { + 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_default_pins: pru1-mdio0-default-pins { + 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_default_pins: pru-rgmii1-default-pins { + 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_default_pins: pru-rgmii2-default-pins { + 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_default_pins: rgmii1-default-pins { + 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_default_pins: usb0-default-pins { + 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_default_pins>; + status = "okay"; +}; + +&ospi0 { + pinctrl-names = "default"; + pinctrl-0 = <&ospi0_default_pins>; + num-cs = <1>; + status = "okay"; + + flash@0 { + compatible = "jedec,spi-nor"; + reg = <0>; + pinctrl-names = "default"; + pinctrl-0 = <&ospi0_flash0_default_pins>; + 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>; + status = "okay"; +}; + +/* + * microSD is on carrier - however since SoC can boot from it, + * configure it just in case. + */ +&sdhci1 { + pinctrl-names = "default"; + pinctrl-0 = <&main_mmc1_default_pins>; + bus-width = <4>; + ti,driver-strength-ohm = <50>; + disable-wp; + status = "okay"; +}; + +/* + * 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_default_pins>; + dr_mode = "otg"; + maximum-speed = "high-speed"; +}; + +&usbss0 { + ti,vbus-divider; + ti,usb2-only; +}; From patchwork Mon Feb 19 15:03:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 13562822 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 4C7CDC48BF8 for ; Mon, 19 Feb 2024 15:04: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=tcrhFAHeZ8Kh8nHoZSwAI3NQliFPIRRzvbVg2B8UoRE=; b=R9vWI57hX7g33cE0+CriFZCbH/ TfW6jbJvrms8gFaZQe9wE1fGzOz9ULu2xUiu4EWoHZiYWf/u9OacvAGoM+/GcJLT/E5MqR92QFL0Z 0z+/SSj9nd/sBFrJhdkx6uzV898nIJ2XegI2zmEf7UtcURHYHiiKMI8UHEaLPHjv2pSKF7VuWIC2X l5C5Y6UmsOIllDJa4AfBaaU+cIbyT1tUa0t11pZ4JBYKKAC1pnk/iyTUdsfGrEGmHApTMPw8/z8y2 r/rixQxtZj3ea6ecIpXSTGWQNGD2JXLSKTNPSqZRtNd94/H5/2eCfhJi+Mxkdg/exISCiA7IqiwFV B3xA8lPA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rc5Bo-0000000Azdh-1ZyG; Mon, 19 Feb 2024 15:04:16 +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 1rc5BY-0000000AzPf-0wuK for linux-arm-kernel@lists.infradead.org; Mon, 19 Feb 2024 15:04:01 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=es+tigZ+7+n/1tS/+5LqfDOcP7+CINtEx65Cq9nXzGhfgtZWkNel9sfBmF7Fwofam4C3jMO5XR7ZfnrssBV+HTE+r8YqV0pr4lXAy37VVBfkKk965JuqPDN8bd12Ivqanf5dyY64Dhw7LfGK/W6RnACcrmWc0FoXSD4QZfVVSAQXfCOv4CZoxw5YFjI2OVPT6ipYd3jI6p9qg6ZaX1HWo+0bl4oDEuyOroHKflHN60OJ3tnvQIq/wn4lzZo23PXwcBeYkYS+qY58uiyD4VAAvHuHeDzE0hAPxXI2HMxLtvQa713112EZh53N89f8Z7iIFxn854z05+oJzLv9T+W3/g== 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=M49RPVQDRuY+V2FKFZi99jgURfuAsNCh4dhWzC7A7ko=; b=eBAfI3Ch/qzQZ4bRMZElwzcCZySb1z0LuX3HVB/c8xuSSatwmsCbUxWierNQiy2LXjlj2gJPzV3ZQ0fwU7rNe7t2m2l2y9hamhngwOn8ip7QRKDyLflYfRBb6S6o+GdopRI/yv69eoEbEzB+jdhlstfsS/7PAjSqykYbJwQ3846p0rIRMQaQpYWjjOz90EQpn/MYNzsBr6y5vB8MCkesLxqAINofdpQuNdHNjnwgMFUCDhxH8It9T8cEUz9k57un+s+gQOa4FoXe610pz0RZsGRSscdgOIwqLwEdkFEp9jwXweZycK47W6UkcVGLq8FHZfnUCkYbAcF+Z2S5If1Zxw== 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=M49RPVQDRuY+V2FKFZi99jgURfuAsNCh4dhWzC7A7ko=; b=Q2+aSMMNDRl3xLjbJ4fAwDZibKc56jOMW+vlsfLMu8brU8aRRwp/Ryr+u+yRmfFSi91r3yb1CA1txan+oys07FZTcCR3R28CZmzM3QvBQELDXYU7TI4cVTUp3oSpQMJJVM9Jtd6i7mTmsek76j2flhge9KmtNIc0bpiYr6Z9HxY= 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 DB9PR04MB8431.eurprd04.prod.outlook.com (2603:10a6:10:24e::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.39; Mon, 19 Feb 2024 15:03:48 +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.7292.036; Mon, 19 Feb 2024 15:03:48 +0000 From: Josua Mayer Date: Mon, 19 Feb 2024 16:03:03 +0100 Subject: [PATCH v7 4/4] arm64: dts: ti: hummingboard-t: add overlays for m.2 pci-e and usb-3 Message-Id: <20240219-add-am64-som-v7-4-0e6e95b0a05d@solid-run.com> References: <20240219-add-am64-som-v7-0-0e6e95b0a05d@solid-run.com> In-Reply-To: <20240219-add-am64-som-v7-0-0e6e95b0a05d@solid-run.com> To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Yazan Shhady , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Josua Mayer X-Mailer: b4 0.13.0 X-ClientProxiedBy: TL2P290CA0016.ISRP290.PROD.OUTLOOK.COM (2603:1096:950:3::18) To AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR04MB7586:EE_|DB9PR04MB8431:EE_ X-MS-Office365-Filtering-Correlation-Id: e4e98fa8-a72d-4dbd-5f2e-08dc315bf9be X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: WAAxZ2L1/51t/eD9wgUg7X1qOBa+gbdpa/pmFiZXk6W49FJ40anjk4jE8zA+pa9LAGYSANarWeY4niuWvcCVIWBnueaCkKrU3AnNXvujLYUTnRL/vdQLiSmMW6YO/VOsGpCYSi/kaNz1/LgHluomIY3WyDXAoH0P/8b64JiSkbir2CICk/fKtneYxWAmFQ73Xza5icxHMPAUsoBUKxfZytFIaPqGDB9NxB0bnONcSKZQdbsJwvmoUu8D8YxRwl8qBwWkDOH3LsnAjMZvDKqqdRZajg2kTplL8+oURax7D2wUxDfHKHh0w7EAhCAk/pIWuW67B85EPehjZFK19+4B9Dstpz/1CqrCRkLxUM6ntRGQ5+AKpkfOxVAU5031g/8Tt+CVxT5ySL+YvGDIL25tTXqODwjgRutHpM31bhuU3YVgmX8Ub0Xl6ByaU9vEd7NcyQiJkU2FDcoR+dHP6jAQm+DtthWYXylmZEl1oCI99qByYnaCe0Zkz0SPndC4enwy9y/WvCGg+dSYWlXmQmjJsSz1qd7QaR4vyAyiePvw8lKDdYrUnW4NV1b6GZnY2MzQ9qkkPBWdZZXuZo7/VpF9OcQmF9Qx2KtDIWCau/Z5mYi1OU17iOrQoqlKsS1AgDjw 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)(38350700005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?4q+dXixkJU+e1V998r+yCKShz9Jq?= =?utf-8?q?KNOmg2jAhr+hiy8vTMLHByUabICSIq75Maw3uz/vciC+x97KnmLZ+3TPPmZDWp9Q5?= =?utf-8?q?7aIfsFNQfqNMmaYWy2m3wnaXqyZEcCG+1NdyVX3WfqU7k/qMtCVfyhqr4PH/zqAFD?= =?utf-8?q?VTgvKnoT5N9nqAff5dw4dnh3bJ1/ycmQOIxLFKNApUfedBFFen4h2GSMk54PDlvjp?= =?utf-8?q?mGYjv4lW3q/H+jBF3TxrFR6N05QnKqnAG/6RV9OAzMgUvJywJhKAUou1UE+DjXq9+?= =?utf-8?q?cJzdc6FDTmNuhyIQHa8gLsyNV9I8HiCEvONjhX9t+2TbbISEe2tW4uaV/nzqCFBoR?= =?utf-8?q?EPthWqHNzuGH3gL5cYI02YpcCoC6AdjXhVtmUMMSBC5LnPQJrtZPynJ0Cu8p0u9Ua?= =?utf-8?q?G4p8j/pxhhERu6rLS+HDKMTdsdG536Sezr6JeEKm4FxH8+RYzL/X04pZ+suHqWHMq?= =?utf-8?q?Q+rgQoqlMerfoRQulEcHAQt4QhTLlj+B9SJgAM7VEaB4Cm7TJ08QBBKQHteQqVjRT?= =?utf-8?q?P0w4giCnr9InL/MSws/UVsdCQ0PM+ZynM+w7KmbT/104pErb3iRLEc2za77DQirkR?= =?utf-8?q?b2IICGFI4UDyABEeyFC/IF7OnHKqjrZgLMRVJCF2x+CNcg64i0mi5uXB1RxtkFQaS?= =?utf-8?q?KxsC5t4rqa8yj29yOoOVlUwHrEmhIJilfn4lMGkX8KuKmSdWXhnZFMtLOnnbHKTz2?= =?utf-8?q?vn7TnTJEvE/X+5Pi07WURoV0/0+B+xgTNmYSbcaIdnjJwgHjf68CvakTKWIkpJMa+?= =?utf-8?q?//BsNpuvwbBjtUZtKq53XnJ3GtIK2BFHfj1FKZBKILM0o96Hso5V/ETbEC0ZEogWx?= =?utf-8?q?QFrnTgu4g4v1AZQQcJHCNnRbhjUYAEKoi2MqfNoz46bYCqKxKk2VBvDVPKNAESHJD?= =?utf-8?q?rJsmio9b3olmrHIQ3j0bw+Hhr46stMppb8Ryfe7vePXroXmwJBJ3MheFSAOA8lTkx?= =?utf-8?q?XO4GsYM6eXQ861OAWZOWWNzjcEHVsejdY61FMwWgYQsSc1aHMliR4PCMwSo6Ylc2V?= =?utf-8?q?vR+WGokVrYKRothq3Pka9x3lSnn6r8SSZS1Kt4iKmOecdU4vXhFvKOaPovFhXZgBg?= =?utf-8?q?SYUSA70SfMK0bGmkZIe2yodudbpAaPWPQkGfba4s2Tt4gFiZiXz5hazdSjGOihqww?= =?utf-8?q?P3RYgEhOxljyk2qGciPSE8PQspDfzSQkWeQgOFL7adulpwHRrVa/BqmoQxHhraQ7Z?= =?utf-8?q?+885ID+oD9YMCp6o2zXhGBe+7UIQnBg5293uHi8scZF3Vr4WPrJgNhfcIbIpMj7uW?= =?utf-8?q?wGb0us+DtLxQ47uWJwwdsVLPWjBe4dEL6bsei7aHyd9KX31Yd+Cc5/3Ux2+lh4UXS?= =?utf-8?q?qa1840PCNQPRiSLY+4zGuaMZU5+Rwc0EiIXZw6F40CZfd77dYRkEY5gFHsOJQL7I8?= =?utf-8?q?bWGT25zRDPJnZsDA9/nxxC7AIRxhfsvGNF0rb75NDGT3w8JE0LB8HTaQ/LQoeY+ub?= =?utf-8?q?QDTgXq/FhGRjBBuzFXPRm2qy2j2N+dRbvXMJ8PXQGMUsNWB79Ik7Bnp/Skj4kgm7j?= =?utf-8?q?VzBjDjq7nGsV?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: e4e98fa8-a72d-4dbd-5f2e-08dc315bf9be X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB7586.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Feb 2024 15:03:48.2539 (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: gCLN4Oz3WdxFj2PPbbGGWSoE6sXh2AgMHzSuYwixHqvaJp7HY5nBAZx8yKbrou76sonunYCXGwmvxcoSLB44GA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB8431 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240219_070400_309470_2D32EC8D X-CRM114-Status: GOOD ( 11.00 ) 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 bd73ce06acba..cd12720638c7 100644 --- a/arch/arm64/boot/dts/ti/Makefile +++ b/arch/arm64/boot/dts/ti/Makefile @@ -37,8 +37,14 @@ dtb-$(CONFIG_ARCH_K3) += k3-am62x-sk-csi2-imx219.dtbo dtb-$(CONFIG_ARCH_K3) += k3-am62x-sk-hdmi-audio.dtbo # 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..bd9a5caf20da --- /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_default_pins>; + 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"; +};