From patchwork Sat Apr 8 15:28:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Lunn X-Patchwork-Id: 13205766 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B96D8C77B6C for ; Sat, 8 Apr 2023 15:28:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229954AbjDHP21 (ORCPT ); Sat, 8 Apr 2023 11:28:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54096 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229689AbjDHP20 (ORCPT ); Sat, 8 Apr 2023 11:28:26 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9FF54136 for ; Sat, 8 Apr 2023 08:28:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:From:Sender:Reply-To:Subject:Date: Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=7bfB5aBL/DFj4awR7YVB4a+CvLLp5aOCExZOWLIccQE=; b=d5zuv9lRyDaV+mtkN+NVHWZ7wl HpyOw82wGIsiBabhUhF3RA56xkkZt0herEhht+MnzDMpnYZxuFKl9Rdq1oDI8MSUJjsjsh4/8f+XG F8q/SoJL4xvIbP/YNRXl0tst0YvRptqLh6+RusS+r0NbjgSXn89xMwhU7vtNkm8Skox4=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1plAUE-009niS-0j; Sat, 08 Apr 2023 17:28:18 +0200 From: Andrew Lunn To: shawnguo@kernel.org Cc: s.hauer@pengutronix.de, Russell King , Vladimir Oltean , arm-soc , netdev , Andrew Lunn Subject: [PATCH v2 3/3] ARM64: dts: freescale: ZII: Add missing phy-mode Date: Sat, 8 Apr 2023 17:28:01 +0200 Message-Id: <20230408152801.2336041-4-andrew@lunn.ch> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230408152801.2336041-1-andrew@lunn.ch> References: <20230408152801.2336041-1-andrew@lunn.ch> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org The DSA framework has got more picky about always having a phy-mode for the CPU port. The imx8mq Ethernet is being configured to RMII. Set the switch phy-mode based on this. Additionally, the cpu label has never actually been used in the binding, so remove it. Signed-off-by: Andrew Lunn Reviewed-by: Vladimir Oltean --- v2: Use rev-rmii for the side 'playing PHY' --- arch/arm64/boot/dts/freescale/imx8mq-zii-ultra.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-zii-ultra.dtsi b/arch/arm64/boot/dts/freescale/imx8mq-zii-ultra.dtsi index 3a52679ecd68..cb777b47baf9 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-zii-ultra.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq-zii-ultra.dtsi @@ -177,7 +177,7 @@ port@1 { port@2 { reg = <2>; - label = "cpu"; + phy-mode = "rev-rmii"; ethernet = <&fec1>; fixed-link {