From patchwork Sun Nov 5 13:32:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13445722 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 4F87BC4332F for ; Sun, 5 Nov 2023 13:32:59 +0000 (UTC) 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=3NNZERAUMyqo20LuBwIwlO0CCm2kLMS7Ri8FDXYrBGA=; b=mjj3YgC0U/xZrN VRmVj9p2BbqTZc/9+qyCdE/D2cyVoBuuDUzC4HY7eV/KxAzesWccxQfM62Z/AyCbqswuxdpTsBYv1 mWIShq/YrIrEUGgJ7C7gv2CdePAtVmWkrTMXe/BpjPv3DY0q/++7TvbRBEHAYQz5WTDLmxge2CxVI CuKZOEbnBEKPYVhutpl+lXNB0dgMEr6TgWUSlvpBBN4QzjdvOFEPq5OqA1Gb5MzvT0zTXIZLHkC0N yAlJKz2Jdnl+0Q1h4Xj0qq+Yfj9T9F1mP7Fp5pQ1iY+rym0djp/SP1CBMTvutPrxjT9gw9Eo++yYU L/WtFfWb7+p9JkIE6KXA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qzdEv-00F0IR-0P; Sun, 05 Nov 2023 13:32:33 +0000 Received: from mail-yb1-xb32.google.com ([2607:f8b0:4864:20::b32]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qzdEs-00F0Hw-1u for linux-arm-kernel@lists.infradead.org; Sun, 05 Nov 2023 13:32:31 +0000 Received: by mail-yb1-xb32.google.com with SMTP id 3f1490d57ef6-da34f90f6e3so775250276.0 for ; Sun, 05 Nov 2023 05:32:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699191148; x=1699795948; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=HJIiCQprw0XQld7XCclrmUZr7Ifcz6YP9pfR+Wb+lc8=; b=e0D0cPJscv/qTKiGfuQRktpVcf0hRy41ZieLJ7I+eo/3ca5Hw2akA96LFUkyGNxN2o 7FETexcDmz8asvdA/JShO3EraV/wwQIuK++MKDOh7OnH/6ZTJS0b1RT5nkEpAr9iiino VlsOdb3XCTJM7yILbiQsW7ZzOdX3lfpUlz1MBwSu4iHBvZkW72ZMA3MyppvAMWG1APdb kHBJeP84vqyafwQ/TIZZ6tuLhtCO6RfbK7YgHDxxIYfRwqW4jyYdWOnmZtk6Vh54mPa4 vhop8UxwhSsyu0cbPiKfBgczjiHgq6L0c/tIMZH+O2NrhhGeiroZ+04vIEvmco/x8WHM CdNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699191148; x=1699795948; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=HJIiCQprw0XQld7XCclrmUZr7Ifcz6YP9pfR+Wb+lc8=; b=AwdS1vx4OpwHvqShRk+c3uTXMUwDysiD4xqIEIz+Po9V0VaqvMd2YPwloGoQh+qJ9V N5eu7Twb7vzx6p5QxdU00hPBfHee0PLTnQy4jR56xuDgZokqIDC/Y54enzcTlLbRzLMP kxuSrVOqY43W/jQCpVgoeoZiSmVjXGpizik9irc2WN3TnoQjg3mgI7Hr0mh7txmt4Wt/ sqg5EesxbGYp/pB7fVK8CnXSWf09/OrmMuQ6bX3UOzR4cfpjhyHtflof+7c0lv8tyf7S e7p8zGXcKRDtKpxUE+H+dzwTvLp811up6207sYGenVt/ysfa+Fqnb5cJw7cpOYKyzLCT bIvg== X-Gm-Message-State: AOJu0Yz4B/eo05lBuecgxa7FCoPyaiRrkY90qLrJYe2VGQngPP6dsLkw 7p+mu8KYo7wvgt8lAaB2XCOqd0eMAKo= X-Google-Smtp-Source: AGHT+IHNQn/mxsJdoyBjEaqoO+e6PBS68dX2FcQCA+qNzVt3KeW1kB49RtbMog6N0zTMil6rOIKVzw== X-Received: by 2002:a05:690c:4803:b0:5b3:1c41:733f with SMTP id hc3-20020a05690c480300b005b31c41733fmr14890390ywb.5.1699191148566; Sun, 05 Nov 2023 05:32:28 -0800 (PST) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:a332:bdcd:ef77:ee2b]) by smtp.gmail.com with ESMTPSA id i24-20020a81be18000000b0057085b18cddsm3175411ywn.54.2023.11.05.05.32.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Nov 2023 05:32:28 -0800 (PST) From: Fabio Estevam To: shawnguo@kernel.org Cc: linux-arm-kernel@lists.infradead.org, Fabio Estevam Subject: [PATCH] ARM: dts: imx6ul-pico: Describe the Ethernet PHY clock Date: Sun, 5 Nov 2023 10:32:19 -0300 Message-Id: <20231105133219.954696-1-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231105_053230_624161_27D3936F X-CRM114-Status: GOOD ( 10.00 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Fabio Estevam Since commit c7e73b5051d6 ("ARM: imx: mach-imx6ul: remove 14x14 EVK specific PHY fixup")thet Ethernet PHY is no longer configured via code in board file. This caused Ethernet to stop working. Fix this problem by describing the clocks and clock-names to the Ethernet PHY node so that the KSZ8081 chip can be clocked correctly. Fixes: c7e73b5051d6 ("ARM: imx: mach-imx6ul: remove 14x14 EVK specific PHY fixup") Signed-off-by: Fabio Estevam Reviewed-by: Andrew Lunn --- arch/arm/boot/dts/nxp/imx/imx6ul-pico.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/nxp/imx/imx6ul-pico.dtsi b/arch/arm/boot/dts/nxp/imx/imx6ul-pico.dtsi index 4ffe99ed55ca..07dcecbe485d 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6ul-pico.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6ul-pico.dtsi @@ -121,6 +121,8 @@ ethphy1: ethernet-phy@1 { max-speed = <100>; interrupt-parent = <&gpio5>; interrupts = <6 IRQ_TYPE_LEVEL_LOW>; + clocks = <&clks IMX6UL_CLK_ENET_REF>; + clock-names = "rmii-ref"; }; }; };