eeprom-93xx46.txt 798 B

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