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