xref: /freebsd/sys/contrib/device-tree/Bindings/clock/samsung,exynos-clock.yaml (revision c9ccf3a32da427475985b85d7df023ccfb138c27)
1354d7675SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2354d7675SEmmanuel Vadot%YAML 1.2
3354d7675SEmmanuel Vadot---
4354d7675SEmmanuel Vadot$id: http://devicetree.org/schemas/clock/samsung,exynos-clock.yaml#
5354d7675SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6354d7675SEmmanuel Vadot
7354d7675SEmmanuel Vadottitle: Samsung Exynos SoC clock controller
8354d7675SEmmanuel Vadot
9354d7675SEmmanuel Vadotmaintainers:
10354d7675SEmmanuel Vadot  - Chanwoo Choi <cw00.choi@samsung.com>
11*c9ccf3a3SEmmanuel Vadot  - Krzysztof Kozlowski <krzk@kernel.org>
12354d7675SEmmanuel Vadot  - Sylwester Nawrocki <s.nawrocki@samsung.com>
13354d7675SEmmanuel Vadot  - Tomasz Figa <tomasz.figa@gmail.com>
14354d7675SEmmanuel Vadot
15354d7675SEmmanuel Vadotdescription: |
16354d7675SEmmanuel Vadot  All available clocks are defined as preprocessor macros in
17354d7675SEmmanuel Vadot  dt-bindings/clock/ headers.
18354d7675SEmmanuel Vadot
19354d7675SEmmanuel Vadotproperties:
20354d7675SEmmanuel Vadot  compatible:
21354d7675SEmmanuel Vadot    oneOf:
22354d7675SEmmanuel Vadot      - enum:
23354d7675SEmmanuel Vadot          - samsung,exynos3250-cmu
24354d7675SEmmanuel Vadot          - samsung,exynos3250-cmu-dmc
25354d7675SEmmanuel Vadot          - samsung,exynos3250-cmu-isp
26354d7675SEmmanuel Vadot          - samsung,exynos4210-clock
27354d7675SEmmanuel Vadot          - samsung,exynos4412-clock
28354d7675SEmmanuel Vadot          - samsung,exynos5250-clock
29354d7675SEmmanuel Vadot      - items:
30354d7675SEmmanuel Vadot          - enum:
31354d7675SEmmanuel Vadot              - samsung,exynos5420-clock
32354d7675SEmmanuel Vadot              - samsung,exynos5800-clock
33354d7675SEmmanuel Vadot          - const: syscon
34354d7675SEmmanuel Vadot
35354d7675SEmmanuel Vadot  clocks:
36354d7675SEmmanuel Vadot    minItems: 1
37354d7675SEmmanuel Vadot    maxItems: 4
38354d7675SEmmanuel Vadot
39354d7675SEmmanuel Vadot  "#clock-cells":
40354d7675SEmmanuel Vadot    const: 1
41354d7675SEmmanuel Vadot
42354d7675SEmmanuel Vadot  reg:
43354d7675SEmmanuel Vadot    maxItems: 1
44354d7675SEmmanuel Vadot
45354d7675SEmmanuel Vadotrequired:
46354d7675SEmmanuel Vadot  - compatible
47354d7675SEmmanuel Vadot  - "#clock-cells"
48354d7675SEmmanuel Vadot  - reg
49354d7675SEmmanuel Vadot
50354d7675SEmmanuel VadotadditionalProperties: false
51354d7675SEmmanuel Vadot
52354d7675SEmmanuel Vadotexamples:
53354d7675SEmmanuel Vadot  - |
54354d7675SEmmanuel Vadot    #include <dt-bindings/clock/exynos5250.h>
55354d7675SEmmanuel Vadot    clock: clock-controller@10010000 {
56354d7675SEmmanuel Vadot        compatible = "samsung,exynos5250-clock";
57354d7675SEmmanuel Vadot        reg = <0x10010000 0x30000>;
58354d7675SEmmanuel Vadot        #clock-cells = <1>;
59354d7675SEmmanuel Vadot    };
60