Message ID | 20230113142718.3038265-10-o.rempel@pengutronix.de |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp302535wrt; Fri, 13 Jan 2023 06:34:26 -0800 (PST) X-Google-Smtp-Source: AMrXdXsJF411lHGeZ/WM5wgDmuKpWCYa+kDmFgfu7AaYjeRYd2n5W/Jy5Of1r6nT26q1zqJGCdDH X-Received: by 2002:a17:907:d311:b0:829:5e3f:3c92 with SMTP id vg17-20020a170907d31100b008295e3f3c92mr92942594ejc.73.1673620466161; Fri, 13 Jan 2023 06:34:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673620466; cv=none; d=google.com; s=arc-20160816; b=XUoghQoLgW0IKyH328yBQ8yOWnRjV85poy5DZN1A6bwu6ywAlsuYuxo9AlzZfNUh1a XP7mcqmd8XhGRrDhpjk1WZehH4Fi1xP2qp762Uc2Tp0ccHHDrpX+ANyVw4R7g2P+LnlU xd/vXc4YoK0xTOm8f0ntnvYFa8NGp6kX4hGE37iPVtkRr6uLK66m9O7mjxLR0ed28+TH 5NWRCldecEaJEvDcvskAxFnZ6z9pTOCA6UgpxqZChmJY6ehCnH8alMu+wPiqZRNDQwey eX36Esx9t2wrSE4MeFQtQG41PN/4YaFT7bhOVgLMWLU26u3NVXndH8hpMD8GyFZEPMhI pLlQ== 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=t75FA5M4NICtILQcnKvZGrF+r9sxJs0mx0jm23kV3bo=; b=UAbZ2uZ6YQmi8aFKeritsGCT7U8zU4S55DnBdSgZRXlccp0UBMXzED2mADGrNK9YmF jjOg/6MlmWpY/6oO3ZAqsEpiLTw0FOqcMp40oKnpAC78tQ1QrkNZL6aaTEHHXTMFMVcj 7kL/uJM4edJizGPYjJ9iwCCeMwgtDGjoB268LvKDsLRLqYQmQRNnOPNvGxKHTpy24HZs 0B29N2K7r7HqIkA96kaH1Qy4YbJVLEpaIrkOlsPOBZLuAE19/GxZzn23NcgfiWVQsKGQ JxMAgy1VHOard9y67PrkUCQtlunKsy2N7MCagtJnfi0gz8Shv+1jgWW9Rgrxny85bkWW yrPQ== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sg30-20020a170907a41e00b007c12fc0bd81si9281250ejc.362.2023.01.13.06.34.01; Fri, 13 Jan 2023 06:34:26 -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 S229691AbjAMOdk (ORCPT <rfc822;callmefire3@gmail.com> + 99 others); Fri, 13 Jan 2023 09:33:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229937AbjAMOcx (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 13 Jan 2023 09:32:53 -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 B7B3742E16 for <linux-kernel@vger.kernel.org>; Fri, 13 Jan 2023 06:27:46 -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 <ore@pengutronix.de>) id 1pGL1e-0006Dt-KE; Fri, 13 Jan 2023 15:27:22 +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 <ore@pengutronix.de>) id 1pGL1d-005myX-5C; Fri, 13 Jan 2023 15:27:21 +0100 Received: from ore by dude04.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from <ore@pengutronix.de>) id 1pGL1b-00CkQn-FX; Fri, 13 Jan 2023 15:27:19 +0100 From: Oleksij Rempel <o.rempel@pengutronix.de> To: Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Shawn Guo <shawnguo@kernel.org>, Sascha Hauer <s.hauer@pengutronix.de>, Abel Vesa <abelvesa@kernel.org>, Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@kernel.org>, Richard Cochran <richardcochran@gmail.com> Cc: Oleksij Rempel <o.rempel@pengutronix.de>, kernel@pengutronix.de, Fabio Estevam <festevam@gmail.com>, NXP Linux Team <linux-imx@nxp.com>, Lee Jones <lee@kernel.org>, Russell King <linux@armlinux.org.uk>, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH v1 09/20] ARM: dts: imx6dl-plym2m: configure ethernet reference clock parent Date: Fri, 13 Jan 2023 15:27:07 +0100 Message-Id: <20230113142718.3038265-10-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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754918253546270453?= X-GMAIL-MSGID: =?utf-8?q?1754918253546270453?= |
Series |
ARM: imx: make Ethernet refclock configurable
|
|
Commit Message
Oleksij Rempel
Jan. 13, 2023, 2:27 p.m. UTC
Configure Ethernet reference clock parent in an obvious way instead of
using cryptic ptp way.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
arch/arm/boot/dts/imx6dl-plym2m.dts | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/arch/arm/boot/dts/imx6dl-plym2m.dts b/arch/arm/boot/dts/imx6dl-plym2m.dts index 522660c912a0..e3c10483f33b 100644 --- a/arch/arm/boot/dts/imx6dl-plym2m.dts +++ b/arch/arm/boot/dts/imx6dl-plym2m.dts @@ -84,6 +84,7 @@ clk50m_phy: phy-clock { compatible = "fixed-clock"; #clock-cells = <0>; clock-frequency = <50000000>; + clock-output-names = "enet_ref_pad"; }; reg_3v3: regulator-3v3 { @@ -173,6 +174,13 @@ &can1 { 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"; @@ -254,10 +262,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";