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