From patchwork Mon Oct 24 11:30:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 8465 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp402996wru; Mon, 24 Oct 2022 04:51:03 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6Ob0eH661lYjVpTLSPDgTY88QOBadGAjc0iXhyFwaAHitJ+vKxEgdJ2EZNneguToApp8sc X-Received: by 2002:a17:90b:4ac8:b0:213:1d63:2ed7 with SMTP id mh8-20020a17090b4ac800b002131d632ed7mr3362356pjb.178.1666612263249; Mon, 24 Oct 2022 04:51:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666612263; cv=none; d=google.com; s=arc-20160816; b=MgBwwJZVSVs5SLnAbeqheqk0nmrx+kyxoxcsipLZ2U55QYQN8F1oU5GwX90ARm2Y17 LC5YGUyEa0a2f84PDQzWqRT0d/zEbmhiowaXkzdgtl73/R5mCGYb2lA0C/rvqX7yrKOP bQSVZfBxvAtFsmXZTK2A8Mwm7CYmqtMpEbPpPqpLYTreWpMRQAMFnZUnEXsx7UrYvcgK tbljR03rC+5c2GypZ/uKuhdvTCMXq4NEvOKz8L9RdMFvzfPBEj9xDt5b3jwWKL9F/8rG YTd0Ux5IW4wK4rHe6XVRPkg2gkvVWbX8cTQTsdPF/hdpz5erLC5epZ1sVSyQqu9UiIL8 mgJQ== 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=bLokUIh+vnGkDZLzBCsxvstEh2Nt+VuatYff2n7+JpQ=; b=q7tlVZ8yXWbSmkLAasaoTdsPLisER9neK060K2jiPQNQZih7/z+1PabSMasvY8huHd R//2+J1W+FEudncZOsOT3/uwAkP7rqCFkFM1E/zxa8hS52HXy3+ZY7aHfcH3vsu8ZLxo WK0V7OXjUoBU2HefBI1YQwnklzaFREqEYbWtf0qgfywrlCDMUjsVfytP2bNv80EP26qt oPEc1qFRyyol09wUyACKI6A0w/YWyIpajtYWITzeJjLabcGdyFIR4c2VmPtmHYK6lPyC p20vZCd1qH53r5CkuZVlcq4zig/ZdVHMpgWbzVIEWcNL95QjagRBvcE3FroQaxfEjINu i+Hg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="Aq8JY/eb"; 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 e24-20020a63e018000000b0043bdac2f05fsi35445203pgh.599.2022.10.24.04.50.49; Mon, 24 Oct 2022 04:51:03 -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="Aq8JY/eb"; 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 S231797AbiJXLuc (ORCPT + 99 others); Mon, 24 Oct 2022 07:50:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34720 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231831AbiJXLtD (ORCPT ); Mon, 24 Oct 2022 07:49:03 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA2AE7657F; Mon, 24 Oct 2022 04:43:38 -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 ams.source.kernel.org (Postfix) with ESMTPS id 6982AB8117E; Mon, 24 Oct 2022 11:43:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C589FC433C1; Mon, 24 Oct 2022 11:43:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666611802; bh=FbCIVOBS4yjMt+pYH7E1lvJhPlO9LFcQzGKTMLuRKGc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Aq8JY/ebouHtoJ4PihmiFbUNep5PWftdugGohrYhaF9TU+BWuGZQrTHZ/vd7Hcq1h kocf3nDTysqWqolyPPBhWFmu+/BH0IB2p3rtIQSP2mqc1YKWVo3b8siOZ2UF3qTLco GJsNrC9eFHVg6wF5aJlNd3758JxHaZbJZoZUuQf4= 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 4.9 086/159] ARM: dts: kirkwood: lsxl: remove first ethernet port Date: Mon, 24 Oct 2022 13:30:40 +0200 Message-Id: <20221024112952.555535060@linuxfoundation.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221024112949.358278806@linuxfoundation.org> References: <20221024112949.358278806@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?1747569620480408188?= X-GMAIL-MSGID: =?utf-8?q?1747569620480408188?= 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 c330d96cc023..450b4de544e1 100644 --- a/arch/arm/boot/dts/kirkwood-lsxl.dtsi +++ b/arch/arm/boot/dts/kirkwood-lsxl.dtsi @@ -217,22 +217,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 {