Martin Fuzzey | f9c87ad | 2018-10-24 10:21:19 +0200 | [diff] [blame] | 1 | Maxim DS2502 driver device binding - one wire protocol add only memory 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/ds2502.c |
| 11 | |
| 12 | Ds2502 device-tree node properties: |
| 13 | Required: |
| 14 | * compatible = "maxim,ds2502" |
| 15 | |
| 16 | Optional: |
| 17 | * none |
| 18 | |
| 19 | Example: |
| 20 | eeprom1: eeprom@0 { |
| 21 | compatible = "maxim,ds2502"; |
| 22 | }; |
| 23 | |
| 24 | Example with parent bus: |
| 25 | onewire { |
| 26 | compatible = "fsl,imx53-owire"; |
| 27 | reg = <0x63fa4000 0x4000>; |
| 28 | |
| 29 | eeprom1: eeprom@0 { |
| 30 | compatible = "maxim,ds2502"; |
| 31 | }; |
| 32 | }; |