From patchwork Sat Dec 30 15:44:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 184020 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp3145528dyb; Sat, 30 Dec 2023 07:48:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IHxSL2N36bsNr+REsL874FCG1sWLYaA9G1cC+mc/9+M10Ujnli3SkZnPNNGvrQq/LumR2Jg X-Received: by 2002:a05:6a20:c517:b0:196:5a46:4963 with SMTP id gm23-20020a056a20c51700b001965a464963mr3560477pzb.99.1703951292035; Sat, 30 Dec 2023 07:48:12 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1703951292; cv=pass; d=google.com; s=arc-20160816; b=fXBcRUxcoZ7CwMbym7RkkpFININk+IgLYqcwPHW2LdEE/rj4CWoQkwi3/9AhqB1Rde I33LMgHbjFy37rL5/UtJf9D4e9bV4i7DD1KOn9I9b6JVhoyXUOdSMOuutjQt4hf3o3Xp vfXqyr71LcGnlkqqj8HzwM17UfTaz1pCEwNqR/k/ubzQk9Y1hfXYQPtIpjouD2GTovy/ meuTwraYvWzlrhS2f4ryVQ0I7qVNNV/q6Ko0mTW3yJEydtIFzrUy5eYeN7KBETG+b4it QwLxPIXpSb23IfxFKUHzCnKk0WtM3IcDsl+ubjugI8diRa+vDbVQr8L2ghTGflX5YhpG gyJA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence:cc :to:in-reply-to:references:message-id:content-transfer-encoding :subject:date:from:dkim-signature; bh=dgcl289EmJRwpJtbpRe4wL18fqPn5M9ka+q6zrHa0xg=; fh=LZ3+8MPuo3SMsa6OKaa4nXkr9HAal1HR+rgsxxjlDOA=; b=V9o8C46gZMbR5CSixQpS5LQp0lAwerMGzqMrsPbsIsXQkVhdfKCgU2s1yb7UAakox+ 0qYFohrDoonggswlsy99nw5EA0+2vdqzmZlvfSpui6yLJEZuNKUzkQl0nvUe6FiWsXRV hpIRZWOdgVJEdTM2H8J6u27TkWzHNNB9PKg6iMCjKPp+AvdAXiuvMaFbE0CqpTdX5zbg tv3xeLWKtr2QoHEs5t4ANGsolM6kA/ByiobEU2YydOXkphjKgMxO5cGfzSuMVYR4LJ+Z HU/tIiehEDje0jT+x1dCWooZIeWu3euTyYCK7ToeowmAkG00H/J0m8D9kp0Gc+lCj6VG hyEA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@solidrn.onmicrosoft.com header.s=selector1-solidrn-onmicrosoft-com header.b=XIhzt1Xf; arc=pass (i=1 spf=pass spfdomain=solid-run.com dkim=pass dkdomain=solid-run.com dmarc=pass fromdomain=solid-run.com); spf=pass (google.com: domain of linux-kernel+bounces-13469-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13469-ouuuleilei=gmail.com@vger.kernel.org" Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id z25-20020a656119000000b00578ea9a0b93si16025355pgu.890.2023.12.30.07.48.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Dec 2023 07:48:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-13469-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@solidrn.onmicrosoft.com header.s=selector1-solidrn-onmicrosoft-com header.b=XIhzt1Xf; arc=pass (i=1 spf=pass spfdomain=solid-run.com dkim=pass dkdomain=solid-run.com dmarc=pass fromdomain=solid-run.com); spf=pass (google.com: domain of linux-kernel+bounces-13469-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13469-ouuuleilei=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id D00BAB21675 for ; Sat, 30 Dec 2023 15:47:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4DB44156C8; Sat, 30 Dec 2023 15:44:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=solidrn.onmicrosoft.com header.i=@solidrn.onmicrosoft.com header.b="XIhzt1Xf" X-Original-To: linux-kernel@vger.kernel.org Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2077.outbound.protection.outlook.com [40.107.6.77]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 303B4D2FF; Sat, 30 Dec 2023 15:44:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=solid-run.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=solid-run.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MA2jwtxgnsgFkv981E39/9HU0wDC/gdOQy/xBpfWVoBuCTmt5gQx8iyePTpXpALX52zveXbTwJbOnW9iC5CcsEQJ+R3lB22w2e6CA+8miB8RDP1Hqlm6WGp/z6PmBv4MuxG2E7+iAK5jNldbdBUWoZji9W1y5T/42v/OrOg3XtGjtlEdRoZpx7aV8xOeE81Lr7tjDoUVrLr85EjxjIAssYH6paMw09+Ih60xWHgnvAVtKzNl04swBwAKDEwd/TySZSLHr54o65ssnPb8vWNm7r4fEH2DO5pw7Pc7G92cy8KHcg0fnO77VgdQEHwzTAGhtc26aMSEgUKatD4kFdIKSw== 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=dgcl289EmJRwpJtbpRe4wL18fqPn5M9ka+q6zrHa0xg=; b=IieyRgD14jAdMYEETC2quxJNiPSCVHirYHRfvumrDQfiX+ZwcE0zfcSO8m1qgWGJm2iu+3lYe7f/TCFnQYmwwZEz/UFFPX7hY0kHn2UMrBCozHcSyktgtwfUmyL+DUypfYIHja9egRvYzBsuXf9D8mHAFdt1Fn7Rsqvrk5B3cLdx2dP6AcFzfeB23h9eGOw/f9SUWD9MUSe9vmEV+DFc9EMKVq0omahh3P10MhuUTnapGjAF3t9OReP/uXCb7AZO3PHHK10jd3mrL/4bzggduuYYnOUo1KzlVViL2jmgZPyoa/LZy/duXD2rxLL3ec3ESAcJrMbdDk8mtBz0Ww99bg== 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=dgcl289EmJRwpJtbpRe4wL18fqPn5M9ka+q6zrHa0xg=; b=XIhzt1XfP8QcUERuCAR14l35baui2NfytFv2TZ2hwHRrvYEL70CdlspqHG04LXR/s8/YAlQR4IrU+tvgqtpvO/3n44FGX9H6ajifLn9o92Xrpa3N1hS5Zm4t1dzB8Dzm9Uzp579WsLnFggHG6O0KWgJKNNtfCx0T4QtVjDIkKEE= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=solid-run.com; Received: from AS8PR04MB8963.eurprd04.prod.outlook.com (2603:10a6:20b:42e::18) by DB9PR04MB9704.eurprd04.prod.outlook.com (2603:10a6:10:303::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7135.20; Sat, 30 Dec 2023 15:44:51 +0000 Received: from AS8PR04MB8963.eurprd04.prod.outlook.com ([fe80::4db1:aae8:c643:2e73]) by AS8PR04MB8963.eurprd04.prod.outlook.com ([fe80::4db1:aae8:c643:2e73%6]) with mapi id 15.20.7135.023; Sat, 30 Dec 2023 15:44:51 +0000 From: Josua Mayer Date: Sat, 30 Dec 2023 16:44:45 +0100 Subject: [PATCH v4 11/11] arm: dts: marvell: clearfog-gtr-l8: align port numbers with enclosure Message-Id: <20231230-support-clearfog-gtr-l8-sfp-v4-11-1d7f0e2c7128@solid-run.com> References: <20231230-support-clearfog-gtr-l8-sfp-v4-0-1d7f0e2c7128@solid-run.com> In-Reply-To: <20231230-support-clearfog-gtr-l8-sfp-v4-0-1d7f0e2c7128@solid-run.com> 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.12.4 X-ClientProxiedBy: FR0P281CA0247.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:af::16) To AS8PR04MB8963.eurprd04.prod.outlook.com (2603:10a6:20b:42e::18) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB8963:EE_|DB9PR04MB9704:EE_ X-MS-Office365-Filtering-Correlation-Id: cc4d20c0-a3e6-4a42-65c2-08dc094e426a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: BkrvY9rfcCQJNT7OlpGTbTnXAOf0GEB6gcOp6PerCZH7b/fmupdnmLGVs+zGT8OUYCB39hCBorjSDHbTjPNtuBJ5NZKzjX9BTSY2xkP7X4qh/QAKjr3K2Hk2BsvexsOzt8vefnjCR3G6yS810Ovz9YhrDM0M9jSd/mXqyVsOjBgCMVPndEp8Q92X8HMyvOj10UDuJj0W3qo5ZgsRT4Js/CAaxjfFJkkuJR10VJ12y9Nz7VxR730KVC5efLe2Qe3RzTKnBA5YJtMYgQFTZBbhlOAjc1a0nb9sCm+R+iD3C6YJhMa4qAEi6t4jPaW7VC2U8umRZLJ0MKqjLnB7VqPMijw8K3L831wNCnphDt9GICJnW9S4yp3M0ALqYDCTIGHlf8SZiYThjeu+JQBgrQwUKxRth9IQ10lkVnehLVrgff3eA1I6fqHn79Da5xleMRy00PeFf1IymLiXIEP5EFQn2BGTNFUeQ7PqZ+HHVwtf2jashXaDj8kgQmehyeCEZsQ2UNS2EbjWMRi5BQ24b/7RXSvWniTxvDqCKFfGjA5/wjk1MmanzthcryWVayuHthl78PIx3et3LxRVklczS4BF1mqKgucB/9tABHz3NP7oKw+91WCPYYgmFSfKkSjyqqys X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS8PR04MB8963.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(396003)(39830400003)(376002)(136003)(366004)(346002)(230922051799003)(1800799012)(451199024)(186009)(64100799003)(26005)(2616005)(107886003)(86362001)(38100700002)(38350700005)(6506007)(36756003)(8676002)(4326008)(6512007)(83380400001)(52116002)(110136005)(66476007)(66556008)(316002)(478600001)(41300700001)(2906002)(8936002)(6486002)(6666004)(5660300002)(66946007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?Z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WmdzmnEHOfvPjQF+FEJk12+xkvgj40x8mz?= =?utf-8?q?iyiLoQapKhXs0TBXzUmrWZY2hWv2Mp8GH6RcWlHre5aIVNP86ZLPUARiMU782z0Oz?= =?utf-8?q?ODvALICttsSESCJ8j5e/l/iG5mT8APk4hzdSCvdIA6KEVzIuqnKHSnWD1Q5bNxSOh?= =?utf-8?q?G1Rze2xz9Z++7FfESsDv+VMEmvHV70XRsJc06ZVnRUHC0ejbt1GJskCrLuxMHVPDi?= =?utf-8?q?EdLYvPxI4iuCuSjxsz32UPXp5B/MKdcXSZpyzLgymgpT83uM6/B9r0Xqy22HWcld5?= =?utf-8?q?RNLzvgS/a+mG5J+k4JSGIKVZRPCTBnLWsS1PUgqiWpMyFwXGv4YIXipask6RN3NhC?= =?utf-8?q?7p/r6pEkmbRT5JNLRR2mLvOsoYDZzbEvQJ7Qadced40vV6VSuZ3AWqn5u7sv180VN?= =?utf-8?q?zAiAxxlSVr9gLc2HsJuLjh1zXUohZKy6xHqUNcpl4EjL8mN05XCBZGKM5BYsWEN+x?= =?utf-8?q?RLFihOL/lx6EPxRzAfYRWjFhY38YC6ds+gtt4sbxR/1fJ6/pN1ebZ6JbCbR5fzb5x?= =?utf-8?q?vBeM4NdyPhFCZFnlSSDxvSYjNhWV9yLOmvGNSuJVkqhseHJ/V+SY946BlqmbSmgQv?= =?utf-8?q?XxrlFUK/re6IBBw2f+3tnEKATAr2fyVSTmbfPO/4JIbk/D0Jygqh33GsuMtxzAmu4?= =?utf-8?q?EBv1nTsXstt7?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: cc4d20c0-a3e6-4a42-65c2-08dc094e426a X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8963.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Dec 2023 15:44:50.8350 (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: ntsfHwh0ww0bZdg/XvMhyLOevQetYrpd9N06c1tob0mGOABeM/bxGihP4g+uYzeJiFvaWnTm5jcJtdSzqJklJw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB9704 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1786722429931235270 X-GMAIL-MSGID: 1786722429931235270 Clearfog GTR has an official enclosure with labels for all interfaces. The "lan" ports on the 8-port switch in device-tree were numbered in reverse wrt. enclosure. Update all device-tree labels to match. Signed-off-by: Josua Mayer --- arch/arm/boot/dts/marvell/armada-385-clearfog-gtr-l8.dts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/arm/boot/dts/marvell/armada-385-clearfog-gtr-l8.dts b/arch/arm/boot/dts/marvell/armada-385-clearfog-gtr-l8.dts index 2df388f222ec..da6981677b03 100644 --- a/arch/arm/boot/dts/marvell/armada-385-clearfog-gtr-l8.dts +++ b/arch/arm/boot/dts/marvell/armada-385-clearfog-gtr-l8.dts @@ -32,49 +32,49 @@ ports { port@1 { reg = <1>; - label = "lan8"; + label = "lan1"; phy-handle = <&switch0phy0>; }; port@2 { reg = <2>; - label = "lan7"; + label = "lan2"; phy-handle = <&switch0phy1>; }; port@3 { reg = <3>; - label = "lan6"; + label = "lan3"; phy-handle = <&switch0phy2>; }; port@4 { reg = <4>; - label = "lan5"; + label = "lan4"; phy-handle = <&switch0phy3>; }; port@5 { reg = <5>; - label = "lan4"; + label = "lan5"; phy-handle = <&switch0phy4>; }; port@6 { reg = <6>; - label = "lan3"; + label = "lan6"; phy-handle = <&switch0phy5>; }; port@7 { reg = <7>; - label = "lan2"; + label = "lan7"; phy-handle = <&switch0phy6>; }; port@8 { reg = <8>; - label = "lan1"; + label = "lan8"; phy-handle = <&switch0phy7>; };