tested today, it's working great, all lan ports on the switch are working as expected at 1 gbps. My patch is a bit different, haven't tested yours (@hzyitc). Two main differences are that I use a mask to set the bits based on the downstream code, and the other is that I set the properties in the priv during probe and read them in init_config to modify the registers.
This completes support for Linksys SPNMX56 which has 1 mac/uniphy connected to a qca8081 phy for up to 2.5 gbps connections and the other mac/ge phy connected to the qca8337 switch with 3x 1 gpbs ports.
Will update the repo and the PR shortly after I test the MX2000 and MX5500 with a dual connection to the qca8337 switch (if at all connected), just like the Redmi AX3000.
5 Likes