xref: /freebsd/sys/contrib/device-tree/Bindings/clock/samsung,exynos-clock.yaml (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
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>
11c9ccf3a3SEmmanuel 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
27*f126890aSEmmanuel Vadot          - samsung,exynos4212-clock
28354d7675SEmmanuel Vadot          - samsung,exynos4412-clock
29354d7675SEmmanuel Vadot          - samsung,exynos5250-clock
30354d7675SEmmanuel Vadot      - items:
31354d7675SEmmanuel Vadot          - enum:
32354d7675SEmmanuel Vadot              - samsung,exynos5420-clock
33354d7675SEmmanuel Vadot              - samsung,exynos5800-clock
34354d7675SEmmanuel Vadot          - const: syscon
35354d7675SEmmanuel Vadot
36354d7675SEmmanuel Vadot  clocks:
37354d7675SEmmanuel Vadot    minItems: 1
38354d7675SEmmanuel Vadot    maxItems: 4
39354d7675SEmmanuel Vadot
40354d7675SEmmanuel Vadot  "#clock-cells":
41354d7675SEmmanuel Vadot    const: 1
42354d7675SEmmanuel Vadot
43354d7675SEmmanuel Vadot  reg:
44354d7675SEmmanuel Vadot    maxItems: 1
45354d7675SEmmanuel Vadot
46354d7675SEmmanuel Vadotrequired:
47354d7675SEmmanuel Vadot  - compatible
48354d7675SEmmanuel Vadot  - "#clock-cells"
49354d7675SEmmanuel Vadot  - reg
50354d7675SEmmanuel Vadot
51354d7675SEmmanuel VadotadditionalProperties: false
52354d7675SEmmanuel Vadot
53354d7675SEmmanuel Vadotexamples:
54354d7675SEmmanuel Vadot  - |
55354d7675SEmmanuel Vadot    #include <dt-bindings/clock/exynos5250.h>
56354d7675SEmmanuel Vadot    clock: clock-controller@10010000 {
57354d7675SEmmanuel Vadot        compatible = "samsung,exynos5250-clock";
58354d7675SEmmanuel Vadot        reg = <0x10010000 0x30000>;
59354d7675SEmmanuel Vadot        #clock-cells = <1>;
60354d7675SEmmanuel Vadot    };
61