Back to home page

OSCL-LXR

 
 

    


0001 AMCC NDFC (NanD Flash Controller)
0002 
0003 Required properties:
0004 - compatible : "ibm,ndfc".
0005 - reg : should specify chip select and size used for the chip (0x2000).
0006 
0007 Optional properties:
0008 - ccr : NDFC config and control register value (default 0).
0009 - bank-settings : NDFC bank configuration register value (default 0).
0010 
0011 Notes:
0012 - partition(s) - follows the OF MTD standard for partitions
0013 
0014 Example:
0015 
0016 ndfc@1,0 {
0017         compatible = "ibm,ndfc";
0018         reg = <0x00000001 0x00000000 0x00002000>;
0019         ccr = <0x00001000>;
0020         bank-settings = <0x80002222>;
0021         #address-cells = <1>;
0022         #size-cells = <1>;
0023 
0024         nand {
0025                 #address-cells = <1>;
0026                 #size-cells = <1>;
0027 
0028                 partition@0 {
0029                         label = "kernel";
0030                         reg = <0x00000000 0x00200000>;
0031                 };
0032                 partition@200000 {
0033                         label = "root";
0034                         reg = <0x00200000 0x03E00000>;
0035                 };
0036         };
0037 };
0038 
0039