107300ef4SKavyasree Kotagiri# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
207300ef4SKavyasree Kotagiri%YAML 1.2
307300ef4SKavyasree Kotagiri---
407300ef4SKavyasree Kotagiri$id: http://devicetree.org/schemas/clock/microchip,lan966x-gck.yaml#
507300ef4SKavyasree Kotagiri$schema: http://devicetree.org/meta-schemas/core.yaml#
607300ef4SKavyasree Kotagiri
707300ef4SKavyasree Kotagirititle: Microchip LAN966X Generic Clock Controller
807300ef4SKavyasree Kotagiri
907300ef4SKavyasree Kotagirimaintainers:
1007300ef4SKavyasree Kotagiri  - Kavyasree Kotagiri <kavyasree.kotagiri@microchip.com>
1107300ef4SKavyasree Kotagiri
1207300ef4SKavyasree Kotagiridescription: |
1307300ef4SKavyasree Kotagiri  The LAN966X Generic clock controller contains 3 PLLs - cpu_clk,
1407300ef4SKavyasree Kotagiri  ddr_clk and sys_clk. This clock controller generates and supplies
1507300ef4SKavyasree Kotagiri  clock to various peripherals within the SoC.
1607300ef4SKavyasree Kotagiri
1707300ef4SKavyasree Kotagiriproperties:
1807300ef4SKavyasree Kotagiri  compatible:
1907300ef4SKavyasree Kotagiri    const: microchip,lan966x-gck
2007300ef4SKavyasree Kotagiri
2107300ef4SKavyasree Kotagiri  reg:
22*6b9f984cSHoratiu Vultur    minItems: 1
23*6b9f984cSHoratiu Vultur    items:
24*6b9f984cSHoratiu Vultur      - description: Generic clock registers
25*6b9f984cSHoratiu Vultur      - description: Optional gate clock registers
2607300ef4SKavyasree Kotagiri
2707300ef4SKavyasree Kotagiri  clocks:
2807300ef4SKavyasree Kotagiri    items:
2907300ef4SKavyasree Kotagiri      - description: CPU clock source
3007300ef4SKavyasree Kotagiri      - description: DDR clock source
3107300ef4SKavyasree Kotagiri      - description: System clock source
3207300ef4SKavyasree Kotagiri
3307300ef4SKavyasree Kotagiri  clock-names:
3407300ef4SKavyasree Kotagiri    items:
3507300ef4SKavyasree Kotagiri      - const: cpu
3607300ef4SKavyasree Kotagiri      - const: ddr
3707300ef4SKavyasree Kotagiri      - const: sys
3807300ef4SKavyasree Kotagiri
3907300ef4SKavyasree Kotagiri  '#clock-cells':
4007300ef4SKavyasree Kotagiri    const: 1
4107300ef4SKavyasree Kotagiri
4207300ef4SKavyasree Kotagirirequired:
4307300ef4SKavyasree Kotagiri  - compatible
4407300ef4SKavyasree Kotagiri  - reg
4507300ef4SKavyasree Kotagiri  - clocks
4607300ef4SKavyasree Kotagiri  - clock-names
4707300ef4SKavyasree Kotagiri  - '#clock-cells'
4807300ef4SKavyasree Kotagiri
4907300ef4SKavyasree KotagiriadditionalProperties: false
5007300ef4SKavyasree Kotagiri
5107300ef4SKavyasree Kotagiriexamples:
5207300ef4SKavyasree Kotagiri  - |
5307300ef4SKavyasree Kotagiri    clks: clock-controller@e00c00a8 {
5407300ef4SKavyasree Kotagiri        compatible = "microchip,lan966x-gck";
5507300ef4SKavyasree Kotagiri        #clock-cells = <1>;
5607300ef4SKavyasree Kotagiri        clocks = <&cpu_clk>, <&ddr_clk>, <&sys_clk>;
5707300ef4SKavyasree Kotagiri        clock-names = "cpu", "ddr", "sys";
5807300ef4SKavyasree Kotagiri        reg = <0xe00c00a8 0x38>;
5907300ef4SKavyasree Kotagiri    };
6007300ef4SKavyasree Kotagiri...
61