Microchip LAN966X Generic Clock Controller

Schema identifier ($id): "http://devicetree.org/schemas/clock/microchip,lan966x-gck.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Kavyasree Kotagiri <kavyasree.kotagiri@microchip.com>"

The LAN966X Generic clock controller contains 3 PLLs - cpu_clk, ddr_clk and sys_clk. This clock controller generates and supplies clock to various peripherals within the SoC.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "microchip,lan966x-gck", "microchip,lan9691-gck"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "microchip,lan9698-gck", "microchip,lan9696-gck", "microchip,lan9694-gck", "microchip,lan9693-gck", "microchip,lan9692-gck"

Item 2

Exact value (const): "microchip,lan9691-gck"

reg — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Generic clock registers

Item 2

Optional gate clock registers

clocks — required here #

Array item rules (items) #

Item 1

CPU clock source

Item 2

DDR clock source

Item 3

System clock source

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "cpu"

Item 2

Exact value (const): "ddr"

Item 3

Exact value (const): "sys"

#clock-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clks: clock-controller@e00c00a8 {
    compatible = "microchip,lan966x-gck";
    #clock-cells = <1>;
    clocks = <&cpu_clk>, <&ddr_clk>, <&sys_clk>;
    clock-names = "cpu", "ddr", "sys";
    reg = <0xe00c00a8 0x38>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page