From patchwork Thu Aug 25 12:21:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pali_Roh=C3=A1r?= X-Patchwork-Id: 12954634 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 68E5CC04AA5 for ; Thu, 25 Aug 2022 12:43:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To: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=ER3YyqWDGOtlMw782KDlMWFeeir4xP+x0h3xq7LsMsE=; b=f6y+ZXX9O5DNPk gXat/dp0n6Dd1VHyPsB70Cam0BlEteGol8yeU9UzoN7VtpthyhchrV6THjKFZi+KY4FDnB+UP98JL HRC2MhyOWloLTUXnipQj2hFE9+mSdb4I1tQgUHyu8zDB3u4hXo3C7kjWO+W3sHE1Urln8XT2s73rg sYEl+9mj7vcKS1T07qLw8yPH0jjlPhGOghn04+AGIqcXCOkGnJgZuvlduG9IaAXJhDk5TBNgIaRBm uaxae5d8ModibTWczeiB5oIc36zzfIm3rgJBjwB7kW1hM3k6UQvsfywie6+OSFIGjYq3H1HSYOiYL eGS8bpqiliKcXYdTWCFA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oRCC4-00Dvqh-4K; Thu, 25 Aug 2022 12:42:44 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oRCC0-00DvjD-9V for linux-arm-kernel@lists.infradead.org; Thu, 25 Aug 2022 12:42:41 +0000 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 64D5BB828F2; Thu, 25 Aug 2022 12:42:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DC609C433C1; Thu, 25 Aug 2022 12:42:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1661431357; bh=0+OlgcSOrYlIbWJzpjLsDpMOnEDE4sN9uwmn10MNF28=; h=From:To:Cc:Subject:Date:From; b=CxlnxkN1P/sPdsB6GXDGrMKeLGsDHAuwdnJC5/vcTdN+K65msTE3yRkwUUY6PtfGz kNUdtOSmcLQT2r/M+SBvOxzVh6nqjFmGYLIOkB9+W5R1k+oKXpJ3AnI2v9EbkOjpsu PCAsav0lzcaRxMCLhfZxbZG93ggA2UpGrnleYcc7Z2I1/sD+U7kAPt/8OATzAUbG/w SY32KdrrJjwlwlgYoZ2OAiyoxB978SxNbGh8UlyyJNoG8eGXc9NUJ2s9OjIJPJUiJX BjHP3iyAm+QsBjzoIouPH417AQz9M+06ecWd7lt5UhDhfAPMrK5Pa2ygLmWsjP8J5e nXAN9S0/OKI5A== Received: by pali.im (Postfix) id CE4F3742; Thu, 25 Aug 2022 14:42:33 +0200 (CEST) From: =?utf-8?q?Pali_Roh=C3=A1r?= To: Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?q?Marek_Beh=C3=BAn?= Subject: [PATCH] ARM: dts: turris-omnia: Add switch port 6 node Date: Thu, 25 Aug 2022 14:21:02 +0200 Message-Id: <20220825122102.18634-1-pali@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220825_054240_503579_2F4946D5 X-CRM114-Status: GOOD ( 13.93 ) 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 Switch port 6 is connected to eth0, so add appropriate device tree node for it. Fixes: 26ca8b52d6e1 ("ARM: dts: add support for Turris Omnia") Signed-off-by: Pali Rohár Reviewed-by: Andrew Lunn --- arch/arm/boot/dts/armada-385-turris-omnia.dts | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/armada-385-turris-omnia.dts b/arch/arm/boot/dts/armada-385-turris-omnia.dts index f655e9229d68..8215ffb6a795 100644 --- a/arch/arm/boot/dts/armada-385-turris-omnia.dts +++ b/arch/arm/boot/dts/armada-385-turris-omnia.dts @@ -463,7 +463,17 @@ }; }; - /* port 6 is connected to eth0 */ + ports@6 { + reg = <6>; + label = "cpu"; + ethernet = <ð0>; + phy-mode = "rgmii-id"; + + fixed-link { + speed = <1000>; + full-duplex; + }; + }; }; }; };