ARM: dts: omap3: Fix NAND device nodes
[cascardo/linux.git] / arch / arm / boot / dts / omap3-tao3530.dtsi
index ae5dbbd..644d3c8 100644 (file)
 };
 
 &gpmc {
-       ranges = <0 0 0x00000000 0x01000000>;
+       ranges = <0 0 0x30000000 0x01000000>;   /* CS0: 16MB for NAND */
 
        nand@0,0 {
+               compatible = "ti,omap2-nand";
                reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
+               interrupt-parent = <&gpmc>;
+               interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
+                            <1 IRQ_TYPE_NONE>; /* termcount */
                nand-bus-width = <16>;
                gpmc,device-width = <2>;        /* GPMC_DEVWIDTH_16BIT */
                ti,nand-ecc-opt = "sw";