Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e1391804 authored by Chen-Yu Tsai's avatar Chen-Yu Tsai Committed by Maxime Ripard
Browse files

ARM: dts: sun6i: hummingbird: Add ethernet phy reset gpio properties



On the Hummingbird A31 board, the RTL8211E ethernet phy has its reset
line connect to a gpio pin, instead of floating like on other boards.
Add the stmmac properties for describing the reset gpio.

The reset delays were taken from the RTL8211E datasheet.

Signed-off-by: default avatarChen-Yu Tsai <wens@csie.org>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
parent dbbcd881
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -139,6 +139,9 @@
			pinctrl-0 = <&gmac_pins_rgmii_a>;
			pinctrl-0 = <&gmac_pins_rgmii_a>;
			phy = <&phy1>;
			phy = <&phy1>;
			phy-mode = "rgmii";
			phy-mode = "rgmii";
			snps,reset-gpio = <&pio 0 21 0>;
			snps,reset-active-low;
			snps,reset-delays-us = <0 10000 30000>;
			status = "okay";
			status = "okay";


			phy1: ethernet-phy@1 {
			phy1: ethernet-phy@1 {