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