From patchwork Thu Jan 9 12:31:47 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: 3460141 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 500219F384 for ; Thu, 9 Jan 2014 13:13:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0318220123 for ; Thu, 9 Jan 2014 13:13:33 +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 8B57720121 for ; Thu, 9 Jan 2014 13:13:31 +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 1W1Erg-0003NY-0v; Thu, 09 Jan 2014 12:37:37 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1W1Er0-00045M-0U; Thu, 09 Jan 2014 12:36:54 +0000 Received: from mail-we0-f169.google.com ([74.125.82.169]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1W1Epk-0003tp-Hu for linux-arm-kernel@lists.infradead.org; Thu, 09 Jan 2014 12:35:40 +0000 Received: by mail-we0-f169.google.com with SMTP id u57so2524315wes.14 for ; Thu, 09 Jan 2014 04:35:15 -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=XTJ7iwieVUr7QfAZP9m4Ln95uj3bY1VC51jTkDs6jWQ=; b=XJRfONvylEV048BxTY3Etzj12zXxhRgKby6MYExdvrJ5DpcC0akfN32y8wZAE8QesI W/kNjWK/Gr9YuAKmypJxxvQKJO1080CyVayuA5YfphPfe21nnEZIeXbX8iMDKeZX4Gzq a5nAj+YXOcqoA4gIEQI6mE7UWsF9wKVlDVnFm0GEW533N1u/xCVgqaAa4ff3S5n/lvqi PKkgvZy5UwG/lIZzokobfrsP9ejqlpMpLNjwlcjS+GiRYfVxhcGDH5yJHQ3lZW50aq/Z b0TUM3jfYXfk0iik3rIbbOd+LAVZj541o2eqg0hw2MWOkK9LlkWgvZSycMezTm5fM8i6 IJLQ== X-Received: by 10.180.12.146 with SMTP id y18mr3039553wib.37.1389270914830; Thu, 09 Jan 2014 04:35:14 -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.13 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 09 Jan 2014 04:35:13 -0800 (PST) From: Jean-Jacques Hiblot To: nicolas.ferre@atmel.com, b.brezillon@overkiz.com, arnd@arndb.de Subject: [PATCH v2 10/12] at91: dt: sam9261: Add an entry in the DT for the SMC/EBI bus driver. Date: Thu, 9 Jan 2014 13:31:47 +0100 Message-Id: <1389270709-32662-11-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_073536_773554_F394D740 X-CRM114-Status: UNSURE ( 9.20 ) 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 This patch creates a new entry in the device tree for the 9261 under which should be the described the devices attached to the SMC/EBI. Signed-off-by: Jean-Jacques Hiblot --- arch/arm/boot/dts/at91sam9261.dtsi | 73 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9261.dtsi b/arch/arm/boot/dts/at91sam9261.dtsi index 695d5d2..6c90790 100644 --- a/arch/arm/boot/dts/at91sam9261.dtsi +++ b/arch/arm/boot/dts/at91sam9261.dtsi @@ -542,6 +542,79 @@ status = "disabled"; }; + smc: smc@ffffec00 { + #address-cells = <2>; + #size-cells = <1>; + compatible = "atmel,at91sam9261-smc"; + reg = <0xffffec00 0x80>; + pinctrl-names = "default"; + status = "disabled"; + ranges = <0 0 0x10000000 0x10000000 + 1 0 0x20000000 0x10000000 + 2 0 0x30000000 0x10000000 + 3 0 0x40000000 0x10000000 + 4 0 0x50000000 0x10000000 + 5 0 0x60000000 0x10000000 + 6 0 0x70000000 0x10000000>; + + ebi_cs0@0,0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "simple-bus"; + ranges = <0 0 0x00000000 0x10000000>; + smc,cs = <0>; + status = "disabled"; + }; + ebi_cs1@1,0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "simple-bus"; + ranges = <0 1 0x00000000 0x10000000>; + smc,cs = <1>; + status = "disabled"; + }; + ebi_cs2@2,0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "simple-bus"; + ranges = <0 2 0x00000000 0x10000000>; + smc,cs = <2>; + status = "disabled"; + }; + ebi_cs3@3,0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "simple-bus"; + ranges = <0 3 0x00000000 0x10000000>; + smc,cs = <3>; + status = "disabled"; + }; + ebi_cs4@4,0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "simple-bus"; + ranges = <0 4 0x00000000 0x10000000>; + smc,cs = <4>; + status = "disabled"; + }; + ebi_cs5@5,0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "simple-bus"; + ranges = <0 5 0x00000000 0x10000000>; + smc,cs = <5>; + status = "disabled"; + }; + ebi_cs6@6,0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "simple-bus"; + ranges = <0 6 0x00000000 0x10000000>; + smc,cs = <6>; + status = "disabled"; + }; + }; + usb0: ohci@00500000 { compatible = "atmel,at91rm9200-ohci", "usb-ohci"; reg = <0x00500000 0x100000>;