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