Documentation: devicetree: Add DT bindings to eeprom_93xx46 driver.
[deliverable/linux.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 - data-size : number of data bits per word (either 8 or 16)
8
9 Optional properties:
10 - read-only : parameter-less property which disables writes to the EEPROM
11 - select-gpios : if present, specifies the GPIO that will be asserted prior to
12 each access to the EEPROM (e.g. for SPI bus multiplexing)
13
14 Property rules described in Documentation/devicetree/bindings/spi/spi-bus.txt
15 apply. In particular, "reg" and "spi-max-frequency" properties must be given.
16
17 Example:
18 eeprom@0 {
19 compatible = "eeprom-93xx46";
20 reg = <0>;
21 spi-max-frequency = <1000000>;
22 spi-cs-high;
23 data-size = <8>;
24 select-gpios = <&gpio4 4 GPIO_ACTIVE_HIGH>;
25 };
This page took 0.049565 seconds and 5 git commands to generate.