From mboxrd@z Thu Jan 1 00:00:00 1970 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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6CAAAEB64DC for ; Thu, 20 Jul 2023 15:28:09 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 80170847C0; Thu, 20 Jul 2023 17:28:07 +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="bgQeaAfo"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id BD27B85C49; Thu, 20 Jul 2023 17:28:05 +0200 (CEST) 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 9658984780 for ; Thu, 20 Jul 2023 17:28:03 +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=rogerq@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 CEEDC61B50; Thu, 20 Jul 2023 15:28:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3CDB4C433C7; Thu, 20 Jul 2023 15:27:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689866881; bh=jr7qPldtmLSbzx42bklBLyseSItGWSv22/qEz7QIFKc=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=bgQeaAfoWzWHjY5+JegxwnrRD4yKSAM2ZNXuaNYCbqKhmgYRyAgf6JiXsQpkOJt5E YOIHC51hR5JlG6PQIPgOwc6vTdnG2CJ7BjJ6LOQ/+qgeAgclcKBfysK35WjG7gWAOV hoPvZ3ROCOW5wYpA1aQl9G0jm52bYaVfwN9YC5lNwIDaf7tLt7UDXnmk9wttWnbVEg ZAaXHVvZNnyyBfGFy3yDuWvpFzAIcl+Df5b1sWl4UVcyQHLNZwuPZFqJI0LLwVNBEV cdbRCq329CYwfnS5k3MRsjYu+/N+TwDT+i4cND6Of6G/cD8yCQgqGJXBLJHKCRAaF7 4IK0by17HbAxA== Message-ID: Date: Thu, 20 Jul 2023 18:27:56 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH 4/4] fixup! arm: dts: k3-am62: Bump dtsi from linux v6.5-rc1 Content-Language: en-US To: Maxime Ripard , Simon Glass , Joe Hershberger , Ramon Fried , Nishanth Menon , Ravi Gunasekaran Cc: Javier Martinez Canillas , Peter Robinson , u-boot@lists.denx.de References: <20230720-ti-mdio-pinmux-v1-0-0bd3bd1cf759@kernel.org> <20230720-ti-mdio-pinmux-v1-4-0bd3bd1cf759@kernel.org> From: Roger Quadros In-Reply-To: <20230720-ti-mdio-pinmux-v1-4-0bd3bd1cf759@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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 On 20/07/2023 12:55, Maxime Ripard wrote: > 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 fe1c7408a89d..2ec3fff99f32 100644 > --- a/arch/arm/dts/k3-am625-sk-u-boot.dtsi > +++ b/arch/arm/dts/k3-am625-sk-u-boot.dtsi > @@ -122,8 +122,8 @@ > reg = <0x0 0x8000000 0x0 0x200000>, > <0x0 0x43000200 0x0 0x8>; > reg-names = "cpsw_nuss", "mac_efuse"; > - /delete-property/ ranges; > bootph-pre-ram; > + ranges; > > cpsw-phy-sel@04044 { > compatible = "ti,am64-phy-gmii-sel"; > @@ -132,6 +132,10 @@ > }; > }; > > +&cpsw3g_mdio { > + reg = <0x0 0x8000f00 0x0 0x100>; > +}; > + Why this change? Linux DT has cpsw3g_mdio: mdio@f00 { compatible = "ti,cpsw-mdio","ti,davinci_mdio"; reg = <0x00 0xf00 0x00 0x100>; And it is a child of cpsw3g node. > &cpsw_port1 { > bootph-pre-ram; > }; > -- cheers, -roger