Merge branch 'i2c/for-4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux
[deliverable/linux.git] / Documentation / devicetree / bindings / misc / eeprom-93xx46.txt
CommitLineData
862a4a78
CT
1EEPROMs (SPI) compatible with Microchip Technology 93xx46 family.
2
3Required 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
9Optional 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
14Property rules described in Documentation/devicetree/bindings/spi/spi-bus.txt
15apply. In particular, "reg" and "spi-max-frequency" properties must be given.
16
17Example:
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.050648 seconds and 5 git commands to generate.