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 v3 6/7] ARM: dts: omap3-tobi: Use include file omap-gpmc-smsc9221
Date: Mon,  3 Mar 2014 10:34:06 +0100	[thread overview]
Message-ID: <1393839247-6516-7-git-send-email-florian.vaussard@epfl.ch> (raw)
In-Reply-To: <1393839247-6516-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.3.2

  parent reply	other threads:[~2014-03-03  9:34 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-03  9:34 [PATCH v3 0/7] ARM: dts: Better support for Gumstix Overo (for 3.15?) Florian Vaussard
2014-03-03  9:34 ` [PATCH v3 1/7] ARM: dts: omap3-tobi: Add missing pinctrl Florian Vaussard
2014-03-03  9:34 ` [PATCH v3 2/7] ARM: dts: omap3-overo: " Florian Vaussard
2014-03-03  9:34 ` [PATCH v3 3/7] ARM: dts: omap3-overo: Enable WiFi/BT combo Florian Vaussard
2014-03-03  9:34 ` [PATCH v3 4/7] ARM: dts: omap3-overo: Add HSUSB PHY Florian Vaussard
2014-03-03 11:03   ` Roger Quadros
2014-03-03 12:48     ` Florian Vaussard
2014-03-03 13:07       ` Roger Quadros
2014-03-05  8:01         ` Florian Vaussard
2014-03-05 19:39           ` Tony Lindgren
2014-03-07 15:31           ` Florian Vaussard
2014-03-03  9:34 ` [PATCH v3 5/7] ARM: dts: omap: Add common file for SMSC9221 Florian Vaussard
2014-03-03  9:34 ` Florian Vaussard [this message]
2014-03-03  9:34 ` [PATCH v3 7/7] 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=1393839247-6516-7-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).