[PATCH 2/3] riscv: dts: sophgo: Add mdio multiplexer device for cv18xx

Inochi Amaoto inochiama at gmail.com
Tue Jul 15 15:06:40 PDT 2025


On Tue, Jul 15, 2025 at 12:43:35PM -0500, Rob Herring wrote:
> On Wed, Jul 2, 2025 at 9:16 PM Inochi Amaoto <inochiama at gmail.com> wrote:
> >
> > Add DT device node of mdio multiplexer device for cv18xx SoC.
> 
> This adds a dtbs_check warning:
> 
> mdio at 3009800 (mdio-mux-mmioreg): mdio at 80:reg:0:0: 128 is greater than
> the maximum of 31
> 
> >
> > Signed-off-by: Inochi Amaoto <inochiama at gmail.com>
> > ---
> >  arch/riscv/boot/dts/sophgo/cv180x.dtsi | 29 ++++++++++++++++++++++++++
> >  1 file changed, 29 insertions(+)
> >
> > diff --git a/arch/riscv/boot/dts/sophgo/cv180x.dtsi b/arch/riscv/boot/dts/sophgo/cv180x.dtsi
> > index 7eecc67f896e..3a82cc40ea1a 100644
> > --- a/arch/riscv/boot/dts/sophgo/cv180x.dtsi
> > +++ b/arch/riscv/boot/dts/sophgo/cv180x.dtsi
> > @@ -31,6 +31,33 @@ rst: reset-controller at 3003000 {
> >                         #reset-cells = <1>;
> >                 };
> >
> > +               mdio: mdio at 3009800 {
> 
> The nodename is wrong here because this is not an MDIO bus. It is a
> mux. So "mdio-mux at ..." for the node name.
> 

Thanks, I will send a fix for this.

Regards,
Inochi




More information about the linux-riscv mailing list