1EEPROMs (SPI) compatible with Atmel at25. 2 3Required properties: 4- compatible : Should be "<vendor>,<type>", and generic value "atmel,at25". 5 Example "<vendor>,<type>" values: 6 "microchip,25lc040" 7 "st,m95m02" 8 "st,m95256" 9 10- reg : chip select number 11- spi-max-frequency : max spi frequency to use 12- pagesize : size of the eeprom page 13- size : total eeprom size in bytes 14- address-width : number of address bits (one of 8, 9, 16, or 24). 15 For 9 bits, the MSB of the address is sent as bit 3 of the instruction 16 byte, before the address byte. 17 18Optional properties: 19- spi-cpha : SPI shifted clock phase, as per spi-bus bindings. 20- spi-cpol : SPI inverse clock polarity, as per spi-bus bindings. 21- read-only : this parameter-less property disables writes to the eeprom 22 23Obsolete legacy properties can be used in place of "size", "pagesize", 24"address-width", and "read-only": 25- at25,byte-len : total eeprom size in bytes 26- at25,addr-mode : addr-mode flags, as defined in include/linux/spi/eeprom.h 27- at25,page-size : size of the eeprom page 28 29Additional compatible properties are also allowed. 30 31Example: 32 eeprom@0 { 33 compatible = "st,m95256", "atmel,at25"; 34 reg = <0> 35 spi-max-frequency = <5000000>; 36 spi-cpha; 37 spi-cpol; 38 39 pagesize = <64>; 40 size = <32768>; 41 address-width = <16>; 42 }; 43