1*c66ec88fSEmmanuel VadotFlash device on ARM Versatile board 2*c66ec88fSEmmanuel Vadot 3*c66ec88fSEmmanuel VadotThese flash chips are found in the ARM reference designs like Integrator, 4*c66ec88fSEmmanuel VadotVersatile, RealView, Versatile Express etc. 5*c66ec88fSEmmanuel Vadot 6*c66ec88fSEmmanuel VadotThey are regular CFI compatible (Intel or AMD extended) flash chips with 7*c66ec88fSEmmanuel Vadotsome special write protect/VPP bits that can be controlled by the machine's 8*c66ec88fSEmmanuel Vadotsystem controller. 9*c66ec88fSEmmanuel Vadot 10*c66ec88fSEmmanuel VadotRequired properties: 11*c66ec88fSEmmanuel Vadot- compatible : must be "arm,versatile-flash", "cfi-flash"; 12*c66ec88fSEmmanuel Vadot- reg : memory address for the flash chip 13*c66ec88fSEmmanuel Vadot- bank-width : width in bytes of flash interface. 14*c66ec88fSEmmanuel Vadot 15*c66ec88fSEmmanuel VadotFor the rest of the properties, see mtd-physmap.txt. 16*c66ec88fSEmmanuel Vadot 17*c66ec88fSEmmanuel VadotThe device tree may optionally contain sub-nodes describing partitions of the 18*c66ec88fSEmmanuel Vadotaddress space. See partition.txt for more detail. 19*c66ec88fSEmmanuel Vadot 20*c66ec88fSEmmanuel VadotExample: 21*c66ec88fSEmmanuel Vadot 22*c66ec88fSEmmanuel Vadotflash@34000000 { 23*c66ec88fSEmmanuel Vadot compatible = "arm,versatile-flash", "cfi-flash"; 24*c66ec88fSEmmanuel Vadot reg = <0x34000000 0x4000000>; 25*c66ec88fSEmmanuel Vadot bank-width = <4>; 26*c66ec88fSEmmanuel Vadot}; 27