From patchwork Thu May 2 12:32:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 13651692 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 E2BA6C4345F for ; Thu, 2 May 2024 12:32:50 +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: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=xCEqVBaP+Xxa73fPd/qr1MxFOTFtg/UL/Vx6ATq5byE=; b=yI4Pyy5oZ9Gmbm Rl5sZpzLjo8TzjHr2ZZkvZ+yldo/4NWynt5RMmx47uw/rzx7KZg/fIkNVSHWow6urffSU3CARfyn1 VtyTt66ry9LR+suQYAZiFrMODG27q1xDBzOL9/mTfhkOG5BlDoQixC9r9ekUuKpgitJGC/w0x5NGl eDaBFtHl1LfDsOINHox147pNVMy6nw4QoXnM74drIPUvrqZj/yUdjyoAjf5jjt+iSn8AirPMlhsPg Kq/rNsUAPy+aPo0xWLrAqbed/WS8SGMevS/i43d2y/Wy4vUJRoDaILwDMW4gXbpcWWPwvQ3otUrz0 JKNR9jBvmumAYpI52PRA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s2Vc3-0000000Cfac-0CWJ; Thu, 02 May 2024 12:32:35 +0000 Received: from mail-vi1eur02on20701.outbound.protection.outlook.com ([2a01:111:f403:2607::701] helo=EUR02-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s2Vc0-0000000CfVK-1m0Q for linux-arm-kernel@lists.infradead.org; Thu, 02 May 2024 12:32:34 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UyC+gv5k8Q/4atg/dP+nxmsUckz1BVXnBxuNeOS+p11dpdA0MIeC2R6Y4C3fErntiUos6gt0WOGxw+moYgkeU3HXamvJKJPkEaeMZcfoRkDL9TOLw3kanTTsG6MS2ENAF+nTBnda4Xz2iY7bfC2GUy1Lt/ryovBVT8NYLyI7RLX1qAnvUs+8PENXh8SfV8VVw6bNgpbGsJlAOw8yHW2SLXpuHgkw64U+MkCpihzhehVR/2QWjMcmhQTjlWKLy0/JE2ZmykwyqGlu10KytbLmje1nDx6fAq6/wXo3TvWnqG6DuhzOWTMFpMmuTMo1edi2CG1qqVVBz+Bnlba2GTOJKg== 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=4A0xqkpUnuOIrzGjyCUyT2ZwleT/YIRIm5XZQYWph6A=; b=J9AzY+/tpquzACT/YeGq3Tg9XQAPJXghBzqvq6/cbxFW/kZCKZcV5517kJHGlZdfV5RwS0ZMzhetrdf/NJ4Nf0ZK8EirtQmiywk7vFM0Az+sLKA2BOk40nX2nAWvhK3dp1BUzLkXv2M6bC23AIAZ9jqXGNaPozuHHbasEaNMrPg0D7B4rFtkYDHRuA5hR+Q+pCujZwt2tPQuImyvMEPwPg2/ZlenejOq4IRcp6AW8e+5wFhBrJs36RukqUQS/8DAdMtYml5u1yxYgPWRiOrxXDEBV6Me4LMBdHzZCwSkQSUNZerG1oeGCM7GjCbA9XGjJMTplXGtSlt5Gt6oc7O2Fw== 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=4A0xqkpUnuOIrzGjyCUyT2ZwleT/YIRIm5XZQYWph6A=; b=g5cdXzP5Hh4sipVPlZCI3qEPn018MeHVWEwpruVAK6gtsRYitY63zJIb2+QwgvuwCChbUyemG43AwugO/Qx/x52rLXD/yOcLmXn9To111wck/PpksEpvoNnzLuSlJawz4JH7fayfGbPpsNUlrn6QsJHqY7p0O4WOjK8237ALm5o= 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 DBBPR04MB7900.eurprd04.prod.outlook.com (2603:10a6:10:1e8::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7544.28; Thu, 2 May 2024 12:32:17 +0000 Received: from AM9PR04MB7586.eurprd04.prod.outlook.com ([fe80::c04e:8a97:516c:5529]) by AM9PR04MB7586.eurprd04.prod.outlook.com ([fe80::c04e:8a97:516c:5529%7]) with mapi id 15.20.7544.029; Thu, 2 May 2024 12:32:17 +0000 From: Josua Mayer Subject: [PATCH v4 0/4] arm64: dts: add description for solidrun cn9130 som and clearfog boards Date: Thu, 02 May 2024 14:32:14 +0200 Message-Id: <20240502-cn9130-som-v4-0-0a2e2f1c70d8@solid-run.com> X-B4-Tracking: v=1; b=H4sIAM6HM2YC/23M0QrCIBTG8VcZXmd4jra5rnqP6MLUNaFpaI1i7 N1zI2iLOFffgd9/IMlGZxPZFwOJtnfJBZ+H2BREt8pfLHUmb4IMBeMgqfY1cEZT6KgU0spS6TN TmmRwi7Zxzzl2POXdunQP8TW3e5i+nwzCMtMDZbQCAKyUYLWyhxSuztD48FsdOjKlevzyfCuOm XPVIGKtK4PmH+cLDmvOJ75jqqyMEJapXz6O4xvMC+8jJgEAAA== To: Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Rob Herring Cc: Yazan Shhady , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Josua Mayer , Krzysztof Kozlowski X-Mailer: b4 0.12.4 X-ClientProxiedBy: FR3P281CA0108.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a3::11) To AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR04MB7586:EE_|DBBPR04MB7900:EE_ X-MS-Office365-Filtering-Correlation-Id: 3f84299f-fa5a-4060-b4e4-08dc6aa3e731 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|7416005|376005|52116005|366007|1800799015|38350700005; X-Microsoft-Antispam-Message-Info: =?utf-8?q?jeKwWw2VSgacn/WFGoCWh8xgwgZfpbE?= =?utf-8?q?Gsm6YB/n44KxTZLFD7Bb15jggJ6wWKW56ChLIev/WPv7eChHowGuPxn1ZwuiZLeK8?= =?utf-8?q?amouoLcBFPsDWrIkhGp4+6biXckVnkSsX+eAIuWH+3RVCxlQnhprgu8qr+1EneZGA?= =?utf-8?q?wCAo25twc45xCEKrnHep3KEjpuzef8aDHJsMBs5SIiln1nQNnIzW8OCQsV6zCax1l?= =?utf-8?q?lf1TrfoprN/P112vPOR41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LX7HZqLaC2syU8s/A06RQ8mITRR8gmbu+uYJa?= =?utf-8?q?gzt4W9tClEc5VBR7dPjPpznyBnTDE99cfYxRA5JRJfBb+n4Xni0qScAP2Z11JoirI?= =?utf-8?q?nGe9zClL6QsLFaZqjmNjroxMd3uydTbDInYw=3D=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:(13230031)(7416005)(376005)(52116005)(366007)(1800799015)(38350700005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?j5ybICVZm7InVn4jO3A5RV5vwuci?= =?utf-8?q?n441AUTXAM4lihWh9AsAagss9BvN23rI47nFmnv3kzdFGUr3PxwB1jog6Y8OBRyaf?= =?utf-8?q?wsr666A8rJ4Z6LkXa5Zi6nL2Jz5lu+u22h49WnqBgEIXqW24ijTyzDe/X8JVWFkLd?= =?utf-8?q?YtbBnOO+EKT/QJadRW2RwaLiXsx3LzTt5wxCSdeFXcD9N3vPbof70ZuqDS/xeY068?= =?utf-8?q?7QwU8lodOPRn66DfN4qBpCFmM1yMaCaCnspJpT9/QPxbpuTNkzztX9V0zEcxZ2a77?= =?utf-8?q?Kly1eF3w38OUfRTQ2AH/BASfz3BoVLDNzSKLTWCasmah2SZz710+RmSZ3fYDsgYw7?= =?utf-8?q?GLluT5ixv6jQtF5Y4kIttWuemnYzt3jcByvdTg97UrWsfLJZYj2wEiqBB5kg5f9Mh?= =?utf-8?q?De6V3FHqo/8L4WuMWIxwYaEvJl8ywBsRFSAbS2GvvS9Cc4QZ2mczhTgemk7lZ8o9E?= =?utf-8?q?1YoAaJSM8yUaB61vo0dy6qHk6JB39MoBG3DfheaLmpb1cBTaqFqblhiKGvRqd4ko4?= =?utf-8?q?UHM3iwuY94pF0NH3OagAjpbWx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wAwj/rhz9XdCQi1jzuGfkFfEogGqdaj30u?= =?utf-8?q?Hnxp4MLqWzJQ8fXeoxqqlUhKjKCyf2f/yR7KAyDzFihW4X9crPe8S2efN4FHHhvzw?= =?utf-8?q?HKrk69p00K5a?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3f84299f-fa5a-4060-b4e4-08dc6aa3e731 X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB7586.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 May 2024 12:32:17.1584 (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: ntGJKkVzzAYoP08B6xc/1ftL2tKWc6fsy/iJGtOxOWJENKO9Lbc5XB1t43IjORCvs2vy5b6BVXkhWYOZu4lfzQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB7900 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240502_053232_538090_81C01953 X-CRM114-Status: UNSURE ( 9.27 ) 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 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 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 (4): 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 .../bindings/arm/marvell/armada-7k-8k.yaml | 18 + arch/arm64/boot/dts/marvell/Makefile | 3 + 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 | 643 +++++++++++++++++++++ 7 files changed, 1574 insertions(+) --- base-commit: 4cece764965020c22cff7665b18a012006359095 change-id: 20240318-cn9130-som-848e86acb0ac Sincerely,