[PATCH] riscv: dts: sophgo: fix mdio node name for CV180X
Alexander Sverdlin
alexander.sverdlin at gmail.com
Tue Jul 15 15:17:07 PDT 2025
On Wed, 2025-07-16 at 06:13 +0800, Inochi Amaoto wrote:
> 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 at 3009800 (mdio-mux-mmioreg): mdio at 80:reg:0:0: 128 is greater than
> the maximum of 31
>
> Fixes: b7945143bc33 ("riscv: dts: sophgo: Add mdio multiplexer device for cv18xx")
> Signed-off-by: Inochi Amaoto <inochiama at gmail.com>
> Reported-by: kernel test robot <lkp at 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 at gmail.com>
> ---
> arch/riscv/boot/dts/sophgo/cv180x.dtsi | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/riscv/boot/dts/sophgo/cv180x.dtsi b/arch/riscv/boot/dts/sophgo/cv180x.dtsi
> index 5f094c6085cb..27056ef70ce4 100644
> --- a/arch/riscv/boot/dts/sophgo/cv180x.dtsi
> +++ b/arch/riscv/boot/dts/sophgo/cv180x.dtsi
> @@ -57,7 +57,7 @@ rst: reset-controller at 3003000 {
> #reset-cells = <1>;
> };
>
> - mdio: mdio at 3009800 {
> + mdio: mdio-mux at 3009800 {
> compatible = "mdio-mux-mmioreg", "mdio-mux";
> reg = <0x3009800 0x4>;
> #address-cells = <1>;
--
Alexander Sverdlin.
More information about the linux-riscv
mailing list