From patchwork Thu Mar 13 19:39:00 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ezequiel Garcia X-Patchwork-Id: 3828181 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 235C2BF540 for ; Thu, 13 Mar 2014 19:42:46 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2AE51201C7 for ; Thu, 13 Mar 2014 19:42:46 +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 2A1B0201F4 for ; Thu, 13 Mar 2014 19:42:45 +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 1WOBV4-0000mt-0c; Thu, 13 Mar 2014 19:41:06 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WOBUh-0004ve-2X; Thu, 13 Mar 2014 19:40:43 +0000 Received: from mail-yh0-f48.google.com ([209.85.213.48]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WOBTv-0004nk-KG for linux-arm-kernel@lists.infradead.org; Thu, 13 Mar 2014 19:40:03 +0000 Received: by mail-yh0-f48.google.com with SMTP id z6so1549111yhz.35 for ; Thu, 13 Mar 2014 12:39:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=2k82mluExbI37a6tSTSTRoTEw4fzc5GWmrwS+FtHSbQ=; b=BZSYS5NncwhMAK74Rph7Cq1c5K6vt4ytq0Ra/qV77j/5W21I06nkcEoonf8rtEgVy9 vwQWx1wUIoeiYZuk6Q/poCG735iGFynzkDoFgfrIO3m878GUDhd6nYD0VpZwMYjk8z44 3rtAmJo7cqrW9bKU80k7rKDpDnrJshJCUmAF4x2w7lgQbaA/hwKgJolaBDSpPDOVvUsX POZts+m7OETcYLrDXvqSRBItbKif1vAFoqGaXULVg/RCWLoxg03L6rSPkmHOFASA1wFi +chiUaeUI77HX3OXAQXeXr3gfYQFo6WRU2+1D83xel1tnj9S5Ok+lCTa6MKCpKwGOoFj 9Jpg== X-Gm-Message-State: ALoCoQnc0zkEXcKZX4l7Kb7JBY7XSnO+rcDN7bD+hp915ZsXtmzkN/hSx6/svClXlZikZAIEt+Px X-Received: by 10.236.198.197 with SMTP id v45mr4703063yhn.87.1394739575687; Thu, 13 Mar 2014 12:39:35 -0700 (PDT) Received: from localhost.localdomain ([190.2.108.104]) by mx.google.com with ESMTPSA id t58sm8806635yho.20.2014.03.13.12.39.31 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 13 Mar 2014 12:39:35 -0700 (PDT) From: Ezequiel Garcia To: Mike Turquette , Jason Cooper , , , Subject: [PATCH v2 4/6] ARM: mvebu: Add support for NAND controller in Armada 38x SoC Date: Thu, 13 Mar 2014 16:39:00 -0300 Message-Id: <1394739542-30017-5-git-send-email-ezequiel@vanguardiasur.com.ar> X-Mailer: git-send-email 1.9.0 In-Reply-To: <1394739542-30017-1-git-send-email-ezequiel@vanguardiasur.com.ar> References: <1394739542-30017-1-git-send-email-ezequiel@vanguardiasur.com.ar> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140313_153955_782225_5C2CC964 X-CRM114-Status: UNSURE ( 9.07 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) Cc: Lior Amsalem , Thomas Petazzoni , sergei.shtylyov@cogentembedded.com, Tawfik Bayouk , Andrew Lunn , Seif Mazareeb , Ezequiel Garcia , Gregory Clement , Sebastian Hesselbarth 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, T_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: Ezequiel Garcia The Armada 38x SoC family has a NAND controller, compatible with the controller in Armada 370/375/XP SoCs. Add support for it in the devicetree file. Signed-off-by: Ezequiel Garcia --- arch/arm/boot/dts/armada-38x.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/armada-38x.dtsi b/arch/arm/boot/dts/armada-38x.dtsi index 76cc27e..54ba6603 100644 --- a/arch/arm/boot/dts/armada-38x.dtsi +++ b/arch/arm/boot/dts/armada-38x.dtsi @@ -345,6 +345,16 @@ clocks = <&mainpll>; clock-output-names = "nand"; }; + + flash@d0000 { + compatible = "marvell,armada370-nand"; + reg = <0xd0000 0x54>; + #address-cells = <1>; + #size-cells = <1>; + interrupts = ; + clocks = <&coredivclk 0>; + status = "disabled"; + }; }; };