linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: alexandre.torgue@gmail.com (Alexandre TORGUE)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/3] ARM: dts: stm32f429: Enable Ethernet on Eval board
Date: Mon, 29 Feb 2016 17:29:36 +0100	[thread overview]
Message-ID: <1456763376-21457-4-git-send-email-alexandre.torgue@gmail.com> (raw)
In-Reply-To: <1456763376-21457-1-git-send-email-alexandre.torgue@gmail.com>

MAC is connected to a PHY in MII mode.

Signed-off-by: Alexandre TORGUE <alexandre.torgue@gmail.com>

diff --git a/arch/arm/boot/dts/stm32429i-eval.dts b/arch/arm/boot/dts/stm32429i-eval.dts
index 1ae57fa..e345459 100644
--- a/arch/arm/boot/dts/stm32429i-eval.dts
+++ b/arch/arm/boot/dts/stm32429i-eval.dts
@@ -87,6 +87,21 @@
 	clock-frequency = <25000000>;
 };
 
+&ethernet0 {
+	status = "okay";
+	pinctrl-0	= <&ethernet0_mii>;
+	pinctrl-names	= "default";
+	phy-mode	= "mii-id";
+	mdio0 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			compatible = "snps,dwmac-mdio";
+			phy1: ethernet-phy at 1 {
+				reg = <1>;
+			};
+		};
+};
+
 &usart1 {
 	pinctrl-0 = <&usart1_pins_a>;
 	pinctrl-names = "default";
-- 
1.9.1

      parent reply	other threads:[~2016-02-29 16:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-29 16:29 [PATCH 0/3] Enable Ethernet on STM32F429 EVAL board Alexandre TORGUE
2016-02-29 16:29 ` [PATCH 1/3] ARM: dts: stm32f429: Add system config bank node Alexandre TORGUE
2016-02-29 16:29 ` [PATCH 2/3] ARM: dts: stm32f429: Add Ethernet support Alexandre TORGUE
2016-03-01 17:24   ` Maxime Coquelin
2016-03-02  8:23     ` Alexandre Torgue
2016-02-29 16:29 ` Alexandre TORGUE [this message]

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=1456763376-21457-4-git-send-email-alexandre.torgue@gmail.com \
    --to=alexandre.torgue@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.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).