xref: /linux/Documentation/devicetree/bindings/clock/samsung,s3c6400-clock.yaml (revision daa121128a2d2ac6006159e2c47676e4fcd21eab)
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,s3c6400-clock.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Samsung S3C6400 SoC clock controller
8
9maintainers:
10  - Krzysztof Kozlowski <krzk@kernel.org>
11
12description: |
13  There are several clocks that are generated outside the SoC. It is expected
14  that they are defined using standard clock bindings with following
15  clock-output-names and/or provided as clock inputs to this clock controller:
16   - "fin_pll" - PLL input clock (xtal/extclk) - required,
17   - "xusbxti" - USB xtal - required,
18   - "iiscdclk0" - I2S0 codec clock - optional,
19   - "iiscdclk1" - I2S1 codec clock - optional,
20   - "iiscdclk2" - I2S2 codec clock - optional,
21   - "pcmcdclk0" - PCM0 codec clock - optional,
22   - "pcmcdclk1" - PCM1 codec clock - optional, only S3C6410.
23
24  All available clocks are defined as preprocessor macros in
25  include/dt-bindings/clock/samsung,s3c64xx-clock.h header.
26
27properties:
28  compatible:
29    enum:
30      - samsung,s3c6400-clock
31      - samsung,s3c6410-clock
32
33  reg:
34    maxItems: 1
35
36  clocks:
37    maxItems: 1
38
39  "#clock-cells":
40    const: 1
41
42required:
43  - compatible
44  - reg
45  - clocks
46  - "#clock-cells"
47
48additionalProperties: false
49
50examples:
51  - |
52    clock-controller@7e00f000 {
53        compatible = "samsung,s3c6410-clock";
54        reg = <0x7e00f000 0x1000>;
55        #clock-cells = <1>;
56        clocks = <&fin_pll>;
57    };
58