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