xref: /freebsd/sys/contrib/device-tree/Bindings/clock/allwinner,sun4i-a10-osc-clk.yaml (revision 19261079b74319502c6ffa1249920079f0f69a72)
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 Gatable Oscillator Clock Device Tree Bindings
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