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=-13.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT 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 0336CC433F5 for ; Tue, 14 Sep 2021 14:52:50 +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 C3C6060F26 for ; Tue, 14 Sep 2021 14:52:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org C3C6060F26 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com 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:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=YlTZUCUz3P4gMZZRyGdtB8Kx10S5zP+SA8PjSN+Db3g=; b=SnzrFwmy2ZruDA y4mks2wOY7tNwYOyyp7+Oq0UpfmsHXSY7VfY7h9xEOdW2c3tO5sivIQqawE0b+vLCGS5vFJGz0jtm CBWKBDCFRfzpozQ405Udw/nTEjgLdmKhUS79C+6Nke92kQdU6tImstUBK50PPNo0dyA0eVtwvqxIe r9yE0zDMtFFV+yvkSTiyb+GSkiENCsY8BAVJyWaCQ1yN4AuejvBMYAikovLKHCaviOo4cI2Bu0iUI /dzGIrZnsJRXgDNG1cTO3iBvpn75n4CXezC6SiP76ciXE7jGnDN2Kr/trcSsNqJxWMb5PXirJsESJ ZtKQ+yLYr0FG6Lq8Dq/A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mQ9mQ-0063s7-Jo; Tue, 14 Sep 2021 14:51:26 +0000 Received: from mail-qk1-x72a.google.com ([2607:f8b0:4864:20::72a]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mQ9mN-0063rR-3Y for linux-arm-kernel@lists.infradead.org; Tue, 14 Sep 2021 14:51:24 +0000 Received: by mail-qk1-x72a.google.com with SMTP id m21so15073162qkm.13 for ; Tue, 14 Sep 2021 07:51:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=SOxYbNjbN6irfzPQJm4oNnOBGbfqGh2AMipgteqQIdg=; b=WwN2MhEJILywTpLMcZWVO92LCnh7Wd/w+4/RZ/EA+K+yD9CsMR0WfGmcbbYfQLV1tm b0OVLAPsE2pQWmrHpXBCMYOlu+4BFntjeY+jzsmOgyZgch4uozGdOBssVWhEGXQHPg5x peyM2cT/678YpN16pBE7LNdtnlmFqu9rWhaz6RxV68VVJS7j/Jq1q1scpIQl81Laf2wv hU1BJHEia0rGiFp09zOFaVr2BmkxwDPA7Qo+aOTMJ0jDvXzbmlTQ1+dQ1d5ghmZQzDJ/ XrvtnFx0qQ0M386DI/lLrmx4+8GR5WOC4WVgw4mvbqNGhOfbdGGLPnDDbGXz2UWXxdek tv3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=SOxYbNjbN6irfzPQJm4oNnOBGbfqGh2AMipgteqQIdg=; b=BDW23mlZv/KIQ9XMXjbf1iS1rCg0j57XlC/QWawpMzCbXAJzVa1J2vAzrbIVeLOU4/ orlnc6PbDB06mt6S0Ao4DwuOA4Bg55zSAGiHMM9L6gibBWGHGnTWroyLwS3HS14xUjmX Tzx/k32oEnpWM88+uZo4Str5OlSwa0wvtTkn/do01I1M5342YBeCue5nifBfRVOj5g3U i3UFOTP9cgrx97nCHil5NR1tcrpIBoEA1zNYm6e5OSDR00Jqs4zooaIcarOZAelKKPfK Bt59e0JF9pQjFEpRmJ/GXmCOtn4ZdbW15E3yWQbmU/wHBI5r+T8KTh2/JwzoULCpbfkZ E8mw== X-Gm-Message-State: AOAM533y/8s026fUpPVQn6J3Qx44f6qrpwbN11kOoDZrN3P3REjRBg1w Z1IphTCLRk6B4xYX5uwPEYU= X-Google-Smtp-Source: ABdhPJwYpDkVnsTMyzk1sAnX5epBX9mVFH+pxk24o2rcWM2LOarxu2r0ZN7FcPwtRGdc9kNZNg6RIw== X-Received: by 2002:a05:620a:2988:: with SMTP id r8mr5200910qkp.445.1631631081620; Tue, 14 Sep 2021 07:51:21 -0700 (PDT) Received: from localhost.localdomain ([2804:14c:485:504a:310b:c7b5:ee23:6ccb]) by smtp.gmail.com with ESMTPSA id v23sm6017424qto.55.2021.09.14.07.51.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Sep 2021 07:51:21 -0700 (PDT) From: Fabio Estevam To: shawnguo@kernel.org Cc: linux-arm-kernel@lists.infradead.org, o.rempel@pengutronix.de, andrew@lunn.ch, john.weber@technexion.com, Fabio Estevam Subject: [PATCH v2] ARM: dts: imx6qdl-pico: Fix Ethernet support Date: Tue, 14 Sep 2021 11:51:12 -0300 Message-Id: <20210914145112.2010717-1-festevam@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210914_075123_186362_6D4ACE5F X-CRM114-Status: GOOD ( 13.59 ) 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 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>; + }; + }; }; &hdmi { -- 2.25.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel