From patchwork Thu Jul 4 15:03:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 13723875 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 977BBC3271E for ; Thu, 4 Jul 2024 15:04:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Cc:To: Content-Transfer-Encoding:Content-Type:Message-Id:Date:Subject:From:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=r08/CNV3F/rcH9+hHhCR4c0GUS5lmkiVa6u9/WMTL0Y=; b=ohWmj6D1gWthtcaToFvA+iV/uh WLhHOrpKlFTgSQx72xQemuTIXaGfkO2bVh5xoOGA0dl+BJyMF7SREcBOzLBamt+8oH1kERWEgAP8y 9CWf6MMkr12iv1q9G7gGPaRTyosNk1B/+W6F/1twzMV7rZG48Wo4qqPWRoAt98fwLdX642wOjKULK p/BFksg/LVaD1NICL8nO24FyLvdFSlJUSs53v7G08SkQLLg4jq4fgD4VC4diM4TZfInGzm/XluMWH 6KfXNOZ317xP4xgfVoZ+oZ6O2Lcw7DuinnjAa95E10Kihqm7eiTxTmT09at0U+qhSHI+952a5M5qI B1L9diOw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sPO0a-0000000Dc2j-2Ra6; Thu, 04 Jul 2024 15:04:28 +0000 Received: from mail-westeuropeazlp170110003.outbound.protection.outlook.com ([2a01:111:f403:c201::3] helo=AS8PR04CU009.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sPO03-0000000DbpP-1erG for linux-arm-kernel@lists.infradead.org; Thu, 04 Jul 2024 15:03:56 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hHI2RPrs4H4asNLpU6JJlnfa5x/JSgxs0JFx7TurmqzLlZrvpCx+6bN36N7WBaR8HIlKqiH+vgoUgZmzcg/mxBF866/j27+p0pE+f9yo5SpkWobXnUzSqvOaBzyESdK2OeHlXAs9i+wIcZP1sVjfAgZIkN8dOTVi1k6e/nYK08DsWCSXb3rEA7a2wyd7DKu8uWd9EWK6FGqVI34GZ41X39sPFupj2mAQVvR6dWZmNJ3PFfUB/mUkwvqyEZCxdeJjdIBNEt+vETWDnD8HmLPRKnosw4//oEmnAUfp8QzfljclQNpHohXzj+DvLi20JVUe/Udj4pU/R+lrRQIVUsKINQ== 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=r08/CNV3F/rcH9+hHhCR4c0GUS5lmkiVa6u9/WMTL0Y=; b=TwDlEoOq5LK1tGV9SC8SQXY45yKLAfrPzl1U/FJqdTEsVEakeGXVKU1otFqAdFmzfuQaOjqa5GX0re2Q8/b6kesbch7aj0DGSyykBm/dRsVwome9olPrn83O4GEKsl/DiAACyHN8k3YscjsLWXNMuzEkDTa2FywBhnqc1H/s6XuISEbsBh1NxgL4yle7hJSESTc/+hvC6BOMjJxUfuTgqq8/nibjvLlqbzvzWKDrRykvf/6SqEy5zlwkxvNek24C4qa/6dGF/alpg03LnhUYRX2HfvjdmHQYLeBAYNW9/FysmfaeiRXigtnJBrXpCKRvJRKZ8JDV7UXXL8PWBOMtqA== 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=r08/CNV3F/rcH9+hHhCR4c0GUS5lmkiVa6u9/WMTL0Y=; b=SOlzHxIGZ1sWzQM7Gx/qeNlilfDvfM1k6b2wNfW3PBTHfgFPsx4pT+FGOGZte8/KdyVWM40AXubMbCtt4Usr86f+WRnLHzIwydj8bbb96UdBt7aYF5cadPyGZLX56xZxTS34/eK+CGFroOqyUyfh1GOJ8rXced1K0P2PkU5vGs4= 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 GVXPR04MB9928.eurprd04.prod.outlook.com (2603:10a6:150:117::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7741.29; Thu, 4 Jul 2024 15:03:44 +0000 Received: from AM9PR04MB7586.eurprd04.prod.outlook.com ([fe80::c04e:8a97:516c:5529]) by AM9PR04MB7586.eurprd04.prod.outlook.com ([fe80::c04e:8a97:516c:5529%5]) with mapi id 15.20.7741.017; Thu, 4 Jul 2024 15:03:44 +0000 From: Josua Mayer Subject: [PATCH v7 0/5] arm64: dts: add description for solidrun cn9130 som and clearfog boards Date: Thu, 04 Jul 2024 17:03:18 +0200 Message-Id: <20240704-cn9130-som-v7-0-eea606ba5faa@solid-run.com> X-B4-Tracking: v=1; b=H4sIALa5hmYC/23O32rDIBTH8VcpXs9xPP7f1d6j7MKqWYU1lriFj pJ330kZJCnBq5/w+eqdtTyU3Njb4c6GPJZWak/DvhxYPIf+M/OSaDMEVCCF47H3QgJv9cKdctm ZEE8QIiNwHXJXbo/Y8YP2ubTvOvw+2qOYb/8zKNaZUXDgVgiBNijwIb+3+lUSH37611gvbE6Nu HA6G47EZegQ0UebMO1xueJiy+XMNQRjk1IZwh5XC9eAG66IQ8CMnYgWktvjes39hmviXisv80l H63c/bxZunl43xJ2XxJ1JKtpnPk3TH9Y9pCTjAQAA To: Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Richard Cochran Cc: Yazan Shhady , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Josua Mayer , Krzysztof Kozlowski X-Mailer: b4 0.12.4 X-ClientProxiedBy: FR0P281CA0081.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:1e::7) To AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR04MB7586:EE_|GVXPR04MB9928:EE_ X-MS-Office365-Filtering-Correlation-Id: 59aa3144-c3d1-4b32-64f0-08dc9c3a7fd1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|7416014|52116014|1800799024|376014|366016|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?O4iNi1MAmWEJ2tE4Wu0QJW6zCEbRXCQ?= =?utf-8?q?+mB9eqRudlG2SoKAAiPvxH/7P7ADIgxhFDl2T9n260qIzQgIoTaozTW6pff1XP2tG?= =?utf-8?q?TENJd3e2UO2ifduJSGt6MRgdm5l2Ra9VPfqSJWVTxFX0OOkVLdkES44HOManrXMsr?= =?utf-8?q?yGP/27RvT0lF5EJ9hfVc9RD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SAZY0Dvf/lJvlsSg155A3CZha2fKFSqD1gZO?= =?utf-8?q?0oaAiUyjNwqfkk0PEfcqH6nAEB100vMMV57JvH/TTxMJ2h7Xi+eBjDI/n04h82+d+?= =?utf-8?q?oP2Qm941d2FEJbcVCgLgGWBH5T9l813ErTeeDmRB/506Jtgqtwb54/Qrojh99QMvN?= =?utf-8?q?GTolJaqGlJBzc/xk7rvolff5IHJLeweXy0k7Iw8d0v0A19ZGTAcQj/qVHjiXpjcXJ?= =?utf-8?q?WPGX3tin915CCseyBhFPJYx0Dl2xn+HHL+4Rh4W+QppNmeRF6SS+ADdc=3D?= 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:(13230040)(7416014)(52116014)(1800799024)(376014)(366016)(38350700014);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?RfjW5kkklZpZwTjFu/sFaRiFY/TT?= =?utf-8?q?4B//pBtKYdbTbSTvHp3e26VrMfzNnB2XAy7bKEa69oQLUFsqZZWKoV6EmLOhC6V4b?= =?utf-8?q?GNsyzk4Kv7Jq5rMrHZ0abRbP+ULWkHw3H8munuDfRKvTuOU+cxU3mg17i8ciReR4O?= =?utf-8?q?8CdEiipXE9TNQgm4X1YqdAJuvCgd0Zr+2jJhsgyg1HNgF+dBCAt03Qs+MWrYuMKJv?= =?utf-8?q?Visz5cZLVcutssSjlihO5l2+VGPmjbVsqjoGpbcllhYNfFH67VMX4VFcb+F+zYINQ?= =?utf-8?q?0KGDVmB917cHyXGmkL2Bmd3VwniyfOHy3pXgk+vJCbfulqDG5HDgLX707bNLiz5XT?= =?utf-8?q?CT/CBKzxrA/ISkYh4erts49Pm6yOCBJm+Xwgxw4Iim10+FLOkUESUmVXpsB8oRE6A?= =?utf-8?q?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gUt/GA+B76XUylcQcgsz0khYDpYiiecJ+5W64He/sTWHXoJ6xFVIrhwa?= =?utf-8?q?bDL7iUkHLZoPCCsSOuDnqmnvIkxurAomXM33BiaI7s+6YYjyxpZabXe5vkGDWAW6V?= =?utf-8?q?gXY1J9wk/k5x4XzRsRzrHPXyrWlgmbJp4L1hLsdKM90z24yKY4Vlg/gDRjfwpatqh?= =?utf-8?q?1ba/ElOLBSDI9uxv2GV7n84NeM9d6fZCcYcFSNgRyPRTu0SI4sdfDz/rC2whbj2XA?= =?utf-8?q?8sxpwtm5bX4g?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: 59aa3144-c3d1-4b32-64f0-08dc9c3a7fd1 X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB7586.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jul 2024 15:03:44.6920 (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: cWDAgphBDHtgT3Ir2q56VOuhWur5NPIw9mY7WA/cGFj3oEi/2EPutsvQukA2X4gjwQC/5xJYWmYsLGDmndqQLQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GVXPR04MB9928 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240704_080355_482712_0B88BFEF X-CRM114-Status: GOOD ( 11.65 ) 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 SolidRun CN9130 SoM is a mostly pin-comptible replacement for Armada 388 SoM used in Clearfog and Clearfog Pro boards. 1. Add new binding for compatible strings closely matching the original. 2. Add device-tree includes for SoM and carrier shared design. 3. Add device-tree for both Clearfog Base and Pro. While dtbs_check is happy with LED descriptions behind dsa switch, functionally they require supporting code by Andrew Lunn: https://lore.kernel.org/r/20240401-v6-8-0-net-next-mv88e6xxx-leds-v4-v3-0-221b3fa55f78@lunn.ch NOTICE IN CASE ANYBODY WANTS TO SELF-UPGRADE: CN9130 SoM has a different footprint from Armada 388 SoM. Components on the carrier board below the SoM may collide causing damage, such as on Clearfog Base. Signed-off-by: Josua Mayer --- Changes in v7: - dropped dt-bindings for usb phy and adc which were picked into their respective trees - Link to v6: https://lore.kernel.org/r/20240602-cn9130-som-v6-0-89393e86d4c7@solid-run.com Changes in v6: - add device-tree for cn9132 clearfog and CEX-7 module - add dt compatible for tla2021 adc --> I don't plan to submit a driver patch because I can't test it --> might share untested patch - add dt property for swapping d+-/d- on cp110 utmi phy --> I plan to submit a driver patch, already prototyped - removed duplicate node reference / status=okay for cp0_utmi from cn9131-cf-solidwan.dts - rebased on 6.10-rc1 - Link to v5: https://lore.kernel.org/r/20240509-cn9130-som-v5-0-95493eb5c79d@solid-run.com Changes in v5: - replaced *-gpio properties with preferred *-gpios (Reported-by: robh@kernel.org) - removed fixed-regulator regulator-oc-protection-microamp properties This property is intended to set a configurable over-current limit to a particular value. The physical component however is not configurable, remove the property. - kept all review tags since the changes were minor, hope that is okay with everybody. - Link to v4: https://lore.kernel.org/r/20240502-cn9130-som-v4-0-0a2e2f1c70d8@solid-run.com Changes in v4: - Picked up reviewed-by tags by Andrew Lunn. - fixed a typo and changed 3-line comment into single-line comment for clearfog-base/-pro dts, but kept review tags since change was minor. - Updated SFP led labels to use "sfp?:colour" without "color" property, to avoid duplicate labels while reflecting they are each dual-colour. - Link to v3: https://lore.kernel.org/r/20240414-cn9130-som-v3-0-350a67d44e0a@solid-run.com Changes in v3: - picked up acked-by for dt-bindings - skipped acked-by for dts because additional changes were made: - moved legacy netdev aliases to carrier dts - fix status property style errors - add pinctrl for secondary spi chip-select on mikrobus header (& som) - specify spi bus frequency limits for som - Added CN9131 SolidWAN board - Link to v2: https://lore.kernel.org/r/20240404-cn9130-som-v2-0-3af2229c7d2d@solid-run.com Changes in v2: - rewrote dt bindings dropping unnecessary compatibles (Reported-By: Krzysztof Kozlowski ) - added bindings for two additional boards (cn9131/9132) support planned for the coming weeks, mostly serves illustrational purposes, to understand cn913x variants - cf-pro: add description for LEDs behind DSA switch - cf-base: add description for LEDs behind PHYs (Reported-By: Andrew Lunn ) - Link to v1: https://lore.kernel.org/r/20240321-cn9130-som-v1-0-711127a409ae@solid-run.com --- Josua Mayer (5): dt-bindings: arm64: marvell: add solidrun cn9130 som based boards dt-bindings: arm64: marvell: add solidrun cn9132 CEX-7 evaluation board arm64: dts: add description for solidrun cn9130 som and clearfog boards arm64: dts: add description for solidrun cn9131 solidwan board arm64: dts: add description for solidrun cn9132 cex7 module and clearfog board .../bindings/arm/marvell/armada-7k-8k.yaml | 18 + arch/arm64/boot/dts/marvell/Makefile | 4 + arch/arm64/boot/dts/marvell/cn9130-cf-base.dts | 178 ++++++ arch/arm64/boot/dts/marvell/cn9130-cf-pro.dts | 375 +++++++++++ arch/arm64/boot/dts/marvell/cn9130-cf.dtsi | 197 ++++++ arch/arm64/boot/dts/marvell/cn9130-sr-som.dtsi | 160 +++++ arch/arm64/boot/dts/marvell/cn9131-cf-solidwan.dts | 637 ++++++++++++++++++ arch/arm64/boot/dts/marvell/cn9132-clearfog.dts | 673 +++++++++++++++++++ arch/arm64/boot/dts/marvell/cn9132-sr-cex7.dtsi | 712 +++++++++++++++++++++ 9 files changed, 2954 insertions(+) --- base-commit: 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0 change-id: 20240318-cn9130-som-848e86acb0ac Sincerely,