diff options
Diffstat (limited to 'Documentation/devicetree/bindings/misc/at25.txt')
-rw-r--r-- | Documentation/devicetree/bindings/misc/at25.txt | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/misc/at25.txt b/Documentation/devicetree/bindings/misc/at25.txt new file mode 100644 index 000000000000..ab3c327929dd --- /dev/null +++ b/Documentation/devicetree/bindings/misc/at25.txt | |||
@@ -0,0 +1,21 @@ | |||
1 | Atmel AT25 eeprom | ||
2 | |||
3 | Required properties: | ||
4 | - compatible : "atmel,at25". | ||
5 | - reg : chip select number | ||
6 | - spi-max-frequency : max spi frequency to use | ||
7 | |||
8 | - at25,byte-len : total eeprom size in bytes | ||
9 | - at25,addr-mode : addr-mode flags, as defined in include/linux/spi/eeprom.h | ||
10 | - at25,page-size : size of the eeprom page | ||
11 | |||
12 | Examples: | ||
13 | at25@0 { | ||
14 | compatible = "atmel,at25"; | ||
15 | reg = <0> | ||
16 | spi-max-frequency = <5000000>; | ||
17 | |||
18 | at25,byte-len = <0x8000>; | ||
19 | at25,addr-mode = <2>; | ||
20 | at25,page-size = <64>; | ||
21 | }; | ||