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=-14.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS 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 C25ACC433F5 for ; Tue, 14 Sep 2021 15:22:14 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 8A8A061159 for ; Tue, 14 Sep 2021 15:22:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 8A8A061159 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=lunn.ch Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=heXXwqDKNUaPimWqK54+JhDB7BTlCIqUqY5Z4geXcUQ=; b=s8JDekIwYFAx4U OcNXdjazoN7bSSStUQeWUeRtYbUZv0rYmiIfYpnoAD5LRXJmizknQGInETqPpY/hVp5OvgBncuSAA zRXx0as5esG/wnFVKD0lgxLwITvkHkC3FWbQCElY5rYi8GjyZVIoAyqjjp8HBjN4IssaHqB7BU14w C8M/IilxpZSAB6XMauvTXlvtFC/aY52e4qqfsqWApkN+EC1ym8aVC9aYjYuYdkEK5+qmZYLG/pfI3 8YKe7GcioWggeT2n5pZJL47oIUnd/jCeuNSgmMEOKPHub80wvmtGuuEFxMIAfYRVwr3nqE4f70vdH 64CnhOe4GTSxDzBpykXA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mQADY-006CAX-RK; Tue, 14 Sep 2021 15:19:29 +0000 Received: from vps0.lunn.ch ([185.16.172.187]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mQADV-006C8r-La for linux-arm-kernel@lists.infradead.org; Tue, 14 Sep 2021 15:19:26 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date: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=TnsMUgDgIAYWa2kUpmY51cvGyfd9k7M5Oi6JW3r4wpE=; b=kD/V715anGByxfwABtDZJjjts5 duIaa8VK+XMMW08jh1LLLagYTAPxJ2ayoTTM5enyeoxHF2sXjqhZohKJloaDfbpzUmBYidCr+vvn+ S98jXI7KeC7m1UPrnA/boeHthStv0vt8Nvkwk2+0T4yrR2Fy2kqSN4/lwFRX55b1OyiE=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1mQADP-006c8F-T9; Tue, 14 Sep 2021 17:19:19 +0200 Date: Tue, 14 Sep 2021 17:19:19 +0200 From: Andrew Lunn To: Fabio Estevam Cc: shawnguo@kernel.org, linux-arm-kernel@lists.infradead.org, o.rempel@pengutronix.de, john.weber@technexion.com Subject: Re: [PATCH v2] ARM: dts: imx6qdl-pico: Fix Ethernet support Message-ID: References: <20210914145112.2010717-1-festevam@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210914145112.2010717-1-festevam@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210914_081925_749917_F979F3D8 X-CRM114-Status: GOOD ( 18.75 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Sep 14, 2021 at 11:51:12AM -0300, Fabio Estevam wrote: > Currently, it is no longer possible to retrieve a DHCP address > on the imx6qdl-pico board. > > This issue has been exposed by commit f5d9aa79dfdf ("ARM: imx6q: > remove clk-out fixup for the Atheros AR8031 and AR8035 PHYs"). > > Fix it by describing the qca,clk-out-frequency property as suggested > by the commit above. > > Fixes: 98670a0bb0ef14bbb3 ("ARM: dts: imx6qdl: Add imx6qdl-pico support") > Signed-off-by: Fabio Estevam > --- > Changes since v1: > - Add the board name in the Subject. > > arch/arm/boot/dts/imx6qdl-pico.dtsi | 13 ++++++++++++- > 1 file changed, 12 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/boot/dts/imx6qdl-pico.dtsi b/arch/arm/boot/dts/imx6qdl-pico.dtsi > index 5de4ccb97916..0a55e1e583ae 100644 > --- a/arch/arm/boot/dts/imx6qdl-pico.dtsi > +++ b/arch/arm/boot/dts/imx6qdl-pico.dtsi > @@ -175,8 +175,19 @@ &fec { > pinctrl-names = "default"; > pinctrl-0 = <&pinctrl_enet>; > phy-mode = "rgmii-id"; > - phy-reset-gpios = <&gpio1 26 GPIO_ACTIVE_LOW>; > status = "okay"; > + > + mdio { > + #address-cells = <1>; > + #size-cells = <0>; > + > + phy: ethernet-phy@1 { > + reg = <1>; > + qca,clk-out-frequency = <125000000>; > + reset-gpios = <&gpio1 26 GPIO_ACTIVE_LOW>; > + reset-assert-us = <10000>; Do you know how fast this PHY reacts after a reset? arch/arm/boot/dts/imx6dl-riotboard.dts for example also has: reset-deassert-us = <1000>; so it has a bit of time to get going before trying to talk to it. Andrew _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel