From patchwork Fri Feb 5 04:29:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dinh Nguyen X-Patchwork-Id: 12069273 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5CE8EC433DB for ; Fri, 5 Feb 2021 04:31:30 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id F22D664F3B for ; Fri, 5 Feb 2021 04:31:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F22D664F3B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject: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=Dra0bUhvKus0nWbO7xEcJDPDNd+xdVpVhjgNzkIeh0w=; b=h0yi3z4eQArr15uVASkRtXeWw9 93y67n9slIJhY75IzlLfkPraMNOL/p6TsaxURTZMFF46ceY1EAjn2A1QdRcprfY9IbamwpLtGTPE/ c9+u83wRf6wo7XlvVVmqCihtgwAfqCMzvCRzJsIfEegX3OeXlLeAbM+jy3ja3W7XP9TFgTndaJ9ih uHNEEPwTxZnZD1jv+yMftzrC2ZN/7Z81y7zXBmyCWRN6C5lEFBrhQ7MMCwP7Jx6PYr9L23aEkR9+K r3mjnBkV+ZiVakaM3V+Yy5o+Jzk7ZN2vPEeBLoBZabJtb/E1vUMNDS/G/es16dEfbnU5zKMuFBlT2 k+SvWDKg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l7sl2-0006lR-Me; Fri, 05 Feb 2021 04:30:12 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l7skz-0006k0-1s for linux-arm-kernel@lists.infradead.org; Fri, 05 Feb 2021 04:30:10 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 81B5364F58; Fri, 5 Feb 2021 04:30:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1612499405; bh=OSBK9BNewWW1mo51cnuVfoS46v1aMKG2abPpzqwLzU8=; h=From:To:Cc:Subject:Date:From; b=rxtpPLLoZ7Zoh9Z7wT6kLPQojGYkwguLo39lxrVG2I0PIgY/joAr1VU4yRpvFrh6N 2nbuU4FTZrvZ3RGIzPTklI/LP0pDTe5DLzkop5YYJOFh4WnfkMo/bdPx1eZEvHF0I9 ydEWnPSyaZaZL6rAHMenO0Jlw7kPfcNTCsBYQ6/kMsb1stmxYI2NOMoIXd/0xqMFgQ g3IbX6Eq1VrjgHL7hTe6HxsgYkS8/S92JZuS/Wv6jQIBQPwLhRZ/qhLcHgNCa42+Fb 6EoKtvwaL18BbPEgsYh7zsZr4sac/HxIZVDCaO1ppNSLHpmervP1hz2viUwoE5uTXF uJteXIP/BWPBQ== From: Dinh Nguyen To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] arm64: dts: agilex: fix phy interface bit shift for gmac1 and gmac2 Date: Thu, 4 Feb 2021 22:29:53 -0600 Message-Id: <20210205042953.157527-1-dinguyen@kernel.org> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210204_233009_217278_5735E147 X-CRM114-Status: GOOD ( 10.62 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: dinguyen@kernel.org, stable@vger.kernel.org, devicetree@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The shift for the phy_intf_sel bit in the system manager for gmac1 and gmac2 should be 0. Fixes: 2f804ba7aa9ee ("arm64: dts: agilex: Add SysMgr to Ethernet nodes") Cc: stable@vger.kernel.org Signed-off-by: Dinh Nguyen --- arch/arm64/boot/dts/intel/socfpga_agilex.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi index e1c0fcba5c20..07c099b4ed5b 100644 --- a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi +++ b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi @@ -166,7 +166,7 @@ gmac1: ethernet@ff802000 { rx-fifo-depth = <16384>; snps,multicast-filter-bins = <256>; iommus = <&smmu 2>; - altr,sysmgr-syscon = <&sysmgr 0x48 8>; + altr,sysmgr-syscon = <&sysmgr 0x48 0>; clocks = <&clkmgr AGILEX_EMAC1_CLK>, <&clkmgr AGILEX_EMAC_PTP_CLK>; clock-names = "stmmaceth", "ptp_ref"; status = "disabled"; @@ -184,7 +184,7 @@ gmac2: ethernet@ff804000 { rx-fifo-depth = <16384>; snps,multicast-filter-bins = <256>; iommus = <&smmu 3>; - altr,sysmgr-syscon = <&sysmgr 0x4c 16>; + altr,sysmgr-syscon = <&sysmgr 0x4c 0>; clocks = <&clkmgr AGILEX_EMAC2_CLK>, <&clkmgr AGILEX_EMAC_PTP_CLK>; clock-names = "stmmaceth", "ptp_ref"; status = "disabled";