xref: /freebsd-src/sys/contrib/device-tree/Bindings/clock/microchip,lan966x-gck.yaml (revision e67e85659c0de33e617e5fbf1028c6e8b49eee53)
1*e67e8565SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*e67e8565SEmmanuel Vadot%YAML 1.2
3*e67e8565SEmmanuel Vadot---
4*e67e8565SEmmanuel Vadot$id: http://devicetree.org/schemas/clock/microchip,lan966x-gck.yaml#
5*e67e8565SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*e67e8565SEmmanuel Vadot
7*e67e8565SEmmanuel Vadottitle: Microchip LAN966X Generic Clock Controller
8*e67e8565SEmmanuel Vadot
9*e67e8565SEmmanuel Vadotmaintainers:
10*e67e8565SEmmanuel Vadot  - Kavyasree Kotagiri <kavyasree.kotagiri@microchip.com>
11*e67e8565SEmmanuel Vadot
12*e67e8565SEmmanuel Vadotdescription: |
13*e67e8565SEmmanuel Vadot  The LAN966X Generic clock controller contains 3 PLLs - cpu_clk,
14*e67e8565SEmmanuel Vadot  ddr_clk and sys_clk. This clock controller generates and supplies
15*e67e8565SEmmanuel Vadot  clock to various peripherals within the SoC.
16*e67e8565SEmmanuel Vadot
17*e67e8565SEmmanuel Vadotproperties:
18*e67e8565SEmmanuel Vadot  compatible:
19*e67e8565SEmmanuel Vadot    const: microchip,lan966x-gck
20*e67e8565SEmmanuel Vadot
21*e67e8565SEmmanuel Vadot  reg:
22*e67e8565SEmmanuel Vadot    minItems: 1
23*e67e8565SEmmanuel Vadot    items:
24*e67e8565SEmmanuel Vadot      - description: Generic clock registers
25*e67e8565SEmmanuel Vadot      - description: Optional gate clock registers
26*e67e8565SEmmanuel Vadot
27*e67e8565SEmmanuel Vadot  clocks:
28*e67e8565SEmmanuel Vadot    items:
29*e67e8565SEmmanuel Vadot      - description: CPU clock source
30*e67e8565SEmmanuel Vadot      - description: DDR clock source
31*e67e8565SEmmanuel Vadot      - description: System clock source
32*e67e8565SEmmanuel Vadot
33*e67e8565SEmmanuel Vadot  clock-names:
34*e67e8565SEmmanuel Vadot    items:
35*e67e8565SEmmanuel Vadot      - const: cpu
36*e67e8565SEmmanuel Vadot      - const: ddr
37*e67e8565SEmmanuel Vadot      - const: sys
38*e67e8565SEmmanuel Vadot
39*e67e8565SEmmanuel Vadot  '#clock-cells':
40*e67e8565SEmmanuel Vadot    const: 1
41*e67e8565SEmmanuel Vadot
42*e67e8565SEmmanuel Vadotrequired:
43*e67e8565SEmmanuel Vadot  - compatible
44*e67e8565SEmmanuel Vadot  - reg
45*e67e8565SEmmanuel Vadot  - clocks
46*e67e8565SEmmanuel Vadot  - clock-names
47*e67e8565SEmmanuel Vadot  - '#clock-cells'
48*e67e8565SEmmanuel Vadot
49*e67e8565SEmmanuel VadotadditionalProperties: false
50*e67e8565SEmmanuel Vadot
51*e67e8565SEmmanuel Vadotexamples:
52*e67e8565SEmmanuel Vadot  - |
53*e67e8565SEmmanuel Vadot    clks: clock-controller@e00c00a8 {
54*e67e8565SEmmanuel Vadot        compatible = "microchip,lan966x-gck";
55*e67e8565SEmmanuel Vadot        #clock-cells = <1>;
56*e67e8565SEmmanuel Vadot        clocks = <&cpu_clk>, <&ddr_clk>, <&sys_clk>;
57*e67e8565SEmmanuel Vadot        clock-names = "cpu", "ddr", "sys";
58*e67e8565SEmmanuel Vadot        reg = <0xe00c00a8 0x38>;
59*e67e8565SEmmanuel Vadot    };
60*e67e8565SEmmanuel Vadot...
61