xref: /linux/Documentation/devicetree/bindings/w1/fsl-imx-owire.yaml (revision 8a7c601e14576a22c2bbf7f67455ccf3f3d2737f)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/w1/fsl-imx-owire.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Freescale i.MX One wire bus master controller
8
9maintainers:
10  - Martin Fuzzey <mfuzzey@parkeon.com>
11
12properties:
13  compatible:
14    oneOf:
15      - const: fsl,imx21-owire
16      - items:
17          - enum:
18              - fsl,imx27-owire
19              - fsl,imx50-owire
20              - fsl,imx51-owire
21              - fsl,imx53-owire
22          - const: fsl,imx21-owire
23
24  reg:
25    maxItems: 1
26
27  interrupts:
28    maxItems: 1
29
30  clocks:
31    maxItems: 1
32
33required:
34  - compatible
35  - reg
36
37additionalProperties: false
38
39examples:
40  - |
41    #include <dt-bindings/clock/imx5-clock.h>
42
43    owire@63fa4000 {
44        compatible = "fsl,imx53-owire", "fsl,imx21-owire";
45        reg = <0x63fa4000 0x4000>;
46        interrupts = <88>;
47        clocks = <&clks IMX5_CLK_OWIRE_GATE>;
48    };
49