1e21f9e2eSRob HerringAMCC NDFC (NanD Flash Controller) 2e21f9e2eSRob Herring 3e21f9e2eSRob HerringRequired properties: 4e21f9e2eSRob Herring- compatible : "ibm,ndfc". 5e21f9e2eSRob Herring- reg : should specify chip select and size used for the chip (0x2000). 6e21f9e2eSRob Herring 7e21f9e2eSRob HerringOptional properties: 8e21f9e2eSRob Herring- ccr : NDFC config and control register value (default 0). 9e21f9e2eSRob Herring- bank-settings : NDFC bank configuration register value (default 0). 10e21f9e2eSRob Herring 11e21f9e2eSRob HerringNotes: 12e21f9e2eSRob Herring- partition(s) - follows the OF MTD standard for partitions 13e21f9e2eSRob Herring 14e21f9e2eSRob HerringExample: 15e21f9e2eSRob Herring 16e21f9e2eSRob Herringndfc@1,0 { 17e21f9e2eSRob Herring compatible = "ibm,ndfc"; 18e21f9e2eSRob Herring reg = <0x00000001 0x00000000 0x00002000>; 19e21f9e2eSRob Herring ccr = <0x00001000>; 20e21f9e2eSRob Herring bank-settings = <0x80002222>; 21e21f9e2eSRob Herring #address-cells = <1>; 22e21f9e2eSRob Herring #size-cells = <1>; 23e21f9e2eSRob Herring 24e21f9e2eSRob Herring nand { 25e21f9e2eSRob Herring #address-cells = <1>; 26e21f9e2eSRob Herring #size-cells = <1>; 27e21f9e2eSRob Herring 28e21f9e2eSRob Herring partition@0 { 29e21f9e2eSRob Herring label = "kernel"; 30e21f9e2eSRob Herring reg = <0x00000000 0x00200000>; 31e21f9e2eSRob Herring }; 32e21f9e2eSRob Herring partition@200000 { 33e21f9e2eSRob Herring label = "root"; 34e21f9e2eSRob Herring reg = <0x00200000 0x03E00000>; 35e21f9e2eSRob Herring }; 36e21f9e2eSRob Herring }; 37e21f9e2eSRob Herring}; 38e21f9e2eSRob Herring 39e21f9e2eSRob Herring 40