xref: /freebsd/sys/contrib/device-tree/Bindings/clock/allwinner,sun4i-a10-osc-clk.yaml (revision aa1a8ff2d6dbc51ef058f46f3db5a8bb77967145)
1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/clock/allwinner,sun4i-a10-osc-clk.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Allwinner A10 Gateable Oscillator Clock
8
9maintainers:
10  - Chen-Yu Tsai <wens@csie.org>
11  - Maxime Ripard <mripard@kernel.org>
12
13deprecated: true
14
15properties:
16  "#clock-cells":
17    const: 0
18
19  compatible:
20    const: allwinner,sun4i-a10-osc-clk
21
22  reg:
23    maxItems: 1
24
25  clock-frequency:
26    description: >
27      Frequency of the main oscillator.
28
29  clock-output-names:
30    maxItems: 1
31
32required:
33  - "#clock-cells"
34  - compatible
35  - reg
36  - clock-frequency
37  - clock-output-names
38
39additionalProperties: false
40
41examples:
42  - |
43    osc24M: clk@1c20050 {
44        #clock-cells = <0>;
45        compatible = "allwinner,sun4i-a10-osc-clk";
46        reg = <0x01c20050 0x4>;
47        clock-frequency = <24000000>;
48        clock-output-names = "osc24M";
49    };
50
51...
52