From patchwork Tue Aug 9 17:15:16 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Karl Beldan X-Patchwork-Id: 9271935 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 62F3460839 for ; Tue, 9 Aug 2016 17:18:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5139B28375 for ; Tue, 9 Aug 2016 17:18:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 45FBD28389; Tue, 9 Aug 2016 17:18:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D68DE28375 for ; Tue, 9 Aug 2016 17:18:05 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bXAds-0006DD-DX; Tue, 09 Aug 2016 17:16:40 +0000 Received: from mail-wm0-x22a.google.com ([2a00:1450:400c:c09::22a]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bXAcw-0005ut-6O for linux-arm-kernel@lists.infradead.org; Tue, 09 Aug 2016 17:15:43 +0000 Received: by mail-wm0-x22a.google.com with SMTP id d196so6710507wmd.0 for ; Tue, 09 Aug 2016 10:15:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=GGjSDu/VrF6guA/9AGDykMzFm3WdOYWcBAbehN/Ln3Q=; b=mFYQuPZAIGkiyXqmoD7DGl8UG82DdX2pTNhTHFanq3Lbxp6GqF4OM+6RBbM17c5FXq V4LAFvsRNjORFk7WO8vwwJ8WLmuztkTNanmYW/kiywHiL29x7AtAmpFR8EvPDhlJ0CGF zghGS6DjvCSLWShdIHZItBMLvnUB0HOAnCEOdmUg1vP7niZk2DkkQaY9C9iR4MwuAiSn wIK/+dyvNubxOsMnMvku41KDnOl9x1U16DA/GvFblRA2NOIC2Z4xDnoJVysFvQH809XZ MOtwJZx8QAUgO2C6zBcisNIQD1KTDRnLBy6StiFZZ52mRoPAMmQFUdCo08qqi/Tm3LJe +Ugw== 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=GGjSDu/VrF6guA/9AGDykMzFm3WdOYWcBAbehN/Ln3Q=; b=fbqzeVdxCMO23WHUx3IG874SLNr7xi3ZQrpWDKiFmmqbHHlzx0vz4MhKkvHDxJ7HrW aDw1/yeb5JDGt2xyTPhT38Dn06Fhx5NAQDgvOkFLIWDtZgGYpn7rWazWzF1yWJYa5KNw diDEkICfqpKP1/AWM6FuoHAyFgh+qp0B3yRFAz05muzg6wGpIvax2IlAP47pCp8yE0Cw 7rgLf88cO+wxdo5GfravezGjONTvQBG4DofWQ4Uu/s8jbSgNHDFRDEXwEAA3kQJieYX/ IcGVzhVyrSIpIcHujYfg+AbQeEJCfM+PIl1gPxAe1y7qvxiGHs1mcixH0DtG+4708akO 5nNg== X-Gm-Message-State: AEkoousbexDqZ5HaokKfAeUDIdg1VFwtL2qmilrryfjIYe6Z7kuYinTX6A7VIsz8VDDoqxoM X-Received: by 10.194.47.100 with SMTP id c4mr87709211wjn.34.1470762920316; Tue, 09 Aug 2016 10:15:20 -0700 (PDT) Received: from localhost.localdomain (ppp-seco11pa2-46-193-138-19.wb.wifirst.net. [46.193.138.19]) by smtp.gmail.com with ESMTPSA id b186sm4226145wmg.23.2016.08.09.10.15.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Aug 2016 10:15:19 -0700 (PDT) From: Karl Beldan To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/4] ARM: dts: da850: Add an aemif node Date: Tue, 9 Aug 2016 17:15:16 +0000 Message-Id: <20160809171518.22690-3-kbeldan@baylibre.com> X-Mailer: git-send-email 2.9.2 In-Reply-To: <20160809171518.22690-1-kbeldan@baylibre.com> References: <20160809171518.22690-1-kbeldan@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160809_101542_505045_409A321C X-CRM114-Status: GOOD ( 10.91 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Karl Beldan , Kevin Hilman , Sekhar Nori , linux-kernel@vger.kernel.org, Russell King , Rob Herring , Karl Beldan , Santosh Shilimkar MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Currently the davinci da8xx boards use the mach-davinci aemif code. Instantiating an aemif node into the DT allows to use the ti-aemif memory driver and is another step to better DT support. Also it will allow to properly pass the emif timings via DT. Signed-off-by: Karl Beldan --- arch/arm/boot/dts/da850.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi index bc10e7e..f62928c 100644 --- a/arch/arm/boot/dts/da850.dtsi +++ b/arch/arm/boot/dts/da850.dtsi @@ -411,6 +411,16 @@ dma-names = "tx", "rx"; }; }; + aemif: aemif@68000000 { + compatible = "ti,da850-aemif"; + #address-cells = <2>; + #size-cells = <1>; + + reg = <0x68000000 0x00008000>; + ranges = <0 0 0x60000000 0x08000000 + 1 0 0x68000000 0x00008000>; + status = "disabled"; + }; nand_cs3@62000000 { compatible = "ti,davinci-nand"; reg = <0x62000000 0x807ff