Doesnt work 5 to 8 ports with Linksys EA9500?

The EA9500 does not appear on the supported devices list, that I could find. Maybe I'm missing something there @tmomas ?

It look from the DTS and commit notes that this is a dual-switch device of some sort. The DTS only looks like it only supports the first four ports

target//linux/bcm53xx/patches-4.14/033-v4.19-0003-ARM-dts-BCM5301X-Add-support-for-Linksys-EA9500.patch

target/linux/bcm53xx/patches-4.14/033-v4.19-0001-ARM-dts-BCM5301X-Make-USB-3.0-PHY-use-MDIO-PHY-drive.patch

You might want to ask on

In some Northstar devices like Linksys EA9500, secondary switch is
connected via external MDIO. The only way to access and configure the
external switch is via MDIO bus. When we enable the MDIO bus in it's
current state, the MDIO bus and any child buses fail to register because
of the register range overlap.
+       mdio-mii-mux {
+               compatible = "mdio-mux-mmioreg";
+               mdio-parent-bus = <&mdio_ext>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+               reg = <0x1800c1c0 0x4>;
+
+               /* BIT(6) = mdc, BIT(7) = mdio */
+               mux-mask = <0xc0>;
+
+               mdio-mii@0 {
+                       /* Enable MII function */
+                       reg = <0x0>;
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+
+                       switch@0  {
+                               compatible = "brcm,bcm53125";
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                               reset-gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>;
+                               reset-names = "robo_reset";
+                               reg = <0>;
+                               dsa,member = <1 0>;
+
+                               ports {
+                                       #address-cells = <1>;
+                                       #size-cells = <0>;
+
+                                       port@0 {
+                                               reg = <0>;
+                                               label = "lan1";
+                                       };
+
+                                       port@1 {
+                                               reg = <1>;
+                                               label = "lan5";
+                                       };
+
+                                       port@2 {
+                                               reg = <2>;
+                                               label = "lan2";
+                                       };
+
+                                       port@3 {
+                                               reg = <3>;
+                                               label = "lan6";
+                                       };
+
+                                       port@4 {
+                                               reg = <4>;
+                                               label = "lan3";
+                                       };
+
+                                       sw1_p8: port@8 {
+                                               reg = <8>;
+                                               ethernet = <&sw0_p0>;
+                                               label = "cpu";
+
+                                               fixed-link {
+                                                       speed = <1000>;
+                                                       full-duplex;
+                                               };
+                                       };
+                               };
+                       };
+               };
+       };
1 Like