devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Fugang Duan <B38611@freescale.com>
To: shawn.guo@linaro.org
Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 2/4] ARM: dts: add fec phy reset for imx6sl evk board
Date: Tue, 3 Sep 2013 12:26:23 +0800	[thread overview]
Message-ID: <1378182385-9205-3-git-send-email-B38611@freescale.com> (raw)
In-Reply-To: <1378182385-9205-1-git-send-email-B38611@freescale.com>

Add fec phy gpio reset for imx6sl evk board. imx6sl evk board
use GPIO4_21 to do phy reset, so add phy-reset-gpios and
phy-reset-duration propery initial for fec device node.

Signed-off-by: Fugang Duan  <B38611@freescale.com>
---
 arch/arm/boot/dts/imx6sl-evk.dts |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boot/dts/imx6sl-evk.dts b/arch/arm/boot/dts/imx6sl-evk.dts
index 2886a59..c4d32a5 100644
--- a/arch/arm/boot/dts/imx6sl-evk.dts
+++ b/arch/arm/boot/dts/imx6sl-evk.dts
@@ -23,6 +23,8 @@
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_fec_1>;
 	phy-mode = "rmii";
+	phy-reset-gpios = <&gpio4 21 0>; /* GPIO4_21 */
+	phy-reset-duration = <1>;
 	status = "okay";
 };
 
@@ -38,6 +40,7 @@
 				MX6SL_PAD_SD2_DAT7__GPIO5_IO00    0x17059
 				MX6SL_PAD_SD2_DAT6__GPIO4_IO29    0x17059
 				MX6SL_PAD_REF_CLK_32K__GPIO3_IO22 0x17059
+				MX6SL_PAD_FEC_TX_CLK__GPIO4_IO21  0x80000000
 			>;
 		};
 	};
-- 
1.7.1

  parent reply	other threads:[~2013-09-03  4:26 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-03  4:26 [PATCH v2 0/4] *** ARM: imx6sl: add FEC support for imx6sl evk platform *** Fugang Duan
2013-09-03  4:26 ` [PATCH v2 1/4] ARM: dts: add iomuxc-gpr device node for imx6sl Fugang Duan
2013-09-04 13:23   ` Shawn Guo
2013-09-03  4:26 ` Fugang Duan [this message]
2013-09-09 14:53   ` [PATCH v2 2/4] ARM: dts: add fec phy reset for imx6sl evk board Shawn Guo
2013-09-09 15:00     ` Sascha Hauer
2013-09-10  1:26     ` Duan Fugang-B38611
2013-09-10  3:11       ` Shawn Guo
2013-09-10  3:23         ` Duan Fugang-B38611
2013-09-10  3:34           ` Shawn Guo
2013-09-03  4:26 ` [PATCH v2 3/4] ARM: imx6sl: add imx6sl iomux-gpr field define Fugang Duan
2013-09-05  1:44   ` Otavio Salvador
2013-09-05  2:01     ` Duan Fugang-B38611
2013-09-05  2:04       ` Otavio Salvador
2013-09-03  4:26 ` [PATCH v2 4/4] ARM: imx6sl: config iomux-gpr1 to select clock for fec Fugang Duan
2013-09-04 13:19 ` [PATCH v2 0/4] *** ARM: imx6sl: add FEC support for imx6sl evk platform *** Shawn Guo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1378182385-9205-3-git-send-email-B38611@freescale.com \
    --to=b38611@freescale.com \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=shawn.guo@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).