xref: /linux/Documentation/devicetree/bindings/clock/intel,cgu-lgm.yaml (revision 5be478f9c24fbdf8162b8118b8da8cc685e2efb4)
1e2266f4cSRahul Tanwar# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2e2266f4cSRahul Tanwar%YAML 1.2
3e2266f4cSRahul Tanwar---
4e2266f4cSRahul Tanwar$id: http://devicetree.org/schemas/clock/intel,cgu-lgm.yaml#
5e2266f4cSRahul Tanwar$schema: http://devicetree.org/meta-schemas/core.yaml#
6e2266f4cSRahul Tanwar
7e2266f4cSRahul Tanwartitle: Intel Lightning Mountain SoC's Clock Controller(CGU) Binding
8e2266f4cSRahul Tanwar
9e2266f4cSRahul Tanwarmaintainers:
10e2266f4cSRahul Tanwar  - Rahul Tanwar <rahul.tanwar@linux.intel.com>
11e2266f4cSRahul Tanwar
12e2266f4cSRahul Tanwardescription: |
13e2266f4cSRahul Tanwar  Lightning Mountain(LGM) SoC's Clock Generation Unit(CGU) driver provides
14e2266f4cSRahul Tanwar  all means to access the CGU hardware module in order to generate a series
15e2266f4cSRahul Tanwar  of clocks for the whole system and individual peripherals.
16e2266f4cSRahul Tanwar
17e2266f4cSRahul Tanwar  Please refer to include/dt-bindings/clock/intel,lgm-clk.h header file, it
18e2266f4cSRahul Tanwar  defines all available clocks as macros. These macros can be used in device
19e2266f4cSRahul Tanwar  tree sources.
20e2266f4cSRahul Tanwar
21e2266f4cSRahul Tanwarproperties:
22e2266f4cSRahul Tanwar  compatible:
23e2266f4cSRahul Tanwar    const: intel,cgu-lgm
24e2266f4cSRahul Tanwar
25e2266f4cSRahul Tanwar  reg:
26e2266f4cSRahul Tanwar    maxItems: 1
27e2266f4cSRahul Tanwar
28e2266f4cSRahul Tanwar  '#clock-cells':
29e2266f4cSRahul Tanwar    const: 1
30e2266f4cSRahul Tanwar
31e2266f4cSRahul Tanwarrequired:
32e2266f4cSRahul Tanwar  - compatible
33e2266f4cSRahul Tanwar  - reg
34e2266f4cSRahul Tanwar  - '#clock-cells'
35e2266f4cSRahul Tanwar
36*5be478f9SRob HerringadditionalProperties: false
37*5be478f9SRob Herring
38e2266f4cSRahul Tanwarexamples:
39e2266f4cSRahul Tanwar  - |
40e2266f4cSRahul Tanwar    cgu: clock-controller@e0200000 {
41e2266f4cSRahul Tanwar        compatible = "intel,cgu-lgm";
42e2266f4cSRahul Tanwar        reg = <0xe0200000 0x33c>;
43e2266f4cSRahul Tanwar        #clock-cells = <1>;
44e2266f4cSRahul Tanwar    };
45e2266f4cSRahul Tanwar
46e2266f4cSRahul Tanwar...
47