From patchwork Fri Sep 18 14:53:48 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 53907 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f199.google.com (mail-wi0-f199.google.com [209.85.212.199]) by patches.linaro.org (Postfix) with ESMTPS id F158E22E6F for ; Fri, 18 Sep 2015 14:56:49 +0000 (UTC) Received: by wicuu12 with SMTP id uu12sf9915240wic.2 for ; Fri, 18 Sep 2015 07:56:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-type:sender:precedence :list-id:x-original-sender:x-original-authentication-results :mailing-list:list-post:list-help:list-archive:list-unsubscribe; bh=PgFDRxw0jBRoQ+wOvwCT3mfqUUhA1vbcXKDn/p0gLhM=; b=SWylYbQwf0HUSly6sEKgeg2ZgByAvxBE5zZwE3FPQd0t6aXtgey2RBeYU2H3vQhWKN eWFCag6rM6EQfsINK+QqPJ/YwWLdrZSLYFEfUMB2FE8nXIM1J05xyiG+lRXwzVynziu5 6DyySizE3kDEdlY1+VKCJdvkioxGHJSfaZG4jPNBOoe+7zsin3soMZhWckdDYj3udJaN lzjaMv8a1pNQja5M2R6hlFfuaBl4ZAeE+hU+uo9GsSVbRDHomXqTMLRj9dsG1rmi+pBX m4umQeBGMaxxmkODnR3qKoNG5G/75MjCTDQGx49YhS8rfQtGbSS6QefuHRTMtWSp0/CY Qq4A== X-Gm-Message-State: ALoCoQnuDVdAvfwrCaJkTibqruDAo3YOybJ+aMDMBChERWyD5ZPlz/USi/WMbShNAS+NpYGRfz9D X-Received: by 10.112.199.8 with SMTP id jg8mr512821lbc.10.1442588209278; Fri, 18 Sep 2015 07:56:49 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.6.10 with SMTP id w10ls254848law.69.gmail; Fri, 18 Sep 2015 07:56:49 -0700 (PDT) X-Received: by 10.112.204.67 with SMTP id kw3mr3317825lbc.60.1442588209146; Fri, 18 Sep 2015 07:56:49 -0700 (PDT) Received: from mail-la0-f48.google.com (mail-la0-f48.google.com. [209.85.215.48]) by mx.google.com with ESMTPS id od3si6244145lbb.76.2015.09.18.07.56.49 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Sep 2015 07:56:49 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.48 as permitted sender) client-ip=209.85.215.48; Received: by lanb10 with SMTP id b10so31956806lan.3 for ; Fri, 18 Sep 2015 07:56:49 -0700 (PDT) X-Received: by 10.152.219.34 with SMTP id pl2mr1326642lac.29.1442588208936; Fri, 18 Sep 2015 07:56:48 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.59.35 with SMTP id w3csp344911lbq; Fri, 18 Sep 2015 07:56:48 -0700 (PDT) X-Received: by 10.107.164.38 with SMTP id n38mr13504901ioe.45.1442588207042; Fri, 18 Sep 2015 07:56:47 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c28si7127830iod.4.2015.09.18.07.56.46; Fri, 18 Sep 2015 07:56:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754161AbbIRO4g (ORCPT + 5 others); Fri, 18 Sep 2015 10:56:36 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:39633 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753658AbbIRO4e (ORCPT ); Fri, 18 Sep 2015 10:56:34 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id t8IEu7nb001195; Fri, 18 Sep 2015 09:56:07 -0500 Received: from DLEE70.ent.ti.com (dlee70.ent.ti.com [157.170.170.113]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id t8IEu7CF010436; Fri, 18 Sep 2015 09:56:07 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.3.224.2; Fri, 18 Sep 2015 09:56:07 -0500 Received: from rockdesk.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id t8IEseAg002598; Fri, 18 Sep 2015 09:56:04 -0500 From: Roger Quadros To: CC: , , , , , , , , , , Roger Quadros Subject: [PATCH v3 26/27] ARM: dts: dm816x: Fix gpmc and NAND node Date: Fri, 18 Sep 2015 17:53:48 +0300 Message-ID: <1442588029-13769-27-git-send-email-rogerq@ti.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1442588029-13769-1-git-send-email-rogerq@ti.com> References: <1442588029-13769-1-git-send-email-rogerq@ti.com> MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: rogerq@ti.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.48 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Make gpmc node gpio+interrupt capable. Add compatible id, interrupt and wait pin to NAND node. Signed-off-by: Roger Quadros --- arch/arm/boot/dts/dm8168-evm.dts | 7 ++++--- arch/arm/boot/dts/dm816x.dtsi | 4 ++++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/dm8168-evm.dts b/arch/arm/boot/dts/dm8168-evm.dts index 169a855..faa7abe 100644 --- a/arch/arm/boot/dts/dm8168-evm.dts +++ b/arch/arm/boot/dts/dm8168-evm.dts @@ -85,8 +85,12 @@ ranges = <0 0 0x04000000 0x01000000>; /* CS0: 16MB for NAND */ nand@0,0 { + compatible = "ti,omap2-nand"; linux,mtd-name= "micron,mt29f2g16aadwp"; reg = <0 0 4>; /* CS0, offset 0, IO size 4 */ + interrupt-parent = <&intc>; + interrupts = <100>; + ready-gpio = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 */ #address-cells = <1>; #size-cells = <1>; ti,nand-ecc-opt = "bch8"; @@ -106,12 +110,9 @@ gpmc,access-ns = <64>; gpmc,rd-cycle-ns = <82>; gpmc,wr-cycle-ns = <82>; - gpmc,wait-on-read = "true"; - gpmc,wait-on-write = "true"; gpmc,bus-turnaround-ns = <0>; gpmc,cycle2cycle-delay-ns = <0>; gpmc,clk-activation-ns = <0>; - gpmc,wait-monitoring-ns = <0>; gpmc,wr-access-ns = <40>; gpmc,wr-data-mux-bus-ns = <0>; partition@0 { diff --git a/arch/arm/boot/dts/dm816x.dtsi b/arch/arm/boot/dts/dm816x.dtsi index 3c99cfa..68fb444 100644 --- a/arch/arm/boot/dts/dm816x.dtsi +++ b/arch/arm/boot/dts/dm816x.dtsi @@ -182,6 +182,10 @@ interrupts = <100>; gpmc,num-cs = <6>; gpmc,num-waitpins = <2>; + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; }; i2c1: i2c@48028000 {