Martin Fuzzey | 6215c6d | 2018-10-24 10:21:18 +0200 | [diff] [blame] | 1 | NXP i.MX (MXC) One wire bus master controller |
| 2 | ======================= |
| 3 | |
| 4 | Child nodes are required in device tree. The driver will detect |
| 5 | the devices serial number and then search in the child nodes in the device tree |
| 6 | for the proper node and try to match it with the device. |
| 7 | |
| 8 | Also check doc/device-tree-bindings/w1-eeprom for possible child nodes drivers |
| 9 | |
| 10 | Driver: |
| 11 | - drivers/w1/mxc_w1.c |
| 12 | |
| 13 | Required properties: |
| 14 | - compatible : should be one of |
| 15 | "fsl,imx21-owire", "fsl,imx27-owire", "fsl,imx31-owire", "fsl,imx25-owire" |
| 16 | "fsl,imx25-owire", "fsl,imx35-owire", "fsl,imx50-owire", "fsl,imx53-owire" |
| 17 | |
| 18 | - reg : Address and length of the register set for the device |
| 19 | |
| 20 | Optional: |
| 21 | * none |
| 22 | |
| 23 | Example: |
| 24 | onewire { |
| 25 | compatible = "fsl,imx53-owire"; |
| 26 | reg = <0x63fa4000 0x4000>; |
| 27 | }; |
| 28 | |
| 29 | Example with child: |
| 30 | onewire { |
| 31 | compatible = "fsl,imx53-owire"; |
| 32 | reg = <0x63fa4000 0x4000>; |
| 33 | |
| 34 | eeprom1: eeprom@0 { |
| 35 | compatible = "maxim,ds24xxx"; |
| 36 | }; |
| 37 | }; |