blob: 3ad8d460f2c60cca222cbc8caa7cc410db1221d6 [file] [log] [blame]
Eugen Hristev2f071fc2018-09-18 10:35:30 +03001Maxim DS24 families driver device binding - one wire protocol EEPROMS from Maxim
2=======================
3
4This memory needs to be connected to a onewire bus, as a child node.
5The bus will read the device serial number and match this node with a found
6device on the bus
7Also check doc/device-tree-bindings/w1 for onewire bus drivers
8
9Driver:
10- drivers/w1-eeprom/ds24xxx.c
11
12Software ds24xxx device-tree node properties:
13Required:
14* compatible = "maxim,ds24b33"
15or
16* compatible = "maxim,ds2431"
17Further memories can be added.
18
19Optional:
20* none
21
22Example:
23 eeprom1: eeprom@0 {
24 compatible = "maxim,ds24xxx";
25 }
26
27Example with parent bus:
28
29onewire_tm: onewire {
30 compatible = "w1-gpio";
31 gpios = <&pioA 32 0>;
32
33 eeprom1: eeprom@0 {
34 compatible = "maxim,ds24xxx";
35 }
36};