From patchwork Sun Apr 14 12:58:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 13628955 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 4D037C4345F for ; Sun, 14 Apr 2024 12:59:13 +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=BMhRrz8NJaYS+GOXOk4WkwnBZP2FD89bMs1HQ+iu8Eg=; b=kqOTCOpMUQ5V7L A2SNT4keTGvIcgc3FAsmXNZF7COWntzCOk3rLCoeO4S8den/ZSt94v+u7kjZCBTAl9g0fbzus56RI NNr3j7Ii8dS5nWmZDVdXm3Wkit1mklrOE4Z1ohBmT1+77Nv/f3CRLXvhKPPo3iqVoMYhD9WCMqsE2 sk12jR7ur83w7aTu/kFrjjWISqb8R+HSQDlBsgrBzRpJX1XMjwo/IUej/TRmH4QEw7DNWE61D4fZU B+vtVH6QguLJeSbYab4JGS7l+hT4dHGvfkU5TrVglA6NB9u3V4w+o7Cmag6Pw65JyTsBtR8SuCjb1 LeCcovVpVvGk3O21JcNQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rvzRd-00000005T6r-0k62; Sun, 14 Apr 2024 12:58:53 +0000 Received: from mail-db5eur02on20701.outbound.protection.outlook.com ([2a01:111:f403:2608::701] helo=EUR02-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rvzRY-00000005T4x-2E47 for linux-arm-kernel@lists.infradead.org; Sun, 14 Apr 2024 12:58:50 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=H8w1u8Yjxo9qgo8FYS+0dZPyZUtLT/GxyauJREKqOG7mnJWvEvDwRMNSIJs8ts9YtbVXJquVzI3Wv67e3lZONBsk3jchdzNhmqaX3sO0qekWCyMjIUnhj2sH3bD5+d0BCH30eO5HgG0+HB8guH8jOOQyyrvKdYvAxfIlDz+Jc9YFFkwRWp2C8GgwqeNUFLIJ0CjARhkRtF8VFhKTsG8QYdckb4ZchGzsM7XvRoWYzR/GfYVVeWtZCCjaUmXTeDIOpB7CpcQNxKD+CxcPI5WjtC1u+9jCLC/iqrYq3vTruVvtL0xoXaweaew7WmNSOjN39/R/AlRJHRNqGNHkKI9+6A== 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=SXkBl6fMrm3NwinWqLu3p6fa5+Mt4AogSxh7FaUOouY=; b=RlUymhikdxsIDBTMeW5K6w1TCgnflTu9UWEaqmL4vvbEnM6DtFYmnYJxwMeAujJNKq9LWFFsfwzY5uf3bNZmJXHCXDnBe9Yg9Y2ygOErgBallqNsdhxXhqc8zT17ylXoTRxbmJBLIAu6i8Pk/KGpjVRN4122/nMa8NDRj5YtKIVV6cuU3SJk67KFbDbePx0TWLglNgsKt03VvbqeNB8KqtH6Uh2R9iIl3nocjMm9N0ep0TnkSOebtgvblwC/gzHNyCIjvNDhS5jZsi8l+4Lv1H5iwH/2qBfGc5+9+70U5l1mhU+LLTD6uhjCnZL9ctht8M8aHlllB8c3IBnX5tz2jQ== 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=SXkBl6fMrm3NwinWqLu3p6fa5+Mt4AogSxh7FaUOouY=; b=jtJsGR9I9kYC40T4N3gsw8ztDuIDymkKdw/HAMt3Pg7cvb/YQRAcl18N6z8wm6/kpnfkba4UK44wMmJN/10lnlbQGRuZh4MMTTP0Ig0ch8/oXhLVHShM8IgP4hsO3bg5U1Mx21wjleOIfffBVioN/3j4LxkJMxa/cStU/pqmX5M= 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 DU2PR04MB8645.eurprd04.prod.outlook.com (2603:10a6:10:2dc::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7452.50; Sun, 14 Apr 2024 12:58:37 +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.7452.046; Sun, 14 Apr 2024 12:58:37 +0000 From: Josua Mayer Subject: [PATCH v3 0/4] arm64: dts: add description for solidrun cn9130 som and clearfog boards Date: Sun, 14 Apr 2024 14:58:31 +0200 Message-Id: <20240414-cn9130-som-v3-0-350a67d44e0a@solid-run.com> X-B4-Tracking: v=1; b=H4sIAPfSG2YC/12MywrCMBBFf6Vk7UhmUmzqyv8QFzFJbcAmJdGgl P67aRF8cFfnwjkTSzY6m9i+mli02SUXfAGxqZjulb9YcKYwI041FyhB+xYFhxQGkLW0cqf0mSv NijBG27nHGjueCvcu3UJ8ru2My/vOEH5nMgKHBhGpUTVvlT2kcHUG4t1vdRjYksr00ct+dCq6U B0RtboxZP71eZ5fyZXm1OcAAAA= 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: FR5P281CA0005.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:f2::18) To AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR04MB7586:EE_|DU2PR04MB8645:EE_ X-MS-Office365-Filtering-Correlation-Id: 2fa00b2f-8d1d-4813-0f5f-08dc5c829993 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 7vDoV/auP+YA3qmMWy/on97ZZ8FUJ7VuLtlPcI/OwlkYDMuNbk24iaNzBlyQLQKd2oluo/RCW5d5+NLtW+mFrYxAyHY3S0DOPl3C7tJ6ZuigYPnODnvEssmFyQ7bJZNlpVFooUPBSm3O0GmUzfsR8s3ks4J70EbEKgHXY+qxF6hWFjDKKdZwO93NcEnamj8KPaFugRZf0nKG+pmf6s9lIYJLYbQZRXwoxDBx6hUTQ+wphD9mayyIZMVliD7oOBcz+6PmGe4BdsSInFixgzvMgEjjm59K/wz9q3oRYQ2d9GYwRG3dRv0KC8Vg2QmexTIZ/1a0S9Fb9QT+IXI5Jg1YrVdaCiv9dvYS03U+1H4cGinpsC6cHHOBvlYtBNLIW/jSzJNazYKG8Y9xBafi2iKvyO4V7eCqrnVrfcqq2i1iesIpexp98IRBhJ5a+RLJ2JbCM2XuAFgApU7JE15+XiwzX731Fc/fQFzuQUqBfltsLQJeafJNCaxM28wSU2gXgNMPYMsgsZ7MFJT5oXgF9zDNHGjHRpEm/5LqEAmqX/4YsbQXFQ6qsGW067WN8Xl0kp5L8Q8MrkN9ZQJ2VrHN/5G/UyWiu1Cq4WhWyuYCVYHD9sKK9dU/G1reWWck9XFsKbKzzytjvKxUXPmDR1hpGT4JX88UwGrTlM/9HoUeFbIKIZP4Sr66ogZiJzaI3izxJb6RLocqy+3Keha3WwtSBAVyWmVwHIfXzCQZxh8S+7cnQE8= 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)(1800799015)(52116005)(7416005)(376005)(366007)(38350700005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?MvT3Ff+POgmwMXTZUClOlZBcwQvu?= =?utf-8?q?ZkwWQ2eH24BAGSSjYjUqzexv6o+BVaSv5ykVjp2KQ1/md6yVB/Ty/OR4zhu8NyiQa?= =?utf-8?q?JYOkyA8sy/KAXr1G4kj5xaRGXvHjoLI9yL+DWCByr0ccn/uW4Uz8PsNQGIrdz5dZW?= =?utf-8?q?4iKAuEzq9xL4SgZ3VVD0lvGAhQmsUwsxphE8C0rNsF4mtGbVI4z3FcUG+DDp5TjVl?= =?utf-8?q?YQyLugmtE1kXeiEdSFbHrDOG41FZ80/ax5BcPyQwml4TEtjE5bQr6q/yaQWRpjkgj?= =?utf-8?q?5h0t6aFw8BgIt11/2gzgaPtB85JOFu4ADaJgMpFEo31R3N7AIcv1+Z6AWTRauKUkL?= =?utf-8?q?y4qySk2kIzw6VWaiib3+B0yrH0+h5DzXlheP46odFe+wDQ/XaftEw81O92GdstJUJ?= =?utf-8?q?T2JF73zK1o9iuoAGgDG8hctFbUagJie9JPs6HZDtE525rG6Leb2jT6nPqbbmIo/Gy?= =?utf-8?q?Lih3bz0gYUeVhbQ8RvXDVnM2E6TMlPRBcYVhiM3zcr4EW/LOfpPPK8NLp7H4FrHaL?= =?utf-8?q?hUsFlujV3fApPfQ+/ybbqpCpS5v+u/CI4S386J6jUjssr4HtywzjHb/kTYpznZA25?= =?utf-8?q?NWnYDkEthYae3ub5mfmWG+O0zByRwVLFnJLzExrawiwIXVHeCuSaLwZ9iXV2BG6LB?= =?utf-8?q?EK5FyczryPSam79OXNgTwFG4N+eerJZMLcQj3xnquoQmOrOfdNvrjmiAEpN01/2Tf?= =?utf-8?q?4PwsHzMCXCVGJUcctQGX5hW7lAnmCMbilDbPWhB9lj5blyVilbPR9Kix3gDG2mKvo?= =?utf-8?q?0N/gssFoOu7AHI1JDaebds060ZNHhQonMYJBFxdiyBCW4DWuaPfyXUub8khogzklM?= =?utf-8?q?8thOoZMn/JlXxBgI7pM4RTXC4h23xPD5wf6U3hrTTuxlqxXsObe9+47oeAGSufE+/?= =?utf-8?q?hf9fT280izlOmpcACkB0nDqR2kiEWNZ9jHIhio3sdOTnggC3m2cP69F3jhhvIFAec?= =?utf-8?q?YAAM1p2nx2Z1eKgve9ogHKM43Ot7kJ/B1zyfAoyDzW9SThFHc0pLhaFDdC8EUV9O9?= =?utf-8?q?js2JqTJGR2WPPhN4vpqOB+wcSTUR1UexbEhXYemDgDD7748cp298Po1WIH/fkeCJ8?= =?utf-8?q?coB4zt3L+n+vzVyf0nDRUESekctldZyv6ot1idyLNn7dlI+icHxZBMsRfnKUNineO?= =?utf-8?q?yY4wnNgKwfnzXH50BieEkmgpiDCoiU8K7/oos8ir3voGhGHGCXcOugFTHcg3R8OFl?= =?utf-8?q?T7yQwZC4Le/P1fcJsyaomMayLk8CzEmToZJG4V9XIxiIQ/MmawZHL1aAXFlLolspo?= =?utf-8?q?Y5NcrFNJiompL/uc9TVI16ErNf9Klm0iKvyh9KfkYeur1a+WvPFyyO6ETVQH3ri0i?= =?utf-8?q?N2BMQgl7zIUywL+aJMjw47WUUdUVQp3BUfppZC/jR+PXq0EImOpduaxonqkmGBi33?= =?utf-8?q?wDFRWjR4G0DVXMymUUOPw6CM7MrFTLYYsXbs7VlPE8N2+c6qL5FAi0gMw5OH67ybw?= =?utf-8?q?+qs1U+UEyZq88/Ugm7PCSX79fqMTlhfCVBIeU64ObBB9o58UacQ534iNSrExuO5Bd?= =?utf-8?q?kOSFLGPQMSP1?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2fa00b2f-8d1d-4813-0f5f-08dc5c829993 X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB7586.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Apr 2024 12:58:37.3073 (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: zKgHKFXozJV7plJzPQaHKuHl8flk7s2nnH46OIlvglse9l7RAVWDBVaEV/EZMBu7jRZYEwva9c805UOqWNnc5Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8645 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240414_055848_623631_4E9B20F6 X-CRM114-Status: UNSURE ( 7.81 ) 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 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 | 377 ++++++++++++ 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 | 653 +++++++++++++++++++++ 7 files changed, 1586 insertions(+) --- base-commit: 4cece764965020c22cff7665b18a012006359095 change-id: 20240318-cn9130-som-848e86acb0ac Sincerely,