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