From patchwork Thu Jan 9 12:31:49 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean-Jacques Hiblot X-Patchwork-Id: 3460161 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id CF935C02DC for ; Thu, 9 Jan 2014 13:14:09 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BA43220123 for ; Thu, 9 Jan 2014 13:14:08 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7E04E20121 for ; Thu, 9 Jan 2014 13:14:07 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1W1Erz-0003ae-Kp; Thu, 09 Jan 2014 12:37:56 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1W1ErD-00046c-Oq; Thu, 09 Jan 2014 12:37:07 +0000 Received: from mail-wg0-f47.google.com ([74.125.82.47]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1W1Epo-0003tr-6C for linux-arm-kernel@lists.infradead.org; Thu, 09 Jan 2014 12:35:43 +0000 Received: by mail-wg0-f47.google.com with SMTP id n12so2658363wgh.2 for ; Thu, 09 Jan 2014 04:35:18 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=bmjwd8gINzPSYTV9gQnQh0Gjhp1j66ZyZR4bHMUZSPs=; b=AvsbJljYELODlfuQL9vWz8PIg3Rn/pmp+Add+OmpIs2NERqyiOi2uKZVFqx7czXnU+ qvXfUFkENsJNTlNZEGKo276XzpHZuGzQP79Bzi8ps20dtJt1y2W016kkctGomKJ85k5A fL8dYGIoung8N36/l7kI/fF5/1Htjinf948cG5z28qswE+BhLBL25dTtUIn3v3pm5mHs GYBxkavADfMj8/qwTWp3+FGhfHgpbCLRCK8IWEcShODgDF/7vGUdxpZvucYOKA6Z0OX6 8uM4ZHmmSju1HG8KHoARsRDQiXctHwTwTDhrvHi6pbWR+vH24cNOhTNatZl3miO8YJjn 7ADw== X-Received: by 10.180.104.164 with SMTP id gf4mr19518045wib.35.1389270918354; Thu, 09 Jan 2014 04:35:18 -0800 (PST) Received: from stedf17-labo202.ds.jdsu.net. (4-161.80-90.static-ip.oleane.fr. [90.80.161.4]) by mx.google.com with ESMTPSA id t10sm7454854wia.6.2014.01.09.04.35.16 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 09 Jan 2014 04:35:17 -0800 (PST) From: Jean-Jacques Hiblot To: nicolas.ferre@atmel.com, b.brezillon@overkiz.com, arnd@arndb.de Subject: [PATCH v2 12/12] at91: dt: sam9261: Added DM9000 in the device tree Date: Thu, 9 Jan 2014 13:31:49 +0100 Message-Id: <1389270709-32662-13-git-send-email-jjhiblot@traphandler.com> X-Mailer: git-send-email 1.8.5.2 In-Reply-To: <1389270709-32662-1-git-send-email-jjhiblot@traphandler.com> References: <1389270709-32662-1-git-send-email-jjhiblot@traphandler.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140109_073540_385734_45D602E0 X-CRM114-Status: UNSURE ( 8.79 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) Cc: Jean-Jacques Hiblot , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Jean-Jacques Hiblot --- arch/arm/boot/dts/at91sam9261ek.dts | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9261ek.dts b/arch/arm/boot/dts/at91sam9261ek.dts index e92cb8e..a3d9d5a 100644 --- a/arch/arm/boot/dts/at91sam9261ek.dts +++ b/arch/arm/boot/dts/at91sam9261ek.dts @@ -76,6 +76,38 @@ smc: smc@ffffec00 { status = "okay"; + ebi_cs2@2,0 { + status = "okay"; + smc,converter = "nanosec"; + smc,ncs_read_setup = <0>; + smc,nrd_setup = <20>; + smc,ncs_write_setup = <0>; + smc,nwe_setup = <20>; + smc,ncs_read_pulse = <80>; + smc,nrd_pulse = <40>; + smc,ncs_write_pulse = <80>; + smc,nwe_pulse = <40>; + smc,read_cycle = <160>; + smc,write_cycle = <160>; + smc,tdf_cycles = <10>; + smc,tdf_optimized = <0>; + smc,page_size = <0>; + smc,byte_access_type = <1>; + smc,bus_width = <1>; + smc,nwait_mode = <0>; + smc,read_mode = <1>; + smc,write_mode = <1>; + + ethernet@2,0 { + compatible = "davicom,dm9000"; + reg = <0x0 0x2 0x4 0x2>; + interrupt-parent = <&pioC>; + interrupts = <11 IRQ_TYPE_EDGE_BOTH>; + local-mac-address = [00 00 de ad be ef]; + davicom,no-eeprom; + }; + }; + ebi_cs3@3,0 { status = "okay"; smc,ncs_read_setup = <0>;