blob: 82bb5899af914818a71c5c9cdcac8c76f7536ef4 [file] [log] [blame]
Eugen Hristev6a984d62018-09-18 10:35:32 +03001Onewire EEPROM sandbox driver device binding - one wire protocol sandbox EEPROM
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/eep_sandbox.c
11
12Software ds24xxx device-tree node properties:
13Required:
14* compatible = "sandbox,w1-eeprom"
15
16Optional:
17* none
18
19Example:
20 eeprom1: eeprom@0 {
21 compatible = "sandbox,w1-eeprom";
22 }
23
24Example with parent bus:
25
26onewire_tm: onewire {
27 compatible = "w1-gpio";
28 gpios = <&gpio_a 8>;
29
30 eeprom1: eeprom@0 {
31 compatible = "sandbox,w1-eeprom";
32 }
33};
34