Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/clock/allwinner,sun4i-a10-osc-clk.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Allwinner A10 Gatable Oscillator Clock Device Tree Bindings
0008 
0009 maintainers:
0010   - Chen-Yu Tsai <wens@csie.org>
0011   - Maxime Ripard <mripard@kernel.org>
0012 
0013 deprecated: true
0014 
0015 properties:
0016   "#clock-cells":
0017     const: 0
0018 
0019   compatible:
0020     const: allwinner,sun4i-a10-osc-clk
0021 
0022   reg:
0023     maxItems: 1
0024 
0025   clock-frequency:
0026     description: >
0027       Frequency of the main oscillator.
0028 
0029   clock-output-names:
0030     maxItems: 1
0031 
0032 required:
0033   - "#clock-cells"
0034   - compatible
0035   - reg
0036   - clock-frequency
0037   - clock-output-names
0038 
0039 additionalProperties: false
0040 
0041 examples:
0042   - |
0043     osc24M: clk@1c20050 {
0044         #clock-cells = <0>;
0045         compatible = "allwinner,sun4i-a10-osc-clk";
0046         reg = <0x01c20050 0x4>;
0047         clock-frequency = <24000000>;
0048         clock-output-names = "osc24M";
0049     };
0050 
0051 ...