From patchwork Fri Jul 21 13:07:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 1810887 X-Patchwork-Delegate: rfried.dev@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=qip5E4YT; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4R6qc637Ysz1yYc for ; Fri, 21 Jul 2023 23:08:06 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id DDA0E867CE; Fri, 21 Jul 2023 15:07:45 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="qip5E4YT"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4732B867D1; Fri, 21 Jul 2023 15:07:40 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id BC8078630F for ; Fri, 21 Jul 2023 15:07:37 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=mripard@kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 1E2E261AEA; Fri, 21 Jul 2023 13:07:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 05A60C433C7; Fri, 21 Jul 2023 13:07:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689944855; bh=yhzDWS8e22388dhJPSxm6pQOavRP4PWg4II2yXLF96U=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=qip5E4YTPfJMkzMVACXTlOsBiCkzM7+BtXyByJmMjaZVEFM9sqpVa6FzGN6tByM6J LCWYErs8fb8YpjOd9QUpVPyYcubNQZ7zMYSnwHfc2TcrWeEGbRU/Hs3flEspoSR43d w53RApdcn/tl8TMi/mpJfS8VlL6ERqCZ7Xah9TRMm5KRx/3bgG1gEy8ZU/fWA9ec4P gW4RgWJ4SnqIiM0PRN9rLBMX0pQiAMLJyFwWtKUay/y+z9Mye50qAB9CWgAW0sR9j1 /KEboPkrR1rui2+pkhSJ1YzURg4iq4jJgqD+4pAagVnwpDWQN8H1rrOL26M0gPkick jNmIBlu/xvqqg== From: Maxime Ripard Date: Fri, 21 Jul 2023 15:07:25 +0200 Subject: [PATCH v2 3/3] fixup! arm: dts: k3-am62: Bump dtsi from linux v6.5-rc1 MIME-Version: 1.0 Message-Id: <20230721-ti-mdio-pinmux-v2-3-4bb443e09ac0@kernel.org> References: <20230721-ti-mdio-pinmux-v2-0-4bb443e09ac0@kernel.org> In-Reply-To: <20230721-ti-mdio-pinmux-v2-0-4bb443e09ac0@kernel.org> To: Joe Hershberger , Nishanth Menon , Ramon Fried , Ravi Gunasekaran , Roger Quadros , Simon Glass Cc: Javier Martinez Canillas , Peter Robinson , u-boot@lists.denx.de, Maxime Ripard X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=981; i=mripard@kernel.org; h=from:subject:message-id; bh=yhzDWS8e22388dhJPSxm6pQOavRP4PWg4II2yXLF96U=; b=owGbwMvMwCX2+D1vfrpE4FHG02pJDCm7mrl593qUMjtvOLI++s6vtaI5Nwun6Sinxuy7uPpU1 v1HBjZMHaUsDGJcDLJiiiwxwuZL4k7Net3JxjcPZg4rE8gQBi5OAZhI7heG/8G/LgbbnNzu9la7 3u3Humqx8Ns2W/Y4HzXXe/rYunWFXQYjw6l+3QsSSx6tOvtZqXm1Aeel9Rd+pCk//vkrZKGAzsd 3CSwA X-Developer-Key: i=mripard@kernel.org; a=openpgp; fpr=BE5675C37E818C8B5764241C254BCFC56BF6CE8D X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Dropping ranges entirely doesn't work since the register offset on the MDIO device node will now be completely off, so we need to adjust it to the right value without the translation. We also need to have an empty ranges property for the reg address to be properly evaluated. Signed-off-by: Maxime Ripard --- arch/arm/dts/k3-am625-sk-u-boot.dtsi | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/k3-am625-sk-u-boot.dtsi b/arch/arm/dts/k3-am625-sk-u-boot.dtsi index db814ed02a7e..77c9e4cb87f7 100644 --- a/arch/arm/dts/k3-am625-sk-u-boot.dtsi +++ b/arch/arm/dts/k3-am625-sk-u-boot.dtsi @@ -119,8 +119,8 @@ }; &cpsw3g { - /delete-property/ ranges; bootph-pre-ram; + ranges; cpsw-phy-sel@04044 { compatible = "ti,am64-phy-gmii-sel"; @@ -129,6 +129,10 @@ }; }; +&cpsw3g_mdio { + reg = <0x0 0x8000f00 0x0 0x100>; +}; + &cpsw_port1 { bootph-pre-ram; };