linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: horms+renesas@verge.net.au (Simon Horman)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 5/5] ARM: shmobile: marzen: Add lan to dts file
Date: Tue, 19 Feb 2013 11:56:10 +0900	[thread overview]
Message-ID: <1361242570-8867-6-git-send-email-horms+renesas@verge.net.au> (raw)
In-Reply-To: <1361242570-8867-1-git-send-email-horms+renesas@verge.net.au>

The ethernet controller is part of the marzen board so add it to
the dts file.

Cc: Magnus Damm <magnus.damm@gmail.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/boot/dts/r8a7779-marzen-reference.dts |   14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/arch/arm/boot/dts/r8a7779-marzen-reference.dts b/arch/arm/boot/dts/r8a7779-marzen-reference.dts
index 377d8df..72be4c8 100644
--- a/arch/arm/boot/dts/r8a7779-marzen-reference.dts
+++ b/arch/arm/boot/dts/r8a7779-marzen-reference.dts
@@ -33,9 +33,15 @@
 		regulator-boot-on;
 		regulator-always-on;
 	};
-};
 
-&lan0 {
-	vddvario-supply = <&fixedregulator3v3>;
-	vdd33a-supply = <&fixedregulator3v3>;
+	lan0 at 18000000 {
+		compatible = "smsc,lan9220", "smsc,lan9115";
+		reg = <0x18000000 0x100>;
+		phy-mode = "mii";
+		interrupt-parent = <&gic>;
+		interrupts = <0 28 0x4>;
+		reg-io-width = <4>;
+		vddvario-supply = <&fixedregulator3v3>;
+		vdd33a-supply = <&fixedregulator3v3>;
+	};
 };
-- 
1.7.10.4

  parent reply	other threads:[~2013-02-19  2:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-19  2:56 [PATCH 0/5] ARM: shmobile: r8a7779 and marzen initialisation enhancements Simon Horman
2013-02-19  2:56 ` [PATCH 1/5] ARM: shmobile: r8a7779: Do not use early devices with DT reference Simon Horman
2013-02-19  2:56 ` [PATCH 2/5] ARM: shmobile: marzen: Do not use early devices Simon Horman
2013-02-19  2:56 ` [PATCH 3/5] ARM: shmobile: r8a7779: Do not initialise i2c as an early device Simon Horman
2013-02-19  2:56 ` [PATCH 4/5] ARM: shmobile: r8a7779: Remove lan from dtsi Simon Horman
2013-02-19  2:56 ` Simon Horman [this message]
2013-02-26  8:55 ` [PATCH 0/5] ARM: shmobile: r8a7779 and marzen initialisation enhancements Simon Horman

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=1361242570-8867-6-git-send-email-horms+renesas@verge.net.au \
    --to=horms+renesas@verge.net.au \
    --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).