Skip to contentSkip to conversation

riscv: dts: sophgo: fix mdio node name for CV180X

PATCH Applied Inochi Amaoto 2 participants 3 messages Jul 15, 2025

Subsystems (3)
lore
Share & tools
lore

Inochi Amaoto

author maintainer
#0 lore raw

PATCH 1/1 riscv: dts: sophgo: fix mdio node name for CV180X

As the mdio multipledxer is marked as mdio device, the check complains the mdio bus number exceed the maximum.

Change the node name to mdio-mux to remove the following warnings:
mdio@3009800 (mdio-mux-mmioreg): mdio@80:reg:0:0: 128 is greater than the maximum of 31

---
 arch/riscv/boot/dts/sophgo/cv180x.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/riscv/boot/dts/sophgo/cv180x.dtsi +1 -1
index 5f094c6085cb..27056ef70ce4 100644
@@ -57,7 +57,7 @@ rst: reset-controller@3003000 {
 			#reset-cells = <1>;
 		};
 
-		mdio: mdio@3009800 {
+		mdio: mdio-mux@3009800 {
 			compatible = "mdio-mux-mmioreg", "mdio-mux";
 			reg = <0x3009800 0x4>;
 			#address-cells = <1>;

--
2.50.1

Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines · Inochi Amaoto

As the mdio multipledxer is marked as mdio device, the check complains the mdio bus number exceed the maximum.

Change the node name to mdio-mux to remove the following warnings:
mdio@3009800 (mdio-mux-mmioreg): mdio@80:reg:0:0: 128 is greater than the maximum of 31

Quoted 5 lines
Quoted 17 lines

---
 arch/riscv/boot/dts/sophgo/cv180x.dtsi | 2 +-

 1 file changed, 1 insertion(+), 1 deletion(-)
arch/riscv/boot/dts/sophgo/cv180x.dtsi +1 -1
index 5f094c6085cb..27056ef70ce4 100644
@@ -57,7 +57,7 @@ rst: reset-controller@3003000 {
  			#reset-cells = <1>;
  		};
 
-		mdio: mdio@3009800 {
+		mdio: mdio-mux@3009800 {
  			compatible = "mdio-mux-mmioreg", "mdio-mux";
  			reg = <0x3009800 0x4>;
  			#address-cells = <1>;
Signature · 1 line
Alexander Sverdlin.
author maintainer Applied
#2 lore raw
In reply to Inochi Amaoto
Quoted 8 lines · Inochi Amaoto

As the mdio multipledxer is marked as mdio device, the check complains the mdio bus number exceed the maximum.

Change the node name to mdio-mux to remove the following warnings:
mdio@3009800 (mdio-mux-mmioreg): mdio@80:reg:0:0: 128 is greater than the maximum of 31

[...]

Applied to for-next, thanks!

[1/1] riscv: dts: sophgo: fix mdio node name for CV180X

      https://github.com/sophgo/linux/commit/8727665368cd4af112146b650ec0ebac038b5cf5

Thanks,
Inochi