* [PATCH] ARM: dts: sun6i: hummingbird: Add ethernet phy reset gpio properties
@ 2014-12-03 7:19 Chen-Yu Tsai
2014-12-08 19:06 ` Maxime Ripard
0 siblings, 1 reply; 2+ messages in thread
From: Chen-Yu Tsai @ 2014-12-03 7:19 UTC (permalink / raw)
To: linux-arm-kernel
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>
---
arch/arm/boot/dts/sun6i-a31-hummingbird.dts | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/boot/dts/sun6i-a31-hummingbird.dts b/arch/arm/boot/dts/sun6i-a31-hummingbird.dts
index 6e924d9..55a367a 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 at 1 {
--
2.1.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] ARM: dts: sun6i: hummingbird: Add ethernet phy reset gpio properties
2014-12-03 7:19 [PATCH] ARM: dts: sun6i: hummingbird: Add ethernet phy reset gpio properties Chen-Yu Tsai
@ 2014-12-08 19:06 ` Maxime Ripard
0 siblings, 0 replies; 2+ messages in thread
From: Maxime Ripard @ 2014-12-08 19:06 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, Dec 03, 2014 at 03:19:13PM +0800, Chen-Yu Tsai wrote:
> 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>
Queued, thanks.
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20141208/a345d5c7/attachment.sig>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-12-08 19:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-03 7:19 [PATCH] ARM: dts: sun6i: hummingbird: Add ethernet phy reset gpio properties Chen-Yu Tsai
2014-12-08 19:06 ` Maxime Ripard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).