]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
riscv: dts: sophgo: fix mdio node name for CV180X
authorInochi Amaoto <inochiama@gmail.com>
Tue, 15 Jul 2025 22:13:48 +0000 (06:13 +0800)
committerInochi Amaoto <inochiama@gmail.com>
Wed, 23 Jul 2025 01:55:16 +0000 (09:55 +0800)
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

Fixes: b7945143bc33 ("riscv: dts: sophgo: Add mdio multiplexer device for cv18xx")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202507140738.XRjv3G8i-lkp@intel.com/
Closes: https://lore.kernel.org/oe-kbuild-all/202507121830.POx2KDVi-lkp@intel.com/
Reviewed-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
Link: https://lore.kernel.org/r/20250715221349.11034-1-inochiama@gmail.com
Signed-off-by: Inochi Amaoto <inochiama@gmail.com>
Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
Signed-off-by: Chen Wang <wangchen20@iscas.ac.cn>
arch/riscv/boot/dts/sophgo/cv180x.dtsi

index 56eb74c4a89efd66fd7db2ed71c6d2b125b7bd50..ccdb454986535069528a73da938f5f9a4320dfff 100644 (file)
@@ -31,7 +31,7 @@
                        #reset-cells = <1>;
                };
 
-               mdio: mdio@3009800 {
+               mdio: mdio-mux@3009800 {
                        compatible = "mdio-mux-mmioreg", "mdio-mux";
                        reg = <0x3009800 0x4>;
                        #address-cells = <1>;