From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: [PATCH v1 1/3] ARM: dts: am335x-bone: add support for beaglebone NAND cape Date: Thu, 26 Jun 2014 03:40:44 -0700 Message-ID: <20140626104044.GJ28884@atomide.com> References: <1403612666-31197-1-git-send-email-pekon@ti.com> <1403612666-31197-2-git-send-email-pekon@ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mho-03-ewr.mailhop.org ([204.13.248.66]:16172 "EHLO mho-01-ewr.mailhop.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750755AbaFZKkp (ORCPT ); Thu, 26 Jun 2014 06:40:45 -0400 Content-Disposition: inline In-Reply-To: <1403612666-31197-2-git-send-email-pekon@ti.com> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Pekon Gupta Cc: linux-omap , linux-mtd , Jason Kridner , Robert Nelson * Pekon Gupta [140624 05:26]: > + > +&gpmc { > + ranges = <0 0 0 0x01000000>; /* address range = 16MB (minimum GPMC partition) */ > + nand@0,0 { > + status = "disabled"; > + reg = <0 0 4>; /* device IO registers */ Hmm so what about other capes potentially also using GPMC CS0? Can you please do a check with two .dtsi files trying to use GPMC CS0 and see what the produced .dtb file looks like after decompiling it with dtc? I'd assume the 16MB GPMC partition will be just fine for many devices and can be also be larger if NOR needs it so maybe it can be handled for almost all the cases. The names for devices must be unique though to avoid them getting merged. And I don't know if gpmc.c skips disabled devices properly. Regards, Tony