blob: 1fb49cc111dfb9b456be428b92a50192d1835ecd [file] [log] [blame]
Martin Fuzzeya2e99a72018-10-24 10:21:18 +02001NXP i.MX (MXC) One wire bus master controller
2=======================
3
4Child nodes are required in device tree. The driver will detect
5the devices serial number and then search in the child nodes in the device tree
6for the proper node and try to match it with the device.
7
8Also check doc/device-tree-bindings/w1-eeprom for possible child nodes drivers
9
10Driver:
11- drivers/w1/mxc_w1.c
12
13Required 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
20Optional:
21* none
22
23Example:
24 onewire {
25 compatible = "fsl,imx53-owire";
26 reg = <0x63fa4000 0x4000>;
27 };
28
29Example with child:
30 onewire {
31 compatible = "fsl,imx53-owire";
32 reg = <0x63fa4000 0x4000>;
33
34 eeprom1: eeprom@0 {
35 compatible = "maxim,ds24xxx";
36 };
37 };