From patchwork Sat Oct 22 07:24:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 7708 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4242:0:0:0:0:0 with SMTP id s2csp1109459wrr; Sat, 22 Oct 2022 01:48:38 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5lGj4kVa/+9SAfBOerDMaywZsL+HOIE65t9mVMMwozVHNp4tR79k0TLIROO04kAu+hc2H3 X-Received: by 2002:a05:6402:b5a:b0:458:f4c6:8039 with SMTP id bx26-20020a0564020b5a00b00458f4c68039mr21284034edb.349.1666428518697; Sat, 22 Oct 2022 01:48:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666428518; cv=none; d=google.com; s=arc-20160816; b=i/jae0wpfNZMoKNB22gO0orp4Ej1UcSvYG45VJZLNURIVVx8lcmfivZ3025MkWo6pO 0sOv5Pw7GZnUjRR10icI+uvRVpGXfJHrd2FH0+sILpp6Q7JcL4hVa4PWQL0XZhme/iZp ouKiJ1vHwE+fGFBpVDx5tTdHZUn+HzCCmraR4jnOLsUgxE8nZK1BaCwaJs4KiEbI0Y9d 8PSxvULWbvgir+6M+Hup+wlojY5FQg0AuA/oZAe6eq9iqd10oVAKL4q+N3i+wMzZVLGN b6j2c5bxv78r2YKrIl9GhIb/xDgbWVXdYrZZNLINX2OlrxAifpZ3f1wdDzQfYgiychmi fRQw== 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=k2ly98YlK9qJjmmWSL6uolhflSVClvkBfLaBkCZ7HtqA0dVEHBGZWiVceh/nVOJu1H 30qernYKLiUVvVQluAArVuCoAUaHRiKfYlsfIXqmL0KJ0q6zEzDoa/FRvKSe+Pq7my/G 3QPhc68kfhbLR9SV2x15zLqTdc3j5CtvD7vSHyyFYaQcYWS7H5+ocnkmxZ4A3R4on2w2 21WAA3UBN/jOmJfhurVfGcEDqoZOBWyc+VJkjfAsEOO0ddR4n8Nr9GUdt6WmPp7rsS33 G/ID0QjP0YIm2BMJuzS/mkBUHyWbTfeHjec2tdY+cRsomz3SDcLJGXBtUqzWyQscOALO fcmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=orCeGXA7; 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 sd42-20020a1709076e2a00b0078dcdbb3e87si22718196ejc.530.2022.10.22.01.48.14; Sat, 22 Oct 2022 01:48: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=orCeGXA7; 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 S234759AbiJVIrq (ORCPT + 99 others); Sat, 22 Oct 2022 04:47:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46714 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235048AbiJVIoV (ORCPT ); Sat, 22 Oct 2022 04:44:21 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1F572EBBA0; Sat, 22 Oct 2022 01:08:12 -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 449C560ACE; Sat, 22 Oct 2022 07:51:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 568EDC4347C; Sat, 22 Oct 2022 07:51:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666425105; bh=RLkQdPDMRCOU/IECOAC2hHaLhoeqjEyfi9vzRWGTaUE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=orCeGXA7Dd4dJLO5xrORmJLTZlOgFzJ1At3uhE2a8TEdYM60qBvAeFR+VqMFOeMSo 3vRfvnRY08Zj9zAp/MHT0OGZfHIfVi9KXTBZ5dEnzaB4bne47l9KhF8H7Qn8uYPxj3 53IDyX3Og2fSdclPQpVbWQxShK917okYsgjW4W2E= 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.19 361/717] ARM: dts: kirkwood: lsxl: remove first ethernet port Date: Sat, 22 Oct 2022 09:24:00 +0200 Message-Id: <20221022072512.209230122@linuxfoundation.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221022072415.034382448@linuxfoundation.org> References: <20221022072415.034382448@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 X-Spam-Status: No, score=-7.3 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?1747376950208173649?= X-GMAIL-MSGID: =?utf-8?q?1747376950208173649?= 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 {