summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/sun6i-a31-hummingbird.dts
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2014-12-03 15:19:13 +0800
committerMaxime Ripard <maxime.ripard@free-electrons.com>2015-01-21 09:58:49 +0100
commite1391804967f38f64e6e73cab45da7fa5f451f6e (patch)
treee5619b004a4114c372f89f9c67c04cebe67a1f8a /arch/arm/boot/dts/sun6i-a31-hummingbird.dts
parentdbbcd881ee97100077295f48fcc7a53a8ce95c52 (diff)
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: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/sun6i-a31-hummingbird.dts')
-rw-r--r--arch/arm/boot/dts/sun6i-a31-hummingbird.dts3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun6i-a31-hummingbird.dts b/arch/arm/boot/dts/sun6i-a31-hummingbird.dts
index 6e924d9d2912..55a367ac2a0a 100644
--- a/arch/arm/boot/dts/sun6i-a31-hummingbird.dts
+++ b/arch/arm/boot/dts/sun6i-a31-hummingbird.dts
@@ -139,6 +139,9 @@
pinctrl-0 = <&gmac_pins_rgmii_a>;
phy = <&phy1>;
phy-mode = "rgmii";
+ snps,reset-gpio = <&pio 0 21 0>;
+ snps,reset-active-low;
+ snps,reset-delays-us = <0 10000 30000>;
status = "okay";
phy1: ethernet-phy@1 {