Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp1004771rwb; Fri, 13 Jan 2023 06:52:10 -0800 (PST) X-Google-Smtp-Source: AMrXdXstaxOGmvGobFajcENJcm8DT4xWEAClargxuRmZQEwUkL+FXg1qUkfbcWNGHu0KeP1j3vnY X-Received: by 2002:a05:6a20:6901:b0:b5:c353:d97b with SMTP id q1-20020a056a20690100b000b5c353d97bmr26926504pzj.50.1673621530275; Fri, 13 Jan 2023 06:52:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673621530; cv=none; d=google.com; s=arc-20160816; b=jmVjsNc26FjvyoDPk6RwgttYevIh3uXo6a+IftZLIPJqHSPvHMuA0b+abmLzBhLA0r KT8SXnd6dniMT+i9O9wXXOsMUsnIyVBYQpzGsJljBCTTLpTYBKKklLB9h/mgZh0kGoiq 7hcfZ8DUTvNFmWX4gL2IH3UFNpQaYlp2+dXiiJGDsnydpAs/iCvq2tYlI364SnHd0KKu X2PFHAcj6PyjJJN9VlyJC8Q1VsRZj3GoTTjXPuD6HpXPXLtEr1h7dibxKCg4Adawl8kd gbCzPInciwYruJWfmWqwa4hNihmgeYEnmvQee3wZYIIFvC6+Xu7AlUO7lKiJvHBMm3z3 YHeg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=1vGWI2ZHRLS9swfFWkuLq4JPjRbBvIfyh01XSrtOTQQ=; b=Oupo3AsK8wkfxPf7Q/0ut0snKJxscG/RT8G8hJdwyF/tzeRonQkMY1ryeHU7kQTEvv nq7ZJULX3IuUeCFat+FOBVfXNgmzxjcuyD3YfFsIvVETuGly8K/UeoEfXT5B7n27Qr2A XS5osAdUFdcBAPOApcTY6YEXUWDc5ZLVMea58tXUwZtiXLUjyfKiMgYGtnr/SKHo/wus sfQj/RnLyy+kEnk7t6AkMnW1JBLmpa/yDi/W7X4si0KFREkA2UXfTDA2woRZYJ6H0GfJ rtAfvAf05oj8FvS8/9zbB5debjg6qw9HEnr2q8sDwSv9xUBYZvSHbjMabauB6QOj15Eo MWQQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h184-20020a636cc1000000b00477b601e366si20400553pgc.448.2023.01.13.06.52.03; Fri, 13 Jan 2023 06:52:10 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229925AbjAMOeg (ORCPT + 51 others); Fri, 13 Jan 2023 09:34:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57158 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229791AbjAMOdS (ORCPT ); Fri, 13 Jan 2023 09:33:18 -0500 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 69E8E4917D for ; Fri, 13 Jan 2023 06:27:48 -0800 (PST) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pGL1f-0006Gi-N4; Fri, 13 Jan 2023 15:27:23 +0100 Received: from [2a0a:edc0:0:1101:1d::ac] (helo=dude04.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1pGL1e-005mz0-Uj; Fri, 13 Jan 2023 15:27:22 +0100 Received: from ore by dude04.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1pGL1b-00CkQe-Ev; Fri, 13 Jan 2023 15:27:19 +0100 From: Oleksij Rempel To: Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Abel Vesa , Michael Turquette , Stephen Boyd , Richard Cochran Cc: Oleksij Rempel , kernel@pengutronix.de, Fabio Estevam , NXP Linux Team , Lee Jones , Russell King , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH v1 08/20] ARM: dts: imx6dl-plybas: configure ethernet reference clock parent Date: Fri, 13 Jan 2023 15:27:06 +0100 Message-Id: <20230113142718.3038265-9-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230113142718.3038265-1-o.rempel@pengutronix.de> References: <20230113142718.3038265-1-o.rempel@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ore@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 Configure Ethernet reference clock parent in an obvious way instead of using cryptic ptp way. Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/imx6dl-plybas.dts | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/imx6dl-plybas.dts b/arch/arm/boot/dts/imx6dl-plybas.dts index c52e6caf3996..e98046eea7a4 100644 --- a/arch/arm/boot/dts/imx6dl-plybas.dts +++ b/arch/arm/boot/dts/imx6dl-plybas.dts @@ -75,6 +75,7 @@ clk50m_phy: phy-clock { compatible = "fixed-clock"; #clock-cells = <0>; clock-frequency = <50000000>; + clock-output-names = "enet_ref_pad"; }; reg_5v0: regulator-5v0 { @@ -99,6 +100,13 @@ &can2 { status = "okay"; }; +&clks { + clocks = <&clk50m_phy>; + clock-names = "enet_ref_pad"; + assigned-clocks = <&clks IMX6QDL_CLK_ENET_REF_SEL>; + assigned-clock-parents = <&clk50m_phy>; +}; + &ecspi1 { cs-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>; pinctrl-names = "default"; @@ -116,10 +124,6 @@ &fec { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_enet>; phy-mode = "rmii"; - clocks = <&clks IMX6QDL_CLK_ENET>, - <&clks IMX6QDL_CLK_ENET>, - <&clk50m_phy>; - clock-names = "ipg", "ahb", "ptp"; phy-handle = <&rgmii_phy>; status = "okay"; -- 2.30.2