Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 # Copyright (C) Sunplus Co., Ltd. 2021
0003 %YAML 1.2
0004 ---
0005 $id: http://devicetree.org/schemas/clock/sunplus,sp7021-clkc.yaml#
0006 $schema: http://devicetree.org/meta-schemas/core.yaml#
0007 
0008 title: Sunplus SP7021 SoC Clock Controller
0009 
0010 maintainers:
0011   - Qin Jian <qinjian@cqplus1.com>
0012 
0013 properties:
0014   compatible:
0015     const: sunplus,sp7021-clkc
0016 
0017   reg:
0018     maxItems: 3
0019 
0020   clocks:
0021     maxItems: 1
0022 
0023   "#clock-cells":
0024     const: 1
0025 
0026 required:
0027   - compatible
0028   - reg
0029   - clocks
0030   - "#clock-cells"
0031 
0032 additionalProperties: false
0033 
0034 examples:
0035   - |
0036     extclk: osc0 {
0037       compatible = "fixed-clock";
0038       #clock-cells = <0>;
0039       clock-frequency = <27000000>;
0040       clock-output-names = "extclk";
0041     };
0042 
0043     clkc: clock-controller@9c000004 {
0044       compatible = "sunplus,sp7021-clkc";
0045       reg = <0x9c000004 0x28>,
0046             <0x9c000200 0x44>,
0047             <0x9c000268 0x08>;
0048       clocks = <&extclk>;
0049       #clock-cells = <1>;
0050     };
0051 
0052 ...