1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/clock/samsung,exynos-clock.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Samsung Exynos SoC clock controller
8
9maintainers:
10  - Chanwoo Choi <cw00.choi@samsung.com>
11  - Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
12  - Sylwester Nawrocki <s.nawrocki@samsung.com>
13  - Tomasz Figa <tomasz.figa@gmail.com>
14
15description: |
16  All available clocks are defined as preprocessor macros in
17  dt-bindings/clock/ headers.
18
19properties:
20  compatible:
21    oneOf:
22      - enum:
23          - samsung,exynos3250-cmu
24          - samsung,exynos3250-cmu-dmc
25          - samsung,exynos3250-cmu-isp
26          - samsung,exynos5250-clock
27      - items:
28          - enum:
29              - samsung,exynos5420-clock
30              - samsung,exynos5800-clock
31          - const: syscon
32
33  clocks:
34    maxItems: 4
35
36  "#clock-cells":
37    const: 1
38
39  reg:
40    maxItems: 1
41
42required:
43  - compatible
44  - "#clock-cells"
45  - reg
46
47additionalProperties: false
48
49examples:
50  - |
51    #include <dt-bindings/clock/exynos5250.h>
52    clock: clock-controller@10010000 {
53        compatible = "samsung,exynos5250-clock";
54        reg = <0x10010000 0x30000>;
55        #clock-cells = <1>;
56    };
57