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