Skip to contentSkip to conversation

ARM: dts: k3-j7200-common-proc-board-u-boot: Fix broken ethernet

PATCH New Vignesh Raghavendra 2 participants 2 messages Feb 9, 2021 – Feb 22, 2021 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: k3-j7200-common-proc-board-u-boot: Fix broken ethernet

Since commit 6239cc8c4e ("arm: dts: k3-j7200: Sync Linux v5.11-rc6 dts into U-Boot") ranges have been added to CPSW node which results in U-Boot CPSW driver failing to acquire phy_gmii_sel register range and thus failing to configure GMII mode correctly.

Fix this by deleting ranges in -u-boot-dtsi just like its done for other K3 platforms.

Fixes 6239cc8c4e ("arm: dts: k3-j7200: Sync Linux v5.11-rc6 dts into U-Boot")
---
 arch/arm/dts/k3-j7200-common-proc-board-u-boot.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm/dts/k3-j7200-common-proc-board-u-boot.dtsi +1 -0
index e52f7e1e86..bd037be350 100644
@@ -114,6 +114,7 @@
 	reg = <0x0 0x46000000 0x0 0x200000>,
 	      <0x0 0x40f00200 0x0 0x8>;
 	reg-names = "cpsw_nuss", "mac_efuse";
+	/delete-property/ ranges;
 
 	cpsw-phy-sel at 40f04040 {
 		compatible = "ti,am654-cpsw-phy-sel";
Signature · 1 line
2.30.0
#1 lore raw

PATCH 1/1 ARM: dts: k3-j7200-common-proc-board-u-boot: Fix broken ethernet

Quoted 5 lines · Vignesh Raghavendra

Since commit 6239cc8c4e ("arm: dts: k3-j7200: Sync Linux v5.11-rc6 dts into U-Boot") ranges have been added to CPSW node which results in U-Boot CPSW driver failing to acquire phy_gmii_sel register range and thus failing to configure GMII mode correctly.

Quoted 8 lines

Fix this by deleting ranges in -u-boot-dtsi just like its done for other K3 platforms.

Fixes 6239cc8c4e ("arm: dts: k3-j7200: Sync Linux v5.11-rc6 dts into U-Boot")
---
 arch/arm/dts/k3-j7200-common-proc-board-u-boot.dtsi | 1 +
 1 file changed, 1 insertion(+)

Applied to u-boot-ti/for-rc branch.

Thanks and regards,
Lokesh

Quoted 14 lines
arch/arm/dts/k3-j7200-common-proc-board-u-boot.dtsi +1 -0
index e52f7e1e86..bd037be350 100644
@@ -114,6 +114,7 @@
 	reg = <0x0 0x46000000 0x0 0x200000>,
 	      <0x0 0x40f00200 0x0 0x8>;
 	reg-names = "cpsw_nuss", "mac_efuse";
+	/delete-property/ ranges;
 
 	cpsw-phy-sel at 40f04040 {
 		compatible = "ti,am654-cpsw-phy-sel";