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 <krzk@kernel.org>
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,exynos4210-clock
27          - samsung,exynos4212-clock
28          - samsung,exynos4412-clock
29          - samsung,exynos5250-clock
30      - items:
31          - enum:
32              - samsung,exynos5420-clock
33              - samsung,exynos5800-clock
34          - const: syscon
35
36  clocks:
37    minItems: 1
38    maxItems: 4
39
40  "#clock-cells":
41    const: 1
42
43  reg:
44    maxItems: 1
45
46required:
47  - compatible
48  - "#clock-cells"
49  - reg
50
51additionalProperties: false
52
53examples:
54  - |
55    #include <dt-bindings/clock/exynos5250.h>
56    clock: clock-controller@10010000 {
57        compatible = "samsung,exynos5250-clock";
58        reg = <0x10010000 0x30000>;
59        #clock-cells = <1>;
60    };
61