18c2ecf20Sopenharmony_ciEEPROMs (SPI) compatible with Microchip Technology 93xx46 family. 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciRequired properties: 48c2ecf20Sopenharmony_ci- compatible : shall be one of: 58c2ecf20Sopenharmony_ci "atmel,at93c46d" 68c2ecf20Sopenharmony_ci "eeprom-93xx46" 78c2ecf20Sopenharmony_ci- data-size : number of data bits per word (either 8 or 16) 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ciOptional properties: 108c2ecf20Sopenharmony_ci- read-only : parameter-less property which disables writes to the EEPROM 118c2ecf20Sopenharmony_ci- select-gpios : if present, specifies the GPIO that will be asserted prior to 128c2ecf20Sopenharmony_ci each access to the EEPROM (e.g. for SPI bus multiplexing) 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ciProperty rules described in Documentation/devicetree/bindings/spi/spi-bus.txt 158c2ecf20Sopenharmony_ciapply. In particular, "reg" and "spi-max-frequency" properties must be given. 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ciExample: 188c2ecf20Sopenharmony_ci eeprom@0 { 198c2ecf20Sopenharmony_ci compatible = "eeprom-93xx46"; 208c2ecf20Sopenharmony_ci reg = <0>; 218c2ecf20Sopenharmony_ci spi-max-frequency = <1000000>; 228c2ecf20Sopenharmony_ci spi-cs-high; 238c2ecf20Sopenharmony_ci data-size = <8>; 248c2ecf20Sopenharmony_ci select-gpios = <&gpio4 4 GPIO_ACTIVE_HIGH>; 258c2ecf20Sopenharmony_ci }; 26