Skip to content

Commit babc554

Browse files
baruchsiachgclement
authored andcommitted
arm64: dts: clearfog-gt-8k: 1G eth PHY reset signal
This reset signal controls the Marvell 1512 1G PHY. Note that current implementation queries the PHY over the MDIO bus (get_phy_device() call from of_mdiobus_register_phy()) before reset signal deassert. If the PHY reset signal is asserted at boot time, PHY registration fails. So current code relies on the bootloader to deassert the reset signal. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
1 parent b597a6f commit babc554

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,10 @@
333333
*/
334334
marvell,reg-init = <3 16 0 0x1017>;
335335
reg = <0>;
336+
pinctrl-names = "default";
337+
pinctrl-0 = <&cp0_copper_eth_phy_reset>;
338+
reset-gpios = <&cp1_gpio1 11 GPIO_ACTIVE_LOW>;
339+
reset-assert-us = <10000>;
336340
};
337341

338342
switch0: switch0@4 {

0 commit comments

Comments
 (0)