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