Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1245374
| From | Roger Quadros <rogerq@ti.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v3 27/27] ARM: dts: omap3: Fix gpmc and NAND nodes |
| Date | 2015-10-13 08:40 +0200 |
| Message-ID | <qj1pD-6O2-3@gated-at.bofh.it> (permalink) |
| References | <qa5iO-5JO-13@gated-at.bofh.it> <qa5iR-5JO-75@gated-at.bofh.it> <qiVWW-7ai-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 13/10/15 03:43, Tony Lindgren wrote:
> * Roger Quadros <rogerq@ti.com> [150918 08:00]:
>> Add compatible id, GPMC register resource and interrupt
>> resource to NAND controller nodes.
>>
>> The GPMC driver now implements gpiochip and irqchip so
>> enable gpio-controller and interrupt-controller properties.
>>
>> With this the interrupt parent of NAND node changes so fix it
>> accordingly.
> ...
>> --- a/arch/arm/boot/dts/logicpd-torpedo-som.dtsi
>> +++ b/arch/arm/boot/dts/logicpd-torpedo-som.dtsi
>> @@ -35,11 +35,14 @@
>> };
>>
>> &gpmc {
>> - ranges = <0 0 0x00000000 0x1000000>; /* CS0: 16MB for NAND */
>> + ranges = <0 0 0x08000000 0x1000000>; /* CS0: 16MB for NAND */
>>
>> nand@0,0 {
>> - linux,mtd-name = "micron,mt29f4g16abbda3w";
>> + compatible = "ti,omap2-nand";
>> reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
>> + interrupt-parent = <&intc>;
>> + interrupts = <20>;
>> + linux,mtd-name = "micron,mt29f4g16abbda3w";
>> nand-bus-width = <16>;
>> ti,nand-ecc-opt = "bch8";
>> gpmc,sync-clk-ps = <0>;
>
> At least torpedo breaks for NFSroot as NAND now overlaps with
> Ethernet.. What's the policy you have for moving the addresses
> around?
For OMAP3 I intended to use 0x30000000 for NAND but incorrectly
used 0x08000000 for the torpedo.
Does setting it to 0x30000000 work? If not what is the original
NAND address for this board?
>
> There may be other similar cases to check too.
Just checked that all other OMAP3 boards I've set to 0x30000000
if they were 0x0.
cheers,
-roger
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [PATCH v3 27/27] ARM: dts: omap3: Fix gpmc and NAND nodes Tony Lindgren <tony@atomide.com> - 2015-10-13 02:50 +0200
Re: [PATCH v3 27/27] ARM: dts: omap3: Fix gpmc and NAND nodes Roger Quadros <rogerq@ti.com> - 2015-10-13 08:40 +0200
Re: [PATCH v3 27/27] ARM: dts: omap3: Fix gpmc and NAND nodes Tony Lindgren <tony@atomide.com> - 2015-10-13 17:20 +0200
Re: [PATCH v3 27/27] ARM: dts: omap3: Fix gpmc and NAND nodes Roger Quadros <rogerq@ti.com> - 2015-10-14 09:50 +0200
csiph-web