]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: dts: sun6i: hummingbird: Add ethernet phy reset gpio properties
authorChen-Yu Tsai <wens@csie.org>
Wed, 3 Dec 2014 07:19:13 +0000 (15:19 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 21 Jan 2015 08:58:49 +0000 (09:58 +0100)
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>
arch/arm/boot/dts/sun6i-a31-hummingbird.dts

index 6e924d9d2912ba5cb53eabfb9164601ce7565fc4..55a367ac2a0a2cd1b70e4a7e4c014d376f1de20f 100644 (file)
                        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 {