linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: florian.vaussard@epfl.ch (Florian Vaussard)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 7/8] ARM: dts: omap3-tobi: Use include file omap-gpmc-smsc9221
Date: Thu, 27 Feb 2014 21:30:31 +0100	[thread overview]
Message-ID: <1393533032-1619-8-git-send-email-florian.vaussard@epfl.ch> (raw)
In-Reply-To: <1393533032-1619-1-git-send-email-florian.vaussard@epfl.ch>

Use the timings provided by omap-gpmc-smsc9221. This does not change
the timings, but it avoids code duplication.

Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
---
 arch/arm/boot/dts/omap3-overo-tobi-common.dtsi | 30 +++-----------------------
 1 file changed, 3 insertions(+), 27 deletions(-)

diff --git a/arch/arm/boot/dts/omap3-overo-tobi-common.dtsi b/arch/arm/boot/dts/omap3-overo-tobi-common.dtsi
index da7d85b..caddb8c 100644
--- a/arch/arm/boot/dts/omap3-overo-tobi-common.dtsi
+++ b/arch/arm/boot/dts/omap3-overo-tobi-common.dtsi
@@ -44,39 +44,15 @@
 	};
 };
 
+#include "omap-gpmc-smsc9221.dtsi"
+
 &gpmc {
 	ranges = <5 0 0x2c000000 0x1000000>;	/* CS5 */
 
-	ethernet at 5,0 {
-		compatible = "smsc,lan9221", "smsc,lan9115";
+	ethernet at gpmc {
 		reg = <5 0 0xff>;
-		bank-width = <2>;
-
-		gpmc,mux-add-data;
-		gpmc,cs-on-ns = <0>;
-		gpmc,cs-rd-off-ns = <42>;
-		gpmc,cs-wr-off-ns = <36>;
-		gpmc,adv-on-ns = <6>;
-		gpmc,adv-rd-off-ns = <12>;
-		gpmc,adv-wr-off-ns = <12>;
-		gpmc,oe-on-ns = <0>;
-		gpmc,oe-off-ns = <42>;
-		gpmc,we-on-ns = <0>;
-		gpmc,we-off-ns = <36>;
-		gpmc,rd-cycle-ns = <60>;
-		gpmc,wr-cycle-ns = <54>;
-		gpmc,access-ns = <36>;
-		gpmc,page-burst-access-ns = <0>;
-		gpmc,bus-turnaround-ns = <0>;
-		gpmc,cycle2cycle-delay-ns = <0>;
-		gpmc,wr-data-mux-bus-ns = <18>;
-		gpmc,wr-access-ns = <42>;
-		gpmc,cycle2cycle-samecsen;
-		gpmc,cycle2cycle-diffcsen;
-
 		interrupt-parent = <&gpio6>;
 		interrupts = <16 IRQ_TYPE_LEVEL_LOW>;	/* GPIO 176 */
-		reg-io-width = <4>;
 	};
 };
 
-- 
1.8.5.3

  parent reply	other threads:[~2014-02-27 20:30 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-27 20:30 [PATCH v2 0/8] ARM: dts: Better support for Gumstix Overo Florian Vaussard
2014-02-27 20:30 ` [PATCH v2 1/8] ARM: dts: omap3-tobi: Add missing pinctrl Florian Vaussard
2014-02-27 20:30 ` [PATCH v2 2/8] ARM: dts: omap3-overo: " Florian Vaussard
2014-02-27 20:30 ` [PATCH v2 3/8] ARM: dts: omap3-overo: Use complete poweroff Florian Vaussard
2014-02-27 20:38   ` Nishanth Menon
2014-02-27 20:48     ` Florian Vaussard
2014-02-27 21:07       ` Nishanth Menon
2014-03-03  8:55         ` Florian Vaussard
2014-02-27 20:30 ` [PATCH v2 4/8] ARM: dts: omap3-overo: Enable WiFi/BT combo Florian Vaussard
2014-02-27 20:30 ` [PATCH v2 5/8] ARM: dts: omap3-overo: Add HSUSB PHY Florian Vaussard
2014-02-27 20:30 ` [PATCH v2 6/8] ARM: dts: omap: Add common file for SMSC9221 Florian Vaussard
2014-02-27 20:30 ` Florian Vaussard [this message]
2014-02-27 20:30 ` [PATCH v2 8/8] ARM: dts: omap3-tobi: Add AT24C01 EEPROM Florian Vaussard

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=1393533032-1619-8-git-send-email-florian.vaussard@epfl.ch \
    --to=florian.vaussard@epfl.ch \
    --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).