1*4882a593SmuzhiyunEEPROMs (SPI) compatible with Microchip Technology 93xx46 family. 2*4882a593Smuzhiyun 3*4882a593SmuzhiyunRequired properties: 4*4882a593Smuzhiyun- compatible : shall be one of: 5*4882a593Smuzhiyun "atmel,at93c46d" 6*4882a593Smuzhiyun "eeprom-93xx46" 7*4882a593Smuzhiyun- data-size : number of data bits per word (either 8 or 16) 8*4882a593Smuzhiyun 9*4882a593SmuzhiyunOptional properties: 10*4882a593Smuzhiyun- read-only : parameter-less property which disables writes to the EEPROM 11*4882a593Smuzhiyun- select-gpios : if present, specifies the GPIO that will be asserted prior to 12*4882a593Smuzhiyun each access to the EEPROM (e.g. for SPI bus multiplexing) 13*4882a593Smuzhiyun 14*4882a593SmuzhiyunProperty rules described in Documentation/devicetree/bindings/spi/spi-bus.txt 15*4882a593Smuzhiyunapply. In particular, "reg" and "spi-max-frequency" properties must be given. 16*4882a593Smuzhiyun 17*4882a593SmuzhiyunExample: 18*4882a593Smuzhiyun eeprom@0 { 19*4882a593Smuzhiyun compatible = "eeprom-93xx46"; 20*4882a593Smuzhiyun reg = <0>; 21*4882a593Smuzhiyun spi-max-frequency = <1000000>; 22*4882a593Smuzhiyun spi-cs-high; 23*4882a593Smuzhiyun data-size = <8>; 24*4882a593Smuzhiyun select-gpios = <&gpio4 4 GPIO_ACTIVE_HIGH>; 25*4882a593Smuzhiyun }; 26