From patchwork Thu Apr 4 15:35:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 13618006 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 A011DCD1292 for ; Thu, 4 Apr 2024 15:35:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Cc:To: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=n/zJq0ECzszdQEVe1M1BJNAuO0TWXvDZgn3VzIFdJhM=; b=qBjNTwkEEYqZuQ +XQWthzW2w8I3xnxDEzST+oTc9WLyk7/+ZkcddXVdkEIuHwV/f1XXNbQ6lzAAGFx6O1lF/M2tqFNx ZIEaMZUVDSA0X+4hmBXZBlg3y5DfCGt6xQF5ZjeB78pGiCvgYUwYEWmhn2uQsRs3oMQuaB3Rc152e dZQku+zNmEEs1jVSx9xyRQhEfaiCET+4SWpTQDHIJZCtE+tZC9XehVWQ0/rAajf6Ot9amd7rzg+J9 bzC1ELpeOHQF2X3S+qBeEOJ1gp5yWuDZDASNLj8mK5EttB/nwy2L4mlWpGjdtOx6AqmLP13wUP3ZU RV+zxYOSnEaKUYDqvgnw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsP7Z-00000003GGQ-1Mid; Thu, 04 Apr 2024 15:35:21 +0000 Received: from mail-db8eur05on20703.outbound.protection.outlook.com ([2a01:111:f400:7e1a::703] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsP7V-00000003GDQ-1LTh for linux-arm-kernel@lists.infradead.org; Thu, 04 Apr 2024 15:35:19 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AfiH7Yt9c0Nm+ues2ddrZ71Kc0iJGZKBXTjQQyWPkAnPK8QlUaDJshFtqemDMwm+ySOmfxU+1I9ds0+Y2Y5DPC+N/g3EYz2T8EH0DKvfY4XAdyXwYunuaOLKw8dI0dyFwRsG/RXMtWtTPFZpIZuaW2xBtMdzIgfPZkJddaibjkY/xzeNa6FqKIDlUX9O6jMCXe8S1z9/cLEoCWmi8BLIWt6yPwiyj2JESZQi6q1AblkhHYI5pQi3VFZm9GpRM2IgrFMPBTKq/JknHRx2eoV3m/GTMhXZl1Bk2SHwYgFwvHRWPtt49Pog28Oz+mpmpdRAog51VQNOr45UK9yM/zQEuQ== 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=fqU/zfuVo5qJXLsurm4w/uCfD13xqBgBJYN8aT9DXn0=; b=QO5n8ix3sDM46PzoPqEEz+i1TKZmwZxf8QhJsikRYebVQSkOQcqT01o3R6ZyjKBKavqetnvUyBjd4cdiI1UqOO5mqXl7XQ5aaIV7cQEQD/trYonEui8lwHu4eIvk04YqP7rf5b+bnZByRa4Qhcn2xsa6/hRU5LlunVC8QLCe2u9pQDWEq/5WUhEhJvSo2ZOd+9G38urOFYin+y+h/9hoooyfJcWb/pdT6RwMLf2FDRguQxTYcfxC6tDKKYQYOye86ciDhKGTWdmh4f7attGMJKXXKo/rogpXMmW3/G/90uYIv2KpVqtpv5r6vPfv/c/qB+AB2PtE2Gqd/rAz8DkdLg== 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=fqU/zfuVo5qJXLsurm4w/uCfD13xqBgBJYN8aT9DXn0=; b=QxKZba1IOwfHt45LrBG1rEz8ZgIzvk9es31zpr1YrzHf2IgBEiR7nirNcXoKqTXVqxLALrC+GrN0AD5CTgRLiR9liSpSBAzQlEAi1EwsaNLwehZ9Jr7OF4bxdirEywg6jyXWZbqYoh84S38b3dJqM5pB4RHj6BmSwpz+Njh+9yI= Received: from AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) by PA4PR04MB7871.eurprd04.prod.outlook.com (2603:10a6:102:c2::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7452.27; Thu, 4 Apr 2024 15:35:09 +0000 Received: from AM9PR04MB7586.eurprd04.prod.outlook.com ([fe80::57e1:e1cb:74e2:2e9d]) by AM9PR04MB7586.eurprd04.prod.outlook.com ([fe80::57e1:e1cb:74e2:2e9d%5]) with mapi id 15.20.7409.042; Thu, 4 Apr 2024 15:35:09 +0000 From: Josua Mayer Subject: [PATCH v2 0/3] arm64: dts: add description for solidrun cn9130 som and clearfog boards Date: Thu, 04 Apr 2024 17:35:04 +0200 Message-Id: <20240404-cn9130-som-v2-0-3af2229c7d2d@solid-run.com> X-B4-Tracking: v=1; b=H4sIAKjIDmYC/03MQQ6CMBCF4auQWTumU4gUV97DsKhllEmkJa0SD endrcSFy/8l71shcRROcKxWiLxIkuBL6F0FbrT+xihDadBKN6omg853VCtMYULTGDYH6y7KOii HOfJVXht27kuPkh4hvjd7oe/6YzT9MwuhwpaIdGsb1Vk+pXCXAePT712YoM85fwAXZ5X4qAAAA A== 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 X-Mailer: b4 0.12.4 X-ClientProxiedBy: FR3P281CA0005.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:1d::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_|PA4PR04MB7871:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: XwU9KUDTjpvpjHwA9TyDXdRZRe6CQIKdZtmDSvn1EJY8mz7+sKnNlMg9QZ9G5gq0ZBBvmeOB/R/4ao/w5WGL2PF+sM1X7Hb3IQVxnAhzMFONq+TxzB2A5wM0t89nZSbqezpI1JtkE67hmZEFpojAIQyqdB2gRAmGI3UTK15tUQrPf4EF3ccboFNiP7ZUWa/v1/nz2A392SvvT+OKP52wzJ5d8br8BSHK+1uqahVA9L64br+jqSX4+LCXlzHYAE4eOGF18aYfG4Br6IpBzWARS9D59cgF0QhtBsUuJhwS9MBOikoZMD+SJ8nS0EwC9FdXSpNOy7XTUPZ/9CsHfHo1MIhXrhUUJChdnK6lGq+QWGWiIeAxn+ge60lu6mCd2tU2/qPj69Edk5h7grM0h9V5yc/ymQdJ5vlIHbFlMsyr//V1sVlQoV/Ua/5rrQW4tnYn4NY8DNi2fU7oqEmVfsSGK7fnkaI0ROjkdc3INCcJkPCZuisfm+TEjMIK1gpFgoXUyROu5AxD+M9HaaldvDlcJb4sw+Do/ELChBd0n4TqBmOyz5RKaKOU/7epnIU0lSlU1fAUIFk9smHp2ygRAvOBqH8eMptLHICILbCB+KPJH+HZUCQ+y9/BzQJ3p1aIpgnPOwVMci0vvDYUP0fnFGbbIHOwU9gbsGy7S00Y42FU9C8= 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)(366007)(376005)(52116005)(1800799015)(38350700005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?sIxMnGR5WXDZ3gChTJQaMOwRx/T8?= =?utf-8?q?MRGu2vsVSNSV+ObHE5ucNsGuPjzqhK9mby8OzGgDP9tldQFqjh+qFf4K1JP4fgVMN?= =?utf-8?q?MIeu36Yaw5j6BfKP3o5tPJcigmCLt551R7rzoS+ZqbV4Uys9WjwNSIcS4bB0MjmWD?= =?utf-8?q?qt+6pSRO/kFfT+oJ1JIfJuevrdM9lSlrAF0DEVwsp6mnRTCND0jB81qbCHVT9XRqe?= =?utf-8?q?IEI6TAZzjC+CyAFgycefWHSqnPL589ZSH/S0UEpCTxba87tjNd72OxDOpSvJzbrmU?= =?utf-8?q?q29dteFgsPZdLdYKpWfoeU4pZFz8cga5DK404zrcamlaGSMDfBqtgiGuVukmMqp6F?= =?utf-8?q?mjEF92thyW5DVLfPUDdQf+TruS1mCpzpeAKfNrxqaNVPKBhNVrDAseio7OKUtdPI/?= =?utf-8?q?t8SwTiYc5jxIUKJCwDLR4ec0IKmH6RySHmZUURRpmkKf9IKucpGq9nLsRJEUk0sob?= =?utf-8?q?FTp2sWs5Zk9yXUDkX1Vwoe1yDNYTX1yEGZ3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Q9yk0q+eGJKw41ZB8abiu2YLSyf07dG3M6lNd8PmYwHL?= =?utf-8?q?Ku6oTolbmd6cODs0xohLcV9wRuC2yuDCNwmhHOGOqStn/rMXdGpx1v1Mt4zXaKJ+p?= =?utf-8?q?aMujLeBIkRF1Ak8SoqyCg1K2a09/x3e/iIth/XAHTdTnNVdMm3HcepEPDdXCqH3hZ?= =?utf-8?q?a7DheAIDldRl?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: a0d75cbb-e928-4597-6064-08dc54bccf83 X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB7586.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Apr 2024 15:35:09.2828 (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: x3LZEDhygoy0sL9XIMAxjdzK+UakZUhtkyxTa9d1dvciNjMvokB5hR/b+SybmvgdD2Ey00+G91aAdmB9XYfkdg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR04MB7871 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240404_083517_398611_922B2190 X-CRM114-Status: UNSURE ( 6.66 ) 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 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 (3): 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 .../bindings/arm/marvell/armada-7k-8k.yaml | 18 + arch/arm64/boot/dts/marvell/Makefile | 2 + arch/arm64/boot/dts/marvell/cn9130-cf-base.dts | 178 ++++++++++ arch/arm64/boot/dts/marvell/cn9130-cf-pro.dts | 367 +++++++++++++++++++++ arch/arm64/boot/dts/marvell/cn9130-cf.dtsi | 193 +++++++++++ arch/arm64/boot/dts/marvell/cn9130-sr-som.dtsi | 159 +++++++++ 6 files changed, 917 insertions(+) --- base-commit: 4cece764965020c22cff7665b18a012006359095 change-id: 20240318-cn9130-som-848e86acb0ac Sincerely,