From patchwork Tue Jul 2 16:02:26 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Shiyan X-Patchwork-Id: 2813741 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 C29F79F3EB for ; Tue, 2 Jul 2013 16:07:26 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 659EE20123 for ; Tue, 2 Jul 2013 16:07:25 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B41F52012E for ; Tue, 2 Jul 2013 16:07: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 1Uu33m-0000FC-Um; Tue, 02 Jul 2013 16:04:08 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Uu33G-00039K-DB; Tue, 02 Jul 2013 16:03:34 +0000 Received: from smtp14.mail.ru ([94.100.176.91]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Uu32e-00034y-63 for linux-arm-kernel@lists.infradead.org; Tue, 02 Jul 2013 16:02:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From; bh=amnE8pUt62kJ/IYCM0IfE9kdx/dF7EDl2A/a25+OHg0=; b=u/JDxjyv7/yN7ufpR4RdJ2yxx6vyN1dRbXbFtr6b76OyzWU8CiBQusoAKOHbFsxmC193aLJlXFfJwDBjjYBryrdEZbSNdHKvvYr3dghbvagW6IFZ1HO1pv64PWHEOvHtCa0tR+CZ0p8JVz6glpijaifuq9WSycqCEi4gW+6MlTc=; Received: from [188.134.40.128] (port=57515 helo=shc.zet) by smtp14.mail.ru with esmtpa (envelope-from ) id 1Uu32H-00006Z-L6; Tue, 02 Jul 2013 20:02:33 +0400 From: Alexander Shiyan To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 3/6] ARM: dts: imx27-phytec-phycore-som: Add WEIM node Date: Tue, 2 Jul 2013 20:02:26 +0400 Message-Id: <1372780949-31897-3-git-send-email-shc_work@mail.ru> X-Mailer: git-send-email 1.8.1.5 In-Reply-To: <1372780949-31897-1-git-send-email-shc_work@mail.ru> References: <1372780949-31897-1-git-send-email-shc_work@mail.ru> X-Mras: Ok X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130702_120256_823616_871943D7 X-CRM114-Status: UNSURE ( 6.91 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.0 (--) Cc: Sascha Hauer , Shawn Guo , Alexander Shiyan 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.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham 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 adds WEIM node for Phytec PCM-038 module. Migrate existing on-module NOR-flash as children of WEIM CS0. Signed-off-by: Alexander Shiyan --- arch/arm/boot/dts/imx27-phytec-phycore-som.dts | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/arch/arm/boot/dts/imx27-phytec-phycore-som.dts b/arch/arm/boot/dts/imx27-phytec-phycore-som.dts index 76edf59..92765ee 100644 --- a/arch/arm/boot/dts/imx27-phytec-phycore-som.dts +++ b/arch/arm/boot/dts/imx27-phytec-phycore-som.dts @@ -52,15 +52,6 @@ }; }; }; - - nor_flash@c0000000 { - compatible = "cfi-flash"; - bank-width = <2>; - reg = <0xc0000000 0x02000000>; - linux,mtd-name = "physmap-flash.0"; - #address-cells = <1>; - #size-cells = <1>; - }; }; &cspi1 { @@ -177,3 +168,17 @@ nand-ecc-mode = "hw"; status = "okay"; }; + +&weim { + status = "okay"; + + nor: nor@c0000000 { + compatible = "cfi-flash"; + reg = <0 0x00000000 0x02000000>; + bank-width = <2>; + linux,mtd-name = "physmap-flash.0"; + fsl,weim-cs-timing = <0x22c2cf00 0x75000d01 0x00000900>; + #address-cells = <1>; + #size-cells = <1>; + }; +};