From patchwork Tue Dec 31 16:32:14 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean-Jacques Hiblot X-Patchwork-Id: 3422131 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 53960C02DC for ; Tue, 31 Dec 2013 16:39:26 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 423652011E for ; Tue, 31 Dec 2013 16:39:25 +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 C905D2011D for ; Tue, 31 Dec 2013 16:39:23 +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 1Vy2K6-0008SO-3J; Tue, 31 Dec 2013 16:37:43 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Vy2JZ-0003GV-Nf; Tue, 31 Dec 2013 16:37:09 +0000 Received: from mail-wg0-f46.google.com ([74.125.82.46]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Vy2Io-0003AM-LL for linux-arm-kernel@lists.infradead.org; Tue, 31 Dec 2013 16:36:23 +0000 Received: by mail-wg0-f46.google.com with SMTP id m15so11000119wgh.25 for ; Tue, 31 Dec 2013 08:36:01 -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=wzu01to0dVDKcM7o/EXn1rYjBVjVOtVhkn8Wj1VoldU=; b=I8xS3tAcXZFU996rUYvubmF7XEUWLAJbBMUdcq4BzPHaUNR4JI21klmqNrNLjtAweZ 3xs+5JXuSiZ/Ns30JJiXKIV8pKZh36coonAuQ+NjXN/0vccLYZCF8Yy8XoJC7+W1HAT0 mXuFX4REXiq1PH2dm4P0WkQ6vgCU1aTBcdKHwKXo9ytUBrgixsylywMWcoro2Hji3Y7U 5lbsc/7hUR/p5MdgU4LS4RX0sl6KgQeMNbB+mr5nnNkspzkgf3fBeQPCTmiqLnxQ6ply B64Ccf9ULE+niQPt/WNw5HXZONZQbaQcibC3o1u2IXQO1MBsgdZNvPiizZfcvFMcVoat AW6Q== X-Received: by 10.194.78.79 with SMTP id z15mr10357286wjw.15.1388507760996; Tue, 31 Dec 2013 08:36:00 -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 fj8sm76137500wib.1.2013.12.31.08.35.59 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 31 Dec 2013 08:36:00 -0800 (PST) From: jjhiblot@traphandler.com To: nicolas.ferre@atmel.com Subject: [PATCH 6/6] at91: dt: sam9261: Added DM9000 in the device tree Date: Tue, 31 Dec 2013 17:32:14 +0100 Message-Id: <1388507534-10570-7-git-send-email-jjhiblot@traphandler.com> X-Mailer: git-send-email 1.8.4.2 In-Reply-To: <1388507534-10570-1-git-send-email-jjhiblot@traphandler.com> References: <1388507534-10570-1-git-send-email-jjhiblot@traphandler.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131231_113622_890113_6B6BE8EF X-CRM114-Status: UNSURE ( 8.32 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) Cc: jean-jacques hiblot , 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.3 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 From: jean-jacques hiblot Signed-off-by: Jean-Jacques Hiblot --- arch/arm/boot/dts/at91sam9261ek.dts | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9261ek.dts b/arch/arm/boot/dts/at91sam9261ek.dts index 11cf619..7a7997f 100644 --- a/arch/arm/boot/dts/at91sam9261ek.dts +++ b/arch/arm/boot/dts/at91sam9261ek.dts @@ -76,6 +76,35 @@ smc: smc@ffffec00 { status = "okay"; + ethernet@30000000 { + compatible = "davicom,dm9000"; + reg = <0x30000000 0x2 0x30000004 0x2>; + interrupt-parent = <&pioC>; + interrupts = <11 IRQ_TYPE_EDGE_BOTH>; + local-mac-address = [00 00 de ad be ef]; + davicom,no-eeprom; + + smc,cs = <2>; + smc,ncs_read_setup = <0>; + smc,nrd_setup = <2>; + smc,ncs_write_setup = <0>; + smc,nwe_setup = <2>; + smc,ncs_read_pulse = <8>; + smc,nrd_pulse = <4>; + smc,ncs_write_pulse = <8>; + smc,nwe_pulse = <4>; + smc,read_cycle = <16>; + smc,write_cycle = <16>; + smc,tdf_cycles = <1>; + 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>; + }; + nand0: nand@40000000 { nand-bus-width = <8>; nand-ecc-mode = "soft";