Skip to content

Commit d1a6f12

Browse files
HoratiuVulturclaudiubeznea
authored andcommitted
ARM: dts: microchip: lan966x: Fix the access to the PHYs for pcb8290
The problem is that the MDIO controller can't detect any of the PHYs. The reason is that the lan966x is not pulling high the GPIO 53 that is connected to the PHYs reset GPIO. Without doing this the PHYs are kept in reset. The mdio controller framework has the possibility to control a GPIO to release the reset of the PHYs. So take advantage of this and set line to be high before accessing the PHYs. Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com> Reviewed-by: Claudiu Beznea <claudiu.beznea@tuxon.dev> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Link: https://lore.kernel.org/r/20251119134750.394655-1-horatiu.vultur@microchip.com [claudiu.beznea: add microchip in patch title, s/possiblity/possibility in patch description] Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
1 parent 8f0b4cc commit d1a6f12

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

arch/arm/boot/dts/microchip/lan966x-pcb8290.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
&mdio0 {
5555
pinctrl-0 = <&miim_a_pins>;
5656
pinctrl-names = "default";
57+
reset-gpios = <&gpio 53 GPIO_ACTIVE_LOW>;
5758
status = "okay";
5859

5960
ext_phy0: ethernet-phy@7 {

0 commit comments

Comments
 (0)