xref: /linux/Documentation/devicetree/bindings/clock/samsung,exynos-clock.yaml (revision cdd5b5a9761fd66d17586e4f4ba6588c70e640ea)
1ae910bf9SKrzysztof Kozlowski# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2ae910bf9SKrzysztof Kozlowski%YAML 1.2
3ae910bf9SKrzysztof Kozlowski---
4ae910bf9SKrzysztof Kozlowski$id: http://devicetree.org/schemas/clock/samsung,exynos-clock.yaml#
5ae910bf9SKrzysztof Kozlowski$schema: http://devicetree.org/meta-schemas/core.yaml#
6ae910bf9SKrzysztof Kozlowski
7ae910bf9SKrzysztof Kozlowskititle: Samsung Exynos SoC clock controller
8ae910bf9SKrzysztof Kozlowski
9ae910bf9SKrzysztof Kozlowskimaintainers:
10ae910bf9SKrzysztof Kozlowski  - Chanwoo Choi <cw00.choi@samsung.com>
118a1e6bb3SKrzysztof Kozlowski  - Krzysztof Kozlowski <krzk@kernel.org>
12ae910bf9SKrzysztof Kozlowski  - Sylwester Nawrocki <s.nawrocki@samsung.com>
13ae910bf9SKrzysztof Kozlowski  - Tomasz Figa <tomasz.figa@gmail.com>
14ae910bf9SKrzysztof Kozlowski
15ae910bf9SKrzysztof Kozlowskidescription: |
16ae910bf9SKrzysztof Kozlowski  All available clocks are defined as preprocessor macros in
17ae910bf9SKrzysztof Kozlowski  dt-bindings/clock/ headers.
18ae910bf9SKrzysztof Kozlowski
19ae910bf9SKrzysztof Kozlowskiproperties:
20ae910bf9SKrzysztof Kozlowski  compatible:
2141059b5dSKrzysztof Kozlowski    oneOf:
2241059b5dSKrzysztof Kozlowski      - enum:
23e9385b93SKrzysztof Kozlowski          - samsung,exynos3250-cmu
24e9385b93SKrzysztof Kozlowski          - samsung,exynos3250-cmu-dmc
25e9385b93SKrzysztof Kozlowski          - samsung,exynos3250-cmu-isp
267ac61578SKrzysztof Kozlowski          - samsung,exynos4210-clock
27*5b40732aSArtur Weber          - samsung,exynos4212-clock
287ac61578SKrzysztof Kozlowski          - samsung,exynos4412-clock
2941059b5dSKrzysztof Kozlowski          - samsung,exynos5250-clock
3041059b5dSKrzysztof Kozlowski      - items:
3141059b5dSKrzysztof Kozlowski          - enum:
3241059b5dSKrzysztof Kozlowski              - samsung,exynos5420-clock
3341059b5dSKrzysztof Kozlowski              - samsung,exynos5800-clock
3441059b5dSKrzysztof Kozlowski          - const: syscon
35ae910bf9SKrzysztof Kozlowski
36ae910bf9SKrzysztof Kozlowski  clocks:
377ac61578SKrzysztof Kozlowski    minItems: 1
38ae910bf9SKrzysztof Kozlowski    maxItems: 4
39ae910bf9SKrzysztof Kozlowski
40ae910bf9SKrzysztof Kozlowski  "#clock-cells":
41ae910bf9SKrzysztof Kozlowski    const: 1
42ae910bf9SKrzysztof Kozlowski
43ae910bf9SKrzysztof Kozlowski  reg:
44ae910bf9SKrzysztof Kozlowski    maxItems: 1
45ae910bf9SKrzysztof Kozlowski
46ae910bf9SKrzysztof Kozlowskirequired:
47ae910bf9SKrzysztof Kozlowski  - compatible
48ae910bf9SKrzysztof Kozlowski  - "#clock-cells"
49ae910bf9SKrzysztof Kozlowski  - reg
50ae910bf9SKrzysztof Kozlowski
51ae910bf9SKrzysztof KozlowskiadditionalProperties: false
52ae910bf9SKrzysztof Kozlowski
53ae910bf9SKrzysztof Kozlowskiexamples:
54ae910bf9SKrzysztof Kozlowski  - |
55ae910bf9SKrzysztof Kozlowski    #include <dt-bindings/clock/exynos5250.h>
56ae910bf9SKrzysztof Kozlowski    clock: clock-controller@10010000 {
57ae910bf9SKrzysztof Kozlowski        compatible = "samsung,exynos5250-clock";
58ae910bf9SKrzysztof Kozlowski        reg = <0x10010000 0x30000>;
59ae910bf9SKrzysztof Kozlowski        #clock-cells = <1>;
60ae910bf9SKrzysztof Kozlowski    };
61