[PATCH v2 3/3] fixup! arm: dts: k3-am62: Bump dtsi from linux v6.5-rc1

Maxime Ripard mripard at kernel.org
Fri Jul 21 15:07:25 CEST 2023


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 <mripard at kernel.org>
---
 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 at 04044 {
 		compatible = "ti,am64-phy-gmii-sel";
@@ -129,6 +129,10 @@
 	};
 };
 
+&cpsw3g_mdio {
+	reg = <0x0 0x8000f00 0x0 0x100>;
+};
+
 &cpsw_port1 {
 	bootph-pre-ram;
 };

-- 
2.41.0



More information about the U-Boot mailing list