ARM: dts: overo: fix gpmc nand cs0 range
authorJohan Hovold <johan@kernel.org>
Mon, 15 Aug 2016 16:10:45 +0000 (09:10 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 24 Sep 2016 08:07:40 +0000 (10:07 +0200)
commit 5e0568dfbfb8c13cdb69c9fd06d600593ad4b430 upstream.

The gpmc ranges property for NAND at CS0 has been broken since it was
first added.

This currently prevents the nand gpmc child node from being probed:

omap-gpmc 6e000000.gpmc: /ocp/gpmc@6e000000/nand@0,0 has
malformed 'reg' property

and consequently the NAND device from being registered.

Fixes: 98ce6007efb4 ("ARM: dts: overo: Support PoP NAND")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/boot/dts/omap3-overo-base.dtsi

index a29ad16cc9bbddec399cef41a00106bc636a14a0..3942f85521050c016b7b2f353d0723e59d8ad7fb 100644 (file)
 };
 
 &gpmc {
-       ranges = <0 0 0x00000000 0x20000000>;
+       ranges = <0 0 0x30000000 0x1000000>;    /* CS0 */
 
        nand@0,0 {
                linux,mtd-name= "micron,mt29c4g96maz";