From patchwork Mon Oct 24 11:30:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 8924 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp434646wru; Mon, 24 Oct 2022 05:52:38 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7Kt5YYVzrTXToBbWNf9/b42rnKLfqGwVENH57c8/Hf4/DlF2MjqMhwDZ6hxeKycqRAk/3s X-Received: by 2002:a17:907:a071:b0:7a7:dc5e:eb32 with SMTP id ia17-20020a170907a07100b007a7dc5eeb32mr4352526ejc.519.1666615958502; Mon, 24 Oct 2022 05:52:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666615958; cv=none; d=google.com; s=arc-20160816; b=gP1uZLDDWn08nQdaimhsh9KCNiEjBc1SnbbP21H2Dv6uhd7iVc22MSAbBn+bq0ICrl xOwrVguAWcXXySObX7CMSx6j55Ui3ba58V3FgkHgEgYXNG1PNQlDer2FYcYKMUVGbRDL gknhJ8PJmw9DyRJEqWP70p9YYYOaWUE1yDCj9SWwOR3qQjzWiInPdLvldwssCwnddPWH OtG/0df+UsU0/ocLA6ghg/PPlOYnW4eJzbAndIF/3MrHZV84xCixjUfBCEf7+y9mMz9d UlGy/fikHCpYoyuqJutMEwLpordOprtrvIjwRpecnTivLMllaCOsCtLXGQNxyWF4uB3e qKJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=bZCjyF/awsLX2FZMnkU85emi6uW8YxgWuqdmAKdv8W8=; b=fpRfER57yC5wS9+jzfmxtOrW8usHFoS7Y7Hl0/X91VMsbsmdOsuIkcnStcR/sI8dVZ zYZg4Uj1FU9TxMbZUitiZdEiWeUXOB7DdDWRtUe8Vax4AGOavtBsg4H26GrZizRO/Lc7 W5oBy46wooy7Izs7ar2E5ZlgDJkl1VxXQnewLq+R/Qf/UeTGBJWuwyHaZcd3hDl8MV/H 9GoWB+C6IO31c0qyIWA1wbEeEddbEuD72AzT80D9eIMKgz3BoQblf5jMw+OFQLH7q7e6 KCSEhHGi1M4a8XxNvQMeH6CC3T1mYO10An+fLx+vnCiFn4SsT1XHeCZDqwcxds8a5ak6 prsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=cBdXLzup; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id oz35-20020a1709077da300b007aacd494fe9si617137ejc.311.2022.10.24.05.52.13; Mon, 24 Oct 2022 05:52:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=cBdXLzup; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234437AbiJXMvJ (ORCPT + 99 others); Mon, 24 Oct 2022 08:51:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58200 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234675AbiJXMp2 (ORCPT ); Mon, 24 Oct 2022 08:45:28 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 62AB31B799; Mon, 24 Oct 2022 05:10:01 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 51C1E61252; Mon, 24 Oct 2022 12:09:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 67104C433C1; Mon, 24 Oct 2022 12:09:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666613379; bh=RLkQdPDMRCOU/IECOAC2hHaLhoeqjEyfi9vzRWGTaUE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cBdXLzuprUjmSy2/h4z7DVI6w3/K1BFFhIV8/jcg49NL1xSI2mI/pkFrFnBc1lz23 Ce8pBwkFqQVd7u8PMw4bv2LPttXEmKjBvh63yin1rKhkHlgruNfUq6VTawaANHBABv 6f+2mWZMSBHzINJX2s6iA+C8huE2DcHqembXJ7ho= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Michael Walle , Andrew Lunn , Gregory CLEMENT , Sasha Levin Subject: [PATCH 5.4 114/255] ARM: dts: kirkwood: lsxl: remove first ethernet port Date: Mon, 24 Oct 2022 13:30:24 +0200 Message-Id: <20221024113006.284226360@linuxfoundation.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221024113002.471093005@linuxfoundation.org> References: <20221024113002.471093005@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747573495195214236?= X-GMAIL-MSGID: =?utf-8?q?1747573495195214236?= From: Michael Walle [ Upstream commit 2d528eda7c96ce5c70f895854ecd5684bd5d80b9 ] Both the Linkstation LS-CHLv2 and the LS-XHL have only one ethernet port. This has always been wrong, i.e. the board code used to set up both ports, but the driver will play nice and return -ENODEV if the assiciated PHY is not found. Nevertheless, it is wrong. Remove it. Fixes: 876e23333511 ("ARM: kirkwood: add gigabit ethernet and mvmdio device tree nodes") Signed-off-by: Michael Walle Reviewed-by: Andrew Lunn Signed-off-by: Gregory CLEMENT Signed-off-by: Sasha Levin --- arch/arm/boot/dts/kirkwood-lsxl.dtsi | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/arch/arm/boot/dts/kirkwood-lsxl.dtsi b/arch/arm/boot/dts/kirkwood-lsxl.dtsi index 321a40a98ed2..88b70ba1c8fe 100644 --- a/arch/arm/boot/dts/kirkwood-lsxl.dtsi +++ b/arch/arm/boot/dts/kirkwood-lsxl.dtsi @@ -218,22 +218,11 @@ &mdio { status = "okay"; - ethphy0: ethernet-phy@0 { - reg = <0>; - }; - ethphy1: ethernet-phy@8 { reg = <8>; }; }; -ð0 { - status = "okay"; - ethernet0-port@0 { - phy-handle = <ðphy0>; - }; -}; - ð1 { status = "okay"; ethernet1-port@0 {