From patchwork Sun Feb 11 15:07:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 13552492 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 7F4EFC4829A for ; Sun, 11 Feb 2024 15:08:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Cc:To:In-Reply-To: References:Message-Id:Subject:Date:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=RLT7LPdYhh/y7No1gjeTXeJbo6ZI//zRyDs4unyRHa8=; b=WDRDkP3L/nH/i13ugs8fsPlhlD Ne6o+HBkadkJSN0ugKx4quBlbfq3jyY/MjHJV3oVX46XWlzV8OsjEQP/Cnv9p26rZjUgAKEp9Au3i EN0+vlAepcSzBlxhhn07zoDwX59Vu1D7koyA9e+EII5WXXAdo02rMHQbKy7LuwJLGoMBlbS5rLoc9 OGv3aF7PIjrcQSG6Nq2hs03L6vHddmDO9heX0oS+BtEGAK3csAAgcDvu4pztv1XlNo3xVQpLCRv5p tRV3mJ+EzA2Ru98V8wGj1yANJa4iDRNbCvshmA1augcyuS70cPBjW5dEYGP31FmL2Ruisk67ZY1PA XvHiN5og==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZBRA-00000002suh-0fGj; Sun, 11 Feb 2024 15:08:08 +0000 Received: from mail-am0eur02on20701.outbound.protection.outlook.com ([2a01:111:f403:2606::701] helo=EUR02-AM0-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZBR6-00000002stt-3gqx for linux-arm-kernel@lists.infradead.org; Sun, 11 Feb 2024 15:08:06 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kDVySquCHdk3av/l7FD4cBYEhi/fsCAr/gU5TFFnHXqOwLwK4ktjxlw/MZYJNda9HuneGkKARDEHpy2E5HwrMobwUbMvbL8Y5c0slJ6RVtfgClEsnTqjBB9l2+4KCNnhoRjNgIA23rMrGSWe9CWXUkw1ptmnSkcoF5105pll14QKIG6H7qyaYYK8q6O+3RhgXNeITo9lE/jttz5kkLQHECuse/aXkhktXWE/1IUL66Mv5mRpXojWQa/B+aX+KaFnz+3GepMgM8oMRyYj8W2U7R5XH4UxJTmCSFKpdDGssESoYfVaDpdwomS/9uM9C5wQh2Z3wWhltoNVBGcZcuZA/Q== 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=FXtXRgzXniMvNtxKwYrjsmNF53NL3zlSulBOL9POul0kZmEFyKuCP6U5SG4F1IXi33GPSov0IelBqIT12sjIhgH/o79lIRAeSPOGYKj3dTtguEIxAUNP5wDsV1HBNMHNHQiqnL+zwtGsAEKyiUxJ0YtpoFh/u2oXhrfX3lJsgmb30Ypx3V3MyL8TkivjHI0aZ2ANB8+TrbDhtrgYgXTsRdGeHq+VH1Rr3kSk7g6Q6S0ArM+S//PNs1+CfSgLK+4hJGPO/MuOY+Wz7jRHMWBxqOH2bwxmVWuIpFJVerukLQXlDto0aKrdfKrq5MxfKMi3jrDbD/NZ1XygiTkZk3zSpg== 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=JAdL1bIK1YMun6EZk7tnRRIHJ7ISI80UltOmoZqGhZ0AyVgB3n8cPXnO2XZRLdViteuyts3+mkqRaFe/J25UKMmicHFWrSfDyQqryF+WWl/D1kCId9dfFUWuDVox+8YVegSpm3cn1AjM437s0GnB659dpPRDATRtENhcCC0l1hc= 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 DU2PR04MB8725.eurprd04.prod.outlook.com (2603:10a6:10:2dc::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.39; Sun, 11 Feb 2024 15:07:58 +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.039; Sun, 11 Feb 2024 15:07:58 +0000 From: Josua Mayer Date: Sun, 11 Feb 2024 16:07:56 +0100 Subject: [PATCH v5 1/5] dt-bindings: arm: ti: Add bindings for SolidRun AM642 HummingBoard-T Message-Id: <20240211-add-am64-som-v5-1-790ed7121249@solid-run.com> References: <20240211-add-am64-som-v5-0-790ed7121249@solid-run.com> In-Reply-To: <20240211-add-am64-som-v5-0-790ed7121249@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: FR0P281CA0264.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:b5::19) To AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR04MB7586:EE_|DU2PR04MB8725:EE_ X-MS-Office365-Filtering-Correlation-Id: b12b61d5-c78d-4dec-333d-08dc2b133bba X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: AaXS4XAM4rv3roNS/onONJitgfXdKIVoJshkBm1G51CsELdfYLA9f56dZmIvws7Aq5o6ZZIYj2401OWV4eEsY+1kai0zvtCmQ5Q9pzHpDj1cGL32drbX6ZvQjjon/Hueu61kC5ax1vkM90ZgoU4cs6IT0+axCZ1+g36LO5GztqYuWrt79anvaBws+auzimk3rC8br/Ctxx4jLXHXu90NqG0/wFDASTdqDci8H4DT3ctbS+o4+AI2/flLXpcSArQufAjhc+WUZcJCo7dgH8hUqiG+hfjspUTOaZpcxE0btX8gfkhaDXn/cgJXM0GJPFd0/kx2TRJHLi8yfEhCOCBjbXOmSPlCpMW9RR+UDlMKg/q4Uug1uO/Kfj9j1M5NRzljZ+43wmmm4mBVgJ+K73kftP7UFLvydjbBrsRVB+HLb6PbpK0WfYFcRlmLJtt9kxPrmLSHGN399lusn63vFoY5J06pXW1Gna/9PXw6ojZlhmXSqOkLtocJA+SnhIwUQLJya8bLJ+YObO3ZK/34FZhxL6B+aps7gUojSzfBUj4Uor8s+ySmpiB4z5LrINx9ZjihhrGee1vBPfZvnVxalVsU+fsUC6BGtoWcEj8zKGFlufFWasLN1/rZGhUQhgRPc6ng 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)(39830400003)(366004)(136003)(396003)(376002)(346002)(230922051799003)(64100799003)(451199024)(186009)(1800799012)(41300700001)(2616005)(316002)(36756003)(6512007)(6486002)(66476007)(66946007)(8676002)(54906003)(478600001)(52116002)(6506007)(66556008)(38350700005)(4326008)(8936002)(86362001)(38100700002)(110136005)(26005)(5660300002)(2906002)(4744005)(7416002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?8aVAM3lgd/7+kl6h5KIPhQ+h2pd5?= =?utf-8?q?ih4/35SHwYdV6gD1HQVLNh7cXtbKOLxbMnwlNsIaxJFvlINYmDtMPt5x8G55G7oz3?= =?utf-8?q?odJgd1WBJHJA3fWQI0u8N54S2lNM1IIJybjJ+svq7uVGvGcAYl8bTYXTRDPPts/pb?= =?utf-8?q?e0LdZe4h/FoePOHQLKcPn8gsozs9x/rU0TKUJlJkMsnk62d74ChgqJv4GK4PWyRFq?= =?utf-8?q?RzFWQ/dn25fARthWezPQTGeextOJTyePrlQrVIC8v1q3qbyrUhLASXezbQUj7wu/b?= =?utf-8?q?JPPKodEYwTiaFeiVu/gQ1LSHu17K8V0smL7VDuCcYtcEj6c/vw0APL129/w3hd9fi?= =?utf-8?q?v/9KPHjumwMTqxKqNbnUX0ekj1+asdZ4JsmBLrKdb3UHFc+OmI7Gc5I/AUgIAG5cC?= =?utf-8?q?7szBNErsUVbx1JZa05XyhyOpGpdVR+z+8V5GlDfWh1ezVBQUjmSwYJjPQeRT0oSnx?= =?utf-8?q?fa20ZQ5VOsGjyyXt0RRUXYnhcEK3AAMi/+slZRPZk6DCD0PUcO7e7N7ULaP6X46Zk?= =?utf-8?q?s+GdHBfO2Rou/e8uebgjglvls8LNPSoZ3DsvgmWUdPDh25QAdhyFv3NHzabQF2Hsm?= =?utf-8?q?A6YfZE4hp7RMZm3049+VizVEJ+8KpP+R7+3eX2/3KUtAARtU7dv1ZA5BnBf0ZPoHV?= =?utf-8?q?6nG7/wR1A+tEzeGvj3v1O7730gTGKuMwS5sV9btThjXd6Inc9Jn4sYwfhO/z2ejOu?= =?utf-8?q?0mkFgcpt5enXaLWH+68K91SZXyM4DLeQ3ek0aQ4q5qKyU7xBkV/X5sS8PRTTtSUPy?= =?utf-8?q?DRfQqzbqNCF0KLjtiWZd44718CXA1bUr0mQQi649O6mz5ewN51ZyNP/a7QGobq5D2?= =?utf-8?q?HgNZer67L/OqPDA3wCExDYvZqIvZlt+Gb9bRiKKgOv7rE2xExJm/C8h+Hbkqo6MQR?= =?utf-8?q?cMsHqPNjTcSE+BhbsoSWaee1fKJ6zef+n3pKAYohkjQhng1USIKjTZT4gQR/5P07f?= =?utf-8?q?4HQrrAjNOggD+bOlPfd/gC9+Tico8WBMQHgM7pn52gHfdZx4/xkvEOe64RyyGs4i2?= =?utf-8?q?Vdl1M+84m55oWAWoTSLp0Hdg1oa/O4Y9cCy12XxiDrHVYfGg/LX/SDyDb6UlYuHKx?= =?utf-8?q?He88sKadDnS8Yu62mE1bfsYVOcFt7geeaLWeM67VdXU1eZNquotlCuUf6SvUh6gSn?= =?utf-8?q?PFeehg0l7PTV4Ufj8ePYRY85i8SqJRO4KiyQ7AwVswJr7KIMQwjsUsAWdNNZPgaos?= =?utf-8?q?jLceHYbkjEt3LUebQ+asKs+UM5hb0nwSf7QqGa8frAKHIsznpjUEVdRNPUY8etFnn?= =?utf-8?q?1hlaiuugR0miAjVgQ3FvSQ0e3uXacrj+3BHopwCXoWSDKQDoEzNbXxSUebXwHedY/?= =?utf-8?q?MwFGRkH/fJu9EXp9h/LUgGart1p3bLDWePJyBSsh733ZJtrCVhmR2fVp3B78MoQgn?= =?utf-8?q?99cB4u66WTg9s8PAtFhps2mRlrFsj1OY75jB0eqILiv3sDo6sNiKgYvk2RTWqhrHW?= =?utf-8?q?LBnXBSeZX5uJNqkDWSf6/xsss0pSWGivRd18JBHDHwaqK/CYzI34AHKA987hD5BFm?= =?utf-8?q?QPQnwA09Xu7f?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: b12b61d5-c78d-4dec-333d-08dc2b133bba X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB7586.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Feb 2024 15:07:58.6848 (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: dQ5jIOe6vzEkSdOHA5BDxXU9bm2jrt5yLAUADe/jImNLIBYsSmtEWcdVbA/S6gjMJB6Ebr77tBBdcjhjnqIL3w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8725 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240211_070804_957640_DC663116 X-CRM114-Status: UNSURE ( 8.15 ) 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 Sun Feb 11 15:07:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 13552496 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 D034BC4829A for ; Sun, 11 Feb 2024 15:08:32 +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=ZMgSQHOntCGiGkm4MW/NvGmLbr01gMsE0SDMZxV0uKg=; b=kgL14YhQ8Ct+Q7K54Fi83G14TE ZehufBPW/Cx2Yolsxn3SqzfLRcimWQBYg1ke42rY9gKta0S6BRz5/qazi2kLEJHga45pT44WFcOIh MvKUhJAX//e2w1gdOHhk5s6rf766Spn8wP7TUQF4z3PdWPJl4LIF1JR9VLthqjQUgSq0TbmyrxYuF yAAKb4r2JkeyJux4Gan9jdFS5e14jQChfZChFzDynilb6a4WdL30x4JnGbQksXbdSj2jmr8l89RVq ISCTjxHw8IHEV9HoGBsR8BXFFwmihekJPlFQg41mYj5hPzPDYRRlHiT81rilG1s1RcaojoKVkmR/G yHcXOM+Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZBRO-00000002t1a-16u8; Sun, 11 Feb 2024 15:08:22 +0000 Received: from mail-db5eur01on0704.outbound.protection.outlook.com ([2a01:111:f400:fe02::704] helo=EUR01-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZBRE-00000002stu-3jK4 for linux-arm-kernel@lists.infradead.org; Sun, 11 Feb 2024 15:08:14 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fuVu/IYEN0q7+tIRwaCxxY8olRV/Wui7Fo0FPpceHYgeBayPg1NUsNLXMylzumQLaiO/m0uQsSdLq8KdIRtDatBc1QRYLvd/komaPOPF7fsW8+l3OgRmepQ1yZECbdelQSpwXWC+QmKTvhKWXQ1zTsLC3g88NWrV4+VZUv8qFVMWz0suqYQZh2KdAV9SlugTe/xp+YfJ2+SyspYTEvfk1z7sXSmTWAS7zzDYgtbDRnQvOUiNXFJsG1eis0xZzYCL9JMXyrtwBEcaTdTqLJEUjsgZ5DiQIAfXDgegos8qiTDces9AzjeBvlPW4dBau0Ic0GZ4KAxly/2/fiQIeKhS8g== 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=l0XoBzrV9zt+MatjMdVkn4QnoLKpYCLDHZz8+OlQ+a8=; b=AksPl0dKzgrp8JoA9sgUbl1V7tZV1Ot0zCRJHLciMhGzimX6wMaEHPX/iPJeJquzG+CgZI6cRgqvKZ9ucZf3Y1xMZpaIQ8bbmp8cNnNg0ZyN8VwA3hXYgFOJhGJ1P1/l3CQG/p74hPY51aNDD4z184RIWVGL2LpqfZJ6EZEgkBxWy5vWUUHc169dsSi7G5Jl/fELpf+OZlV2vFYi4ksPOEKmHGW27li0HjL90rfc/ooAmSx+c0th8NkQXGF6D/kFIWs+KY5W02N9sfzgAQF0muWiBqqFCaWfzyp03cceDG5OwHpnFpScZl0xTVoN2CE88dg+YMmdG4v3bcJYDMeuUA== 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=l0XoBzrV9zt+MatjMdVkn4QnoLKpYCLDHZz8+OlQ+a8=; b=Q3WkUBp+bAk0NwtyHdhVMHTCgPM+RR93UPjcrv0SbEICVGxZJHe++wbZTbvWLsz5PUoXzWyBybuXQD8TFjYvm094iYxTgxMcCX3qXGMmFiSexzKq7iYgkDLsUDyo+QSjcmljjOSqot0uDUK1v2GBxhDH7SbaSmFZU0eVbFlLJjM= 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 DU2PR04MB8725.eurprd04.prod.outlook.com (2603:10a6:10:2dc::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.39; Sun, 11 Feb 2024 15:07:59 +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.039; Sun, 11 Feb 2024 15:07:59 +0000 From: Josua Mayer Date: Sun, 11 Feb 2024 16:07:57 +0100 Subject: [PATCH v5 2/5] dt-bindings: rtc: abx80x: convert to yaml Message-Id: <20240211-add-am64-som-v5-2-790ed7121249@solid-run.com> References: <20240211-add-am64-som-v5-0-790ed7121249@solid-run.com> In-Reply-To: <20240211-add-am64-som-v5-0-790ed7121249@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: FR0P281CA0264.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:b5::19) To AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR04MB7586:EE_|DU2PR04MB8725:EE_ X-MS-Office365-Filtering-Correlation-Id: d41f8e8d-5df7-46fe-3fcf-08dc2b133bff X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: d3HAJPa6XTFFjvtl5JvuyQHxkmB60d9NGg4DVpg81X3qri9sFCOKU+jR7cnzLrxQqqabEZHUf14x0iYALWMGl9hUne0CynzoWlhlYQkwS/eU3iRlrBAq+86PIW/CTieKiTi5i9w+j4ZNxfgSDasta9ycPSZ5XfUv9RS4yv4+ERWD3a6OsWjOxPYoCvqunorHtl4kMNLu187uJmCZyXySie/AEGfO/8d+0yZUUdRr9+mT8cMtIlPKZaAXcMCy1I0tp4fzqJVWRULMeNwFuZdg/OPuZ0wsI4pZDYtXmm7sBOsdUTMb9XVK3LsUEOqTM3XSOjYJfyQk+39E+4bM0X6wcY9QGJuM1R0/v2c1KCCR0JRAEgIt2J5HR5vF8J76yjLEAG9MlBMwres/h2E7SJdVwmVp32tIcPlU1H7OJ8ma5QGfHn3WER48YLFfKox9evu5deQT619M9fajtZkfdRMxJKbIzwPSUGYLsqoCoo0E6MWulas6gSBhg7be6NYPKmob5xisy7nOL2DkMQYJ+S3cufNaB0imW89B5nJxJcKAoJTnpMInsrft2sJX2hbkMTuP3CXoz5xRteIIdQCW4ILBScp4M7pylLRINn2BslLgWOw= 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)(39830400003)(366004)(136003)(396003)(376002)(346002)(230922051799003)(64100799003)(451199024)(186009)(1800799012)(83380400001)(41300700001)(2616005)(316002)(966005)(36756003)(6512007)(6486002)(66476007)(66946007)(8676002)(54906003)(478600001)(52116002)(6506007)(66556008)(38350700005)(4326008)(8936002)(86362001)(107886003)(38100700002)(110136005)(26005)(5660300002)(2906002)(7416002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?sBC3xOB8Tozjyz4sWB/x8uMpl9Ss?= =?utf-8?q?Zw2XCWHj3EujyvEtpwt8g+VxT5aHNjRBQ/PQd6D5XTRPW4GG+us+aUCKrOEIcUECF?= =?utf-8?q?0bKULb5XgoquHeVBo8qV+0OvD4tyoqxdrbFgNdH9K0qo7mRcwZHLbNhpmkcBnU03Q?= =?utf-8?q?1yotjuHMwluLb+9/6sXng/Wgdiu87jzioNqTdlUxGFj8C4pmO4WLLk0+hhlNd+RED?= =?utf-8?q?8i9X+ghC3pS61uCAHTU9SYDTWWUDjSSz5FIPguFACqFJ1Fw7tI1Zx1WRJBrzc9ncf?= =?utf-8?q?EanWtwHO4zAT3mRnDV/zu/zI+P29vQjPxDpNnY+q44sZrFB5m97pIn3THq+GMdmeJ?= =?utf-8?q?kGyAAbNO+YrEFYePT3pTrXKYyBX0NfRvfYmeZZe5QBfDnRvOTRb0eh+jWOkjFD2tS?= =?utf-8?q?aY4GMXtx88eLG0KvEpQArM+NdfI1aKPp7oMOgDz5Vnjq7YtROxJRt73ZVWHhQjtnJ?= =?utf-8?q?HpV0y3CX3FgstpbVnyEYlPKSvyAPw8hA54b9vl3IVrX+EUVcEX1Yw6vLX33xOh8V4?= =?utf-8?q?3eZoFesAH/8yK35yAa2YS4E8VO0QKosW2hzdXxU3vO0pTQXb9WaXD7wtYhwfrpgXC?= =?utf-8?q?UIc8YoU2tlwPEDvmamC2CXNtCfkTUyYXWqVGk/ygZ/NXAFRRVz75740fS9xcjPhOG?= =?utf-8?q?qOCp8Ys8YkXXPGWGVSvlVeJ2sdCZqVt4xTcBUk60yt1AYJh3mpKgFLBp7jTnxOmRe?= =?utf-8?q?J6ImFCv+WQMdZgPOoP1SHhnZK1dE5lOPk0Te7rIVrVyG3rsHhx0xiyde+HknxH942?= =?utf-8?q?D9bY2GXF0epRNhfkquuPaMHImxApXDdQR6ncUjc0AIGFWk0Rfqb2b0OYQ8GX/E3Zy?= =?utf-8?q?Pfv+LBKMaY+ARGQEN7Xkz1CbxqJfzIXL7ZbsZUG4svu6JBeUS/qMp3bk/SJTqP2d0?= =?utf-8?q?bLBT9Vj9bfZ2OkF272vU9Ii6z20VRYqkdp8kkgi2CoNjwBoT0+JYp7BZch8h+S1gl?= =?utf-8?q?XOVjD2+6xsJf+G93q2v1v+Yi0or+NJtTrwVaHz41eRW9wd5mBUpyLXNjrj164L73s?= =?utf-8?q?6s6ht95dpi7y44/tTFkbgUwyPDzpeZu3nJJV+Gaki3/pHtUxdOJVL/GDZD9sYRR/A?= =?utf-8?q?z1LDn3OMtectZpKX1fvdGoGR5kXAqiovVdZ2TT2huuvY5do0BMKiljmDFTU9epdUu?= =?utf-8?q?WOkyFPRKE2p2Qr0uf5KDT0Osd62mln4IvtbL4YOE1wJMgkN6rZCvjG8NXwzWj9rES?= =?utf-8?q?SSXnVtAHQsToKPSwLAajQMkrQ/6M3FkdMTU8BDGd5/1aBDOq1LGlueMNegk6CX/6h?= =?utf-8?q?kZubyIOkwOyh5JeISBhYH+9sC97MZHuXM5HzwLuU7H7jZTqPbmtjQ2GDQ0QKhgKkH?= =?utf-8?q?R7MWAvPZKH0kGiu5CyaU3jxOrfMSZtL+M4QNkUwRqUdnEppC5VC0W0Sl9VZlrmTFw?= =?utf-8?q?YDqLWq0jVYiwdGBM2GZQur/Pfslv7t7A3xyxvwWStnbWJpZJH8rqoljv6yHwral9O?= =?utf-8?q?0jU5Oqkrqo8d7rmwbJdnDjW1skhtOXXB2OkIIvDnuLne+f3r+Le4rEU8bJDPbwmn0?= =?utf-8?q?wlVj2FK1Ukvw?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: d41f8e8d-5df7-46fe-3fcf-08dc2b133bff X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB7586.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Feb 2024 15:07:59.1750 (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: sS2ujjDwqnavioRYtCjV8bWmDFVpChALwkbRmtjZKDgHK5/O4YLrO744Ku0HDE4KZkVL8SEdCc1MuAIeHzpuYA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8725 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240211_070813_007583_AB6A7282 X-CRM114-Status: GOOD ( 15.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 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 Reviewed-by: Krzysztof Kozlowski --- .../devicetree/bindings/rtc/abracon,abx80x.txt | 31 --------- .../devicetree/bindings/rtc/abracon,abx80x.yaml | 79 ++++++++++++++++++++++ 2 files changed, 79 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..58dbbca27deb --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/abracon,abx80x.yaml @@ -0,0 +1,79 @@ +# 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: + - linux-rtc@vger.kernel.org + +allOf: + - $ref: rtc.yaml# + +properties: + compatible: + description: + The wildcard 'abracon,abx80x' may be used to support a mix + of different abracon rtc`s. In this case the driver + must perform auto-detection from 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 + + interrupts: + maxItems: 1 + + abracon,tc-diode: + description: + Trickle-charge diode type. + Required to enable charging backup battery. + + Supported are 'standard' diodes with a 0.6V drop + and 'schottky' diodes with a 0.3V drop. + $ref: /schemas/types.yaml#/definitions/string + enum: + - standard + - schottky + + abracon,tc-resistor: + description: + Trickle-charge resistor value in kOhm. + Required to enable charging backup battery. + $ref: /schemas/types.yaml#/definitions/uint32 + enum: [0, 3, 6, 11] + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + #include + + i2c { + #address-cells = <1>; + #size-cells = <0>; + + rtc@69 { + compatible = "abracon,abx80x"; + reg = <0x69>; + abracon,tc-diode = "schottky"; + abracon,tc-resistor = <3>; + interrupts = <44 IRQ_TYPE_EDGE_FALLING>; + }; + }; From patchwork Sun Feb 11 15:07:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 13552494 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 40706C4829A for ; Sun, 11 Feb 2024 15:08:23 +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=g1xNeN8+v30vuh EnUtJIydAXogxqO3Tfw660CbDKYPzstqdjMNaQMyW5bQGrVI+UD52uBAhpMTCaqib23Go5n1T3HZ7 lLICtG0LlXiCk/5cNJyaZzNOlGJXf6+pvH22iO5iljqcO5cFEyG91hHbAjXIaYehZ8qlaDWrUnKMc LrelqbFZCzeSXeK+UlJUONZUMnY60E6SbwgFrw7tovpXvOSTHEf4ZK/WH5+6sr23beBMCehgg8ook PlFT4AOQByd9GYduWex2AbGi1aW0tCOXjw2aXG6Fo1vzD7UHs65JfhpUX493/TRnWJerQDuowWp44 YL4TDI+g3KPecRh6haBw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZBRD-00000002sw7-2Lyi; Sun, 11 Feb 2024 15:08:11 +0000 Received: from mail-am0eur02on20701.outbound.protection.outlook.com ([2a01:111:f403:2606::701] helo=EUR02-AM0-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZBRA-00000002stt-1r5F for linux-arm-kernel@lists.infradead.org; Sun, 11 Feb 2024 15:08:09 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Cm39Thu1zfY4vkTY3+gPddsOb1xw7POucZ/BiiE4QfHO/Rh932AjT3Se1rPpU9UuHmfUEli5G/7Q4R1xIeuM+yJyisC6pk1iahWqwb81MbL0guGnPToj20NdC4CikCExw/ShiRKlqPF1cdB0sDL6qiabWMwiXR4I2eTboMQq8HMeth2FkjgAONeBhvSUipM4bCAQxKtDu7skJitU9lO3nzPnRNRyln9I9dJuhYiuq6FBecojNPKHmZxKgNmzzXYtHo0vwIXaJW6qR1ZyA/+E7vUqpM0fe9B0l6IXY4ifKKFuLAF5VZa/m2K+gPgQq45VsFXOWxmzQaruHC6b8OFShQ== 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=VN7VbaotF6uN6QuxMSFkKtLGuIgZpKjxGS69jm0tZ3XH0QNbiYVYkmO2Cj4LwaSxOYi9VzyFyjtXnV9TG1eRoW+m0X1RnIXeLwnrQaddOWFTsYOlXWYFLy7g9XM/o+1XppzDcFBxuGYnNlz7inZ2mGCfDJG4TUOlOCFlJcDgLiNhC4Y1hrPbBW64E2uVjTG2DSL+IIifA3rpVD0zFGLCJq4t8xGfUR2RQRtOlExE1Q+h/0T7Khd5G5VKhV2EMayFVAcKya24ckggrp11fsoPcDm0MR+vW7hexdw9OFNpP9nabJM0Xc1Bd53AKZKgRmwm1aGFKX8ezn85+8Tmz1SSMw== 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=EClqjaqMnIFQPfVKrgcloFisdPsCqdCCKBNt3at+drBSEbNLtNc8Far/y1LL8IAi0jdTA7XeZuz89L4092y0/QJrlGLuE9dIm4a1xcXJhAKPmnw9tVBSR8NHtSIqheSsBRj99dwIF3DRqyhSojPcJjgE/OrUrEBmv+Pn5YUS0Ig= 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 DU2PR04MB8725.eurprd04.prod.outlook.com (2603:10a6:10:2dc::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.39; Sun, 11 Feb 2024 15:07:59 +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.039; Sun, 11 Feb 2024 15:07:59 +0000 From: Josua Mayer Date: Sun, 11 Feb 2024 16:07:58 +0100 Subject: [PATCH v5 3/5] arm64: dts: ti: k3-am64-main: Add ICSSG IEP nodes Message-Id: <20240211-add-am64-som-v5-3-790ed7121249@solid-run.com> References: <20240211-add-am64-som-v5-0-790ed7121249@solid-run.com> In-Reply-To: <20240211-add-am64-som-v5-0-790ed7121249@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: FR0P281CA0264.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:b5::19) To AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR04MB7586:EE_|DU2PR04MB8725:EE_ X-MS-Office365-Filtering-Correlation-Id: a55ab056-88f7-4676-57ac-08dc2b133c58 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 9KF5R6vqgUpmmXqJ4Y1ADF4ljBGiMAoSs/wTDaVlF/aTXM6G0/UGwbqiFD5x38kP4vib7a7QuwzyMngtF1Ypnr7/PlVT2+3lErn7ghC61pFo34o8mKZkEvaYN/LsYijOg+t4Ez9OzwptKLOzuZRpM/eGdzPftxdw4gVubMIHJRcku56HsbmOdorlgWkwY6hPLxyalo3KFA1VyLHXwDjmVc3XOvcIdXmvbF1hCd1nxzUW32zUFzlWkLbzI+UDDB/2Bq9elPbaeEFrvS3jF4meSgzrZRL+ANs+G5Nxl0pQtCF7ZiBvBJdgEh/Vh9TnuPQxkejdfO6pNyW+bke2QN1phQqPvWyqRWYhQWKcl4FmAhlCl8pwqZfmpNoa5piKRCasTKxJLCxfScKM1fNh7dH2lrypp02vcI60YUXgPcQJdpSVk8fF/0gtSwODt8XsgjCp97UXcxJC1t09+oa39R0MF/ahUEY5kSYAYfoTloY8TATaArCXTobPYW2LVpiqKeG0UX8NA27tjTE7TLbwAhkd4vZ0Cw9j6T4/gR2HSfXwU9nDUShUocu/OfERykLgU2CSlOMw6Ra1mg/N4yzmmSgip81fmtj7Nc5zSLxdcXrXJeIYNJlA/SG8inRTUYuS4K5N 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)(39830400003)(366004)(136003)(396003)(376002)(346002)(230922051799003)(64100799003)(451199024)(186009)(1800799012)(83380400001)(41300700001)(2616005)(316002)(36756003)(6512007)(6486002)(66476007)(66946007)(8676002)(54906003)(478600001)(52116002)(6506007)(66556008)(38350700005)(4326008)(8936002)(86362001)(38100700002)(110136005)(26005)(5660300002)(2906002)(7416002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?ZsAXsmnHBccJqa1RkJu3psqGqEyX?= =?utf-8?q?r45H7GdLmOjKljBEcWOKp7BIFV+/5gg0z9Sai/J74ZYuZBUDbjZzQZ4I2h0LuTQ2r?= =?utf-8?q?JZk+1fYb2W3zEx9dBMZVNup6im3rt7hqk0zwVuIUdGIh3EaGuKTKXtDAKSrsJi/S5?= =?utf-8?q?F/MXSfb0wE1q4Pz49gIjajyYdy9r4G0zyAVhEZ/h0dQZC6zCU1cfkSPEugjh7ssJd?= =?utf-8?q?PeEuBM7oFjHrVoNFAr+njIE2hqI106VZhHgk6tl1gRKpKgESEX/Li/7boIUGX0+CS?= =?utf-8?q?CqKaZzg6oZjptIy88yMz/qTW6ydwaQFDpwh3Y3Oe3WopfPR2Gswaf2H5Q7nxxHZJx?= =?utf-8?q?qUUEV8iCuhyCTM9bRTR0dJ6hjzJJP3Bl9CHwkZ4JYQ9P5GnTATi8Ft67L1TFStE7r?= =?utf-8?q?daNne5OBpEQgfY1qEKICDhsxrtLqF/EtpPUyCu4UpYnzt576n0HAlLrdXzC9Rhxbo?= =?utf-8?q?VUC94Lx8qTWOmHqf6YSpJRhFvEpTQLWbnZlpYJGveYFrTJMB1LCajEMEpjuFElNKx?= =?utf-8?q?VhT5iKBsVYFu9AlcmyFGBbHa00r/NHs7QbygsD+e+vGwmiYAQM+pNA1lq5lLZd0qH?= =?utf-8?q?WAEnE/VAWlArZiEOqBDLtu9AdG+Tvyn0lDVZsXmOJgNLT26PMexDHhw3E/F/aGmAP?= =?utf-8?q?2ifRu2QeIb3yrR6LBABsu6iKkZ9nBYAbVWD64Ql4wYR2w3nAhu6kHDsze0znckbJP?= =?utf-8?q?Acm7ssVX/SoPPFQcOFMwP8C4xGDghOa3u3vWPyYt0oPWQKBPBx9Wnp6J/BYrOq1la?= =?utf-8?q?j+VhVzHN6txSoEkUjhDn8eH6AVScaSEMfLSZtdHEXfI7pkaDvjBcZnpfcYq5k9ObV?= =?utf-8?q?pwJbm19vL4zjEnOsO20sICCf37rRVkyYojkLbtxAwWytDyalG5ZOvUrmJes1Fn5z1?= =?utf-8?q?WGG188X662fYmwwpZ0MakCNaiFU7Zd9EHaq6qXNEx5BDvyLqolmCFjswtF/FD3J52?= =?utf-8?q?l7BXXo9bxS1xSZ46Iu5sx5r+CTG9jCm8AZmWDlNFu/FcFLyV5eznS9olu/9fH/E/3?= =?utf-8?q?PAKiGYE03djtuHGJz1BEqWmPru8NNXA+HLE2cFZqFHl6uYcVb94IOW9A4qvgli9AR?= =?utf-8?q?v5OiY5JCO/KUBMg6qKIdanlq2gKqcbXBrA6gH4QZOu4dgz0oKQytMJEgQJgCnfxgb?= =?utf-8?q?MDATfBWFe7LfBwt8b7WpIqiGMK0rzChuvOmfSy5cARATxSxJZzSLKjD23gykHmo76?= =?utf-8?q?FxI/O4RSJ7QrbVFld7YwqFHNaX1lXWOfyUk4ALQ+RhT9T5WKDIRi76cVOP4DE6UXg?= =?utf-8?q?ZVcf8oThYcNNIofgM6PTH8XORtPwT72Y6MCwiZX9vHod/accmR2JxrtcUtwgkB+6h?= =?utf-8?q?DTMc8os1zm03Y/8yq0uLbD9V7TfD4DzqFa/O46t+PKkq59sbTvwrsFYV1B3FWMooU?= =?utf-8?q?aOElawN/RRBjG3vHb4saSwXPHlt1OW4GPmKDoQpKyK/bsQYKif1kJVRCwt8GL1iWL?= =?utf-8?q?VCxXYUSIEa8m5YTN3pWRN9QxEZDB9MNm79PS1wIzMNgxsxwwAxoko+MdLrGQGSsvn?= =?utf-8?q?wFsTFioOaWXw?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: a55ab056-88f7-4676-57ac-08dc2b133c58 X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB7586.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Feb 2024 15:07:59.7418 (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: 1TT2RdfR8aOfxN37MA7o0cfdcZRLz44Nu/9yGuaYkp8GcV1IkP1pPwTXx8wUXsGx9cimF+bA5bUgx7sg5jzrpA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8725 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240211_070808_554408_D7BAB6ED X-CRM114-Status: GOOD ( 10.35 ) 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 Sun Feb 11 15:07:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 13552497 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 15BF3C4829B for ; Sun, 11 Feb 2024 15:08:37 +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=Pkw1TKkJQAqL4UE50kwEdQNCAF0qbDT8uY2flMXDJ4o=; b=tYam+sLKUlNn8lhjTqmv38nPwY GcXH8vPodit4No0J0UzjiH/hkSHJ5BDjs/Z0IsNoGLIJ3oDj/Ee1gYuvSQ5VzoPyTF9z8PAN2O476 KZqg3+gxTS69XzpPHFYPMAFw4KvMDN8M2PK47fTa3OAfeCNzkWgkOJo37CDoiAILJjg1hx3wHvNQs vUr72TZX21O3DxPHVMfhSoJ+9a3SFEqcP7+ewTNRjbCt9/WrqGXTCCIFFoYl271RPZzb0hVxzexiX jaLr+iWeY3qW7NpKBOQbeYosmPxwwnQh1qGfxzZ0Y3m9FqBkFCIXOGJejiyq64cjyaV8//nUxFCY1 B2Am7R7A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZBRN-00000002t0f-19jo; Sun, 11 Feb 2024 15:08:21 +0000 Received: from mail-am0eur02on20701.outbound.protection.outlook.com ([2a01:111:f403:2606::701] helo=EUR02-AM0-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZBRD-00000002stt-49SA for linux-arm-kernel@lists.infradead.org; Sun, 11 Feb 2024 15:08:14 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=V9S3mKwqDJdrN7v7NZI6qBmVXgk/IOoAvNbj6XoKtKEeKBhplc9kHpHArOEv+w6mBRrRCcoJK6eAMC+uXaGENtb+4YMOHbBwF3TglIIusGJNMFaKxpGtfwB258ribpjO3YEe7J5VQFqRQ+qcYKwk076JGpQEvbvkoHgfgnr+vvfjL4j9Wvf4SSwTIGuJeuZPzilC5F1SPsN0habnKG+72X294I/niO9i+p/taH4yCiQztkF23dg6Ekvh0LETME9zIxJ6rwYmoO5INathsb/OT18vv+HOWmzVef6Ig5s3zzPx/m03YmwRy7DBx6i3hehGnUVVGNfYqNbYcQSGjD7gKw== 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=0y20Xpmo++YdlqcSfC8IB24XwOkpHPr68mDqUCQP1D0=; b=U8y9Ka+cENuKgBUeiMyANSSW1VcqZdiUxDlnFBOGZV71Gsh099xziQFabygoeRBPzn/JkZXcJL3gkA8sAa9jawe1m+Sw1k+NCeZKDIW2IY5/d/RQCrSHy78yrCG2KmGws8e2NZY4mGg4DJ8i3qN+mziECQGn6oSJQ+mgwvrSI3CTvzxed7Jz5ztvEsfCE4m+7CEYUL33PyisCDc7IVIi1JCck/AX63PJnXzE+/Wxn+pCy3qPI+gzPLePOOqeLnGX3YB+wiilfRdUL7ZSQoXohuQ//nH7mRSFxJlaKGuB09VBlMN+MOCNyTrHM4bhGID1Zym8iWLlo96EN5Po2r6gOA== 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=0y20Xpmo++YdlqcSfC8IB24XwOkpHPr68mDqUCQP1D0=; b=jXS4kxg9cOOyEUq0a6nATW6Tadi4RkY6ka/1dRy0sARQHgiJaSdKTVegNcSYeWY4UbSpMPvgQMt2BZgrHN9mB0VCDpgTXmkaHhwi5siNs1OixFIImMB2D/L2YkFeQ4FAZ9B7pXtB+6bp4Cz/8QGGAZbB3XmsN0OAMgEzgX4SFH0= 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 DU2PR04MB8725.eurprd04.prod.outlook.com (2603:10a6:10:2dc::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.39; Sun, 11 Feb 2024 15:08:00 +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.039; Sun, 11 Feb 2024 15:08:00 +0000 From: Josua Mayer Date: Sun, 11 Feb 2024 16:07:59 +0100 Subject: [PATCH v5 4/5] arm64: dts: add description for solidrun am642 som and evaluation board Message-Id: <20240211-add-am64-som-v5-4-790ed7121249@solid-run.com> References: <20240211-add-am64-som-v5-0-790ed7121249@solid-run.com> In-Reply-To: <20240211-add-am64-som-v5-0-790ed7121249@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 , Andrew Davis X-Mailer: b4 0.12.4 X-ClientProxiedBy: FR0P281CA0264.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:b5::19) To AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR04MB7586:EE_|DU2PR04MB8725:EE_ X-MS-Office365-Filtering-Correlation-Id: f9ba0fd9-e553-4069-916a-08dc2b133ca6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: iDm8Ume+N/bPcRK6tjvS+yIXaeLoAWfRoQDWdP/chR38eIJ1Ple1aJ7RJU/PLmfEHQTRGh8DSsyyKGsH9SvKTHSTGBnuLMr/gRrBUlTvbS/YYHEi8O5D4lHsC2YoSbps+R+PdPaxclNlbQbkn4Bb2robB+pKTfujXxVdBPJBeM0J3wkMKd4+saXvLp6bFb11Mukqbd76Ll2BCIgj5eGMdoPATonCoI8KvS4AbpJSWqXAkaEpQfmPfEw3Mhwyql2wfJWQ6+AMvrDogIIF3GRdZXYSYBjA7AwrzalppX0u4uYERbw61MXVY+lUn23mRo0tElUed+y3HL2l6SBh6JYwrpiCLBxtv1eXbWD17v7cOLhh/T6VySWIgvqktBBgoE0HDP1GuwQMz98pE6xdPCsog6GYuH8yR+L9snSKjwDiK7kBm/WszxNNWvboSP0cQ1/ZijyiQLJPxxBOpHhH0WPW4PXZ2Fnmde1pUsa6XA0+11TnudlHqdNC6ZFSRP36GmVeisea3UayRE2UC4/DffZQbbLph6f8x/JseJZ37/yNJBDRFoEdALatP59S4hgqtzq5vUjjxIUTT10NodI8VE6cmFNLffuIxQsCtOn0WhghZwpmWloSHIf/BJw2z+FLEH1z 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)(39830400003)(366004)(136003)(396003)(376002)(346002)(230922051799003)(230273577357003)(64100799003)(451199024)(186009)(1800799012)(83380400001)(41300700001)(2616005)(316002)(36756003)(6512007)(19627235002)(6486002)(66476007)(66946007)(8676002)(54906003)(478600001)(52116002)(6506007)(66556008)(38350700005)(4326008)(8936002)(86362001)(38100700002)(110136005)(26005)(5660300002)(30864003)(2906002)(7416002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?S00+eIBayK9gsYE5NQbLKkhidfHM?= =?utf-8?q?AXY+IFoN5RJFTmdW710baQ1RWhYpojmwrBNm/BgqZu4IXH8Nbdi8EKBB5E+XanWrd?= =?utf-8?q?UMUcjeZ8aH03KkgxnNNEM1A6E/i4v9A+8boKXs8i8NOjAFFFNq4zOxc2Gu9u9zbbZ?= =?utf-8?q?Kd3lgFBARh+SZcqKHiBybDrVlXi4QVfwAykynyiVB899LCMdtqfqPOPNR2GpERhxk?= =?utf-8?q?njck3IT26yPu4yehPWfJ7mt+jmIGG4D5ogLhkveYzlTJJcEpQSy/3LAJRS84KyiNj?= =?utf-8?q?tTldM8hxRGApIxlrK49nR7cbu1M1YXi9cxtOl7/wEbgtco28GvBUJp6Pxgzv8u48l?= =?utf-8?q?8Tu0M6Vsjbb8YFC5Of2Ei3Bvb1SwvCNQOuSFF39HbiXHNp8qS4SUCiOYxZxy1Q0d+?= =?utf-8?q?/7nKbv9fG4ysrsptQNGUkvKPhCSNMoeaw3lMvxhAaxiARaCoFV15tjE02GHIyno2v?= =?utf-8?q?Ng2kQ3j6WmBeRA/AEKz6MaPAVhdznWRiLVBEHsuqSUj8cS2d9YAgqyzLvoV4BkkWs?= =?utf-8?q?Rvvjse8CxDAI40wo+Isp/+CTEWUfrxx/TiTZ5OsVLJ9/SitSYi2HbrqpNB0M6ZzZM?= =?utf-8?q?dCZyOp5CqJaRkXMUuaey1H6exqwJCfsUjZkY4NyQMV106H0+LRUpW6wL3jbqZ3iL2?= =?utf-8?q?mouskv+FwsVNMLwu736o7SG09nKjFWbkZs7Vs3Dwj9LQJjE2B6UR0ocQ7mrevMEc2?= =?utf-8?q?MDR1lZmdpzbewjPT7JWrjLxfuM1u7XY3k3tMgUU4f8RTontpa6bL2wVgRVT/B5p95?= =?utf-8?q?AtkK1dld2jtPlcaMRCL13mTKv5ttSIVhtBxusZvKku23u+4Py1lQrrp5l7Ywy3ERf?= =?utf-8?q?EyMNc7jkI9YT5v6rtZ0Isod35uGsP7hs1peAqLAI0TXTn++VOjcZ9l65m33QY/vSw?= =?utf-8?q?wvTcEbWwKhbNLT0X32uoqA21ar06us4cGHdSYOmCHDMQOa2YolpmZeRBCgPADaEbc?= =?utf-8?q?V5x40aL3vT/5PY3j4fO8Ykhd9br5+HO/ggXUCmI6+jmArQWRCm4MyKO27KTbE9K64?= =?utf-8?q?ewTt3TdBynxuun5uV2eLqxApiOwWsEiCB/PHEHUcvQyPotpcFRjbKhghqkoXmbl70?= =?utf-8?q?lWIdEUS+5k0ukbQgkz7fKcJ1vMH5pvfyHCMBIvc1sIBUsfDREVvJbMRDiKhDb9aXL?= =?utf-8?q?qEXgOU1d54ORnjqh+vYN3jBq2deFx8Lh1W1SrvmmJTpnS3Igg1RP4QWeQ1L7ZNJzM?= =?utf-8?q?PktXi1QE/L+N+qEEzWlq1AEumoF8cqBrk4lAB55viUFZBfMsKO/NEy6pvCY0NkG6t?= =?utf-8?q?JuKRXyOPYd3Mx4hwKUCduagfbRi7XFn9YPhiDvmDGNVz9firBjPz7+48MK7CjzjbO?= =?utf-8?q?f90xLsK3GMEHEo78ABuL5uu0RZjYOWWa/9PqQODXr/uOhwsqnYmj8c6XYWPJiL8d3?= =?utf-8?q?QOYl5AR//utXWjHqyqFLahHAMFZmCSuVk3Hwy2czkBs1WUQCXSz0CZtD0GwkL7g1Z?= =?utf-8?q?kir/f36Ba74Id/BeW+mv+dAJh+ArwgJp+c0mfTbBKIKr2s+qZE6BqmtDR6q6gOXfE?= =?utf-8?q?Ytz0t470L5W/?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: f9ba0fd9-e553-4069-916a-08dc2b133ca6 X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB7586.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Feb 2024 15:08:00.2449 (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: 6CCzelqNn5e9PDK3HONmEOEUi9CZ0qPB0MZMzw2Y4AJ/9VmXhJQI5UpXsmJhEHtXuw1Ez/0WpPy7Vb65sC3vJg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8725 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240211_070812_112865_01DCC6DD X-CRM114-Status: GOOD ( 14.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 Add description for the SolidRun AM642 SoM, and HummingBoard-T evaluation board. The SoM features: - 1x cpsw ethernet with phy - 2x pru ethernet with phy - eMMC - spi flash (assembly option) Additionally microSD and usb-2.0 otg are included in the SoM description as they are supported boot sources for the SOC boot-rom. The Carrier provides: - 3x RJ45 connector - 2x M.2 connector - USB-2.0 Hub - USB-A Connector - LEDs - 2x CAN transceiver - 1x RS485 transceiver - sensors The M.2 connectors support either USB-3.1 or PCI-E depending on status of a mux. By default the mux is switched off. Signed-off-by: Josua Mayer Reviewed-by: Andrew Davis --- arch/arm64/boot/dts/ti/Makefile | 1 + arch/arm64/boot/dts/ti/k3-am642-hummingboard-t.dts | 292 ++++++++++ arch/arm64/boot/dts/ti/k3-am642-sr-som.dtsi | 594 +++++++++++++++++++++ 3 files changed, 887 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..1602c3321165 --- /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_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>; + 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_pins_default>; + 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_pins_default>; + dr_mode = "otg"; + maximum-speed = "high-speed"; +}; + +&usbss0 { + ti,vbus-divider; + ti,usb2-only; +}; From patchwork Sun Feb 11 15:08: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: 13552495 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 34EC8C4829A for ; Sun, 11 Feb 2024 15:08:30 +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=n0z7Q7dbzqTFS8684Z4rVfGKji 4d4RCKirGuqwAOj6poqB/6fNJ1uklI2LHJ7AXffqsbUkg+WjEcINaoSwYJ4FWzkCOiOu7FEH8l0e6 rndmFcyG61LApJe3QSuADhypsKCc0Am7UqDm5xZDqoHLQL6Aj51EwzoHU05xVxI1IXs9kJAutTi7z 8HanCoiXVQC317wec8JOG9uUwOVp7I6QXxc/eu59jlzi21g9iWGQdgGkT7x/uIh31wYYsMXG/NPi/ QzmJ34fCBXR1jMueGs83Ua6G8rL0ap4wO1CDWS9Nw8prKU4C5+6+9I27cT/+DDqN06ntEXAaJra+3 NgW7sF0w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZBRM-00000002t0C-1gPW; Sun, 11 Feb 2024 15:08:20 +0000 Received: from mail-am0eur02on20701.outbound.protection.outlook.com ([2a01:111:f403:2606::701] helo=EUR02-AM0-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZBRC-00000002stt-0f9Z for linux-arm-kernel@lists.infradead.org; Sun, 11 Feb 2024 15:08:11 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mmosyrB8K6qDq+50S0sZvRbymSgoWYLIAYFVXwsaZeklJtXIGE0pU+50/cvuDhzxDAWfnqV074UY7zu62m2moybKvCLVhLn7/maoh3yHlHGdpmNfh1SqyhnCHNf0BD4OWsJ92nfnjMaH4pWWRADI6GxFo+6f6crTakVLOprorFiobIW3+bEV/aiblPZOSfOJ7speQQgK/aoIutt9nKU41p4jmukVkcnZas5CLLnbigtz7I7p4ekY2HldlkNfWNZAhPsRej2E5JYDE1zxtSooBC26EyZcX+d27m5nfMt2g3xCT5LRgq7iBV2jfuClCAhzJjIASDzBiLbk4nVcLUpbiw== 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=YPHWeRyjRpHiW6KHT1TvrmI8oG4bfH1bYxrAdv3A3VmftSdLPLruKoPugvfAjuKn5JaIwMPOqE6b4tyWJlbm6dFvc4ugoQmMf8WX7af/ArOXq0ctTnUP7P+sQHuM1aXB/l4HcfpYxrVKsQiF1FtbcE/W9Hh7FewujnJ3IWOli4arXb5hZ4vM2AAO/iyMvpS0wnsZhdKZ4qMyIWipufVEVK7lvQJ188dKzzn3K7+6BFTsqBgw8PQl9La7vTBi1hv82cDUHhfWpNQ0IbkwG+uBJUt4s7GbNwkJ6RvplsC0zSUpzxs92gpmnvvqnlGTS5AwhHSqXaR2qG7K9eOvcHFCpA== 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=GhnlCmuptVqnt7UA69CYmGLJrVPezwQj4HMB2Z0CXSDLEqc1xhqhDM5hTUPwRFNH+UV6pgU8aUE6avNBrVlir3oi4IR0CdlS6aDnmIMKaY1K2b5L1zWKI5rB/crxb7d74uvX1hF+VMF/e0XAQgtzg/BxE72H7u41t3GRRWerJxk= 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 DU2PR04MB8725.eurprd04.prod.outlook.com (2603:10a6:10:2dc::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.39; Sun, 11 Feb 2024 15:08:00 +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.039; Sun, 11 Feb 2024 15:08:00 +0000 From: Josua Mayer Date: Sun, 11 Feb 2024 16:08:00 +0100 Subject: [PATCH v5 5/5] arm64: dts: ti: hummingboard-t: add overlays for m.2 pci-e and usb-3 Message-Id: <20240211-add-am64-som-v5-5-790ed7121249@solid-run.com> References: <20240211-add-am64-som-v5-0-790ed7121249@solid-run.com> In-Reply-To: <20240211-add-am64-som-v5-0-790ed7121249@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: FR0P281CA0264.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:b5::19) To AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR04MB7586:EE_|DU2PR04MB8725:EE_ X-MS-Office365-Filtering-Correlation-Id: 6cb83a50-5f82-4503-e70a-08dc2b133ced X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: lyfZVyWxW1u0EgnZWZRlqBOOrXjlSQxC+FdMYQhyMt5PPWExMICJUrsX5eOcovpPfzhj8ODoaU2KJSFO1srqVKmk7Y27jIDPnezCFw8xJ/XS/DgXtDLihNofTx5qgZqbxyR9Rs2spoNiBbAHjeUjBZJreio/vF8jhAHBF5DE6gJSW7cNAS5+qhBlXZ4g5+MeQGXQKNpwNwnCYy4p2FF+N1dX6zhsIpWBk7vVkvgnnULQoBAQ38KI5kNGhOUGO6cFsEq7GftU+zAs/Zj9OKLv3zKpujr5JTA2hm82MsKdp6+9SA+f4pihwl3uKs9YhrsTe0GyywReDBXanwejnb63mmaB2DTC+uNZSYx1wPdM6/6sCzF7ncTaPa1HU/2HcNvD66b2kwze1V6YrvgFdK5RWuTGBPoG0wB/rhnjyGLDoyBGYSU1I6LRiwToIJqAw1RtJ2RZk59lRLb1sAJTeQ3FCKDFi2PhsAkux1cMiatm7Y3Jg+R2OZEXq/LjnC34QmZC5rfqgLe+o3DMroIPeRmTzA7zAQpH55C9iOTgOIpwOguyUb67um0wcXZdJ0Q9eoE3TrTBJ651mwUg/jXprpZmhDeHZe1GZioFlKrhLa7SW8PK/eND+9u+j6W/0jeB+NVP 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)(39830400003)(366004)(136003)(396003)(376002)(346002)(230922051799003)(64100799003)(451199024)(186009)(1800799012)(83380400001)(41300700001)(2616005)(316002)(36756003)(6512007)(6486002)(66476007)(66946007)(8676002)(54906003)(478600001)(52116002)(6506007)(66556008)(38350700005)(4326008)(8936002)(86362001)(107886003)(38100700002)(110136005)(26005)(5660300002)(2906002)(7416002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?LxXIzkRl4GekV2+Po+SXbd4UhRgM?= =?utf-8?q?h9+wXwwlNTdeM/mFf+lqmVjk2lDvhZktnCgedl93ItgG5wvL3HuzNyOzNQrLrhgnI?= =?utf-8?q?4DQe3L6AouXsTRUpTYNEUAWNm77aMeTNa8rMbU5ZW63PfggOQ2a+twZ2S+QMslBv1?= =?utf-8?q?PhXwaP2vst6GAlQG61XUxnYygRfJFkiijubLP/oButKUvLTdoUNmCdPK6JmIBL1nB?= =?utf-8?q?HvSm4j9iA8yDbr700y3XNG6lXsIrBgfz+W0HEZVRm5gJ8CMdaeb59dxzup8jmcX7/?= =?utf-8?q?FJ4X7VRCzDu8TJRlfFeL39KV6Y2bMiLlOLyk1wetl39LKJfOk4xcvMpBefktZUiiV?= =?utf-8?q?kJ9IeCaR/YKL8kCgT90FGV73pFXFhKUo4kMHYvrFryNiJfH/+iqQQJXzf9n3Z4sBt?= =?utf-8?q?OxhmaVI7BZNgbOQ+lOYp9F4eJwe5H0fWA6dFP299Ax6ZY1hQGekbkzITWodkD0NGC?= =?utf-8?q?V1pn6VqirbgIWfY5GQRgaUpjP0I9+sAt67rpuddgCEB/Zszb1a+8lV6zSBnbUV9hr?= =?utf-8?q?oLTXxUKxzqaukErhOCCDIb4nw3DNh/LBo90ggr0rVpuusTy4/3k/RTb0QQG9nxb1V?= =?utf-8?q?fY0o/+lBSRKtSA+w1bSAUYRDjDMPGc7/zPO+JrsRyF6Rxh27H9gISmkDa7Z3EXvHx?= =?utf-8?q?hYzNPTYvSrv96r2FeNYcZg5pb6c3nXLsk+HQVoMtw0+Bde/MRefe5v+bK+vE7BA+S?= =?utf-8?q?lY+LHfP9P5WoWiOK4Kh33Mbwb51JzY4sCUNWTyQSqdFdg7B9qaGW4MoL2PUDZDZJP?= =?utf-8?q?/58O++kcdBa93np62gplCm2/SGQFRWsmrVnLJbpW0JNZYjMWqlaT0KNd/XRZ772Fp?= =?utf-8?q?3SRuf7+TtE8DC93oFCW59VVeTZY/BxWGj9QsalXnpsJ5gIf1s3tGd4PxvCpkSYHmp?= =?utf-8?q?y3ZLt+5rzf9SH7llG3PGPWK2/a9xl7euhUmx4icaCgoEsHsOckKmMrpuElJXdrejr?= =?utf-8?q?lGu5ytNyx8/mjQNLDAtTQhVCP3xlw6cCfFdBFafQ9VmIWTnom2whtlXdksNLzFyfr?= =?utf-8?q?1sdPV6IWYFr2ZTA1Qd8H/mQNZLTkpcTWj6lDDFR2h5IwubBJ4BHMRK3+PIK/zjfzX?= =?utf-8?q?2ipa6asBdvYVzX1pRo79WqdNh8ngk45j/ZZRuuAdH38m0IGeaMXlALtljrce5b2ho?= =?utf-8?q?57s9nXf8wew/vNqqvYd9Kh53VL6iU3doga8oUq1g6ViBqjnfNV+sJrkgkC6MjwxDc?= =?utf-8?q?KKWjvhdqVFFOSkD+8OwWg6W2EcMjgPX0xBHR4qLsw20EP1oMA2dg02r+yYY4w5tDo?= =?utf-8?q?V7cEEiiomXRo0gnAinMDTNU0n8xO3LeqjqzKpOzrXhENtkzSy2Ac38DwP3TzAlprt?= =?utf-8?q?g5y/bXSGhqMkE74QuvzolVfFjhE8tLz72zW2nYQN3K5m/zDOgU9JBecrXsu4hSb1U?= =?utf-8?q?p/RcOcKqWReLNxhysLolOy8kRLMduZFjiHb7BCzIk3HMCdsAtuZzWWEnDcZA9pPBu?= =?utf-8?q?AxCIWtQFbleNLmkEn2CweJE13w5uEi9Kx7W/QoyCgzQY90ev1PeCgyy3BYbfFKDJE?= =?utf-8?q?fs4Oqdo+Gzxk?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6cb83a50-5f82-4503-e70a-08dc2b133ced X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB7586.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Feb 2024 15:08:00.6943 (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: yp97c3lFsUKabWCXVnVRree9zmnOMiYe4Xb2/Yp2lIk6Je6RitoL91aQjaGKPr66yGBz/NzhYCZ1fiACLai1CA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8725 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240211_070810_246381_0D657F13 X-CRM114-Status: GOOD ( 11.95 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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"; +};