From patchwork Tue Nov 19 17:33:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 13880368 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 373F2D6207C for ; Tue, 19 Nov 2024 17:34:49 +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: Message-Id:Content-Transfer-Encoding:Content-Type:Subject:Date: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=UnEHMWVrkZ1/bITH7A9C9+PnDrBmXvHdjqSXze1pXk8=; b=EZY9eLPeX2wkjdKq5KeG9tHTiP GckIxhLAMQQlQ3gHOYlfM0EO3Ert+cLkMvh/WXPEisCEJep+DtgT7EgzieJwc20Sd/VsAPOL6vY7x 3IyRQj2fM6lxppneghatpMmdUfQ0i+js1QUCVPQERt7rRzpMMeub3j+YEcr3chEDkGnHAUto4+H5z mxvX7fHI6ul6lzcUUduyMVOco8iBOpQ5rFgsZw0SPhE8Xg7Hdus0Vq9a3GY6C82ze0Y+6dnGnN6v7 yNtCpcomrrw/02kAv7VXKgZhKSmY5MUmSZJcfuWOMhemcigybyL9tV55YSIANMUkUuX81GOHtfChw /659bsCg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tDS7Y-0000000DEcU-18pA; Tue, 19 Nov 2024 17:34:36 +0000 Received: from mail-vi1eur03on20721.outbound.protection.outlook.com ([2a01:111:f403:260c::721] helo=EUR03-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tDS6b-0000000DERY-3AEb for linux-arm-kernel@lists.infradead.org; Tue, 19 Nov 2024 17:33:38 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=tPegKBYL6wJ5L0KmyBwcbT4LsQ+CnTgSsOLUX9W7xrRtSX28RcxcW5oKfTDibR8PifRHx8a/ERG4iTK/Jg86tKlqhheUfEvEXJ4BBWTUyU+caMsI3tvuMV80TrGYh1WzFKJAemkn33FtP0hxt7KQNstOfvohcC4c0vlaIXiOIvU0zlP7Ddn7F0s1175TJbIGK6SHJ9V4FOiPPLZ7jyUd8vANGkoQI/r9e47w8QUm+mFFdGObhb2d7CCByjLzJ0KUPpWWD9aqasGS7cVZArYUswuaINZNIdScsPu7Mx9OHhIEpu5kiDMJqQjZBkeIL0RJhuQuA8gKB6SzK4hp5diZEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=UnEHMWVrkZ1/bITH7A9C9+PnDrBmXvHdjqSXze1pXk8=; b=gGrlohYy999NLwizg1PaDpkXUy48JsHswhBTv4aD39jkckHYNceISTbarBxnk/f2Wh0ldSClGQ5ONldzZKvOPmks1nFVrn5AFPfd8qwZk0JP2T7ayel4LTOqmBnFilBQUmfD2OcWl1gZciXLqlA8PMNXUl6gPcvoxQXxtLwaEkAtBzHtpty7XFUnUQuCELKyvcfupQ46aNdOo9y/IGauT6TRbJYpVbOpD4NbYVgiLavMEBjcveENETU182+upLlwmqZ8x/DFPAy+9r324MvaLco3zCaw6/9tlAH1ezBZXcqqDAxVPEnAitgzpjjlSF4ioUrnTMVJOA82cQ0L/ZJqIA== 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=UnEHMWVrkZ1/bITH7A9C9+PnDrBmXvHdjqSXze1pXk8=; b=CNEy2ggPyBh62hKikKfI/GQwsOdg1esnp55Vaj7lEzk3k3u6q6knc4mlpCHOKgVFsCkSNEvzkwEsFUwc1GegxaRBA1C5YmYRAzYwWPqWqNsc0E8PwQUy7ouRetd0BOXtR27Hcvb9HdkendZR4dY8iyDnMqKzYZgKHIQI4xLYeHQ= 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 DB8PR04MB7082.eurprd04.prod.outlook.com (2603:10a6:10:129::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8182.15; Tue, 19 Nov 2024 17:33:28 +0000 Received: from AM9PR04MB7586.eurprd04.prod.outlook.com ([fe80::c04e:8a97:516c:5529]) by AM9PR04MB7586.eurprd04.prod.outlook.com ([fe80::c04e:8a97:516c:5529%4]) with mapi id 15.20.8158.023; Tue, 19 Nov 2024 17:33:28 +0000 From: Josua Mayer Date: Tue, 19 Nov 2024 18:33:08 +0100 Subject: [PATCH] arm64: dts: marvell: cn9131-cf-solidwan: fix cp1 comphy links Message-Id: <20241119-cn9131-solidwan-comphy-fixup-v1-1-6e7446434204@solid-run.com> X-B4-Tracking: v=1; b=H4sIANPLPGcC/x2M0QqDMAwAf0XyvEDjhE1/RXwIbdTA1pYW3Yb47 4Y9HnfcAVWKSoWhOaDIrlVTNKBbA37luAhqMIbWtR0R9ehjT3fCml4aPhzRp3defzjrd8vITM+ HsyA4BlvkIib++3E6zwuBK+7xbgAAAA== X-Change-ID: 20241119-cn9131-solidwan-comphy-fixup-aa1870913d0a To: Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Josua Mayer X-Mailer: b4 0.14.2 X-ClientProxiedBy: FR0P281CA0261.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:b5::15) To AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR04MB7586:EE_|DB8PR04MB7082:EE_ X-MS-Office365-Filtering-Correlation-Id: 585d21ca-e196-42b5-6f7c-08dd08c04799 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|376014|52116014|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?GFBgPX2Hur90OEbdrMlNg8Ow7WWAD3g?= =?utf-8?q?XDBiMlsH7JH1m0HWBlphYpz1sTHWIz09JiNVsv+ZpZVvuOZktuSysVuPOu0WbpsMU?= =?utf-8?q?bxOyztCKoIIBY4fseFVewFsv40A/LLUtkXSqsPjw7vEwL4OhDheslZEjTS6+QbFI9?= =?utf-8?q?M8C91qqaxSkvBQVMKSdFLoeI/IQh4C6tH/tbj8mAumP9p1ykIs84JkPcsyU9PBCln?= =?utf-8?q?TgQq4NvD88KdD/3OGlDh8vuFEjuEIzY7Zq6kh8Z2lVgXKmvDsCo1T25dMlWCMd10V?= =?utf-8?q?yBTyVYij04q6lRRFdl8zJA2MAvFj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ErsTEfdS9H2F+lpK2AKQW9+?= =?utf-8?q?MxG730BbyZzfXVpLN0E76iUGouzsvFBUqooo+5CSjLmZZiAokDXE9qhtk8vO129/l?= =?utf-8?q?MYDbTJrK51Y3VWkyve3Pg7mjWej8g5MRe8hh5mDVEZdcDmBHJYiX7sFk=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)(1800799024)(366016)(376014)(52116014)(38350700014);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?4/XfXyqryeSer0hP1skGr16z98tm?= =?utf-8?q?OQqGxfXshbGzMUxNbuyamX4/eXoNHEH08sX37qMEdAWfou/yp42FwEOfkG9/kCXmF?= =?utf-8?q?gkiGOmgfQ9XhX1UGV4EDoRsg6VRnDYpQRyslu12eacvepIbH2UAytn1ihyCsGR2ab?= =?utf-8?q?JGuh19d8PySlme/OS9sHb7qZZDWiW7rHaQ5VM3GSp8KY4GveSBXlsIuQugfrtYNwa?= =?utf-8?q?fg9pOVkWwR33zR9+pNOXWAd7mV9cOvN/dXBb327F6exIMFq3QxLzAfYBmvDZwZeq9?= =?utf-8?q?UEf/z5qW/thdBsz5DmTTTJ4wc7xbhErPZjBh2xkK7GrKmnSq1Q+YGNkxDAyccu3s1?= =?utf-8?q?KIdMzQSXziYDRiXZXMVyp3BLXwd3CNNnckv/kPcfEYL6woO187Qg1WzD+m45EKY8b?= =?utf-8?q?g10FWG1+19NRecq53WVrKs7OSwQ6DWUmyfZDntlFay7QG2zA5yafY1f3chBpwbJS7?= =?utf-8?q?4qS/CoHnlHh+YKmsotRjttqbDQM7dXJafaEWZ3/DcYCc0tm00sNKZfTAvTGb2AQ5X?= =?utf-8?q?AMl4rPJsOpiPdQcgZDvH3qv+iCJdRKnA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HLV920VbeGqpFCEGkRyE++BzqcI5k/htlyuEk2?= =?utf-8?q?RzhrI3qeJwrcU6aquaLISJXTGtLXN5es0uKu+3IMYPlGLgNGrNjqE4nfUwVQLEKoO?= =?utf-8?q?AuUsEeOGZhGa?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: 585d21ca-e196-42b5-6f7c-08dd08c04799 X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB7586.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Nov 2024 17:33:28.6120 (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: FHsgB8ehJ5qiAEH7l38klhqibL/Um6cdxVsFhBKRhurWZLBu1xtQs3X9F19SUrCIlbgQbfAK0lGuhZtqDrYfWw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB7082 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241119_093337_806287_748505F2 X-CRM114-Status: GOOD ( 10.76 ) 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 Marvell CN913x platforms use common phy framework for configuring and linking serdes lanes according to their usage. Each CP (X) features 5 serdes lanes (Y) represented by cpX_comphyY nodes. CN9131 SolidWAN uses CP1 serdes lanes 3 and 5 for eth1 and eth2 of CP1 respectively. Devicetree however wrongly links from these ports to the comphy of CP0. Replace the wrong links to cp0_comphy with cp1_comphy inside cp1_eth1, cp1_eth2. Fixes: 1280840d2030 ("arm64: dts: add description for solidrun cn9131 solidwan board") Signed-off-by: Josua Mayer --- arch/arm64/boot/dts/marvell/cn9131-cf-solidwan.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- base-commit: 9852d85ec9d492ebef56dc5f229416c925758edc change-id: 20241119-cn9131-solidwan-comphy-fixup-aa1870913d0a Best regards, diff --git a/arch/arm64/boot/dts/marvell/cn9131-cf-solidwan.dts b/arch/arm64/boot/dts/marvell/cn9131-cf-solidwan.dts index b1ea7dcaed17dc0205d1ae91d4178dd1f8313a5b..47234d0858dd2195bb1485f25768ad3c757b7ac2 100644 --- a/arch/arm64/boot/dts/marvell/cn9131-cf-solidwan.dts +++ b/arch/arm64/boot/dts/marvell/cn9131-cf-solidwan.dts @@ -435,7 +435,7 @@ &cp1_eth1 { managed = "in-band-status"; phy-mode = "sgmii"; phy = <&cp1_phy0>; - phys = <&cp0_comphy3 1>; + phys = <&cp1_comphy3 1>; status = "okay"; }; @@ -444,7 +444,7 @@ &cp1_eth2 { managed = "in-band-status"; phy-mode = "sgmii"; phy = <&cp1_phy1>; - phys = <&cp0_comphy5 2>; + phys = <&cp1_comphy5 2>; status = "okay"; };