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 3190AC7618B for ; Tue, 14 Mar 2023 18:06:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229633AbjCNSGs (ORCPT ); Tue, 14 Mar 2023 14:06:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50808 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229665AbjCNSGl (ORCPT ); Tue, 14 Mar 2023 14:06:41 -0400 Received: from uho.ysoft.cz (uho.ysoft.cz [81.19.3.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B0597AF2AC; Tue, 14 Mar 2023 11:06:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ysoft.com; s=20160406-ysoft-com; t=1678817197; bh=+qx5p0cflxM7B3mowtpsT/d0u/dt2VanOfc0Y1OZzr8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XQaBQ4n9B+o3ja2+G369flGLabXlny4ahsExGzRg5BBb4a62y8MwdKfqe3wGcRQTe JjIDZK9Vr36TiL9tFsEHQhJmXPflbUDMtRqK3Txtmas1RtUGGgVWNlN1sgV+h4+2pL 4h6lxhoXq628JXRWuqo3en+6BstBuS9m3hAUDS0c= Received: from vokac-Latitude-7410.ysoft.local (unknown [10.0.30.161]) by uho.ysoft.cz (Postfix) with ESMTP id E404EA0454; Tue, 14 Mar 2023 19:06:36 +0100 (CET) From: =?UTF-8?q?Michal=20Vok=C3=A1=C4=8D?= To: Shawn Guo Cc: Rob Herring , Krzysztof Kozlowski , Arnd Bergmann , Olof Johansson , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, =?UTF-8?q?Michal=20Vok=C3=A1=C4=8D?= Subject: [PATCH v2 1/5] ARM: dts: imx6dl-yapp4: Move phy reset into switch node Date: Tue, 14 Mar 2023 19:06:04 +0100 Message-Id: <20230314180608.44482-2-michal.vokac@ysoft.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230314180608.44482-1-michal.vokac@ysoft.com> References: <20230314180608.44482-1-michal.vokac@ysoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Drop the phy-reset-duration and phy-reset-gpios deprecated properties and move reset-gpios under the switch node. Signed-off-by: Michal Vokáč --- Changes in v2: - new patch arch/arm/boot/dts/imx6dl-yapp4-common.dtsi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi index aacbf317feea..cb1972f8e8d2 100644 --- a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi +++ b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi @@ -106,8 +106,6 @@ &fec { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_enet>; phy-mode = "rgmii-id"; - phy-reset-gpios = <&gpio1 25 GPIO_ACTIVE_LOW>; - phy-reset-duration = <20>; phy-supply = <&sw2_reg>; status = "okay"; @@ -131,6 +129,7 @@ phy_port3: phy@2 { switch@10 { compatible = "qca,qca8334"; reg = <10>; + reset-gpios = <&gpio1 25 GPIO_ACTIVE_LOW>; switch_ports: ports { #address-cells = <1>; -- 2.25.1