On Mon, Sep 8, 2025 at 1:37 PM Christian Marangi ansuelsmth@gmail.com wrote:
With further testing with an attached Aeonsemi it was discovered that the pinctrl MDIO function applied the wrong bitmask. The error was probably caused by the confusing documentation related to these bits.
Inspecting what the bootloader actually configure, the SGMII_MDIO_MODE is never actually set but instead it's set force enable to the 2 GPIO (gpio 1-2) for MDC and MDIO pin.
Applying this configuration permits correct functionality of any externally attached PHY.
Cc: stable@vger.kernel.org Fixes: 1c8ace2d0725 ("pinctrl: airoha: Add support for EN7581 SoC") Signed-off-by: Christian Marangi ansuelsmth@gmail.com
Patch applied, recorded Benjamins response as Acked-by.
Yours, Linus Walleij