Re: [PATCH net-next v2 4/4] net: dsa: soce: Add basic support for SoC-e switch IP cores
From: Andrew Lunn
Date: Thu Sep 10 2026 - 08:20:22 EST
> ethernet-switch@xy {
> /* ... */
>
> mdio_parent: mdio@204 {
> compatible = "soce,swip-mdio-23-02";
> reg = <0x204 0xc>, <0x200 0x4>;
> reg-names = "data", "control";
> };
>
> mdio-mux@200 {
> compatible = "mdio-mux-mmioreg", "mdio-mux";
> reg = <0x200 0x4>;
> mux-mask = <0x1f0000>;
> mdio-parent-bus = <&mdio_parent>;
> #address-cells = <1>;
> #size-cells = <0>;
>
> mdio@0 {
> reg = <0>;
> /* PHYs connected to port 0 */
> };
>
> mdio@10000 {
> reg = <0x10000>;
> /* PHYs connected to port 1 */
These comments are probably wrong, as i suggested in my previous
reply. There is no reason that port 0 PHY could not be on bus 10000.
I've no idea if it will work, but maybe try:
> reg = <0x203 0x1>;
> mux-mask = <0x1f>;
and then you get better bus numbers?
Andrew