Skip to content

Commit a0fa9d7

Browse files
sagsifivepalmer-dabbelt
authored andcommitted
dts: phy: add GPIO number and active state used for phy reset
The GEMGXL_RST line on HiFive Unleashed is pulled low and is using GPIO number 12. Add these reset-gpio details to dt-node using which the linux phylib can reset the phy. Signed-off-by: Sagar Shrikant Kadam <[email protected]> Signed-off-by: Palmer Dabbelt <[email protected]>
1 parent be969b7 commit a0fa9d7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@
9090
phy0: ethernet-phy@0 {
9191
compatible = "ethernet-phy-id0007.0771";
9292
reg = <0>;
93+
reset-gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
9394
};
9495
};
9596

0 commit comments

Comments
 (0)