docs: sphinx-requirements: Move sphinx_rtd_theme to top
[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,at93c46"
6     "atmel,at93c46d"
7     "atmel,at93c56"
8     "atmel,at93c66"
9     "eeprom-93xx46"
10     "microchip,93lc46b"
11 - data-size : number of data bits per word (either 8 or 16)
12
13 Optional properties:
14 - read-only : parameter-less property which disables writes to the EEPROM
15 - select-gpios : if present, specifies the GPIO that will be asserted prior to
16   each access to the EEPROM (e.g. for SPI bus multiplexing)
17
18 Property rules described in Documentation/devicetree/bindings/spi/spi-bus.txt
19 apply.  In particular, "reg" and "spi-max-frequency" properties must be given.
20
21 Example:
22         eeprom@0 {
23                 compatible = "eeprom-93xx46";
24                 reg = <0>;
25                 spi-max-frequency = <1000000>;
26                 spi-cs-high;
27                 data-size = <8>;
28                 select-gpios = <&gpio4 4 GPIO_ACTIVE_HIGH>;
29         };