ARM: dts: i.MX51: Allow to define partitions onto NFC
authorAlexander Shiyan <shc_work@mail.ru>
Wed, 16 Apr 2014 07:24:50 +0000 (11:24 +0400)
committerShawn Guo <shawn.guo@freescale.com>
Fri, 16 May 2014 15:01:56 +0000 (23:01 +0800)
This patch allow to define partitions onto NFC in user defined
devicetrees.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
arch/arm/boot/dts/imx51-digi-connectcore-som.dtsi
arch/arm/boot/dts/imx51.dtsi

index 7787f46..321662f 100644 (file)
        nand-bus-width = <8>;
        nand-ecc-mode = "hw";
        nand-on-flash-bbt;
-       #address-cells = <1>;
-       #size-cells = <1>;
        status = "okay";
 };
 
index 51b8670..bebbf3b 100644 (file)
                        };
 
                        nfc: nand@83fdb000 {
+                               #address-cells = <1>;
+                               #size-cells = <1>;
                                compatible = "fsl,imx51-nand";
                                reg = <0x83fdb000 0x1000 0xcfff0000 0x10000>;
                                interrupts = <8>;